Re: connect to a wep accesspoint (wpi0) howto?
On Mon, Aug 14, 2006 at 03:56:13PM -0400, Nick Guenther wrote: I could imagine the openbsd crew having simply not written in support for shared key, but I can't speak for them. There's some support for shared key authentication in the kernel, but it was disabled in sys/net80211/ieee80211_input.c rev 1.14: Disable shared key mode until we have a way for the user to specify that they explicitly want it. What we have currently doesn't seem to work anyway. Add support for specifying a status type when sending managemnent frames; adapted from FreeBSD. OK jsg@
Re: connect to a wep accesspoint (wpi0) howto?
Yes but not result either. Here is the result of ifconfig after the command (mentionned below) is issued: wpi0: flags=8847UP,BROADCAST,DEBUG,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 00:13:02:16:27:0f media: IEEE802.11 autoselect status: no network ieee80211: nwid wifi chan 11 nwkey not displayed 100dBm inet6 fe80::213:2ff:fe16:270f%wpi0 prefixlen 64 scopeid 0x2 - Original Message - From: John L. Scarfone Date: Sunday, August 13, 2006 23:09 Subject: Re: connect to a wep accesspoint (wpi0) howto? To: misc@openbsd.org Did you try just: ifconfig wpi0 chan 11 nwid wifi nwkey 0x0784C5C4FCAFA91C537DF07839
Re: connect to a wep accesspoint (wpi0) howto?
The card is the following: wpi0 at pci2 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02 ifconfig -M wpi0 debug returns nothing ?! what and how should it return something ? ifconfig -M wpi0 returns the following: wpi0: flags=8847UP,BROADCAST,DEBUG,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 00:13:02:16:27:0f media: IEEE802.11 autoselect (autoselect mode 11b) status: no network ieee80211: nwid wifi chan 11 bssid 00:09:5b:a3:32:90 67dB nwkey 0x0784c5c4fcafa91c537df07839 100dBm nwid wifi chan 11 bssid 00:09:5b:xx:xx:xx 67dB 54M privacy,short_slottime inet6 fe80::213:2ff:fe16:270f%wpi0 prefixlen 64 scopeid 0x2 thanks a lot didier Have you tried #ifconfig -M wpi0 debug ? Not all Wifi NICs work. wpi is newish, as well, iirc, so you'll have less luck with it. I have a ath that is detected and configured but simply won't connect. Post to the list what the exact version and revision of the wpi card you're using are. -Nick
Re: connect to a wep accesspoint (wpi0) howto?
On 8/14/06, Didier Wiroth [EMAIL PROTECTED] wrote: The card is the following: wpi0 at pci2 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02 ifconfig -M wpi0 debug returns nothing ?! what and how should it return something ? ifconfig -M wpi0 returns the following: wpi0: flags=8847UP,BROADCAST,DEBUG,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 00:13:02:16:27:0f media: IEEE802.11 autoselect (autoselect mode 11b) status: no network ieee80211: nwid wifi chan 11 bssid 00:09:5b:a3:32:90 67dB nwkey 0x0784c5c4fcafa91c537df07839 100dBm nwid wifi chan 11 bssid 00:09:5b:xx:xx:xx 67dB 54M privacy,short_slottime inet6 fe80::213:2ff:fe16:270f%wpi0 prefixlen 64 scopeid 0x2 That's exactly what the output of -M should be. See the last two lines there? That's the network. So good, your card is actually capable of picking up networks. It doesn't seem to have turned on debugging though. Maybe I should have checked the syntax first. Maybe try it in this order then: #ifconfig wpi0 debug #ifconfig -M wpi0 btw, you are doing this from tty0 right? Otherwise you won't see the messages from the card (you can still see them by checking your dmesg). Maybe tcpdump could help you too. -Nick
Re: connect to a wep accesspoint (wpi0) howto?
On 8/14/06, Nick Guenther [EMAIL PROTECTED] wrote: lladdr 00:13:02:16:27:0f media: IEEE802.11 autoselect (autoselect mode 11b) status: no network ieee80211: nwid wifi chan 11 bssid 00:09:5b:a3:32:90 67dB nwkey 0x0784c5c4fcafa91c537df07839 100dBm nwid wifi chan 11 bssid 00:09:5b:xx:xx:xx 67dB 54M privacy,short_slottime inet6 fe80::213:2ff:fe16:270f%wpi0 prefixlen 64 scopeid 0x2 That's exactly what the output of -M should be. See the last two lines *second last -Nick
Re: connect to a wep accesspoint (wpi0) howto?
Ok ... it looks like an authentication problem ... config chan 11 flags 8025 cck f ofdm 15 wpi0: sending auth to 00:09:5b:xx:xx:xx on channel 11 wpi0: received auth from 00:09:5b:xx:xx:xx rssi 68 wpi0: open authentication failed (reason 13) for 00:09:5b:xx:xx:xx I tried every possible combination with ipconfig wpi0 nwkey 0x0784c5c4fcafa91c537df07839 or with nwkey 1:0x0784c5c4fcafa91c537df07839,0x0784c5c4fcafa91c537df07839,0x0784c5c4fcafa91c537df07839,0x0784c5c4fcafa91c537df07839 or nwkey 1:0x0784c5c4fcafa91c537df07839 etc all fail, the key is correct as it is a copy paste ... what else can I try ? thx a lot for helping on the issue!!! - Original Message - From: Nick Guenther Date: Monday, August 14, 2006 18:43 Subject: Re: connect to a wep accesspoint (wpi0) howto? To: OpenBSD-Misc On 8/14/06, Didier Wiroth wrote: The card is the following: wpi0 at pci2 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02 ifconfig -M wpi0 debug returns nothing ?! what and how should it return something ? ifconfig -M wpi0 returns the following: wpi0: flags=8847 mtu 1500 lladdr 00:13:02:16:27:0f media: IEEE802.11 autoselect (autoselect mode 11b) status: no network ieee80211: nwid wifi chan 11 bssid 00:09:5b:a3:32:90 67dB nwkey 0x0784c5c4fcafa91c537df07839 100dBm nwid wifi chan 11 bssid 00:09:5b:xx:xx:xx 67dB 54M privacy,short_slottime inet6 fe80::213:2ff:fe16:270f%wpi0 prefixlen 64 scopeid 0x2 That's exactly what the output of -M should be. See the last two lines there? That's the network. So good, your card is actually capable of picking up networks. It doesn't seem to have turned on debugging though. Maybe I should have checked the syntax first. Maybe try it in this order then: #ifconfig wpi0 debug #ifconfig -M wpi0 btw, you are doing this from tty0 right? Otherwise you won't see the messages from the card (you can still see them by checking your dmesg). Maybe tcpdump could help you too.
Re: connect to a wep accesspoint (wpi0) howto?
On Mon, Aug 14, 2006 at 05:31:41PM +, Didier Wiroth voiced: Ok ... it looks like an authentication problem ... config chan 11 flags 8025 cck f ofdm 15 wpi0: sending auth to 00:09:5b:xx:xx:xx on channel 11 wpi0: received auth from 00:09:5b:xx:xx:xx rssi 68 wpi0: open authentication failed (reason 13) for 00:09:5b:xx:xx:xx I tried every possible combination with ipconfig wpi0 nwkey 0x0784c5c4fcafa91c537df07839 or with nwkey 1:0x0784c5c4fcafa91c537df07839,0x0784c5c4fcafa91c537df07839,0x0784c5c4fcafa91c537df07839,0x0784c5c4fcafa91c537df07839 or nwkey 1:0x0784c5c4fcafa91c537df07839 etc all fail, the key is correct as it is a copy paste ... what else can I try ? thx a lot for helping on the issue!!! Perhaps this is a open system auth vs. shared key auth problem. Can you set your AP to do open auth and see if you can associate then? -- ajBAY294Lm5ldA==
Re: connect to a wep accesspoint (wpi0) howto?
Yes, you are right! That is the problem! The system was configured with shared key, I changed that to open system and now it works. (sorry I'm a wireless novice) Is that a known isssue that shared key doesn't work or is this normal? thanks didier - Original Message - From: John L. Scarfone Date: Monday, August 14, 2006 20:13 Subject: Re: connect to a wep accesspoint (wpi0) howto? To: misc@openbsd.org On Mon, Aug 14, 2006 at 05:31:41PM +, Didier Wiroth voiced: Ok ... it looks like an authentication problem ... config chan 11 flags 8025 cck f ofdm 15 wpi0: sending auth to 00:09:5b:xx:xx:xx on channel 11 wpi0: received auth from 00:09:5b:xx:xx:xx rssi 68 wpi0: open authentication failed (reason 13) for 00:09:5b:xx:xx:xx I tried every possible combination with ipconfig wpi0 nwkey 0x0784c5c4fcafa91c537df07839 or with nwkey 1:0x0784c5c4fcafa91c537df07839,0x0784c5c4fcafa91c537df07839,0x0784c5c4fcafa91c537df07839,0x0784c5c4fcafa91c537df07839 or nwkey 1:0x0784c5c4fcafa91c537df07839 etc all fail, the key is correct as it is a copy paste ... what else can I try ? thx a lot for helping on the issue!!! Perhaps this is a open system auth vs. shared key auth problem. Can you set your AP to do open auth and see if you can associate then? -- ajBAY294Lm5ldA==
Re: connect to a wep accesspoint (wpi0) howto?
On 8/14/06, Didier Wiroth [EMAIL PROTECTED] wrote: Yes, you are right! That is the problem! The system was configured with shared key, I changed that to open system and now it works. (sorry I'm a wireless novice) Is that a known isssue that shared key doesn't work or is this normal? Google suggests that shared, being seriously weak, is not supposed to be used. http://www.cwnp.com/phpBB2/viewtopic.php?t=487 I could imagine the openbsd crew having simply not written in support for shared key, but I can't speak for them. -Nick
Re: connect to a wep accesspoint (wpi0) howto?
Didier Wiroth wrote: Hello, I'm using current (on a thinkpad x60s) with a netgear wg602v2 accesspoint. The x60s has wpi wireless nic. The configuration of the netgear accesspoint is the following: ssid= wifi ssid broadcast= disabled channel= 11 mode=g and b security type= wep authentication type= shared key encryption strength= 128bit key1=0784C5C4FCAFA91C537DF07839 (default key) key2=0784C5C4FCAFA91C537DF07839 key3=0784C5C4FCAFA91C537DF07839 key4=0784C5C4FCAFA91C537DF07839 I tried many different settings, without success ... this does not work: ifconfig wpi0 chan 11 nwid wifi nwkey 1:0x0784C5C4FCAFA91C537DF07839,0x0784C5C4FCAFA91C537DF07839,0x0784C5C4FCAFA91C537DF07839,0x0784C5C4FCAFA91C537DF07839 How do I have to configure my wpi0 nic to be able to connect to the wifi ssid network? thank you very much didier In OpenBSD -current, i just put this line in /etc/hostname.wpi0: dhcp nwid AOGUAN7 nwkey 0xPASSWORD AOGUAN7 is the AP name, 0xPASSWORD is '0x'+'your access password'. I hope this can help you more or less. regards.
connect to a wep accesspoint (wpi0) howto?
Hello, I'm using current (on a thinkpad x60s) with a netgear wg602v2 accesspoint. The x60s has wpi wireless nic. The configuration of the netgear accesspoint is the following: ssid= wifi ssid broadcast= disabled channel= 11 mode=g and b security type= wep authentication type= shared key encryption strength= 128bit key1=0784C5C4FCAFA91C537DF07839 (default key) key2=0784C5C4FCAFA91C537DF07839 key3=0784C5C4FCAFA91C537DF07839 key4=0784C5C4FCAFA91C537DF07839 I tried many different settings, without success ... this does not work: ifconfig wpi0 chan 11 nwid wifi nwkey 1:0x0784C5C4FCAFA91C537DF07839,0x0784C5C4FCAFA91C537DF07839,0x0784C5C4FCAFA91C537DF07839,0x0784C5C4FCAFA91C537DF07839 How do I have to configure my wpi0 nic to be able to connect to the wifi ssid network? thank you very much didier
Re: connect to a wep accesspoint (wpi0) howto?
Hi You should use wicontrol -n YOURSSID ton configure your ssid. Bedis On Sun, Aug 13, 2006 at 05:23:42PM +, Didier Wiroth wrote : Hello, I'm using current (on a thinkpad x60s) with a netgear wg602v2 accesspoint. The x60s has wpi wireless nic. The configuration of the netgear accesspoint is the following: ssid= wifi ssid broadcast= disabled channel= 11 mode=g and b security type= wep authentication type= shared key encryption strength= 128bit key1=0784C5C4FCAFA91C537DF07839 (default key) key2=0784C5C4FCAFA91C537DF07839 key3=0784C5C4FCAFA91C537DF07839 key4=0784C5C4FCAFA91C537DF07839 I tried many different settings, without success ... this does not work: ifconfig wpi0 chan 11 nwid wifi nwkey 1:0x0784C5C4FCAFA91C537DF07839,0x0784C5C4FCAFA91C537DF07839,0x0784C5C4FCAFA91C537DF07839,0x0784C5C4FCAFA91C537DF07839 How do I have to configure my wpi0 nic to be able to connect to the wifi ssid network? thank you very much didier
Re: connect to a wep accesspoint (wpi0) howto?
On Sun, Aug 13, 2006 at 09:59:14PM +0200, Bedis wrote: You should use wicontrol -n YOURSSID ton configure your ssid. wicontrol is gone from current, ifconfig can be used for wi(4) now as well. Besides that the original poster has an wpi(4) not wi(4), so wicontrol was never applicable anyways. felix
Re: connect to a wep accesspoint (wpi0) howto?
On Sun, Aug 13, 2006 at 09:59:14PM +0200, Bedis voiced: Hi You should use wicontrol -n YOURSSID ton configure your ssid. No, wicontrol is thankfully gone in -current. this does not work: ifconfig wpi0 chan 11 nwid wifi nwkey 1:0x0784C5C4FCAFA91C537DF07839,0x0784C5C4FCAFA91C537DF07839,0x0784C5C4FCAFA91C537DF07839,0x0784C5C4FCAFA91C537DF07839 Did you try just: ifconfig wpi0 chan 11 nwid wifi nwkey 0x0784C5C4FCAFA91C537DF07839 -- ajBAY294Lm5ldA==