On Mon, 2008-06-16 at 12:02 -0700, Grant wrote:
> I've tried a lot of stuff but I can't seem to get the postup syntax right:
> 
> postup() {
>        set -xv
>        if [[ ${IFACE} == "ath0" ]] ; then
>                iwconfig ath0 rate 2M
>        fi
>        return 0
> }
> 
> Can anybody help with this?

looks fine to me.  What's happening, (or not)?  Any error messages, or
any output at all?  Maybe you're using iwconfig too soon (before
association), but I'm only geussing.  Full paths could also help.

HTH,
-- 
Iain Buchanan <iaindb at netspace dot net dot au>

Real programmers don't comment their code.  It was hard to write, it
should be hard to understand.

-- 
gentoo-user@lists.gentoo.org mailing list

Reply via email to