After Ubuntu7.10 is installed, you may need to configure the ip command line as follows: sudogedit/etc/network/interfacesdhcpdhcp configuration as follows (assuming the Internet access through eth1) # theprimarynetworkinterface-usedhcptofindouraddressautoeth1ifaceeth1inetdhcp/
After Ubuntu7.10 is installed, you may need to configure it as follows:
The ip command line configuration is as follows:
Sudo gedit/etc/network/interfaces
Dhcp
The dhcp configuration is as follows (assuming you use eth1 to access the Internet)
# The primary network interface-use dhcp to find our address
Auto eth1
Iface eth1 inet dhcp // specify as dhcp
Then restart
Sudo/etc/init. d/networking restart
Static ip
The static IP address is configured as follows (assuming you use eth1 to access the Internet)
# The primary network interface
Auto eth1
Iface eth1 inet static // specify as static
Address 192.168.3.90 // ip address
Gateway 192.168.3.1 // gateway
Netmask 255.255.255.0 // Subnet Mask
Also need to restart
Sudo/etc/init. d/networking restart
Dns
Configure dns if necessary
Sudo gedit/etc/resolv. conf
Nameserver 192.168.3.2