View Single Post
  #3  
Old 10th October 2010, 20:53
Alf71 Alf71 is offline
Junior Member
 
Join Date: Oct 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default IP address

Hi

IPv4-Adresse . . . . . . . . . . : 192.168.0.100(Bevorzugt)
Subnetzmaske . . . . . . . . . . : 255.255.255.0
Lease erhalten. . . . . . . . . . : Sonntag, 10. Oktober 2010 19:41:49
Lease läuft ab. . . . . . . . . . : Sonntag, 17. Oktober 2010 19:44:07
Standardgateway . . . . . . . . . : 192.168.0.1
DHCP-Server . . . . . . . . . . . : 192.168.0.1

I have other problem:

Following the tutorial I cannot move further after installing text editor
and inserting the command

vi /etc/network/interfaces


in order to change DHCP into static.
How do I move further and get out of this network configuration window?
"/etc/init.d/networking restart" didn't work:

"Point 7 Configure The Network
Because the Ubuntu installer has configured our system to get its network settings via DHCP, we have to change that now because a server should have a static IP address. Edit /etc/network/interfaces and adjust it to your needs (in this example setup I will use the IP address 192.168.0.100):

vi /etc/network/interfaces

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# 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

Then restart your network:

/etc/init.d/networking restart"



Best regards

Last edited by Alf71; 10th October 2010 at 20:55.
Reply With Quote