How to Set up IP on Linux Debian Server Console

Sunday, January 9, 2011

To set up IP on Linux Debian, just edit file /etc/network/interfaces.

How to edit? Hmmmm.... it's simple, just open interfaces file with nano.

nano /etc/network/interfaces
Just it... And, edit IP what you want. Then, press CTRL + X and Y and enter.
After it, don't forget restart network interfaces. :
/etc/init.d/networking restart