how to debug NetworkManager ?

JB jb.1234abcd at gmail.com
Wed Oct 13 10:56:59 UTC 2010


cornel panceac <cpanceac <at> gmail.com> writes:

> ...

It looks like the dhclient alone can cope with your-other-os dhcp server, but
the NM not.

Let me see if I can suggest something.

$ man 5 dhclient.conf
...
       The  dhclient.conf  file  can be used to configure the behaviour of the
       client  in  a  wide  variety  of  ways:  protocol  timing,  information
       requested from the server, information required of the server, defaults
       to use if the server does not provide certain information, values  with
       which  to  override  information  provided  by the server, or values to
       prepend or append to information provided by the server.
...
LEASE REQUIREMENTS AND REQUESTS
...

So, let us try:

# ls -l /etc/dhcp/
...
-rw-r--r--. 1 root root   40 Apr 10  2009 dhclient-eth0.conf
-rw-r--r--. 1 root root   40 Apr 10  2009 dhclient-wlan0.conf
...

Test if you can get the desired result (NM obtaining "option routers"
equivalent data for setting default router/gateway in kernel routing table),
for example:

# cat /etc/dhcp/dhclient-eth0.conf
request;

or another one

# cat /etc/dhcp/dhclient-eth0.conf
require routers;

Of course, restart NM so it can pick up that dhclient-*.conf file.

JB




More information about the test mailing list