Subject: Re: Wifi card
To: david aubril <david.aubril@ac-nantes.fr>
From: Chavdar Ivanov <ci4ic4@gmail.com>
List: netbsd-help
Date: 03/25/2006 10:40:14
On 25/03/06, david aubril <david.aubril@ac-nantes.fr> wrote:
>     Thanks  a lot. Well, this is just a plan. I am trying to figure out
> a secure home network. I've read a couple of things about WEP keys,
> which seem to be very weak. So I guess I have to find another solution.
> I read that NetBSD could handle WPA keys. I might also use an ipsec
> connection from my gatework to my client. Does anybody know a good
> up-to-date documentation ?

Here is something to get you started:

# cat /etc/ifconfig.ral0 ########################################
!/etc/ral0up
# cat /etc/ral0up ###############################################
#!/bin/sh
/usr/sbin/wpa_supplicant -B -i ral0 -c /etc/wpa_supplicant.conf
sleep 10
/sbin/dhclient ral0
# cat /etc/wpa_supplicant.conf ##################################
ctrl_interface=3D/var/run/wpa_supplicant
ctrl_interface_group=3Dwheel

# Plaintext connection (no WPA, no IEEE 802.1X)
network=3D{
        ssid=3D"XXYYZZid"
        key_mgmt=3DNONE
}

network=3D{
        ssid=3D"AABBCCid"
        scan_ssid=3D1
        key_mgmt=3DWPA-PSK
        psk=3D"wowthatssecret"
}
network=3D{
        ssid=3D"PPQQRRid"
        scan_ssid=3D1
        key_mgmt=3DWPA-PSK
        psk=3D"somemoresecretstuff"
}

I don;t remember why I have put the 'sleep 10' in the second file,
though; maybe I have been doing some tests.

>
> Karsten Kruse wrote:
> > david aubril wrote:
> >
> >
> >>    I am thinking about getting a wifi card for my laptop.
> >>    Would a netgear WG511, or a netgear WPN511FS work ?
> >>
> >
> > If you don't mind running current: Edimax EW-7108PCg
> >
> > The card uses a RaLink 2600 Chip and is cheap. Also it's 802.11g. The O=
EM
> > Drivers for Windows are shaky, the Driver from ralink.com are good. Jus=
t
> > in case you dual-boot to Windows.

My card uses the same chipset AFAIK. BTW that reference to ralink.com
leads to nowhere, or at least I couldn't find anything related to the
ralink chipset there.

I am still having problems with WPA-PSK on this machine - it's a bit
of a rollercoaster ride - goes down and up several times a day; that's
why I have left it open at home for now (not too bothered about
somneone snooping ...). I could not get WEP to work either (but
haven't tried much).

This is all on -current.

> >
> > Karsten
> >
> >
>
>