Add/Remove Software claims there is no network connection
Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Add/Remove Software claims there is no network connection
Hello, I've just installed Fedora 10 and am trying to add new software using Add/Remove Software.
I started with amsn. Amsn & amsn-plugins were found, 9 dependencies are found, but when I click install I am told:
"No network connection available. Please check your connections and try again."
Under more details, I get this: "Cannot install when offline."
Seems quite odd to me as I have no trouble getting online with Firefox.
I am new so I don't know what other info I should include.
update: I just rebooted and can no longer get online with linux, however the connection is fine, this is a dual boot machine and I am using... ugh XP at the moment, please help!
Last edited by pantheist; 12-08-2008 at 06:05 AM.
Reason: new info
If you can't "get online" though you have a working eth0 or ppp0 or whatever (verify with ifconfig), you probably miss a proper route or dns entry.
First try to ping a site by IP address (begin with your netcard, then your upstream router, then
a site like 216.239.32.10 (ns1.google.com).
Then try the same by name.
If the IPs work but names fail, you didn't setup (or your dhcp client didn't receive) your ISP's list of nameservers.
Please come back with your /etc/resolv.conf, the output of "ifconfig" and "route".
How do you are connected to internet? wireless, lan...?
Can you show me the output of the command ifconfig, and iwconfig if you have a wireless?
Show me the file interfaces. In Debian it's in /etc/network/ maybe it's the same in Fedora, I don't know.
Ping to google, by name and by ip, thus we'll know if the problem is in resolve names.
If you have a network manager, unistall it. First we must find the problem, the easiness can wait.
And write all this with unreal information: IPs, etc. But be careful, if you call xxx.xxx... the ip of interface A, the next time we talk call it with the same numbers.
Ok, to work! and sorry, I don't speak english very well...
Sounds to me like problems with Network Manager. Fedora these days expects you to use it even though it barely works (or doesn't work at all if you need static IP). Best to disable it and use system-config-network instead.
I am facing this same issue. I searched this thread, but didn't find an answer yet. In my case, the internet is working fine. I can ping to ip address and to address like google.com (In fact, I am typing this message from the same machine).
The only different thing I can notice these days is that, after some Fedora automatic updates, my network will not come up automatically at the time of boot up. I need to do a /sbin/service network restart to enable the eth0 and connect to network. Also when the firefox starts, I need to uncheck the "work offline" option. Not sure whether these are related to this issue.
Any help on this part will be greatly appreciated..
And interestingly, yum is working fine on my machine. Even though yum solves my problem, just curious to know why "Add/Remove Software" is not working?
This is because Fedora now uses NetworkManager to manage connections used by Fedora/Gnome-based apps. So even if you have a working connection but it isn't managed by NetworkManager, your apps such as Firefox or the updater will think you are offline.
The way I got around this was to first enable the "regular" connection manager
Code:
# chkconfig network on
and then to disable NetworkManager
Code:
# chkconfig NetworkManager off
Now go to System -> Administration -> Network and configure your connections there. If you so choose, enable them to start on boot. Then reboot.
If you are still having problems with updating your system you can do
Code:
# yum update
I have not had the need to do the following, so I have no idea if it actually works, but If Firefox still starts in offline mode you could try setting toolkit.networkmanager.disable to true in Firefox's about:config. Hope this helps.
This is because Fedora now uses NetworkManager to manage connections used by Fedora/Gnome-based apps. So even if you have a working connection but it isn't managed by NetworkManager, your apps such as Firefox or the updater will think you are offline.
The way I got around this was to first enable the "regular" connection manager
Code:
# chkconfig network on
and then to disable NetworkManager
Code:
# chkconfig NetworkManager off
Now go to System -> Administration -> Network and configure your connections there. If you so choose, enable them to start on boot. Then reboot.
If you are still having problems with updating your system you can do
Code:
# yum update
I have not had the need to do the following, so I have no idea if it actually works, but If Firefox still starts in offline mode you could try setting toolkit.networkmanager.disable to true in Firefox's about:config. Hope this helps.
i had the same problem. i tried the above. i also tried to configure NetworkManager statically and failed miserably.
yum remove NetworkManager
this did the trick. firefox and add/remove software seem happy for now. i'm sure i'll find something that doesn't work soon.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.