|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
wireless not working.
I configured the wpi0 as follow, to connect to network ABC for example.
Code:
# ifconfig wpi0 nwid ABC wpa wpapsk \ > $(wpa-psk ABC ABCpass) Code:
# dhclient wpi0 DHCPDISCOVER on wpi0 to 255.255.255.255 port 67 interval 3 DHCPDISCOVER on wpi0 to 255.255.255.255 port 67 interval 4 DHCPDISCOVER on wpi0 to 255.255.255.255 port 67 interval 9 link state up -> down link state down -> up DHCPDISCOVER on wpi0 to 255.255.255.255 port 67 interval 4 DHCPDISCOVER on wpi0 to 255.255.255.255 port 67 interval 5 link state up -> down link state down -> up DHCPDISCOVER on wpi0 to 255.255.255.255 port 67 interval 7 DHCPDISCOVER on wpi0 to 255.255.255.255 port 67 interval 13 link state up -> down link state down -> up DHCPDISCOVER on wpi0 to 255.255.255.255 port 67 interval 6 DHCPDISCOVER on wpi0 to 255.255.255.255 port 67 interval 14 |
|
|||
Is your access point configured as WPA or WPA2? The ifconfig command above states that the assumption that it is WPA.
|
|
|||
Yes. My AP is WPA encryption.
|
|
|||
I've just thrown an intel 3945 nic into my aspire one and I'm having trouble with a similar issue. In my reading of the man page for ifconfig, I've come to think that the
Quote:
My network is currently set for a 256 bit ASCII key, which OpenBSD doesn't seem to support (bash plays up a bit when I try). Once I'm able to temporarily change the key for my network, I think I'll have to try something along the lines of: Quote:
[update]: Can confirm that this works . It's been a long road to get wifi working on this laptop, the default atheros card is very poorly supported but this intel 3945 card works a treat. Last edited by pik; 6th May 2009 at 08:55 AM. |
|
|||
What if the AP is WEP encryption? I put
Code:
dhcp NONE NONE NONE nwkey example chan 6 How do i connect to the WEP connection by issuing the command(if i don't know the gateway)? |
|
|||
I don't claim to understand any of this (my exposure to wlans under openbsd began tonight) but I think you'd need something along the lines of:
Quote:
Quote:
Of course, after all of this you still need to Quote:
|
|
|||
I got this error message when i connect to the WPA's AP
Code:
ifconfig: wpapsk: bad pre-shared key length ifconfig wpi0 nwid NETWORK_NAME wpa wpapsk 0x64_CHAR_HEX_KEY |
|
|||
The password on my AP is a 256 bit (64 char) hex string, and was generated by https://www.grc.com/passwords.htm. ifconfig will only allow you to set a hex WPA key if it's the right length.
What you need to do is outline exactly the specifics of the network you're trying to connect to - ie which type of encryption (WEP, WPA, WPA2?)... |
|
|||
Its WPA encryption.
|
|
|||
I tried to put 0x at the beginning of the password but i got the same error. The password is a combination of 26 numbers and alphabeticals. How do i connect to my Uni(WEP encryption) with these 26 characters under nwid of my Uni? Can i use the following code?
Code:
dhcp My_Uni nwkey 26characters chan 6 |
|
|||
Quote:
Code:
EXAMPLES The following hostname.if(5) example configures wpi0 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 |
|
|||
I know it uses "NONE NONE NONE" to connect to a AP which is using the certain nwkey at bootup. But what if i just want to connect to a AP without matching the nwkey to each AP in the detected networks. I have tried
Code:
dhcp NONE NONE NONE nwkey 0x1deadbeef1 chan 11 |
|
|||
That is totally inaccurate information about WPA iacbsd.. OpenBSD doesn't use "madwifi" or "wpa_supplicant", it has it's own implementation.. and there are no licencing issues, it is fully standardized.
|
|
||||
Well, there *were* licensing issues, but it was the other-way-'round, an apparent misuse of reyk@'s ISC-licensed code developed for OpenBSD. The gory details can be found on misc@ and on the linux-kernel mailing list, mid-September, 2007.
|
|
||||
Quote:
Last edited by Oko; 19th July 2009 at 03:05 PM. |
|
||||
Quote:
|
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
atheros wireless card not working | guitarscn | FreeBSD General | 0 | 26th August 2009 05:50 PM |
BSDAnywhere wireless Q | tony333 | OpenBSD General | 12 | 5th April 2009 02:15 AM |
Wireless Network Config working -- almost | JMJ_coder | General software and network | 4 | 20th November 2008 05:10 PM |
Wireless Card on T61 | disappearedng | FreeBSD General | 1 | 13th July 2008 12:54 AM |
Gui for Wireless LAN? | PatrickBaer | FreeBSD General | 2 | 13th June 2008 12:25 AM |