[Collection]Ubuntu安装Ralink wireless驱动
Get these packages , compiler & linux-kernel headers for the curent running version
sudo apt-get install build-essential linux-headers-`uname -r`
Get the RA-2700E source
wget
http://www.ralinktech.com.tw/data/drivers/2008_0918_RT2860_Linux_STA_v1.8.0.0
.tar.bz2
Extract the source
tar xvjf 2008_0918_RT2860_Linux_STA_v1.8.0.0.tar.bz2
"cd" to source dir (now called SRC)
cd 2008_0918_RT2860_Linux_STA_v1.8.0.0
You have to change 2 parameters in the subdir file os/linux/config.mk
gedit os/linux/config.mk
This will enable WPA , and use Ubuntu’s native supplicant.
This is the original contents
# Support Wpa_Supplicant
HAS_WPA_SUPPLICANT=n# Support Native WpaSupplicant for Network Maganger
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n
This is the changed contents
# Support Wpa_Supplicant
HAS_WPA_SUPPLICANT=y# Support Native WpaSupplicant for Network Maganger
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y
Save the new contents.
Now you are done , configuring.
do a :
sudo make
Now the driver is build.
Now the kernel 2.6.x driver called rt2860sta.ko is ready to be
installed.
do a :
sudo cp os/linux/rt2860sta.ko /lib/modules/`uname
-r`/kernel/drivers/net/wireless/
then
sudo depmod -a
sudo modprobe rt2860sta
Reboot , and the wireless is now known and handled by the gnome
Networkmanager.
Ohh keep the roaming on the interface , if you want to be able to select
wireless lans , that are awailable "in the air".
I have experienced once or twice that i had to do a : ifdown ra0 and
then a ifup ra0 . in order to get a dhcp address , after booting.
注:
depmod(depend module)
功能说明:分析可载入模块的相依性。
语 法:depmod [-adeisvV][-m <文件>][--help][模块名称]
补充说明:depmod可检测模块的相依性,供modprobe在安装模块时使用。
参 数:
-a或–all 分析所有可用的模块。
-d或debug 执行排错模式。
-e 输出无法参照的符号。
-i 不检查符号表的版本。
-m<文件>或system-map<文件> 使用指定的符号表文件。
-s或–system-log 在系统记录中记录错误。
-v或–verbose 执行时显示详细的信息。
-V或–version 显示版本信息。
–help 显示帮助。
modprobe(module probe)
功能说明:自动处理可载入模块。
语 法:modprobe [-acdlrtvV][--help][模块文件][符号名称 = 符号值]
补充说明:modprobe可载入指定的个别模块,或是载入一组相依的模块。modprobe会根据depmod所产生的相依关系,决定要载入哪些模块。若在载入过程中发生错误,在modprobe会卸载整组的模块。
参 数:
-a或–all 载入全部的模块。
-c或–show-conf 显示所有模块的设置信息。
-d或–debug 使用排错模式。
-l或–list 显示可用的模块。
-r或–remove 模块闲置不用时,即自动卸载模块。
-t或–type 指定模块类型。
-v或–verbose 执行时显示详细的信息。
-V或–version 显示版本信息。
-help 显示帮助。
最近评论