Following instructions are for eth0 (the first real network socket)
$sudo vim /etc/network/interfaces
This text should already be present
----
auto lo
iface lo inet loopback
if these lines are present delete/comment out (#at the beginning of the line is a commet)
----
auto eth0
iface eth0 inet dhcp
Add the following (replace the x's with the assigned ip)----
#### Manually Added Below Morgy ####
auto eth0
iface eth0 inet static
address 192.168.1.x
netmask 255.255.255.0
gateway 192.168.1.x
network 192.168.1.0
broadcast 192.168.1.255
Now restart networking
$ sudo /etc/init.d/networking restart
A more complete tutorial
No comments:
Post a Comment