有线网卡 Linux 驱动程序安装说明
最编程
2024-03-16 20:46:48
...
一直使用无线网,竟然没发现我的有线网卡Atheros AR8162竟然没有驱动,在此小记:
ubuntu 12.04 以及 基于ubuntu的mint 13 maya 都有这个问题
在linux下查看硬件信息(网卡为例其他大同小异)
lspci | grep Ethernet
dmesg | grep eth
sudo lshw -C network
lspci -vv | grep Ethernet
lspci -nn | grep Ethernet
dmidecode
最后这个很好很强大能查看很多硬件信息,甚至包括品牌信息,大家可以查看一下自己电脑是不是原装的哦,
这是原版的man信息
dmidecode is a tool for dumping a computer's DMI (some say SMBIOS) ta‐
ble contents in a human-readable format. This table contains a descrip‐
tion of the system's hardware components, as well as other useful
pieces of information such as serial numbers and BIOS revision. Thanks
to this table, you can retrieve this information without having to
probe for the actual hardware. While this is a good point in terms of
report speed and safeness, this also makes the presented information
possibly unreliable.
ubuntu的论坛给出了解决办法http://ubuntuforums.org/showthread.php?t=2050126
sudo apt-get install linux-headers-generic build-essential
wget http://www.orbit-lab.org/kernel/compat-wireless-3-stable/v3.5/compat-wireless-3.5.1-1-snpc.tar.bz2
tar -xf compat-wireless-3.5.1-1-snpc.tar.bz2
cd compat-wireless-3.5.1-1-snpc
./scripts/driver-select alx
make
sudo make install
sudo modprobe alx
因为我的无线网卡正常所以折腾起来还是很方便的,最后我采用的是较新的3.6版本,
compat-wireless-3.6.6-1-s.tar.bz2
compat-wireless-3.6.6-1-sn.tar.bz2
compat-wireless-3.6.6-1-snp.tar.bz2
compat-wireless-3.6.6-1-snpc.tar.bz2
compat-wireless-3.6.6-1.tar.bz2
不过很纳闷为什么一定要采用snpc版本,于是下载了后两个diff了一下,原来后者里面只有alx的目录没有内容,表示不理解为什么要这么做. 上一篇: BIOS 有线网卡设置方法教程 BIOS 打开有线网卡
下一篇: # 网络适配器、网卡和网卡驱动程序
推荐阅读
-
360 With WiFi 3:纯净版无线网卡驱动程序下载和安装教程(Windows 10 版本)
-
紧急模式问题处理 - 图 1 紧急模式 根本原因分析 应急模式提供了尽可能小的环境,即使无法进入应急模式,也可以在其中修复系统。在应急模式下,系统只安装根文件系统供读取,不尝试安装任何其他本地文件系统,不激活网络接口,只启动一些基本服务。 进入应急模式的原因通常是 /etc/fstab 文件中存在错误,导致文件系统挂载失败。 文件系统中存在错误,导致。 约束和限制 本节适用于 Linux 操作系统紧急模式。程序涉及修复文件系统。修复文件系统有丢失数据的风险,因此请先备份数据,然后再执行修复操作。 处理方法 输入根密码,然后进入修复模式。 在应急模式下,根分区以只读模式挂载。要修改根目录中的文件,需要执行以下命令以读写模式重新挂载根分区。# mount -o rw,remount / 请执行以下命令首先检查 fstab 文件是否有误,然后尝试挂载所有未挂载的文件系统。# mount -a 如果挂载点不存在,请创建一个挂载点。 如果不存在此类设备,请注释或删除挂载行。 如果指定了不正确的挂载选项,请将挂载参数更改为正确的参数。 如果没有发生错误,但出现 UNEXPECTED INCONSISTENCY;RUN fsck MANUALLY 消息(通常是由文件系统错误引起的),请跳至第 7 步。 执行以下命令打开 /etc/fstab 以修改相应的错误。# vi /etc/fstab /etc/fstab 文件包含以下字段,以空格分隔:[文件系统] [dir] [type] [options] [dump] [fsck] 表 1 /etc/fstab 参数 说明 参数 说明 [文件系统] 要挂载的分区或存储设备。 文件系统]列建议以 UUID 的形式写入。执行 blkid 命令可查询设备文件系统 UUID。 参考格式如下: # <device> <dir> <type> <options> <dump> <fsck>; UUID=b411dc99-f0a0-4c87-9e05-184977be8539 /home ext4 defaults 0 2 使用 UUID 的好处是,它们与磁盘顺序无关。如果你在 BIOS 中更改了存储设备的顺序,或重新插入了存储设备,或者因为某些 BIOS 可能会随机更改存储设备的顺序,那么使用 UUID 会更有效率。 [文件系统] 文件系统]的挂载位置。 类型 挂载设备或分区的文件系统类型,支持多种不同的文件系统:ext2、ext3、ext4、reiserfs、xfs、jfs、smbfs、iso9660、vfat、ntfs、swap 和 auto。 设置为自动类型后,挂载命令会猜测所使用的文件系统类型,这对 CDROM 和 DVD 等移动设备非常有用。 选项 挂载时要使用的参数,有些参数是特定文件系统特有的。例如,默认值参数使用文件系统的默认挂载参数,ext4 的默认参数为:rw、suid、dev、exec、auto、nouser、async。 有关更多参数,请执行以下命令查看 man 手册:# man mount
-
Raspberry Pi 4 有线网卡驱动调试说明
-
联想 Y480 ubuntu 安装有线驱动程序
-
windows server 2016 安装有线网卡驱动程序
-
Manjaro 安装有线网卡驱动程序
-
Fedora 17 AR8161 系列有线网卡驱动程序安装
-
(X) Ubuntu 12.04 安装网卡驱动程序
-
Ubuntu 安装有线网卡驱动程序
-
有线网卡 Linux 驱动程序安装说明