View Single Post
  #4   (View Single Post)  
Old 11th June 2008
mish's Avatar
mish mish is offline
Port Guard
 
Join Date: May 2008
Posts: 25
Default

If there's no problem with your AP, or with your WEP key (length, format, etc), or other matters (confirm that other machines can associate with the AP and go out onto the net), then connecting a client via a single line in /etc/rc.conf should be straightforward:

On a client machine running FreeBSD 7.0-RELEASE-p1, associated with an OpenBSD 4.3-current AP handing out IP addreses via DHCP:
Code:
ifconfig_ral0="ssid <your SSID here> wepmode on wepkey <your WEP key here> weptxkey 1 DHCP"
ifconfig output:
Code:
[root@blah ~]# ifconfig ral0
ral0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 00:16:b6:9c:55:41
        inet 172.16.0.4 netmask 0xffffff00 broadcast 172.16.0.255
        media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/54Mbps)
        status: associated
        ssid xxxxxxxxxxxx channel 1 (2412 Mhz 11g) bssid 00:16:b6:9c:58:ba
        authmode OPEN privacy ON deftxkey 1 wepkey 1:104-bit txpower 50
        bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250
        roam:rssi11g 7 roam:rate11g 5 protmode CTS
[root@blah ~]#
Reply With Quote