Re: pccards

Robert Fitzpatrick <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Organization WebTent Networking, Inc.
Message-ID <[email protected]>
On Tue, 2005-11-22 at 15:27 +0100, Marcin Jessa wrote:

> http://www.freebsdmall.com/~loader/en_US.ISO8859-1/articles/wireless/article.html

Perfect, that was what I needed, thanks! Now I have the card working
with WEP, I still don't quite understand how to get the card to start up
on boot. I have in my /etc/rc.conf 'ifconfig_ath0="ssid WEBTENT DHCP"'
and I have the necessary modules loaded:

felipa# cat /boot/loader.conf
wlan_wep_load="YES"
wlan_tkip_load="YES"
wlan_ccmp_load="YES"
wlan_xauth_load="YES"
wlan_acl_load="YES"

Another thing is I tried the wpa_supplicant.conf method of starting the
card, but it just hangs, I have to just hit Ctrl+C after a long wait:

felipa# cat /etc/wpa_supplicant.conf
network={
    ssid="WEBTENT"
    key_mgmt=NONE
    wep_key1=<MYKEY>
    wep_tx_keyidx=1
}
felipa# wpa_supplicant -i ath0 -c /etc/wpa_supplicant.conf
Trying to associate with 00:05:5d:89:c8:78 (SSID='WEBTENT' freq=2437
MHz)
Associated with 00:05:5d:89:c8:78
^CSignal 2 received - terminating
ioctl[SIOCS80211, op 20, len 7]: Can't assign requested address

If I use the following, all works great with WEP and it gets a DHCP
address even though I specified a static IP, I assume this is because I
have that specified in /etc/rc.conf:

felipa# ifconfig ath0 inet 192.168.1.30 netmask 255.255.255.0 ssid
WEBTENT wepmode on weptxkey 1 wepkey 1:<MYKEY>
felipa# ifconfig -v ath0 ath0:
flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::280:c8ff:fe1f:9655%ath0 prefixlen 64 scopeid 0x5
        inet 192.168.1.52 netmask 0xffffff00 broadcast 192.168.1.255
        ether 00:80:c8:1f:96:55
        media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps)
        status: associated
        ssid WEBTENT channel 6 (2437) bssid 00:05:5d:89:c8:78
        authmode OPEN privacy ON deftxkey 1
        wepkey 1:104-bit powersavemode OFF powersavesleep 100 txpowmax
32
        txpower 60 rtsthreshold 2346 fragthreshold 2346 -pureg protmode
CTS -wme        roaming AUTO bintval 100

Also, I assume my D-Link access point does not support WPA, so I am
stuck with the weakness of WEP? Perhaps I'll try to setup my FreeBSD
AP :)

So, again, can someone point out how I get this to start on boot? Should
I just add the command to the /etc/rc.local?

--
Robert

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.