Network Manager and DNS resolution from DHCP
Hi All
I have a problem with Network Manager not updating the resolv.conf when
it receives the information from DHCP.
If I right click on the Network Manager and select connection
information, I get the right DNS information.
If I run nslookup > server shows local host or leftover nameservers
If I try to ping a name host it is unresloved.
if I run /sbin/dhcpd eth0 (or wlan0 when on wireless) then things start
to work.
Anyone got any ideas ?
Network Log Attached - Seems ok to me
Thanks In Advance
Mark Casey
Oct 14 08:24:20 mcaseypc NetworkManager: <info> Activation (eth0)
starting connection 'Auto eth0'
Oct 14 08:24:20 mcaseypc NetworkManager: <info> (eth0): device state
change: 3 -> 4
Oct 14 08:24:20 mcaseypc NetworkManager: <info> Activation (eth0) Stage
1 of 5 (Device Prepare) scheduled...
Oct 14 08:24:20 mcaseypc NetworkManager: <info> Activation (eth0) Stage
1 of 5 (Device Prepare) started...
Oct 14 08:24:20 mcaseypc NetworkManager: <info> Activation (eth0) Stage
2 of 5 (Device Configure) scheduled...
Oct 14 08:24:20 mcaseypc NetworkManager: <info> Activation (eth0) Stage
1 of 5 (Device Prepare) complete.
Oct 14 08:24:20 mcaseypc NetworkManager: <info> Activation (eth0) Stage
2 of 5 (Device Configure) starting...
Oct 14 08:24:20 mcaseypc NetworkManager: <info> (eth0): device state
change: 4 -> 5
Oct 14 08:24:20 mcaseypc NetworkManager: <info> Activation (eth0) Stage
2 of 5 (Device Configure) successful.
Oct 14 08:24:20 mcaseypc NetworkManager: <info> Activation (eth0) Stage
3 of 5 (IP Configure Start) scheduled.
Oct 14 08:24:20 mcaseypc NetworkManager: <info> Activation (eth0) Stage
2 of 5 (Device Configure) complete.
Oct 14 08:24:20 mcaseypc NetworkManager: <info> Activation (eth0) Stage
3 of 5 (IP Configure Start) started...
Oct 14 08:24:20 mcaseypc NetworkManager: <info> (eth0): device state
change: 5 -> 7
Oct 14 08:24:20 mcaseypc NetworkManager: <info> Activation (eth0)
Beginning DHCP transaction.
Oct 14 08:24:20 mcaseypc NetworkManager: <info> dhclient started with
pid 7167
Oct 14 08:24:20 mcaseypc NetworkManager: <info> Activation (eth0) Stage
3 of 5 (IP Configure Start) complete.
Oct 14 08:24:20 mcaseypc NetworkManager: <info> DHCP: device eth0 state
changed normal exit -> preinit
Oct 14 08:24:29 mcaseypc NetworkManager: <info> DHCP: device eth0 state
changed preinit -> bound
Oct 14 08:24:29 mcaseypc NetworkManager: <info> Activation (eth0) Stage
4 of 5 (IP Configure Get) scheduled...
Oct 14 08:24:29 mcaseypc NetworkManager: <info> Activation (eth0) Stage
4 of 5 (IP Configure Get) started...
Oct 14 08:24:29 mcaseypc NetworkManager: <info> address 10.242.2.116
Oct 14 08:24:29 mcaseypc NetworkManager: <info> prefix 22
(255.255.252.0)
Oct 14 08:24:29 mcaseypc NetworkManager: <info> gateway 10.242.1.253
Oct 14 08:24:29 mcaseypc NetworkManager: <info> nameserver '10.242.1.5'
Oct 14 08:24:29 mcaseypc NetworkManager: <info> nameserver '10.242.1.6'
Oct 14 08:24:29 mcaseypc NetworkManager: <info> domain name
'office.pegasustech.com.au'
Oct 14 08:24:29 mcaseypc NetworkManager: <info> Activation (eth0) Stage
5 of 5 (IP Configure Commit) scheduled...
Oct 14 08:24:29 mcaseypc NetworkManager: <info> Activation (eth0) Stage
4 of 5 (IP Configure Get) complete.
Oct 14 08:24:29 mcaseypc NetworkManager: <info> Activation (eth0) Stage
5 of 5 (IP Configure Commit) started...
Oct 14 08:24:30 mcaseypc NetworkManager: <debug> [1255469070.023635]
run_netconfig(): Spawning '/sbin/netconfig modify --service
NetworkManager'
Oct 14 08:24:30 mcaseypc NetworkManager: <debug> [1255469070.025286]
write_to_netconfig(): Writing to netconfig: INTERFACE='eth0'
Oct 14 08:24:30 mcaseypc NetworkManager: <debug> [1255469070.025491]
write_to_netconfig(): Writing to netconfig:
DNSSEARCH='office.pegasustech.com.au office.pegasustech.com.au'
Oct 14 08:24:30 mcaseypc NetworkManager: <debug> [1255469070.025520]
write_to_netconfig(): Writing to netconfig: DNSSERVERS='10.242.1.5
10.242.1.6'
Oct 14 08:24:30 mcaseypc NetworkManager: <info> Clearing nscd hosts
cache.
Oct 14 08:24:30 mcaseypc NetworkManager: <info> (eth0): device state
change: 7 -> 8
Oct 14 08:24:30 mcaseypc NetworkManager: <debug> [1255469070.028131]
run_netconfig(): Spawning '/sbin/netconfig modify --service
NetworkManager'
Oct 14 08:24:30 mcaseypc NetworkManager: <debug> [1255469070.034065]
write_to_netconfig(): Writing to netconfig: INTERFACE='eth0'
Oct 14 08:24:30 mcaseypc NetworkManager: <debug> [1255469070.034249]
write_to_netconfig(): Writing to netconfig:
DNSSEARCH='office.pegasustech.com.au office.pegasustech.com.au'
Oct 14 08:24:30 mcaseypc NetworkManager: <debug> [1255469070.034337]
write_to_netconfig(): Writing to netconfig: DNSSERVERS='10.242.1.5
10.242.1.6'
Oct 14 08:24:30 mcaseypc NetworkManager: <info> Clearing nscd hosts
cache.
Oct 14 08:24:30 mcaseypc NetworkManager: <info> Policy set 'Auto
eth0' (eth0) as default for routing and DNS.
Oct 14 08:24:30 mcaseypc NetworkManager: <info> Activation (eth0)
successful, device activated.
Oct 14 08:24:30 mcaseypc NetworkManager: <info> Activation (eth0) Stage
5 of 5 (IP Configure Commit) complete.
|