I have installed Oneiric Beta on my laptop. As my Mobile Broadband refused to connect to Internet through network manager I'm now using wvdial to connect. Hence the network manager shows I'm not connected to any networks. When I try to install software from Ubuntu Software Center the 'Install' option remains disabled and under reviews section it says no network connection! As a workaround I kept installing applications from terminal which works fine.
Therefore, my question is how to make Software Center recognize that I am connected to Internet?
You can't ... yet.
Please file a bug for both these issues: it's definitely an issue to not be able to override what NetworkManager tells Software Center, and it's also an issue that NetworkManager can't handle your Mobile Broadband connection.
As a workaround, if you're not using one of your connections, you could add dummy entries to /etc/network/interfaces to trick NetworkManager into thinking you're online. The way to do this:
If you don't need to use your wired connection. Then reboot or restart NetworkManager. Of course this will break it for when you really need to use it :(
The answer for this question, worked for me. The suggestion is to stop and start network-manager as follow:
and then
This fixes the issue with Ubuntu Software Center not detecting you Internet connection.
Manually entering the connection settings solved my software center network detection problem.
Click on the network icon in your taskbar, go to Edit connections, edit your connection and under IPv4 designate a Manual method, and then add IPv4 address, network mask and default gateway
I understand this might not help mobile broadband users, but hey... worth a shot
i have same problem Install Boutton can be used and i have message No network connection / ALL THIS PROBLEM juste after using file for network connection beacause i have fixe my ip with on etc/Network/Interfaces , and after my software center can not detect any network ..
Solution, if you don't need use Network-Manager , Remove It, and your software Center by default switch automatically to use etc/Network/Interfaces to connect to internet .