If you can't connect or attach I would say you are using the wrong PS3Lib or you don't have CCAPI installed. Check those out and if you are still having problems then add me on skype.
Im using the PS3LIB that comes with your tool and CCAPI 2.60 is installed on my ps3 and pc