Short answer : Yes it is ! 😉
The end result, if I had followed above mentioned tutorial, would have been :
auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.1.150 netmask 255.255.255.0 gateway 192.168.1.1 dns-nameservers 184.108.40.206 220.127.116.11
Long answer :
I really don’t like
dnsmasq. Granted, at first it did make my iptables administration a lot easier ! As
dnsmasq runs as user :
nobody, which in practice means that I only had one rule, which allowed user
nobody to connect to opendns’ name servers only. Et voila, Bob’s your uncle. 😉
I did a search query, to see if the use of
dnsmasq is an ubuntu specific beast (Well, you know their paradigm — from release to release : “ Change, for the sake of change. ” 😆 )
My search led me here : Understanding dnsmasq in Precise Pangolin.
And ultimately I followed the instructions — as I read them — on ubuntugeek, you need to edit the
One way to do so is (as root) :
gksudo gedit /etc/NetworkManager/NetworkManager.conf
Then change :
↑ See image.
Save, and exit the file, and then restart your network-manager.
Like so :
sudo restart network-manager
Now the whole point of this post is : To show you, how to give your computer a fixed ip-address. Allow me to show you how I did it, by means of using a few screenshots to clarify. 😉
In summary :
I’ve shown you how to setup a fixed ip-address, and I briefly wrote about, opendns, and iptables. ← To which I’ll refer, once I start writing more, about network related matters. Until then : “ Have fun tinkering, and don’t ever forget to make backups, of any system file you wish to edit. ” ← You’ll thank yourself later, that you did !
Target : Self