Currently browsing

July 2010

Setting a Permenant IP Address in UBuntu

To permanently set up the ip and gateway, you have to edit /etc/network/interfaces. It is advisable if you backup the existing interfaces file, if it is available. 1. Backup /etc/network/interfaces$ sudo cp /etc/network/interfaces /etc/network/interfaces.bak 2. Open the /etc/network/interfaces using your favorite text editor$ sudo vi /etc/network/interfaces 3. Add the below …

Setting up a temporary IP Address – Ubuntu

To set ip temporarily using ifconfig and route commands 1. Run the command below to set ip and netmask$ sudo ifconfig eth0 10.20.1.10 netmask 255.255.255.0 upwhere eth0 is the name of the interface, 255.255.255.0 is the netmask and up to activate the interface 2. run route command to set default …