Wednesday, 28 March 2007

重新编译内核后驱动无线网卡告捷

现在我的操作系统基本就像上面那个flash里这个样子。或这里http://www.youtube.com/v/lawkc3jH3ws

耗时一周多,经过重新编译内核,找寻linux下设备驱动,查看无数的wiki,终于把我的无线网卡在linux下驱动成功啦

大丁问我linux到底对engineering 有什么意义,我只能想到便宜,再有就是因为其开源,得人心者得天下,这必定是大势所趋的将来,无论从IBM,HP,DELL这样的厂商还是Motorola,都在大手笔扩充其linux产品。
再有的原因吗,那就是这个图啦。哈。why I love Linux.

1.重新编译内核时,要从/boot/grub/里找到config-'verion'-default的内核配置文件,改名为'.config'/usr/src/'新内核'文件夹下调用 make xconfig之类的命令配置再编译。
2.linux下的绝大多数程序为了得到最好的效果,一定要make, make install一下,否则问题不一定会在哪里出现。ndiswrapper这个在利用windows驱动的程序就是因为这个问题苦苦困惑了我好几天。
3.linux下的设备驱动不是所有在windows下好用的它都能用,多多尝试。驱动一定要对,否则,更改无数设置也惘然。--------------------------------------------
P.S.: The OS is SuSE Linux Enterprise Desktop 10; Wireless Card is Netgear WG511 v2.
Firstly update the kernel to 2.18.1, the kernel comes with SLED 10 is 2.16.x, which doesn't support this pcmcia wireless card, namely when you run "lspci" you can not find any information about the card. But when you update your kernel to 2.18, you will find the lovely device.
Then, downoad the ndiswrapper 1.27, must make and make install on your computer, otherwise the essential step "modprobe ndiswrapper" will give you the message like "FATA Errors....".(the steps to install ndiswrapper is just "nidswrapper -i WG511v2.INF", then check by "ndiswrapper -l",after this run "ndiswrapper -m" and "modprobe ndiswrapper", the flash lamp on the card will be on.
About the driver. On my experience, what is available is just the driver for XP. You can get this driver from the CD or use some softwares which can get the drivers from your systems.
Good Luck.

 

 

 

No comments:

My photo
London, United Kingdom
twitter.com/zhengxin

Facebook & Twitter