Re: network manager does not detect the IP !



On Tue, 2006-12-05 at 19:24 +0200, Joan Moreau wrote:
> see below

Thanks!

Two issues here:

1) the wireless card/driver is getting disconnected from the access
point, you'll see the "CTRL-EVENT-DISCONNECTED" messages.  In this case,
NM should be failing the connection anyway, terminating your connection.
Perhaps the driver needs fixing, or you are far away from the access
point.

2) Can you attach your /sbin/dhclient-script file?  There is some
"dbus-send" magic at the top that's supposed to send the received DHCP
options back to dhcdbd.

Thanks,
Dan

> Thanks
> 
> Joan
> 
> Darren Albers wrote:
> > Can you post the relevant from /var/log/syslog?
> >
> > On 12/4/06, Joan Moreau <joan moreau m4x org> wrote:
> >>
> >> Hello !
> >>
> >> My laptop is running Ubuntu, and the nm-applet is greatly giving the
> >> list of available networks, then connect to the network, but does not
> >> detect that DHCP (dhclient3) has found an IP and disable the interface.
> >> I have to do it manually all the time .
> >>
> >> Any clue ?
> >>
> >> Thanks
> >>
> >> Joan
> >>
> 
> Dec  5 19:20:40 localhost NetworkManager: <info>  Activation (wlan0) 
> started...
> Dec  5 19:20:40 localhost NetworkManager: <info>  Activation (wlan0) 
> Stage 1 of 5 (Device Prepare) scheduled...
> Dec  5 19:20:40 localhost NetworkManager: <info>  Activation (wlan0) 
> Stage 1 of 5 (Device Prepare) started...
> Dec  5 19:20:40 localhost NetworkManager: <info>  Activation (wlan0) 
> Stage 2 of 5 (Device Configure) scheduled...
> Dec  5 19:20:40 localhost NetworkManager: <info>  Activation (wlan0) 
> Stage 1 of 5 (Device Prepare) complete.
> Dec  5 19:20:40 localhost NetworkManager: <info>  Activation (wlan0) 
> Stage 2 of 5 (Device Configure) starting...
> Dec  5 19:20:40 localhost NetworkManager: <info>  Activation 
> (wlan0/wireless): access point 'default' is unencrypted, no key needed.
> Dec  5 19:20:40 localhost NetworkManager: <info>  SUP: sending command 
> 'INTERFACE_ADD wlan0^I^Iwext^I/var/run/wpa_supplicant^I'
> Dec  5 19:20:40 localhost NetworkManager: <info>  SUP: response was 'OK'
> Dec  5 19:20:40 localhost NetworkManager: <info>  SUP: sending command 
> 'AP_SCAN 1'
> Dec  5 19:20:40 localhost NetworkManager: <info>  SUP: response was 'OK'
> Dec  5 19:20:40 localhost NetworkManager: <info>  SUP: sending command 
> 'ADD_NETWORK'
> Dec  5 19:20:40 localhost NetworkManager: <info>  SUP: response was '0'
> Dec  5 19:20:40 localhost NetworkManager: <info>  SUP: sending command 
> 'SET_NETWORK 0 ssid 64656661756c74'
> Dec  5 19:20:40 localhost NetworkManager: <info>  SUP: response was 'OK'
> Dec  5 19:20:40 localhost NetworkManager: <info>  SUP: sending command 
> 'SET_NETWORK 0 key_mgmt NONE'
> Dec  5 19:20:40 localhost NetworkManager: <info>  SUP: response was 'OK'
> Dec  5 19:20:40 localhost NetworkManager: <info>  SUP: sending command 
> 'ENABLE_NETWORK 0'
> Dec  5 19:20:40 localhost NetworkManager: <info>  SUP: response was 'OK'
> Dec  5 19:20:40 localhost NetworkManager: <info>  Activation (wlan0) 
> Stage 2 of 5 (Device Configure) complete.
> Dec  5 19:20:42 localhost NetworkManager: <info>  Old device 'wlan0' 
> activating, won't change.
> Dec  5 19:20:45 localhost NetworkManager: <info>  Old device 'wlan0' 
> activating, won't change.
> Dec  5 19:20:45 localhost NetworkManager: <info>  Activation 
> (wlan0/wireless) Stage 2 of 5 (Device Configure) successful.  Connected 
> to access point 'default'.
> Dec  5 19:20:45 localhost NetworkManager: <info>  Activation (wlan0) 
> Stage 3 of 5 (IP Configure Start) scheduled.
> Dec  5 19:20:45 localhost NetworkManager: <info>  Activation (wlan0) 
> Stage 3 of 5 (IP Configure Start) started...
> Dec  5 19:20:46 localhost NetworkManager: <info>  Activation (wlan0) 
> Beginning DHCP transaction.
> Dec  5 19:20:46 localhost NetworkManager: <info>  Activation (wlan0) 
> Stage 3 of 5 (IP Configure Start) complete.
> Dec  5 19:20:46 localhost NetworkManager: <info>  DHCP daemon state is 
> now 12 (successfully started) for interface wlan0
> Dec  5 19:20:50 localhost dhclient: DHCPDISCOVER on wlan0 to 
> 255.255.255.255 port 67 interval 4
> Dec  5 19:20:54 localhost dhclient: DHCPDISCOVER on wlan0 to 
> 255.255.255.255 port 67 interval 10
> Dec  5 19:20:54 localhost dhclient: DHCPOFFER from 192.168.1.1
> Dec  5 19:20:54 localhost dhclient: DHCPREQUEST on wlan0 to 
> 255.255.255.255 port 67
> Dec  5 19:20:54 localhost dhclient: DHCPACK from 192.168.1.1
> Dec  5 19:20:54 localhost dhclient: bound to 192.168.1.64 -- renewal in 
> 36474 seconds.
> Dec  5 19:20:54 localhost dhclient: receive_packet failed on wlan0: 
> Network is down
> Dec  5 19:20:59 localhost NetworkManager: <info>  Old device 'wlan0' 
> activating, won't change.
> Dec  5 19:21:09 localhost last message repeated 4 times
> Dec  5 19:21:09 localhost NetworkManager: <info>  wpa_supplicant(9722): 
> CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
> Dec  5 19:21:09 localhost last message repeated 2 times
> Dec  5 19:21:09 localhost NetworkManager: <info>  wpa_supplicant(9722): 
> Trying to associate with 00:11:d8:74:be:1d (SSID='default' freq=0 MHz)
> Dec  5 19:21:09 localhost NetworkManager: <info>  wpa_supplicant(9722): 
> CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
> Dec  5 19:21:09 localhost NetworkManager: <info>  wpa_supplicant(9722): 
> CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
> Dec  5 19:21:09 localhost NetworkManager: <info>  wpa_supplicant(9722): 
> Associated with 00:11:d8:74:be:1d
> Dec  5 19:21:09 localhost NetworkManager: <info>  wpa_supplicant(9722): 
> CTRL-EVENT-CONNECTED - Connection to 00:11:d8:74:be:1d completed (auth)
> Dec  5 19:21:09 localhost NetworkManager: <info>  wpa_supplicant(9722): 
> CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
> Dec  5 19:21:09 localhost NetworkManager: <info>  wpa_supplicant(9722): 
> Trying to associate with 00:11:d8:74:be:1d (SSID='default' freq=0 MHz)
> Dec  5 19:21:09 localhost NetworkManager: <info>  wpa_supplicant(9722): 
> CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
> Dec  5 19:21:09 localhost NetworkManager: <info>  wpa_supplicant(9722): 
> Trying to associate with 00:11:d8:74:be:1d (SSID='default' freq=0 MHz)
> Dec  5 19:21:09 localhost NetworkManager: <info>  wpa_supplicant(9722): 
> Trying to associate with 00:11:d8:74:be:1d (SSID='default' freq=0 MHz)
> Dec  5 19:21:09 localhost NetworkManager: <info>  wpa_supplicant(9722): 
> CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
> Dec  5 19:21:09 localhost NetworkManager: <info>  wpa_supplicant(9722): 
> Trying to associate with 00:11:d8:74:be:1d (SSID='default' freq=0 MHz)
> Dec  5 19:21:09 localhost NetworkManager: <info>  wpa_supplicant(9722): 
> Trying to associate with 00:11:d8:74:be:1d (SSID='default' freq=0 MHz)
> Dec  5 19:21:11 localhost NetworkManager: <info>  Old device 'wlan0' 
> activating, won't change.
> Dec  5 19:21:16 localhost last message repeated 2 times
> Dec  5 19:21:16 localhost NetworkManager: <info>  wlan0: link timed out.
> Dec  5 19:21:16 localhost NetworkManager: <info>  Old device 'wlan0' 
> activating, won't change.
> Dec  5 19:21:31 localhost last message repeated 6 times
> Dec  5 19:21:31 localhost NetworkManager: <info>  Device 'wlan0' DHCP 
> transaction took too long (>45s), stopping it.
> Dec  5 19:21:31 localhost dhclient: DHCPRELEASE on wlan0 to 192.168.1.1 
> port 67
> Dec  5 19:21:32 localhost NetworkManager: <info>  Activation (wlan0) 
> Stage 4 of 5 (IP Configure Timeout) scheduled...
> Dec  5 19:21:32 localhost NetworkManager: <info>  DHCP daemon state is 
> now 14 (normal exit) for interface wlan0
> Dec  5 19:21:32 localhost NetworkManager: <info>  DHCP daemon state is 
> now 14 (normal exit) for interface wlan0
> Dec  5 19:21:32 localhost NetworkManager: <info>  Activation (wlan0) 
> Stage 4 of 5 (IP Configure Timeout) started...
> Dec  5 19:21:32 localhost NetworkManager: <info>  Activation (wlan0) 
> failure scheduled...
> Dec  5 19:21:32 localhost NetworkManager: <info>  Activation (wlan0) 
> Stage 4 of 5 (IP Configure Timeout) complete.
> Dec  5 19:21:32 localhost NetworkManager: <info>  Activation (wlan0) 
> failed for access point (default)
> Dec  5 19:21:32 localhost NetworkManager: <info>  Activation (wlan0) failed.
> Dec  5 19:21:32 localhost NetworkManager: <info>  Deactivating device wlan0.
> 
> 
> _______________________________________________
> NetworkManager-list mailing list
> NetworkManager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list




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