Yet another Need Help with Internet Thread

volatilevoid said:
If that really is the cause, then someone should change the manual pages accordingly. ;)

Unfortunately, I don't have any own experience with WEP - always used WPA2 with wpa_supplicant and that worked for me. :)


in which man page does it say that the key needs to be in hex?
 
LateNiteTV said:
in which man page does it say that the key needs to be in hex?
See the ifconfig(8) manual page. Scroll down to wepkey or search for it.
It may be specified either as a plain string or as a string of hexadecimal digits preceded by `0x'. For maximum portability, hex keys are recommended; the mapping of text keys to WEP encryption is usually driver-specific.
The manual page for ral(4) uses them, too.
 
Ok, here is what I did. I made a script that is basically this (yes, I edited it so it isn't exactly the right wep code and all that, but it is basically this...). Hex may work, but this was not hex:

Code:
#!/bin/sh
ifconfig wlan create wlandev ural0 ssid SloppyJoe123456 wepmode on wepkey 0x34JJ7BC92U weptxkey 1
dhclient wlan0

The line with "ifconfig..." is all one line past "...weptxkey 1". dhclient is a new line.

And saved it as "freebsd-wifi." I did that as root...then made it active for all users with

Code:
chmod +x freebsd-wifi

Then I just now ran it...and it worked! I'm posting with it right now...

Well done everyone! We got it going....thank you!
 
Back
Top