Re: dhclient.conf for ath wireless

From: Rob B <rbyrnes_at_mailshack.com>
Date: Tue, 05 Jul 2005 22:09:22 +1000
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. 
Received on Thu Jul 07 2005 - 11:33:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:38 UTC