当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 2 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : [问题]网卡配置的问题!!!
帖子发表于 : 2006-11-23 11:33 

注册: 2006-11-23 8:28
帖子: 12
送出感谢: 0 次
接收感谢: 0 次
用的是从硬盘启动Desktop CD方法启动(按照论坛置顶贴:长期提供从硬盘启动Desktop CD的引导文件,版本是
Ubuntu dapper 6.06.1),第一次进去后,系统-》系统设置-》联网里面有eth0,直接配好IP(我的是静态IP)
就可以上网了。但重新启动机器之后,在系统-》系统设置-》联网里面就没有eth0了,只有调制解调器,上不了网(这个帖子只好回Windows来发)。sudo ifdown -a之后再sudo ifup -a就报No such device了。此时设备管理器里面还有这个网卡:在82801 PCI Bridge下面有RTL-8139/8139C/8139C+,(该卡在Windows下为Realtek RTL8139/810x Family Fast Ethernet NIC)

附上ifup的输出和interfaces的内容

附1:上不了网时sudo ifup -a的输出:

sudo ifup -a输出:


ubuntu@ubuntu:~$ sudo ifup -a

SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
eth0: ERROR while getting interface flags: No such device
Failed to bring up eth0.
Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

SIOCSIFADDR: No such device
eth1: ERROR while getting interface flags: No such device
eth1: ERROR while getting interface flags: No such device
socket: Address family not supported by protocol - make sure CONFIG_PACKET (Packet socket) and CONFIG_FILTER (Socket Filtering) are enabled in your kernel configuration!
Failed to bring up eth1.
Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

SIOCSIFADDR: No such device
eth2: ERROR while getting interface flags: No such device
eth2: ERROR while getting interface flags: No such device
socket: Address family not supported by protocol - make sure CONFIG_PACKET (Packet socket) and CONFIG_FILTER (Socket Filtering) are enabled in your kernel configuration!
Failed to bring up eth2.
Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

SIOCSIFADDR: No such device
ath0: ERROR while getting interface flags: No such device
ath0: ERROR while getting interface flags: No such device
socket: Address family not supported by protocol - make sure CONFIG_PACKET (Packet socket) and
CONFIG_FILTER (Socket Filtering) are enabled in your kernel configuration!
Failed to bring up ath0.
Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

SIOCSIFADDR: No such device
wlan0: ERROR while getting interface flags: No such device
wlan0: ERROR while getting interface flags: No such device
socket: Address family not supported by protocol - make sure CONFIG_PACKET (Packet socket) and CONFIG_FILTER (Socket Filtering) are enabled in your kernel configuration!
Failed to bring up wlan0.

附2:/etc/network/interfaces文件内容:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 172.18.55.100
netmask 255.255.255.0
gateway 172.18.55.1

auto eth1
iface eth1 inet dhcp

auto eth2
iface eth2 inet dhcp

auto ath0
iface ath0 inet dhcp

auto wlan0
iface wlan0 inet dhcp


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2006-11-23 12:13 
头像

注册: 2005-10-16 13:24
帖子: 958
地址: 四川成都
送出感谢: 2
接收感谢: 0 次
你是什么网卡?
先用livecd启动,lsmod看一下是装载了什么驱动
然后重启到你系统中运行 sudo modprobe xxx(对应的内核模块)


_________________
Thank you Ubuntu Team!!!!
I still can't belive this is free...


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 2 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 5 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译