Re: netowork manager doesn't know it has connected
- From: Dan Williams <dcbw redhat com>
- To: Anze Slosar <anze slosar com>
- Cc: networkmanager-list gnome org
- Subject: Re: netowork manager doesn't know it has connected
- Date: Mon, 18 Sep 2006 12:36:47 -0400
On Sun, 2006-09-17 at 22:41 +0200, Anze Slosar wrote:
> Hi,
>
> I am using ubuntu dapper. On a fresh install I used network manager
> for a while, but since it didn't have a static IP, I went back to a
> home-cooked solution using whereami, ifplugd, etc. Now I wanted to go
> back to the network manager, and now it doesn't work any more... I
> just use a normal package, nothing fancy, no wpa, nothing just eth0
> and ath0. Asked for help on ubuntu forums and no luck. Specifically,
> my problem is as follows:
>
> Below is what happens when I plug in the cable (i.e. not a wireless
> problem and not a hardware problem, the same thing happens with
> ath0).
>
> At the point where I added "**** WORKING" to the log, the eth0 network
> is up and running, I can connect to various sites, etc. Looks like
> system configured succesfully via DHCP. However, network manager still
> thinks it is down, the dots keep rotating in the applet, and after a
> while it times out and then it sets eth0 to some stupid default IP at
> which point I (of course) loose connectivity.
> Any ideas for debugging? I am really desperate...
Does your system actually use DHCP or static IP? If DHCP, something is
not getting to NetworkManager. Be sure you have the correct 'dbus-send'
magic at the top of the dhclient script (possibly
in /sbin/dhclient-script). The fact that NM is attempting to do autoip
here means that DHCP is clearly not succeeding, and that NM is told that
the interface requires static IP configuration.
Dan
>
> root proust:/home/anze# NetworkManager --no-daemon
> NetworkManager: <information> starting...
> NetworkManager: <WARNING> main (): nm_data_new: Setting up dbus filter
> NetworkManager: <information> eth0: Device is fully-supported using
> driver 'e1000'.
> NetworkManager: <information> nm_device_init(): waiting for device's
> worker thread to start
> NetworkManager: <information> nm_device_init(): device's worker thread
> started, continuing.
> NetworkManager: <information> Now managing wired Ethernet (802.3)
> device 'eth0'.
> NetworkManager: <information> ath0: Device is fully-supported using
> driver 'ath_pci'.
> NetworkManager: <information> nm_device_init(): waiting for device's
> worker thread to start
> NetworkManager: <information> nm_device_init(): device's worker thread
> started, continuing.
> NetworkManager: <information> Now managing wireless (802.11) device
> 'ath0'.
> NetworkManager: <information> Updating allowed wireless network lists.
> NetworkManager: <information> match
> NetworkManager: <information> match
> NetworkManager: <WARNING> nm_dbus_get_networks_cb ():
> nm-dbus-nmi.c:522 (nm_dbus_get_networks_cb): error received:
> org.freedesktop.NetworkManagerInfo.NoNetworks - There are no wireless
> networks stored..
> NetworkManager: <information> match
> NetworkManager: <information> match
> NetworkManager: <information> match
> NetworkManager: <information> match
> NetworkManager: <information> match
> NetworkManager: <information> match
> NetworkManager: <information> Will activate wired connection 'eth0'
> because it now has a link.
> NetworkManager: <information> match
> NetworkManager: <information> match
> NetworkManager: <information> SWITCH: no current connection, found
> better connection 'eth0'.
> NetworkManager: <information> Will activate connection 'eth0'.
> NetworkManager: <information> Device eth0 activation scheduled...
> NetworkManager: <information> Activation (eth0) started...
> NetworkManager: <information> Activation (eth0) Stage 1 of 5 (Device
> Prepare) scheduled...
> NetworkManager: <information> Activation (eth0) Stage 1 of 5 (Device
> Prepare) started...
> NetworkManager: <information> match
> NetworkManager: <information> Activation (eth0) Stage 2 of 5 (Device
> Configure) scheduled...
> NetworkManager: <information> Activation (eth0) Stage 1 of 5 (Device
> Prepare) complete.
> NetworkManager: <information> Activation (eth0) Stage 2 of 5 (Device
> Configure) starting...
> NetworkManager: <information> Activation (eth0) Stage 2 of 5 (Device
> Configure) successful.
> NetworkManager: <information> Activation (eth0) Stage 3 of 5 (IP
> Configure Start) scheduled.
> NetworkManager: <information> Activation (eth0) Stage 2 of 5 (Device
> Configure) complete.
> NetworkManager: <information> Activation (eth0) Stage 3 of 5 (IP
> Configure Start) started...
> NetworkManager: <information> match
> NetworkManager: <information> match
> NetworkManager: <information> Activation (eth0) Beginning DHCP
> transaction.
> NetworkManager: <information> Activation (eth0) Stage 3 of 5 (IP
> Configure Start) complete.
> NetworkManager: <information> DHCP daemon state is now 12
> (successfully started) for interface eth0
> NetworkManager: <information> Old device 'eth0' activating, won't
> change.
> NetworkManager: <information> match
> NetworkManager: <information> Old device 'eth0' activating, won't
> change.
>
> **************WORKING
>
> NetworkManager: <information> Device 'eth0' DHCP transaction took too
> long (>45s), stopping it.
> NetworkManager: <information> Activation (eth0) Stage 4 of 5 (IP
> Configure Timeout) scheduled...
> NetworkManager: <information> DHCP daemon state is now 14 (normal
> exit) for interface eth0
> NetworkManager: <information> DHCP daemon state is now 14 (normal
> exit) for interface eth0
> NetworkManager: <information> Activation (eth0) Stage 4 of 5 (IP
> Configure Timeout) started...
> NetworkManager: <information> No DHCP reply received. Automatically
> obtaining IP via Zeroconf.
> NetworkManager: <information> autoip: Sending probe #0 for IP address
> 169.254.223.103.
> NetworkManager: <information> autoip: Waiting for reply...
> NetworkManager: <information> autoip: Sending probe #1 for IP address
> 169.254.223.103.
> NetworkManager: <information> autoip: Waiting for reply...
> NetworkManager: <information> Old device 'eth0' activating, won't
> change.
> NetworkManager: <information> autoip: Sending probe #2 for IP address
> 169.254.223.103.
> NetworkManager: <information> autoip: Waiting for reply...
> NetworkManager: <information> autoip: Sending announce #0 for IP
> address 169.254.223.103.
> NetworkManager: <information> autoip: Waiting for reply...
> NetworkManager: <information> autoip: Sending announce #1 for IP
> address 169.254.223.103.
> NetworkManager: <information> autoip: Waiting for reply...
> NetworkManager: <information> autoip: Sending announce #2 for IP
> address 169.254.223.103.
> NetworkManager: <information> autoip: Waiting for reply...
> NetworkManager: <information> Activation (eth0) Stage 5 of 5 (IP
> Configure Commit) scheduled...
> NetworkManager: <information> Activation (eth0) Stage 4 of 5 (IP
> Configure Timeout) complete.
> NetworkManager: <information> Activation (eth0) Stage 5 of 5 (IP
> Configure Commit) started...
> NetworkManager: <information> DHCP returned name servers but system
> has disabled dynamic modification!
> NetworkManager: <information> Activation (eth0) Finish handler
> scheduled.
> NetworkManager: <information> Activation (eth0) successful, device
> activated.
> NetworkManager: <information> match
> NetworkManager: <information> match
> NetworkManager: <information> match
> NetworkManager: <information> Activation (eth0) Stage 5 of 5 (IP
> Configure Commit) complete.
> ************************* NOT WORKING
> Edit/Delete Message
>
>
>
>
>
> --
> -- "... somebody would have remembered that rock beats scissors,
> scissors beats paper, and a few H&K MP5A3s full of 9mm Hydroshok
> ammo and laser designators beats a bunch of punks with baseball
> bats."
> _______________________________________________
> 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]