NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: 802.11g with WPA-PSK



Andy

On Sun, Feb 6, 2011 at 7:08 PM, Andrew Ball
<aball%students.prairiestate.edu@localhost> wrote:
> Hello,
>
>    I have a NetBSD host that I would like to
> connect to an existing wireless LAN using a rum(4) interface
> (Belkin F5D7050B USB 802.11g adaptor).  I have tried
> configuring wpa_syupplicant via rc.conf but it does not seem
> to start and I don't know why.  Is there some other way to
> launch wpa_supplicant, perhaps via ifconfig.rum0?
>
> - Andy Ball
>

I have the following:

#file: /etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
eapol_version=2
network={
        ssid="My_SSID"
        scan_ssid=1
        psk="My_secret_pwd"
}

and my /etc/rc.conf  contains:
<snip>
dhclient=YES
ntpdate=YES              ntpdate_hosts="ntp.gal.dk gps.dix.dk"
wpa_supplicant=YES       wpa_supplicant_flags="-B -irum0
-c/etc/wpa_supplicant.conf"
<snip>

As my rum0 is a USB stick, which sometimes is there, sometimes not,
my rc.conf is actually a bit more complicated.

I may send you the more complicated one, if you wish
Greetings

Han


Home | Main Index | Thread Index | Old Index