Solution to the problem that Ubuntu8.04 cannot access the Internet: Set the network settings in the upper-right corner: ip, dns or something, but this setting can only be saved after the first modification after each restart. Still unable to access the network. Manually modify the configuration file. After sudugedit/etc/network/interfaces opens the configuration file, modify it. My configuration file (intranet, static IP): autoloifaceloinetloopbackifaceeth0inet
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.