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

Re: [saigonlug] Facebook Acces



Well… All this would have been correct if Ubuntu didn't decide to let NetworkManager take over the standard way…

If you look at the processus running on a Ubuntu client you will see something like this:

root     13975  0.0  0.0   2232   856 ?        S    Nov15   0:00 /sbin/dhclient -d -sf /usr/lib/NetworkManager/nm-dhcp-client.action -pf /var/run/dhclient-eth0.pid -lf /var/lib/dhcp3/dhclient-577b4859-77f1-4a7d-ac49-bdb2bbd3200f-eth0.lease -cf /var/run/nm-dhclient-eth0.conf eth0
root     21410  0.0  0.0   2232   860 ?        S    Nov15   0:00 /sbin/dhclient -d -sf /usr/lib/NetworkManager/nm-dhcp-client.action -pf /var/run/dhclient-eth1.pid -lf /var/lib/dhcp3/dhclient-b5e95f62-60d7-43aa-abcc-9894fb27aab9-eth1.lease -cf /var/run/nm-dhclient-eth1.conf eth1

It means that NetworkManager take over the standard DHCP way by creating a dhclient.conf on the fly and running his own instance of a DHCP client…

So, the correct way, in Ubuntu, is to put the DNS choice in NetworkManager configuration. And the easier way for that is to use the graphical interface, sadly.

Another way would be to tell NetworkManager to stop managing some interface by putting the whole interface configuration in /etc/network/interfaces, as it is in the standard Debian way. But you may then lose a few features brought by NetworkManager…

IMHO Ubuntu is for non-technical end-users, so you should learn them the graphical way through configuring NetworkManager.

Cheers, J.C.