Re: problems activating wireless device



Stefan Zechmeister sent the following syslog output:
==========================================

NetworkManager: Activation (ath0) started...
NetworkManager: Activation (ath0/wireless): access point 'ZECH' is encrypted, and a key exists. No new key needed. NetworkManager: Activation (ath0/wireless): using essid 'ZECH', with Shared Key authentication.
NetworkManager: dhcp_interface_init: MAC address = 00:05:4e:45:7c:d8
NetworkManager: Broadcasting DHCP_DISCOVER
NetworkManager: DHCP: Starting request loop, overall start_time = {1109514646s, 108023us}
NetworkManager: DHCP: Request sent, waiting for reply...
NetworkManager: DHCP: Got some data of length 576.
NetworkManager: Server replied with 7 DHCP options:
NetworkManager:         Subnet Mask (1):        255.255.255.0
NetworkManager:         Router (3):     192.168.1.1
NetworkManager:         Domain Server (6):      192.168.1.1
NetworkManager:         MTU Interface (26):     "\uffff"
NetworkManager:         Address Time (51):      -1
NetworkManager:         DHCP Msg Type (53):     2
NetworkManager:         DHCP Server Id (54):    192.168.1.1
NetworkManager:         Your IP Address:        192.168.1.7
NetworkManager:         DHCP Server Address:    0.0.0.0 (HW=00:09:5B:CC:BF:BA)
NetworkManager: Broadcast Address option is missing in DHCP server response. Assuming 192.168.1.255.
NetworkManager: Lease Time = 4294967295 in DHCP server response.
NetworkManager: Renewal Time (T1) is missing in DHCP server response. Assuming 2147483647s. NetworkManager: Rebind Time (T2) is missing in DHCP server response. Assuming 3758096383s.
NetworkManager: DHCP_OFFER received from  (192.168.1.1)
NetworkManager: Broadcasting DHCP_REQUEST for 192.168.1.7
NetworkManager: DHCP: Starting request loop, overall start_time = {1109514646s, 479070us}
NetworkManager: DHCP: Request sent, waiting for reply...
NetworkManager: DHCP: Got some data of length 576.
NetworkManager: Server replied with 10 DHCP options:
NetworkManager:         Subnet Mask (1):        255.255.255.0
NetworkManager:         Router (3):     192.168.1.1
NetworkManager:         Domain Server (6):      192.168.1.1
NetworkManager:         MTU Interface (26):     "\uffff"
NetworkManager:         Broadcast Address (28): 192.168.1.255
NetworkManager:         Address Time (51):      -1
NetworkManager:         DHCP Msg Type (53):     5
NetworkManager:         DHCP Server Id (54):    192.168.1.1
NetworkManager:         Renewal Time (58):      0
NetworkManager:         Rebinding Time (59):    0
NetworkManager:         Your IP Address:        192.168.1.7
NetworkManager:         DHCP Server Address:    0.0.0.0 (HW=00:09:5B:CC:BF:BA)
NetworkManager: Lease Time = 4294967295 in DHCP server response.
NetworkManager: Renewal Time (T1) is missing in DHCP server response. Assuming 2147483647s. NetworkManager: Rebind Time (T2) is missing in DHCP server response. Assuming 3758096383s.
NetworkManager: DHCP_ACK received from  (192.168.1.1)
NetworkManager: Your IP address = 192.168.1.7
NetworkManager: Clearing nscd hosts cache.
NetworkManager: : Adding nameserver: 192.168.1.1
NetworkManager: Clearing nscd hosts cache.
NetworkManager: Restarting mDNSResponder.
NetworkManager: Activation (ath0/wireless): Success! Connected to access point 'ZECH' and got an IP address.
NetworkManager: Activation (ath0) IP configuration/DHCP successful!
NetworkManager: Activation (ath0) ended.
NetworkManager: Activation (ath0) successful, device activated.
-----------------------------------------------------------------------------

networkmanager thinks it activated the device but i can not even ping the
gateway! what could be the problem here?

------------------------------------------------------------------------------
[root raphael ~]# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.7 icmp_seq=1 Destination Host Unreachable
From 192.168.1.7 icmp_seq=2 Destination Host Unreachable
From 192.168.1.7 icmp_seq=3 Destination Host Unreachable
From 192.168.1.7 icmp_seq=5 Destination Host Unreachable
From 192.168.1.7 icmp_seq=6 Destination Host Unreachable
From 192.168.1.7 icmp_seq=7 Destination Host Unreachable

--- 192.168.1.1 ping statistics ---
9 packets transmitted, 0 received, +6 errors, 100% packet loss, time 8000ms
, pipe 4

====================================================================
and also the routes

route -n

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 ath0
192.168.221.0   0.0.0.0         255.255.255.0   U     0      0        0 vmnet1
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 ath0

================================================

It appears there is a VMWare interface running vmnet1. My suggestion is to take down the vmnet1 interface so that your routing table looks like and restarting NM

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 ath0
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 ath0

If your pings now work, you have a starting point for diagnosis. I do not believe that NM can deal with the VMWare interface vmnet1.

--
Bill Moss
Professor, Mathematical Sciences
Clemson University




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]