为笔记本购买了这种无线网卡,下面去驱动安装方式
应为lsusb 可以看出obda:8179 这个类型,查了一下这个驱动就是8188eu
1. sudo apt-get install build-essential linux-headers-$(uname -r) make gcc git autoconf -y
为编译做好一些准备,如果是ubuntu可以省去,好像自己带了
2.su change to root
3. git clone https://github.com/gleb-chipiga/rtl8188eu &&cd rtl8188eu&&make
4.
tmp=/lib/modules/`uname -r`/kernel/drivers/net/wireless
cp ./8188eu.ko $tmp
depmod -a
modprobe 8188eu
5.ifconif -->check for wlan interface
今天碰到一个新的问题ubuntu12.04
/rtw_cmd.c:23:0:
osdep_service.h: In function ‘thread_enter’:
on of function ‘daemonize’ [-Werror=implicit-function-declaration]
是3.8 的内核不知吃daemonize 函数了,所以要将osdep_service 文件中的daemonize给注释掉
然后make &&make install
sudo insmod 8188eu.ko
不过还有一个问题好像每次重启之后都需要insmod,不知到上面的方法应该可以避免
ok,enjoy it.
今天升级内核无线网卡驱动不匹配了。进入目录重新make&&make install 结果呢重启之后还是无法识别,所以方法一是一个好的方法。insmod 问题不知道在哪里。下次继续调试把,手头还有工作