Bitcoin donations are welcome:14snQXeLcnJtWUduKZ6rC2MHdPYrYar1Tw

Monday, December 29, 2008

How to change network settings in Debian

I used some time on finding this, but it was actually quite easy. The file you need to edit is located at /etc/network/interfaces.


If your ethernet network device is eth0, you simply use this line for DHCP:
iface eth0 inet dhcp
If you want to have a static network address use this:
iface eth0 inet static
address 192.168.1.123 netmask 255.255.255.0 gateway 192.168.1.1

For more information look here.

No comments:

Post a Comment