NetworkManager and DHCP

Radek Vokál radekvokal at gmail.com
Wed Mar 15 13:14:24 UTC 2006


On Wed, 2006-03-15 at 13:55 +0100, Radek Vokál wrote:
> Hi, I can't setup NetworkManager to work properly with my DHCP. After
> service NetworkManager start it sets link local IP address to eth0
> interface (such as 169.254.x.x), but it should call dhcpclient and get
> the IP from the server. According to Ethereal capture NetworkManager
> doesn't seem to send DHCP Offer to server as it should. The eth0
> interface has the following configuration
> 
> # cat ifcfg-LAN
> DEVICE=eth0
> BOOTPROTO=dhcp
> ONBOOT=yes
> TYPE=Ethernet
> #NETMASK=255.255.255.0
> #IPADDR=10.76.128.61
> USERCTL=yes
> PEERDNS=yes
> #GATEWAY=10.76.128.1
> HWADDR=00:c0:9f:cf:60:34
> 
> 
> and calling ifup eth0 correctly sets the IP up (as well as service
> network start)
> 
> NetworkManager-0.5.1-1.FC4.4
> 
> Am I missing some configuration file or issue? 


I forget to attach output from NM --no-daemon

NetworkManager: <information>	starting...
NetworkManager: <information>	Will activate wired connection 'eth0'
because it now has a link.
NetworkManager: <information>	Device eth0 activation scheduled...
NetworkManager: <information>	eth0: Device is fully-supported using
driver 'sis900'.
NetworkManager: <information>	nm_device_new(): waiting for device's
worker thread to start
NetworkManager: <information>	nm_device_new(): device's worker thread
started, continuing.
NetworkManager: <information>	Now managing wired device 'eth0'.
NetworkManager: <information>	Deactivating device eth0.
NetworkManager: <information>	wlan0: Device is fully-supported using
driver 'ndiswrapper'.
NetworkManager: <information>	nm_device_new(): waiting for device's
worker thread to start
NetworkManager: <information>	nm_device_new(): device's worker thread
started, continuing.
NetworkManager: <information>	Now managing wireless device 'wlan0'.
NetworkManager: <information>	Deactivating device wlan0.
NetworkManager: <information>	Updating allowed wireless network lists.
NetworkManager: <information>	Activation (eth0) started...
NetworkManager: <information>	Activation (eth0) Stage 1 (Device Prepare)
scheduled...
NetworkManager: <information>	Activation (eth0) Stage 1 (Device Prepare)
started...
NetworkManager: <information>	Activation (eth0) Stage 2 (Device
Configure) scheduled...
NetworkManager: <information>	Activation (eth0) Stage 1 (Device Prepare)
complete.
NetworkManager: <information>	Activation (eth0) Stage 2 (Device
Configure) starting...
NetworkManager: <information>	Activation (eth0/wired) Stage 2 (Device
Configure) successful.
NetworkManager: <information>	Activation (eth0) Stage 3 (IP Configure
Start) scheduled.
NetworkManager: <information>	Activation (eth0) Stage 2 (Device
Configure) complete.
NetworkManager: <information>	Activation (eth0) Stage 3 (IP Configure
Start) started...
NetworkManager: <information>	Old device 'eth0' activating, won't
change.
NetworkManager: process_scan_results: assertion `res_buf_len > 0' failed
NetworkManager: <WARNING>	  ():
nm_device_wireless_process_scan_results(wlan0): process_scan_results()
returned an error.
NetworkManager: <information>	Old device 'eth0' activating, won't
change.
NetworkManager: <information>	Activation (eth0) Beginning DHCP
transaction.
NetworkManager: <information>	DHCP daemon state now 12 for interface
eth0
NetworkManager: <information>	Activation (eth0) Stage 3 (IP Configure
Start) complete.
NetworkManager: <information>	DHCP daemon state now 1 for interface eth0
NetworkManager: process_scan_results: assertion `res_buf_len > 0' failed
NetworkManager: <WARNING>	  ():
nm_device_wireless_process_scan_results(wlan0): process_scan_results()
returned an error.
NetworkManager: <information>	Old device 'eth0' activating, won't
change.
NetworkManager: <information>	Device 'eth0' DHCP transaction took too
long (>25s), stopping it.
NetworkManager: <information>	Activation (eth0) Stage 4 (IP Configure
Timeout) scheduled...
NetworkManager: <information>	Activation (eth0) Stage 4 (IP Configure
Timeout) started...
NetworkManager: <information>	DHCP daemon state now 14 for interface
eth0
NetworkManager: <information>	No DHCP reply received.  Automatically
obtaining IP via Zeroconf.
NetworkManager: <information>	DHCP daemon state now 11 for interface
eth0
NetworkManager: <information>	DHCP daemon state now 14 for interface
eth0
NetworkManager: <information>	autoip: Sending probe #0 for IP address
169.254.142.39.
NetworkManager: <information>	autoip: Waiting for reply...
NetworkManager: <information>	autoip: Sending probe #1 for IP address
169.254.142.39.
NetworkManager: <information>	autoip: Waiting for reply...
NetworkManager: <information>	autoip: Sending probe #2 for IP address
169.254.142.39.
NetworkManager: <information>	autoip: Waiting for reply...
NetworkManager: <information>	autoip: Got some data to check for reply
packet.
NetworkManager: <WARNING>	  (): autoip: (eth0) recv arp type=2048,
op=16384, 
NetworkManager: <WARNING>	  ():  source = 1.19.192.168
40:11:B6:6D:C0:A8, 
NetworkManager: <WARNING>	  ():  target = 0.9.196.127 01:FF:80:BC:22:3D

NetworkManager: <information>	autoip: Sending announce #0 for IP address
169.254.142.39.
NetworkManager: <information>	autoip: Waiting for reply...
NetworkManager: <information>	autoip: Sending announce #1 for IP address
169.254.142.39.
NetworkManager: <information>	autoip: Waiting for reply...
NetworkManager: <information>	autoip: Got some data to check for reply
packet.
NetworkManager: <WARNING>	  (): autoip: (eth0) recv arp type=2048,
op=16384, 
NetworkManager: <WARNING>	  ():  source = 1.19.192.168
40:11:B6:6D:C0:A8, 
NetworkManager: <WARNING>	  ():  target = 0.9.196.127 01:FF:80:BC:22:3D

NetworkManager: <information>	autoip: Sending announce #2 for IP address
169.254.142.39.
NetworkManager: <information>	autoip: Waiting for reply...
NetworkManager: <information>	Activation (eth0) Stage 5 (IP Configure
Commit) scheduled...
NetworkManager: <information>	Activation (eth0) Stage 4 (IP Configure
Timeout) complete.
NetworkManager: <information>	Activation (eth0) Stage 5 (IP Configure
Commit) started...
NetworkManager: <information>	Your IP address = 169.254.142.39
NetworkManager: <information>	Activation (eth0) successful, device
activated.
NetworkManager: <information>	Activation (eth0) Finish handler
scheduled.
NetworkManager: <information>	Activation (eth0) Stage 5 (IP Configure
Commit) complete.
NetworkManager: process_scan_results: assertion `res_buf_len > 0' failed
NetworkManager: <WARNING>	  ():
nm_device_wireless_process_scan_results(wlan0): process_scan_results()
returned an error.
NetworkManager: <information>	Caught SIGINT/SIGTERM
NetworkManager: <information>	Caught terminiation signal
NetworkManager: <debug info>	[1142428109.384447]  (): Open Sockets List:
NetworkManager: <debug info>	[1142428109.384531]  (): Open Sockets List
Done.
NetworkManager: <information>	Deactivating device eth0.
NetworkManager: compute_nameservers: assertion `config != NULL' failed
NetworkManager: <information>	Deactivating device wlan0.
-- 
Radek Vokál <radekvokal at gmail.com>




More information about the fedora-list mailing list