Re: dhclient.conf for wireless interface

2005-07-06 Thread Danny Howard

Erik Nørgaard wrote:


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.


Erik,

FWIW, it looks like you are doing the right thing.  Maybe you have hit a 
bug?


There may be a tweak for dhclient's configuration to extend the amount 
of time it will attempt a profile before giving up and trying the next.  
I would like to think that "mode 11g" is superflous, and that you can 
just set that before-hand, or at a lower level ...


Good Luck,
-danny

--
http://dannyman.toldme.com/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


dhclient.conf for wireless interface

2005-07-04 Thread Erik Nørgaard

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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"