Ubuntu7.10 configuration note

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.