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.