How To Setting IP and DNS In Ubuntu Intrepid Ibex

One fairly annoying bug in Ubuntu Intrepid Ibex is the problem of static network connection settings. Every time we create a profile setting static networks, each restart will definitely return to profile Auto eth0 (dhcp).

  • ispose of Gnome Network Manager service in order not to run at boot time. Run the command:

$sudo update-rc.d -f NetworkManager remove

  • Manually edit your network configuration files, by adding a static ip address, gateway, and netmask is used. Run command

$sudo gedit /etc/network/interface

  • Enter a line like the following (adjust the ip address of your network);

auto lo eth0
iface lo inet loopback
iface eth0 inet static
address Your Ip)
gateway Your Gateway)

  • Next give nameservers by editing the file / etc / resolv.conf. Run command

sudo gedit /etc/resolv.conf

  • add the line;

nameserver Your ip dns primary)
nameserver Your ip dns secondary)

  • Restart your network service

sudo /etc/init.d/networking restart
*Reconfiguring network interfaces… [OK]

Via : ugos.ugm


Posting Komentar