dhclient.conf for wireless interface

Erik Nørgaard norgaard at locolomo.org
Mon Jul 4 14:38:23 GMT 2005


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


More information about the freebsd-questions mailing list