LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 12-08-2008, 05:45 AM   #1
pantheist
LQ Newbie
 
Registered: Dec 2008
Location: BC, Canada
Distribution: Fedora 10
Posts: 2

Rep: Reputation: 0
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
 
Old 12-08-2008, 06:12 AM   #2
harry2006
Member
 
Registered: Aug 2006
Location: /hawaii/honolulu/downtown
Distribution: Fedora 10[Cambridge] and Ubuntu 9.04[Jaunty]
Posts: 201

Rep: Reputation: 30
You mean to say though your network is up you are not able to add/remove anything, even from the command line using yum???
 
Old 12-08-2008, 06:51 AM   #3
Woodypecker
Member
 
Registered: Mar 2006
Location: Austria
Distribution: Mandriva/Debian
Posts: 104

Rep: Reputation: 17
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".
 
Old 12-08-2008, 07:00 AM   #4
adr689
LQ Newbie
 
Registered: Nov 2008
Posts: 11

Rep: Reputation: 0
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...

Uh!,I forgot, tell me if you have a DHCP server.
 
Old 12-08-2008, 07:13 AM   #5
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
For a start ask for terminal in fedora become su
Run the command lspci and give us the output
 
Old 12-09-2008, 07:35 PM   #6
ordealbyfire83
Member
 
Registered: Oct 2006
Location: Leiden, Netherlands
Distribution: LFS, Ubuntu Hardy
Posts: 302

Rep: Reputation: 89
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.
 
Old 12-12-2008, 06:28 AM   #7
harry2006
Member
 
Registered: Aug 2006
Location: /hawaii/honolulu/downtown
Distribution: Fedora 10[Cambridge] and Ubuntu 9.04[Jaunty]
Posts: 201

Rep: Reputation: 30
@pantheist, are you stil facing the same problem ???
 
Old 12-22-2008, 07:02 AM   #8
alex00p
LQ Newbie
 
Registered: Feb 2006
Distribution: Fedora 10/Ubuntu 8.10
Posts: 3

Rep: Reputation: 0
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..
 
Old 12-23-2008, 08:24 AM   #9
alex00p
LQ Newbie
 
Registered: Feb 2006
Distribution: Fedora 10/Ubuntu 8.10
Posts: 3

Rep: Reputation: 0
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?
 
Old 12-27-2008, 11:00 AM   #10
ordealbyfire83
Member
 
Registered: Oct 2006
Location: Leiden, Netherlands
Distribution: LFS, Ubuntu Hardy
Posts: 302

Rep: Reputation: 89
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.
 
Old 01-26-2009, 03:05 PM   #11
rkennett
LQ Newbie
 
Registered: Jan 2009
Distribution: fedora10, puppy4
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by ordealbyfire83 View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Add/Remove Software claims there is no network connection pantheist Linux - Desktop 2 12-09-2008 02:00 PM
Fedora 9 add/remove software griping about "no network connection" but firefox works khbkhb Fedora 2 07-04-2008 02:28 PM
Add/Remove Software - Unable to retrieve software information oohyeah Linux - Newbie 7 02-17-2008 05:30 AM
Add/Remove Software amdawi Fedora 3 10-04-2007 05:43 PM
software add and remove WEbster Charles Linux - Software 1 04-23-2007 10:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 10:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration