Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Jul 2005 16:38:09 +0200
From:      =?ISO-8859-1?Q?Erik_N=F8rgaard?= <norgaard@locolomo.org>
To:        FreeBSD Questions <questions@freebsd.org>
Subject:   dhclient.conf for wireless interface
Message-ID:  <42C949D1.5090107@locolomo.org>

next in thread | raw e-mail | index | archive | help
Hi,

I am trying to configure dhclient to associate with the correct 
accesspoint, I use FreeBSD Current with the new dhclient ported from 
OpenBSD.

The examples I can find mentions that I should create an entry in my 
dhclient.conf like this:

interface "ath0" {
     media "ssid AP1 mode 11g", "ssid AP2 mode 11g";
}

and dhclient will then first try to associate with AP1 and then AP2.

The problem is that with that setup dhclient enters into an aparently 
infinite loop bringing up and down the interface, until I break it. I 
have to manually run 'ifconfig ssid AP1 mode 11g' first.

Can anyone point me to the correct manpage for configuring dhclient?
This is not covered in the dhclient.conf(5) dhclient(8) ifconfig(8) or 
ath(4) man-pages.

I have a 3Com wireless NIC, broadcom AP, my dhcp server is isc-dhcp v.3 
running on FBSD 5.4. I usually get associated with my neighbours 3Com AP 
running with a default setup.

Thanks, Erik

-- 
Ph: +34.666334818                           web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2



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