分页: 1 / 1

紧急求助!升级Ubuntu后不能上网了

发表于 : 2006-10-06 12:05
magicd
机器配置: Athlon 1700+, DDR 512 , nVIDIA MX400, RTL8029
原版本是 Ubuntu 5.10 breezy, 内核版本 2.6.12-10-k7
使用 cn99的edgy源, apt-get dist-upgrade以后,在启动界面的Init network interfaces失败,启动后在硬件列表中看得见网卡,但是ping 127.0.0.1 显示unreachable,在控制台输入ifconfig后没有任何显示。因为不能上网,所以apt-get 也不能用了!
实在不想重装了!好不容易把系统配置到自己最满意的状态,各位高人帮个忙吧,先谢过了

发表于 : 2006-10-06 12:39
magicd
The problem has been solved by my self!
Just used a few steps:
1. Insert the ubuntu CD into the CD-Rom
2. find /media/cdrom | grep ip
3. then you will see some packages relative to the Tcp/IP and network, just install All of then.
4. edit /etc/network/interfaces like this:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

auto eth0

# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
script grep
map eth0

# The primary network interface
iface eth0 inet static
address 192.168.0.39
netmask 255.255.255.0
gateway 192.168.0.1

5. ifdown eth0
5. ifup eth0