caspert_ghost
15th May 2007, 10:03
Hellllllp
I have been reading:
http://www.howtoforge.com/perfect_setup_ubuntu704_p3
and got ubuntu 7.04 server set up on my machine. but when I get to 6 (Configure The Network)
I enter my login, type sudo to log in as root then type the command stated on that page.
vi /etc/network/interfaces
I get the new window:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet dhcp
now I need to change this to:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.100
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
once I make the changes HOW do I save it and exit from the vi command window???
Thank you
I have been reading:
http://www.howtoforge.com/perfect_setup_ubuntu704_p3
and got ubuntu 7.04 server set up on my machine. but when I get to 6 (Configure The Network)
I enter my login, type sudo to log in as root then type the command stated on that page.
vi /etc/network/interfaces
I get the new window:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet dhcp
now I need to change this to:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.100
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
once I make the changes HOW do I save it and exit from the vi command window???
Thank you