[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bcm43xx finally working, with encryption too!!!



Aaron Kerr <Aaron.Kerr@Sun.COM> writes:

<snip>

> While my script is some overly complicated perl that tries to find one
> of my preferred networks here is what it would look like as simple
> bourne shell script (last two lines optional depending on network and
> use as pre-up script or standalone script):

<snip>

> #iwconfig $INTERFACE key 0a1b2c3d4e
> #dhclient $INTERFACE
> <END OF SCRIPT>

<snip>

My script works exactly the way you described. My problem is with the
last line, when I try dhclient. It seems to do an ifconfig down/up
again, which means I have to run iwlist scan again to get the wireless
working again. What I want is a way to disable dhclient from doing its
own ifconfig down/up on eth1 (or eth2 sometimes!), so that the iwlist
command doesn't have to be run separately on another xterm/console.

Shreyas. 



Reply to: