Trying to use my ath wireless with wep.

eculp at cloudmaster.info eculp at cloudmaster.info
Fri Jun 27 10:35:08 UTC 2008


Quoting David Booth <davidb at boothscientific.com>:

> On Thursday 26 June 2008, you wrote:
>> Quoting David Booth <davidb at boothscientific.com>:
>> > On Thursday 26 June 2008, you wrote:
>> >> Thanks to the help here I have been enjoying my ath for almost a
>> >> week. It works perfectly with the following in rc.conf
>> >>
>> >> wlans_ath0=wlan0
>> >> ifconfig_wlan0="DHCP ssid virus2"
>> >>
>> >> Now I am trying to get it to connect with wep.  I have set the
>> >> modem open wep pass phrase key to lets say 1122334455 and I have
>> >> substituted the above ifconfig_wlan0 line for:
>> >>
>> >> ifconfig_wlan0="DHCP ssid virus2 wepmode on wepkey 0x1122334455"
>> >>
>> >>
>> >> and I have also tried it with WPA before DHCP but it doesn't
>> >> connect either way.
>> >>
>> >> I'm sure I'm not understanding something here.
>> >>
>> >> I also have a related question.  Can this not be done on the
>> >> command line and be prompted for a password after the scan to
>> >> see which AP is available?  What would I do after the scan?
>> >>
>> >> Thanks,
>> >>
>> >> ed
>> >
>> > I have found it necessary to specify the wepkey number and also
>> > set the weptxkey number, e.g.
>> >
>> > ifconfig_wlan0="DHCP ssid virus2 wepmode on wepkey 1:
>> > 0x1122334455 weptxkey 1"
>>
>> Hi David,
>>
>> It worked perfectly but I did have to remove the space between 1:
>> and 0x1122334455.  I saw that in the ifconfig manual from Andrew
>> Thompson's recommendation.
>>
>> Thanks.  Now all I need to find is a tool to connect to the some
>> 8-10 offices, hotspots, home etc.  That I use weekly.  I think I
>> will soon get tired of commenting out configurations in rc.local ;)
>>
>> Hope you all have a great weekend,
>>
>> ed
>
> I you should be able to do this with wpa_supplicant.  I have not tried
> it, but you are supposed to be able to put multiple hot spot
> configurations in wpa_suplicant.conf (and can assign priorities) and
> it will scan through them until it finds one.  See
>
> man wpa_supplicant.conf
>
> and
>
> man wpa_supplicant
>

Thanks, David.  This seems to be exactly what I am looking for.  I've  
already started to configure it with the example in share.  With all  
the tips you have given me I should be able to make all this much more  
efficiently and not have to add any more noise to the list.

I really appreciate it,

ed



More information about the freebsd-mobile mailing list