Wireless connects, but network unreachable. [Solved]

Issues Related to Networking (Wired and Wireless)

Moderator: Moderators

Wireless connects, but network unreachable. [Solved]

Postby Garisoain » Wed Dec 23, 2009 16:38

Hello!

I've just installed my first sabayon linux - Sabayon-5.1-rc1_AMD64-K on a Dell Latitude E6400, with Intel Wireless WiFi Link 5100.

My wireless card was detected correctly and I had no problem to set up and connect to my network... except that once connected, it's unreachable.

lspci shows:
Code: Select all
[email protected] ~ $ sudo lspci                                         
Password:                                                                   
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)       
00:03.0 Communication controller: Intel Corporation Mobile 4 Series Chipset MEI Controller (rev 07)                 
00:03.2 IDE interface: Intel Corporation Mobile 4 Series Chipset PT IDER Controller (rev 07)                       
00:03.3 Serial controller: Intel Corporation Mobile 4 Series Chipset AMT SOL Redirection (rev 07)                   
00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit Network Connection (rev 03)                         
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M-E LPC Interface Controller (rev 03)
00:1f.2 RAID bus controller: Intel Corporation Mobile 82801 SATA RAID Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 04)
03:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 21)
03:01.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 11)
0c:00.0 Network controller: Intel Corporation Wireless WiFi Link 5100


Here is some info I gathered while connected to the wireless:
Code: Select all
[email protected] ~ $ sudo ifconfig -a                                   
Password:                                                                 
eth0      Link encap:Ethernet  HWaddr 00:24:e8:e3:ad:c6                   
          UP BROADCAST MULTICAST  MTU:1500  Metric:1                       
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0               
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0             
          collisions:0 txqueuelen:1000                                     
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)                           
          Memory:f6ae0000-f6b00000                                         

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host     
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:60 errors:0 dropped:0 overruns:0 frame:0
          TX packets:60 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0                           
          RX bytes:4550 (4.4 KiB)  TX bytes:4550 (4.4 KiB)     

pan0      Link encap:Ethernet  HWaddr 1e:37:c2:db:dc:e3 
          BROADCAST MULTICAST  MTU:1500  Metric:1       
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0                           
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)             

wlan0     Link encap:Ethernet  HWaddr 00:24:d6:31:e2:ba 
          inet addr:10.200.5.200  Bcast:10.200.5.255  Mask:255.255.255.0
          inet6 addr: fe80::224:d6ff:fe31:e2ba/64 Scope:Link           
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1           
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0           
          TX packets:109 errors:0 dropped:0 overruns:0 carrier:0       
          collisions:0 txqueuelen:1000                                 
          RX bytes:0 (0.0 B)  TX bytes:10882 (10.6 KiB)                 

wmaster0  Link encap:UNSPEC  HWaddr 00-24-D6-31-E2-BA-00-00-00-00-00-00-00-00-00-00 
          UP RUNNING  MTU:0  Metric:1                                               
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0                         
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0                       
          collisions:0 txqueuelen:1000                                               
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)                                     

[email protected] ~ $ sudo route -n
Kernel IP routing table             
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.200.5.0      0.0.0.0         255.255.255.0   U     2      0        0 wlan0
127.0.0.0       127.0.0.1       255.0.0.0       UG    0      0        0 lo   
0.0.0.0         10.200.5.1      0.0.0.0         UG    0      0        0 wlan0
[email protected] ~ $ ping 10.200.5.1                                     
PING 10.200.5.1 (10.200.5.1) 56(84) bytes of data.                           
From 10.200.5.200 icmp_seq=3 Destination Host Unreachable                   
From 10.200.5.200 icmp_seq=4 Destination Host Unreachable                   
From 10.200.5.200 icmp_seq=8 Destination Host Unreachable                   
From 10.200.5.200 icmp_seq=10 Destination Host Unreachable                   
From 10.200.5.200 icmp_seq=11 Destination Host Unreachable                   
From 10.200.5.200 icmp_seq=12 Destination Host Unreachable                   
From 10.200.5.200 icmp_seq=13 Destination Host Unreachable                   
From 10.200.5.200 icmp_seq=14 Destination Host Unreachable                   
From 10.200.5.200 icmp_seq=15 Destination Host Unreachable                   
^C                                                                           
--- 10.200.5.1 ping statistics ---                                           
16 packets transmitted, 0 received, +9 errors, 100% packet loss, time 15003ms


When I use the ethernet controller, I have no problem:
Code: Select all
[email protected] ~ $ sudo ifconfig -a                               
eth0      Link encap:Ethernet  HWaddr 00:24:e8:e3:ad:c6                 
          inet addr:10.200.5.200  Bcast:10.200.5.255  Mask:255.255.255.0
          inet6 addr: fe80::224:e8ff:fee3:adc6/64 Scope:Link           
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1           
          RX packets:1280 errors:0 dropped:0 overruns:0 frame:0         
          TX packets:18 errors:0 dropped:0 overruns:0 carrier:0         
          collisions:0 txqueuelen:100                                   
          RX bytes:719724 (702.8 KiB)  TX bytes:2857 (2.7 KiB)         
          Memory:f6ae0000-f6b00000                                     

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host     
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:89 errors:0 dropped:0 overruns:0 frame:0
          TX packets:89 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0                           
          RX bytes:7361 (7.1 KiB)  TX bytes:7361 (7.1 KiB)     

wlan0     Link encap:Ethernet  HWaddr 00:24:d6:31:e2:ba 
          BROADCAST MULTICAST  MTU:1500  Metric:1       
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:146 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000                         
          RX bytes:0 (0.0 B)  TX bytes:13608 (13.2 KiB)         

wmaster0  Link encap:UNSPEC  HWaddr 00-24-D6-31-E2-BA-00-00-00-00-00-00-00-00-00-00 
          [NO FLAGS]  MTU:0  Metric:1                                               
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0                         
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0                       
          collisions:0 txqueuelen:1000                                               
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)                                     

[email protected] ~ $ sudo route -n
Kernel IP routing table             
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.200.5.0      0.0.0.0         255.255.255.0   U     1      0        0 eth0
127.0.0.0       127.0.0.1       255.0.0.0       UG    0      0        0 lo   
0.0.0.0         10.200.5.1      0.0.0.0         UG    0      0        0 eth0
[email protected] ~ $ ping 10.200.5.1                                     
PING 10.200.5.1 (10.200.5.1) 56(84) bytes of data.                         
64 bytes from 10.200.5.1: icmp_seq=1 ttl=255 time=3.21 ms                   
64 bytes from 10.200.5.1: icmp_seq=2 ttl=255 time=0.619 ms                 
64 bytes from 10.200.5.1: icmp_seq=3 ttl=255 time=0.576 ms                 
64 bytes from 10.200.5.1: icmp_seq=4 ttl=255 time=0.816 ms                 
64 bytes from 10.200.5.1: icmp_seq=5 ttl=255 time=0.492 ms                 
64 bytes from 10.200.5.1: icmp_seq=6 ttl=255 time=0.543 ms                 
64 bytes from 10.200.5.1: icmp_seq=7 ttl=255 time=0.497 ms                 
^C                                                                         
--- 10.200.5.1 ping statistics ---                                         
7 packets transmitted, 7 received, 0% packet loss, time 6004ms             
rtt min/avg/max/mdev = 0.492/0.966/3.219/0.925 ms


Note: I use the same IP address for both connections, I prefer to use wireless and only use it with the network cable disconnected. When I use the ethernet controller I disable the wireless card from a hardware switch on the side of the laptop.

do you have any Idea of what I'm missing here?

Thanks and Regards,
--
Carlos Garisoain
Garisoain
Baby Hen
 
Posts: 17
Joined: Thu Dec 17, 2009 17:29

Re: Wireless connects, but network unreachable.

Postby Fitzcarraldo » Wed Dec 23, 2009 17:21

Is your wireless network unencrypted, WEP-encrypted or WPA-encrypted? If it is an encrypted network, is your router configured to hide the network SSID (network name)? If it is, configure your router to unhide the network so that NetworkManager can discover the network. You can then configure the router to hide it again (although it's a waste of time, as it is possible to detect networks that hide the SSID anyway*). See the post Two Issues: Can't connect to WPA network. Dual boot WinXP. and the one following it.

* According to NetworkManager developer Dan Williams:

Hiding isn't actually a useful method of increasing security, since the
AP's beacon and BSSID are always available in probe responses; so anyone
can actually get the SSID irregardless of whether the AP is broadcasting
that information in its beacon.


You can also read in the thread Browser not working [Solved] about some other tests you should perform.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7985
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Wireless connects, but network unreachable.

Postby Garisoain » Wed Dec 23, 2009 18:49

Sorry, none of those posts can help me:

- First post was about not being able to connect to the network, I can successfully connect, the kdenetwokrmanager shows the connection as active and I got my wlan0 interface UP as shown on the "ifconfig -a" that I posted.

The network is WEP-Encrypted, but is not hiding the network name.

-Second post was about a browser not working, but the user could ping to his router and even google. I can't even ping to my router, as shown on the post.

I think it's something about the autoconfiguration kdenetworkmanager does... Will try to set up manually and see what happens.

Regard,
--
Carlos Garisoain
Garisoain
Baby Hen
 
Posts: 17
Joined: Thu Dec 17, 2009 17:29

Re: Wireless connects, but network unreachable.

Postby Garisoain » Wed Dec 23, 2009 19:10

Here's what I found on /var/log/messages for the wireless connection:

Code: Select all
Dec 23 11:53:50 BlackOffice NetworkManager: <info>  Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Dec 23 11:53:50 BlackOffice NetworkManager: <info>  Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
Dec 23 11:53:50 BlackOffice NetworkManager: <info>  (wlan0): device state change: 6 -> 4 (reason 0)
Dec 23 11:53:50 BlackOffice NetworkManager: <info>  Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
Dec 23 11:53:50 BlackOffice NetworkManager: <info>  Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
Dec 23 11:53:50 BlackOffice NetworkManager: <info>  Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
Dec 23 11:53:50 BlackOffice NetworkManager: <info>  (wlan0): device state change: 4 -> 5 (reason 0)
Dec 23 11:53:50 BlackOffice NetworkManager: <info>  Activation (wlan0/wireless): connection 'SUPPORT_I' has security, and secrets exist.  No new secrets needed.
Dec 23 11:53:50 BlackOffice NetworkManager: <info>  Config: added 'ssid' value 'SUPPORT_I'
Dec 23 11:53:50 BlackOffice NetworkManager: <info>  Config: added 'scan_ssid' value '1'
Dec 23 11:53:50 BlackOffice NetworkManager: <info>  Config: added 'key_mgmt' value 'NONE'
Dec 23 11:53:50 BlackOffice NetworkManager: <info>  Config: added 'wep_key0' value '<omitted>'
Dec 23 11:53:50 BlackOffice NetworkManager: <info>  Config: added 'wep_key1' value '<omitted>'
Dec 23 11:53:50 BlackOffice NetworkManager: <info>  Config: added 'wep_key2' value '<omitted>'
Dec 23 11:53:50 BlackOffice NetworkManager: <info>  Config: added 'wep_key3' value '<omitted>'
Dec 23 11:53:50 BlackOffice NetworkManager: <info>  Config: added 'wep_tx_keyidx' value '0'
Dec 23 11:53:50 BlackOffice NetworkManager: <info>  Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
Dec 23 11:53:50 BlackOffice NetworkManager: <info>  Config: set interface ap_scan to 1
Dec 23 11:53:50 BlackOffice NetworkManager: <info>  (wlan0): supplicant connection state:  disconnected -> scanning
Dec 23 11:53:53 BlackOffice NetworkManager: <info>  (wlan0): supplicant connection state:  scanning -> associating
Dec 23 11:53:53 BlackOffice NetworkManager: <info>  (wlan0): supplicant connection state:  associating -> associated
Dec 23 11:53:53 BlackOffice NetworkManager: <info>  (wlan0): supplicant connection state:  associated -> completed
Dec 23 11:53:53 BlackOffice NetworkManager: <info>  Activation (wlan0/wireless) Stage 2 of 5 (Device Configure) successful.  Connected to wireless network 'SUPPORT_I'.                                                                                                                                                           
Dec 23 11:53:53 BlackOffice NetworkManager: <info>  Activation (wlan0) Stage 3 of 5 (IP Configure Start) scheduled.
Dec 23 11:53:53 BlackOffice NetworkManager: <info>  Activation (wlan0) Stage 3 of 5 (IP Configure Start) started...
Dec 23 11:53:53 BlackOffice NetworkManager: <info>  (wlan0): device state change: 5 -> 7 (reason 0)
Dec 23 11:53:53 BlackOffice NetworkManager: <info>  Activation (wlan0) Stage 4 of 5 (IP Configure Get) scheduled...
Dec 23 11:53:53 BlackOffice NetworkManager: <info>  Activation (wlan0) Stage 3 of 5 (IP Configure Start) complete.
Dec 23 11:53:53 BlackOffice NetworkManager: <info>  Activation (wlan0) Stage 4 of 5 (IP Configure Get) started...
Dec 23 11:53:53 BlackOffice NetworkManager: <info>  Activation (wlan0) Stage 5 of 5 (IP Configure Commit) scheduled...
Dec 23 11:53:53 BlackOffice NetworkManager: <info>  Activation (wlan0) Stage 4 of 5 (IP Configure Get) complete.
Dec 23 11:53:53 BlackOffice NetworkManager: <info>  Activation (wlan0) Stage 5 of 5 (IP Configure Commit) started...
Dec 23 11:53:54 BlackOffice NetworkManager: <info>  (wlan0): device state change: 7 -> 8 (reason 0)
Dec 23 11:53:54 BlackOffice NetworkManager: <info>  Policy set 'SUPPORT_I' (wlan0) as default for routing and DNS.
Dec 23 11:53:54 BlackOffice NetworkManager: <info>  Activation (wlan0) successful, device activated.
Dec 23 11:53:54 BlackOffice NetworkManager: <info>  Activation (wlan0) Stage 5 of 5 (IP Configure Commit) complete.


My IP is 10.200.5.200, router is 10.200.5.1. Resulting "ifconfig -a" and "route -n" is shown on the first post.

Oh, another thing... running the "route" command without the -n flag takes forever once connected to the wireless, so there may be a resolv issue, but I haven't been able to find it... =/

Regards,
--
Carlos Garisoain
Garisoain
Baby Hen
 
Posts: 17
Joined: Thu Dec 17, 2009 17:29

Re: Wireless connects, but network unreachable.

Postby Fitzcarraldo » Wed Dec 23, 2009 19:44

Try using Wicd instead of NetworkManager if you're using a static IP address. It is possible to set up NetworkManager to use a static address, but no one using SL seems to have success with it (if you search the SL forums), whereas those who use Wicd seem to have no trouble. Replacing NetworkManager with Wicd is straightforward: see the SL wiki article HOWTO: Replace NM with WICD.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7985
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Wireless connects, but network unreachable.

Postby Garisoain » Wed Dec 23, 2009 20:18

Thank you so much!!!, after installing WICD I just had to set up my network and it's working now!!! =)

You have saved a Sabayon installation for now... =) (I was just about to install OpenSuse in it's place)

Should be a sticky post with this issue on the forum...

Thanks again, my best regards,
--
Carlos Garisoain
Garisoain
Baby Hen
 
Posts: 17
Joined: Thu Dec 17, 2009 17:29



Return to Networking and Wireless

Who is online

Users browsing this forum: No registered users and 1 guest