Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jan 2004 10:38:14 +0100
From:      Michael Lestinsky <michael.lestinsky@mpi-hd.mpg.de>
To:        freebsd-current@freebsd.org
Subject:   Re: ath-driver (Atheros 5212) and ifconfig
Message-ID:  <20040127093813.GB727@mobi.dhcp.mpi-hd.mpg.de>
In-Reply-To: <20040126231329.Y97872-100000@oahu.WURLDLINK.NET>
References:  <20040127090413.GA727@mobi.dhcp.mpi-hd.mpg.de> <20040126231329.Y97872-100000@oahu.WURLDLINK.NET>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 26.01.'04 schrieb Vincent Poy:
> 	What's the correct way to have it connect to a certain AP with a
> WEP key and get the IP by DHCP?

Put something like this in your /etc/dhclient.conf (see dhclient.conf(5)):

interface "ath0" {
    media "media autoselect ssid my_ap nwkey 0x0123456789012345678901232456";
}

You can put there more than one media-line.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040127093813.GB727>