How to solve the problem that Ubuntu8.04 cannot access the Internet

Source: Internet
Author: User
Article title: Ubuntu8.04 no Internet access solution. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

Solution to the problem that Ubuntu 8.04 cannot access the Internet:
Set the network settings in the upper-right corner: ip, dns, or something. However, this setting can be saved only when it is modified for the first time after each restart.
Still unable to access the network.
Manually modify the configuration file.
Sudu gedit/etc/network/interfaces open the configuration file
After the configuration file is opened, modify it to my configuration file (intranet, static IP ):
Auto lo
Iface lo inet loopback

Iface eth0 inet static
Address 192.168.1.160
Netmask 255.255.255.0
Gateway 192.168.1.1

Auto eth0

Save and close.
Start these configurations: sudo ifup-
Check the network configuration: ifconfig
You can see that all your IP/Gateway/DNS settings are correct.

2. attach disks
After Ubundu 8.04 is installed, windows disks cannot be opened (Dual System) and are not mounted. Enter the following command on the terminal:
Sudo mount-t NTFS-3G/dev/sda1/media/sda1-o force
Forced mounting of sda1 (name of a disk in the original window), in the format of ntfs

If you do not know the name of each disk, I have a stupid method: sudo mount-
This still doesn't work. you can't open the disks, but you can see the names of the disks. Then use the above commands.

3. Change source
When installing Ubuntu 7.10, I talked about how to set the source. here I just want to record a source of Tsinghua, which is faster.
Sudo gedit/etc/apt/sources. list open source file list
I only want to keep one source in Tsinghua, so I will comment out all the lines in the opened file, add # in front of each line, and add such a line at the end of the full text.

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.