USB网卡的安装
Tofloor
poster avatar
jomin
deepin
2015-09-29 17:21
Author
我用的是LB-LINK,没有驱动,上不了网,麻烦有牛人指点一下。
linux 下lsusb是这样 :     Bus 002 Device 006: ID 148f:7601 Ralink Technology, Corp.

root@zhaohui-pc:/home/zhaohui/DPA_MT7601U_LinuxAP_3.0.0.1_20130802# make
......................中间省略..................................
/home/zhaohui/DPA_MT7601U_LinuxAP_3.0.0.1_20130802/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSIRQRelease’:
/home/zhaohui/DPA_MT7601U_LinuxAP_3.0.0.1_20130802/os/linux/../../os/linux/rt_linux.c:2007:21: warning: unused variable ‘net_dev’ [-Wunused-variable]
  struct net_device *net_dev = (struct net_device *)pNetDev;
                     ^
make[2]: *** [/home/zhaohui/DPA_MT7601U_LinuxAP_3.0.0.1_20130802/os/linux/../../os/linux/rt_linux.o] 错误 1
make[1]: *** [_module_/home/zhaohui/DPA_MT7601U_LinuxAP_3.0.0.1_20130802/os/linux] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-3.13.0-49-generic'
make: *** [LINUX] 错误 2

root@zhaohui-pc:/home/zhaohui/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313# make
make -C UTIL/ osutil
................................中间省略.....................................
  pLock = (OS_NDIS_MINIPORT_TIMER *) (pLockOrg->pContent);
        ^
make[3]: *** [/home/zhaohui/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/UTIL/os/linux/../../os/linux/rt_linux.o] 错误 1
make[2]: *** [_module_/home/zhaohui/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/UTIL/os/linux] 错误 2
make[2]:正在离开目录 `/usr/src/linux-headers-3.13.0-49-generic'
make[1]: *** [osutil] 错误 2
make[1]:正在离开目录 `/home/zhaohui/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/UTIL'
make: *** [all] 错误 2
俩个都貌似内核的问题,但是我却无从下手。
这是我参考文档:http://blog.lytsing.org/archives/954.html

Reply Favorite View the author
All Replies
jhkwei
deepin
2015-09-29 18:53
#1
usb网卡一般是cdc模式的,不要另外的驱动的。
Reply View the author
lieri
deepin
2015-09-29 19:08
#2
参考这里,都是7601U芯片。
http://bbs.360safe.com/thread-4783078-1-1.html
Reply View the author
ArthurDeepin
deepin
2015-09-29 19:23
#3
3.16内核,参考github:https://github.com/porjo/mt7601

直接从ppa安装:https://code.launchpad.net/~thopiekar/+archive/ubuntu/mt7601

3.19内核,参考github:https://github.com/kuba-moo/mt7601u

4.2内核免驱。
Reply View the author
Comments
pjbright
2015-10-02 02:25
学习了。mark
jomin
deepin
2015-09-30 23:24
#4
谢谢各位的帮忙,我已经按照ArthurDeepin的方法装上的,“直接从ppa安装:https://code.launchpad.net/~thopiekar/+archive/ubuntu/mt7601”,如图所示。但是,没连上网。下面是我的配置文件➜  ~  cat /etc/network/interfaces                                      
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto wlan0  
iface wlan0 inet dhcp  
    wpa-conf /etc/wpa_supplicant/wireless.conf  
#auto wlan0
#iface wlan0 inet dhcp
#wireless-essid 'xxx'
#wireless-psk 'xxx'
#wpa-key-mgmt WPA-PSK

➜  ~  cat /etc/wpa_supplicant/wireless.conf
ctrl_interface=/var/run/wpa_supplicant  
network={  
  ssid="essid"  
  scan_ssid=1  
  key_mgmt=WPA-EAP IEEE8021X  
  pairwise=CCMP  
  group=CCMP  
  eap=PEAP  
  eapol_flags=0  
  identity="xxx"  
  password="xxx"  
  phase1="peaplabel=0"  
  phase2="auth=MSCHAPV2"  
}

请各位指导一下。


Reply View the author
ArthurDeepin
deepin
2015-10-02 06:17
#5
https://bbs.deepin.org/post/32642
谢谢各位的帮忙,我已经按照ArthurDeepin的方法装上的,“直接从ppa安装:https://code.launchpad.net/~tho ...

按照github所说,终端输入 ip link 看看有没有一个叫做 ra0 的接口。

说实话,我也不知道deepin的无线模块是否和其它的相同……
Reply View the author
lcw0268
deepin
2015-10-02 11:55
#6
https://bbs.deepin.org/post/32642
谢谢各位的帮忙,我已经按照ArthurDeepin的方法装上的,“直接从ppa安装:https://code.launchpad.net/~tho ...

原来安装错误的驱动卸载了吗?没有卸载好像不能用吧?
Reply View the author
New Thread

Popular Events

More
国际排名
WHLUG