LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 08-30-2006, 05:35 PM   #1
ozled
LQ Newbie
 
Registered: Apr 2006
Location: France
Distribution: FC4, Suse 10
Posts: 6

Rep: Reputation: 1
network is unreachable but browser works


Hi

I am running FC4 on a Compaq Presario 2500.
I installed a PCMCIA Netgear wireless adapter that is not supported by system-config-network.
After looking on the web I managed to setup the wlan0 interface with the ndiswrapper driver and have it included in the network config so that it gets turned on and setup at boot.
All looked well but I was able to browse only with Konqueror, not Firefox.
After enabling network.dns.disableIPv6 I managed to get it working.
Pinging IPs and hosts works fine.
One problem remains: yum returns "Network is unreachable".
I tried elinks and pear too, same result.
Annoyingly enough WinXP on same machine works fine.

Any idea?
Thanks
Jack

ifconfig wlan0 returns:
Quote:
wlan0 Link encap:Ethernet HWaddr --:--:--:--:--:--
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: ----::---:----:----:---/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1289 errors:0 dropped:0 overruns:0 frame:0
TX packets:1409 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:987481 (964.3 KiB) TX bytes:304080 (296.9 KiB)
Interrupt:11 Memory:d0110000-d0120000
and route:
Quote:
192.168.1.0 * 255.255.255.0 U 0 0 0 wlan0
default mygateway.ar7 0.0.0.0 UG 0 0 0 wlan0

Last edited by ozled; 08-30-2006 at 05:43 PM.
 
Old 09-01-2006, 02:28 AM   #2
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 30
okay you say yum brings up a message Network is unreachable.
But you say that you're able to ping www.google.com and so on correct?
have a look at /etc/yum.conf and /etc/yum.repos.d
Can you ping all those repos? Maybe one of them is down?
 
Old 09-01-2006, 05:13 PM   #3
ozled
LQ Newbie
 
Registered: Apr 2006
Location: France
Distribution: FC4, Suse 10
Posts: 6

Original Poster
Rep: Reputation: 1
Thanks for replying.

Yes, you are correct.
And yes, I can ping all the repos defined.

A recent development has been that:

yum list updates

can actually run and retrieve the list.

Still... when I try the following:
Code:
[root@kids ~]# yum update elinks
Setting up Update Process
Setting up repositories
<url_to_freshrpms>/fedora/linux/4/i386/core/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (101, 'Network is unreachable')>
Trying other mirror.
Cannot open/read repomd.xml file for repository: core
failure: repodata/repomd.xml from core: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from core: [Errno 256] No more mirrors to try.
I forgot to specify that I tried all the above with or without the firewall.
My yum.conf reads:
Code:
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=fedora-release
tolerant=1
exactarch=1
obsoletes=1

[core]
name=Fedora Linux $releasever - $basearch - core
baseurl=<url_to_freshrpms>/fedora/linux/$releasever/$basearch/core
gpgcheck=1

[updates]
name=Fedora Linux $releasever - $basearch - updates
baseurl=<url_to_freshrpms>/fedora/linux/$releasever/$basearch/updates
gpgcheck=1

[freshrpms]
name=Fedora Linux $releasever - $basearch - freshrpms
baseurl=<url_to_freshrpms>/fedora/linux/$releasever/$basearch/freshrpms
gpgcheck=1
 
Old 09-04-2006, 01:14 AM   #4
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 30
Try to use mine:
/etc/yum.conf
**************************************starts here*********************************
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
metadata_expire=1800

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d

[atrpms]
name=Fedora Core $releasever - $basearch - ATrpms
baseurl=http://dl.atrpms.net/fc$releasever-$basearch/atrpms/stable
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
gpgcheck=1


[freshrpms]
name=Fedora Linux $releasever - $basearch - freshrpms
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms
gpgcheck=1

***************END***************************************************************
 
  


Reply

Tags
linux, networking, wireless


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Network is unreachable kasmot Linux - Networking 5 01-27-2006 09:58 AM
Network is unreachable??? Tnichols Linux - Networking 15 12-19-2003 09:44 PM
Network is unreachable kakarizz Linux - Networking 1 12-16-2003 09:16 AM
network is unreachable renegade69 Linux - Networking 7 08-14-2003 02:23 PM
Network is unreachable radix Linux - Networking 4 05-09-2002 01:06 AM


All times are GMT -5. The time now is 12:42 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration