LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 988|回复: 1

大家是怎样用 atheros 芯片的 usb 无线网卡?

[复制链接]
发表于 2009-3-18 10:41:32 | 显示全部楼层 |阅读模式
看到一个关于 内核里 atheros usb 芯片的链接
http://git.kernel.org/?p=linux/k ... 35226a8381fd6bbff1a
不知道什么时候可以用。

一直不懂怎样用 atheros usb 网卡。

谢谢!
发表于 2009-3-18 18:30:43 | 显示全部楼层
跟普通的网卡一样啊 http://madwifi.org/
实际上你只要
1 pacman -S wireless_tools
2 pacman -S madwifi
3 modprobe ath5k <-- 加载模块
4 lsmod | grep ath5k <-- 查看是否启用了模块
5 如果加载了就 ifconfig -a 看看 wifi设备有没有被映射
6 ifconfig ath0 up 启用ath设备
7 iwlist ath0 scan  搜索网络id
链接网络:
No encryption
# iwconfig wlan0 essid "MyEssid"
WEP
using an hexadecimal key:
# iwconfig wlan0 essid "MyEssid" key 1234567890
using an ascii key:
# iwconfig wlan0 essid "MyEssid" key s:asciikey
WPA/WPA2
You need to edit the /etc/wpa_supplicant.conf file as described in WPA_Supplicant. Then, issue this command:
# wpa_supplicant -B -Dwext -i wlan0 -c /etc/wpa_supplicant.conf

# dhcpcd wlan0 获得ip地址

参考:
http://wiki.archlinux.org/index.php/Wifi
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表