TP-Link WN321G无线网卡在FreeBSD下配置

默认情况下,FreeBSD7.2以上(我测试是这样)内核默认都支持这款无线网卡的驱动,这款网卡的芯片是 Ralink RT2573 ,可以说运气不错,一直扔着闲置没用。

启动的时候,或者插入USB口的时候,大概能看到如下内容,表示驱动已经加载:


rum0: on uhub4
rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528
rum0: Ethernet address: 00:14:78:76:ff:59
rum0: if_start running deferred for Giant
rum0: on uhub4rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528rum0: Ethernet address: 00:14:78:76:ff:59rum0: if_start running deferred for Giant

配置非常简单,只需要在rc.conf下配置如下内容即可:

ifconfig_rum0=”inet 192.168.1.8  netmask 255.255.255.0 ssid bengxin authmode open wepmode on weptxkey 1 wepkey 0x1234567890″

其中 ssid 是无线路由的ssid名称, authmode 是认证模式, wepmode 表示采用wep加密方式 weptxkey表示用的第几个密钥进行数据传输 webkey 是16进制的wep密钥值,根据你的需要来修改即可, wepkey支持多个,可以写成 1:0×1234567890 表示第一个密钥

Category: 其他技术
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply

Your email address will not be published. Required fields are marked *

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Anti-spam image