台湾rtl8187无限网卡驱动和中英文man
发表于 : 2010-03-04 20:49
这张卡也是网上口碑极好的大功率网卡之一,因为价格,再便宜配上BT3/4破解密码什么的很受欢迎~
驱动是由FreeBSD开发人员Weongyo Jeong制作的, 我是在OpenBSD4.6上运行通过,除了想用它做AP失败以外,没什么郁闷的地方,信号貌似和win下驱动一样好~
FreeBSD的port下载地址:
http://people.freebsd.org/~weongyo/urtw_20081107.tar.gz
首先,因为是长文件名,请运行
# mv urtw_20081107.tar.gz urtw.tar.gz
然后再把它移动到 / 下
# mv urtw_20081107.tar.gz /
现在解包,它会把驱动放到/dev里,并生成/modules目录
# tar -zxvf urtw.tar.gz
dev
dev/usb
dev/usb/if_urtw.c
dev/usb/if_urtwreg.h
dev/usb/if_urtwvar.h
dev/usb/usbdevs
modules
modules/urtw
modules/urtw/Makefile
然后再
# cd /modules/urtw
# . ./Makefile //是点,空格,再点,然后是Makefile
# ./make
# ./make install
# ./makeclean
(以前不太懂,糊里糊涂乱输就成功了,现在网卡已经不在手上了,没办法测试这过程)
最后dmesg和ifconfig一下,你就可以看到urtw0的网卡设备了~
最最后再
# rm -rf /modules
小小提示一下,使用scan命令的正确方法为:
# ifconfig urtw0 scan
但是连上AP后,这个命令好像就没用了……不懂怎么回事。
获取dhcp地址
# dhclient urtw0
man的引用网址:
http://www.openbsd.org/cgi-bin/man.cgi? ... ormat=html
URTW(4) OpenBSD Programmer's Manual URTW(4)
DESCRIPTION
The urtw driver supports USB 802.11b/g wireless adapters based on the Re-
altek RTL8187L and RTL8187B.
These are the modes the urtw driver can operate in:
BSS mode Also known as infrastructure mode, this is used when asso-
ciating with an access point, through which all traffic
passes. This mode is the default.
IBSS mode Also known as IEEE ad-hoc mode or peer-to-peer mode. This
is the standardized method of operating without an access
point. Stations associate with a service set. However,
actual connections between stations are peer-to-peer.
monitor mode In this mode the driver is able to receive packets without
associating with an access point. This disables the in-
ternal receive filter and enables the card to capture
packets from networks which it wouldn't normally have ac-
cess to, or to scan for access points.
The urtw driver can be configured to use Wireless Equivalent Privacy
(WEP) or Wi-Fi Protected Access (WPA-PSK and WPA2-PSK). WPA is the de
facto encryption standard for wireless networks. It is strongly recom-
mended that WEP not be used as the sole mechanism to secure wireless com-
munication, due to serious weaknesses in it. The urtw driver relies on
the software 802.11 stack for both encryption and decryption of data
frames.
The following hostname.if(5) example configures urtw0 to join whatever
network is available on boot, using WEP key ``0x1deadbeef1'', channel 11,
obtaining an IP address using DHCP:
dhcp NONE NONE NONE nwkey 0x1deadbeef1 chan 11
The following hostname.if(5) example creates a host-based access point on
boot:
inet 192.168.1.1 255.255.255.0 NONE media autoselect \
mediaopt hostap nwid my_net chan 11
Configure urtw0 to join network ``my_net'' using WPA-PSK with passphrase
``my_passphrase'':
# ifconfig urtw0 nwid my_net wpa wpapsk \
`wpa-psk my_net my_passphrase`
Return urtw0 to its default settings:
# ifconfig urtw0 -bssid -chan media autoselect \
nwid "" -nwkey -wpa -wpapsk
Join an existing BSS network, ``my_net'':
# ifconfig urtw0 192.168.1.1 netmask 0xffffff00 nwid my_net
类介绍:
arp(4), ifmedia(4), intro(4), netintro(4), usb(4), hostname.if(5),
hostapd(8), ifconfig(8), wpa-psk(8)
AUTHORS 作者
The urtw driver was written by Weongyo Jeong < [email protected] >.
驱动是由FreeBSD开发人员Weongyo Jeong制作的, 我是在OpenBSD4.6上运行通过,除了想用它做AP失败以外,没什么郁闷的地方,信号貌似和win下驱动一样好~
FreeBSD的port下载地址:
http://people.freebsd.org/~weongyo/urtw_20081107.tar.gz
首先,因为是长文件名,请运行
# mv urtw_20081107.tar.gz urtw.tar.gz
然后再把它移动到 / 下
# mv urtw_20081107.tar.gz /
现在解包,它会把驱动放到/dev里,并生成/modules目录
# tar -zxvf urtw.tar.gz
dev
dev/usb
dev/usb/if_urtw.c
dev/usb/if_urtwreg.h
dev/usb/if_urtwvar.h
dev/usb/usbdevs
modules
modules/urtw
modules/urtw/Makefile
然后再
# cd /modules/urtw
# . ./Makefile //是点,空格,再点,然后是Makefile
# ./make
# ./make install
# ./makeclean
(以前不太懂,糊里糊涂乱输就成功了,现在网卡已经不在手上了,没办法测试这过程)
最后dmesg和ifconfig一下,你就可以看到urtw0的网卡设备了~
最最后再
# rm -rf /modules
小小提示一下,使用scan命令的正确方法为:
# ifconfig urtw0 scan
但是连上AP后,这个命令好像就没用了……不懂怎么回事。
获取dhcp地址
# dhclient urtw0
man的引用网址:
http://www.openbsd.org/cgi-bin/man.cgi? ... ormat=html
URTW(4) OpenBSD Programmer's Manual URTW(4)
DESCRIPTION
The urtw driver supports USB 802.11b/g wireless adapters based on the Re-
altek RTL8187L and RTL8187B.
These are the modes the urtw driver can operate in:
BSS mode Also known as infrastructure mode, this is used when asso-
ciating with an access point, through which all traffic
passes. This mode is the default.
IBSS mode Also known as IEEE ad-hoc mode or peer-to-peer mode. This
is the standardized method of operating without an access
point. Stations associate with a service set. However,
actual connections between stations are peer-to-peer.
monitor mode In this mode the driver is able to receive packets without
associating with an access point. This disables the in-
ternal receive filter and enables the card to capture
packets from networks which it wouldn't normally have ac-
cess to, or to scan for access points.
The urtw driver can be configured to use Wireless Equivalent Privacy
(WEP) or Wi-Fi Protected Access (WPA-PSK and WPA2-PSK). WPA is the de
facto encryption standard for wireless networks. It is strongly recom-
mended that WEP not be used as the sole mechanism to secure wireless com-
munication, due to serious weaknesses in it. The urtw driver relies on
the software 802.11 stack for both encryption and decryption of data
frames.
The following hostname.if(5) example configures urtw0 to join whatever
network is available on boot, using WEP key ``0x1deadbeef1'', channel 11,
obtaining an IP address using DHCP:
dhcp NONE NONE NONE nwkey 0x1deadbeef1 chan 11
The following hostname.if(5) example creates a host-based access point on
boot:
inet 192.168.1.1 255.255.255.0 NONE media autoselect \
mediaopt hostap nwid my_net chan 11
Configure urtw0 to join network ``my_net'' using WPA-PSK with passphrase
``my_passphrase'':
# ifconfig urtw0 nwid my_net wpa wpapsk \
`wpa-psk my_net my_passphrase`
Return urtw0 to its default settings:
# ifconfig urtw0 -bssid -chan media autoselect \
nwid "" -nwkey -wpa -wpapsk
Join an existing BSS network, ``my_net'':
# ifconfig urtw0 192.168.1.1 netmask 0xffffff00 nwid my_net
类介绍:
arp(4), ifmedia(4), intro(4), netintro(4), usb(4), hostname.if(5),
hostapd(8), ifconfig(8), wpa-psk(8)
AUTHORS 作者
The urtw driver was written by Weongyo Jeong < [email protected] >.