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

为当前最终发行版之前的所有版本提供支持
回复
头像
magicd
帖子: 22
注册时间: 2006-08-21 13:52
来自: 北京
送出感谢: 0
接收感谢: 0
联系:

紧急求助!升级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
来自: 北京
送出感谢: 0
接收感谢: 0
联系:

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

回到 “老旧版本支持”