Sam, On Wed, Feb 27, 2008 at 04:58:09PM -0800, Sam Leffler wrote: > Jeremie Le Hen wrote: > > (Note that setting deftxkey for wi0, does not change anything.) > > I don't believe you that setting the key doesn't change anything. Your > outbound traffic is being dropped because there is no tx keyid specified. > > I note the ral log likewise says you have no deftxkey setup. Thanks for your reply. You are right indeed. It was not obvious to me that I should set a tx keyid manually, partly because when setting the WEP key, ifconfig(8) assumes key 1 if no index is specified. Would it be correct to set the default tx keyid to 1? On the contrary, I will provide an update to the manpage stating setting the default tx keyid is mandatory. Note that if_ral works now, but I still can't use if_wi. I suppose this is a bug in the driver. % jarjarbinks:~:127# sysctl net.wlan.0.debug=0xffffffff % net.wlan.0.debug: 0 -> 2147483647 % jarjarbinks:~:128# dhclient wi0 % wi0: ieee80211_newstate: RUN -> INIT % wi0: ieee80211_ref_node (ieee80211_send_mgmt:1574) 0xc4b68000<XX:XX:XX:XX:XX:XX> refcnt 3 % wi0: [XX:XX:XX:XX:XX:XX] send station disassociate (reason 8) % [XX:XX:XX:XX:XX:XX] send disassoc on channel 10 % wi0: _ieee80211_crypto_delkey: NONE keyix 65535 flags 0x3 rsc 0 tsc 0 len 0 % wi0: ieee80211_node_table_reset station table % wi0: ieee80211_free_allnodes_locked: free all nodes in station table % wi0: node_reclaim: remove 0xc4b68000<XX:XX:XX:XX:XX:XX> from station table, refcnt 1 % wi0: ieee80211_setup_node 0xc4b6d000<00:02:2d:4b:b9:20> in station table % wi0: _ieee80211_free_node 0xc4b68000<XX:XX:XX:XX:XX:XX> in <gone> table % wi0: _ieee80211_crypto_delkey: NONE keyix 65535 flags 0x3 rsc 0 tsc 0 len 0 % DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 6 % wi0: ieee80211_newstate: INIT -> RUN % wi0: ieee80211_newstate: invalid transition % DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 12 % DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 17 As a side note, I can't use wlanstats with wi(4): % jarjarbinks:~:113# ifconfig wi0 % wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 % ether 00:02:2d:4b:b9:20 % inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 % media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps) % status: associated % ssid XXXXXXXXXXXX channel 10 (2457 Mhz 11b) bssid XX:XX:XX:XX:XX:XX % stationname "FreeBSD WaveLAN/IEEE node" % authmode OPEN privacy MIXED deftxkey 1 wepkey 1:104-bit bmiss 7 % scanvalid 60 % jarjarbinks:~:114# wlanstats -ai wi0 % wlanstats: wi0 (IEEE80211_IOC_STA_INFO): Invalid argument % % Thanks. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >Received on Fri Feb 29 2008 - 00:08:24 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:28 UTC