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

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
magicd
帖子: 22
注册时间: 2006-08-21 13:52
来自: 北京
联系:

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

#1

帖子 magicd » 2006-10-06 12:05

机器配置: 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 也不能用了!
实在不想重装了!好不容易把系统配置到自己最满意的状态,各位高人帮个忙吧,先谢过了
头像
magicd
帖子: 22
注册时间: 2006-08-21 13:52
来自: 北京
联系:

#2

帖子 magicd » 2006-10-06 12:39

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
回复