有线网卡型号:Broadcom NetLink(TM) Fast Ethernet
笔记本型号:联想3000G430
问题描述:
ifconfig -a 命令下有eth0
eth0
Link encap:以太网 硬件地址 00:1e:ec:bf:65:53
BROADCAST MULTICAST MTU:1500 跃点数:1
接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:0 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:0 (0.0 B) 发送字节:0 (0.0 B)
在终端输入
sudo ifconfig eth0 up
SIOCSIFFLAGS: 没有那个设备
请问这个“没有那个设备”是什么意思?
在 系统配置->网络->有线 的界面上 显示的是 电缆未插入(事实上我的有线是插上的,在双系统的Win7下可以直接联网使用)
还有下面的测试:
sudo service network -manager stop
network: unrecognized service
sudo dhclient eth0
RTNETLINK answers: No such device
以及在iwconfig 命令下
eth0 no wireless extensions
写在最后:我是用光盘安装的Ubuntu11.10,安装期间连接了无线网络。目前想确认我的有线网卡驱动了吗?需要如何操作才能开启有线连接?
补充:
在联想官网下载到驱动,是tar.gz格式的,在make的时候提示
sh makeflags.sh /lib/modules/3.0.0-16-generic/build > tg3_flags.h
[: 155: -eq: unexpected operator
gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -I/lib/modules/3.0.0-16-generic/build/include -fno-strict-aliasing -DOLD_NETIF -O2 -c -o tg3.o tg3.c
In file included from /lib/modules/3.0.0-16-generic/build/include/linux/kernel.h:13:0,
from /lib/modules/3.0.0-16-generic/build/include/linux/cache.h:4,
from /lib/modules/3.0.0-16-generic/build/include/linux/time.h:7,
from /lib/modules/3.0.0-16-generic/build/include/linux/stat.h:60,
from /lib/modules/3.0.0-16-generic/build/include/linux/module.h:10,
from tg3.c:30:
/lib/modules/3.0.0-16-generic/build/include/linux/linkage.h:5:25: 致命错误: asm/linkage.h:没有那个文件或目录
编译中断。
make: *** [tg3.o] 错误 1
再次陷入纠结中~~~~等待高手指点!
[求助]11.10无线网卡可用,有线网卡不可用如何解决
- powered
- 帖子: 173
- 注册时间: 2009-09-26 20:50
Re: [求助]11.10无线网卡可用,有线网卡不可用如何解决
多半是没有安装驱动,装linux-backports-modules-compat-wireless-#.#.#-$$$$$-generic试试。
——#.#.# 版本号 10.04是3.0/1/2.0
$$$$$ 版本名 10.04是luicd
——#.#.# 版本号 10.04是3.0/1/2.0
$$$$$ 版本名 10.04是luicd
其实我啥都不知道。@.@
, .
.` ' " . '
~~~~~〇~~~~~~~~~~
~~基~~~~O~~~~~~~~
~~~~~~~~0~~潜~~~~
~~~本~~~o~~~~~~~~
~~~~~~~。~~~~水~~
~~~~~~~~~~~~~~~~~
, .
.` ' " . '
~~~~~〇~~~~~~~~~~
~~基~~~~O~~~~~~~~
~~~~~~~~0~~潜~~~~
~~~本~~~o~~~~~~~~
~~~~~~~。~~~~水~~
~~~~~~~~~~~~~~~~~