Static IP with DHCP-Assigned DNS on Ubuntu 9.10
There is a ton of bug reports regarding the Network-Manager’s nm-applet not properly configuring static ips. There are, and always have been, bugs in the nm-applet, in each of its versions. In short, getting a static ip with dhcp assigned DNS parameters requires editing the /etc/dhcp3/dhclient.conf file. Here we go.
sudo vi /etc/dhcp3/dhclient.conf>> alias { interface "eth0"; fixed-address 192.168.1.101; option subnet-mask 255.255.255.255; } <<sudo dhclient -rsudo dhclient