当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 6 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 怎么安装驱动!
帖子发表于 : 2016-04-07 13:28 
头像

注册: 2010-08-25 11:56
帖子: 23
送出感谢: 0 次
接收感谢: 0 次
买了个UGREEN的USB2Ether的网卡,其驱动程序Linux文件夹下有4个文件:*.c/h,makefile,readme。
readme中提到:
------------
Prepare to build the driver, you need the Linux kernel sources installed on the
build machine, and make sure that the version of the running kernel must match
the installed kernel sources. If you don't have the kernel sources, you can get
it from www.kernel.org or contact to your Linux distributor. If you don't know
how to do, please refer to KERNEL-HOWTO.

Note: Please make sure the kernel is built with one of the "Support for
Host-side, EHCI, OHCI, or UHCI" option support.
------------
查了查Ubuntu14.04对应的Linux Kernel版本是3.13.5,可是找不到呀。
在终端执行make后,提示错误:
------------
make -C /lib/modules/3.13.0-83-generic/build SUBDIRS=/media/sf_Ubuntu_share/AX88179 modules
make[1]: Entering directory `/usr/src/linux-headers-3.13.0-83-generic'
CC [M] /media/sf_Ubuntu_share/AX88179/ax88179_178a.o
/media/sf_Ubuntu_share/AX88179/ax88179_178a.o: Operation not permitted
/media/sf_Ubuntu_share/AX88179/ax88179_178a.o: failed
make[2]: *** [/media/sf_Ubuntu_share/AX88179/ax88179_178a.o] Error 1
make[1]: *** [_module_/media/sf_Ubuntu_share/AX88179] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-83-generic'
make: *** [default] Error 2
------------
各位,有什么好的建议吗?


_________________
与天地相似,故不违;知周乎万物,而道济天下,故不过;旁行而不流,乐天知命,故不忧;安土教乎仁,故能爱。


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 怎么安装驱动!
帖子发表于 : 2016-04-07 13:30 
头像

注册: 2011-03-20 13:12
帖子: 4522
地址: 山东省寿光县
系统: Debian
送出感谢: 105
接收感谢: 997
titron 写道:
买了个UGREEN的USB2Ether的网卡,
/media/sf_Ubuntu_share/AX88179/ax88179_178a.o
怎么安装驱动!

ASIX AX88179,Linux 3.9 添加支持
Ubuntu 14.04 的 Linux 3.13 包含 AX88179 驱动,无需自行安装。
检查驱动是否加载:
代码:
sudo lshw -numeric -C net
lsmod | grep 88179


参考 http://cateee.net/lkddb/web-lkddb/USB_NET_AX88179_178A.html


_________________
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 怎么安装驱动!
帖子发表于 : 2016-04-07 13:48 
头像

注册: 2010-08-25 11:56
帖子: 23
送出感谢: 0 次
接收感谢: 0 次
谢谢!
我的ubuntu是安装在虚拟机里的。
运行了
sudo lshw -numeric -C net
后,没有发现USB2Ether网卡,以下是提示信息:
--------------------------
root@renessaaae-VirtualBox:/# lshw -numeric -C net
*-network
description: Ethernet interface
product: 82540EM Gigabit Ethernet Controller [8086:100E]
vendor: Intel Corporation [8086]
physical id: 3
bus info: pci@0000:00:03.0
logical name: eth0
version: 02
serial: 08:00:27:a2:b3:66
size: 1Gbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 66MHz
capabilities: pm pcix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000 driverversion=7.3.21-k8-NAPI duplex=full ip=172.28.170.75 latency=64 link=yes mingnt=255 multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:10 memory:f0000000-f001ffff ioport:d010(size=8)

--------------------------

vickycq 写道:
titron 写道:
买了个UGREEN的USB2Ether的网卡,
/media/sf_Ubuntu_share/AX88179/ax88179_178a.o
怎么安装驱动!

ASIX AX88179,Linux 3.9 添加支持
Ubuntu 14.04 的 Linux 3.13 包含 AX88179 驱动,无需自行安装。
检查驱动是否加载:
代码:
sudo lshw -numeric -C net
lsmod | grep 88179


参考 http://cateee.net/lkddb/web-lkddb/USB_NET_AX88179_178A.html


_________________
与天地相似,故不违;知周乎万物,而道济天下,故不过;旁行而不流,乐天知命,故不忧;安土教乎仁,故能爱。


页首
 用户资料  
 
4 楼 
 文章标题 : Re: 怎么安装驱动!
帖子发表于 : 2016-04-07 14:01 
头像

注册: 2010-08-25 11:56
帖子: 23
送出感谢: 0 次
接收感谢: 0 次
需要从虚拟机里进行设置,添加网卡2。
然后再执行
lshw -numeric -C net lsmod | grep 88179
结果发现了两个网卡。
另外从System Settings---Network中也能够发现,确实多了一个网卡。
不过扫描结果中,并没有88179字样,估计是因为虚拟机的原因。


_________________
与天地相似,故不违;知周乎万物,而道济天下,故不过;旁行而不流,乐天知命,故不忧;安土教乎仁,故能爱。


页首
 用户资料  
 
5 楼 
 文章标题 : Re: 怎么安装驱动!
帖子发表于 : 2016-04-07 14:01 
头像

注册: 2011-03-20 13:12
帖子: 4522
地址: 山东省寿光县
系统: Debian
送出感谢: 105
接收感谢: 997
titron 写道:
我的ubuntu是安装在虚拟机里的。

你的宿主机操作系统是?
理论上只要保证宿主机操作系统的驱动正常运作即可。例如宿主机上该 usb 网卡的界面为 eth1
然后在 vbox 中配置虚拟机网卡,选择 Bridged - eth1
虚拟机只需要有虚拟网卡的驱动即可。


_________________
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户


页首
 用户资料  
 
6 楼 
 文章标题 : Re: 怎么安装驱动!
帖子发表于 : 2016-04-07 16:26 
头像

注册: 2010-08-25 11:56
帖子: 23
送出感谢: 0 次
接收感谢: 0 次
多谢vickycq!
我是在win7中虚拟的ubuntu。
目前测试结果,两个网卡都能工作(发出数据)。
还有问题,
【1】接收端wireshark上没有显示0x8100标志(接收PC网卡的priority and VLAN disabled,而且发送PC的也设置了Disabled、Enabled),我再查查。
【2】virtualbox最多能add 4个网卡(有4个tab页),怎么add 7个网卡呀?


_________________
与天地相似,故不违;知周乎万物,而道济天下,故不过;旁行而不流,乐天知命,故不忧;安土教乎仁,故能爱。


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

当前时区为 UTC + 8 小时


在线用户

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


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

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

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