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 表示第一个密钥

30 thoughts on “TP-Link WN321G无线网卡在FreeBSD下配置”

  1. Pingback: strona www hosting
  2. Hey there! I know this is kinda off topic but I was wondering which blog
    platform are you using for this site? I’m getting tired of WordPress because I’ve had
    problems with hackers and I’m looking at alternatives
    for another platform. I would be fantastic if you could point
    me in the direction of a good platform.

  3. Just want to say your article is as astonishing. The clearness in your post is just excellent and i can assume you’re
    an expert on this subject. Well with your permission allow me to
    grab your feed to keep up to date with forthcoming post.
    Thanks a million and please keep up the gratifying work.

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