|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
I generally don't recommend using hostname.if(5) for wireless, but that's my recommendation.. mostly due to the fact that switching between networks and configurations is a high probability with wireless, manual configuration makes more sense.
What you don't explicitly tell us is what happens after running ifconfig/dhclient, pasting the full output in [code][/code] tags.. both before and after you set the nwid and wep key in ifconfig.. will help diagnose possible configuration errors. Are you bringing the interface up? does the connection establish? is a lease acquired? are you able to ping your router or other hosts? |
|
|||
This is how I typically connect to a WPA wireless network, assuming wireless interface foo0:
/etc/hostname.foo0: Code:
dhcp NONE NONE NONE # sh /etc/netstart foo0 This is in -current; I remember they changed the key semantics fairly recently (you used to have to run /usr/sbin/wpa-psk to generate the key, then provide those results to ifconfig).
__________________
Many thanks to the forum regulars who put time and effort into helping others solve their problems. Last edited by backrow; 18th May 2011 at 05:18 AM. Reason: Correction, thanks Daffy |
|
|||
I think this is wrong. "Wpapsk" was being used up until 4.9. Someone correct me if I'm wrong, but ifconfig(8), states that you must use "wpakey" instead.
So you should use Code:
ifconfig <interface> nwid <id> wpakey <key> |
|
|||
Quote:
Code:
{ "wpakey", NEXTARG, 0, setifwpakey }, { "-wpakey", -1, 0, setifwpakey }, /*XXX delete these two after the 4.9 release */ /*XXX*/ { "wpapsk", NEXTARG, 0, setifwpakey }, /*XXX*/ { "-wpapsk", -1, 0, setifwpakey },
__________________
Many thanks to the forum regulars who put time and effort into helping others solve their problems. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
script add user with encrypted password | wesley | OpenBSD General | 3 | 14th December 2010 03:22 PM |
Encrypted == secure? | passthejoe | OpenBSD Security | 13 | 9th November 2010 05:45 PM |
Tool for cracking encrypted session data | J65nko | News | 0 | 9th June 2010 06:31 PM |
Openbsd 4.5 network connection timeout | andrewm | OpenBSD General | 4 | 11th September 2009 02:32 AM |
Encrypted disk compatibility issue | TheLogicInverter | FreeBSD Security | 3 | 30th January 2009 02:59 PM |