dhclient.conf for ath wireless

Rob B rbyrnes at mailshack.com
Thu Jul 7 13:33:01 GMT 2005


At 06:18 PM 5/07/2005, Erik Nørgaard wrote:
>I am running -CURRENT with the new port of dhclient from OpenBSD. The 
>problem is that dhclient most often associante with my neighbours AP 
>instead of mine.
>
>The man-pages mentions the "media" statement and according to the examples 
>I can find in google I should add an entry like this:
>
>interface "ath0" {
>     media "ssid MYAP mode 11g";
>}
>
>in dhclient.conf. But on boot, dhclient enters into an infinite loop 
>bringing up and down the interface, until I break it. I have to manually 
>run "ifconfig ath0 ssid MYAP mode 11g" and then start dhclient manually to 
>force it to associate correctly with MYAP.

Have you tried putting the appropriate ifconfig command line into 
/etc/start_if.ath0.  That works for me.

cheers,
Rob


-- 
I just do what the voices inside my head tell me to do.

This is random quote 613 of 1268. 




More information about the freebsd-current mailing list