Re: [gentoo-user] /etc/conf.d/net postup help

2008-06-17 Thread Neil Bothwick
On Mon, 16 Jun 2008 16:44:10 -0700, Grant wrote: postup() { set -xv if [[ ${IFACE} == ath0 ]] ; then iwconfig ath0 rate 2M fi return 0 } What is wrong, the syntax looks fine. Does running the iwconfig manually after connection work?

[gentoo-user] /etc/conf.d/net postup help

2008-06-16 Thread Grant
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? - Grant -- gentoo-user@lists.gentoo.org mailing list

Re: [gentoo-user] /etc/conf.d/net postup help

2008-06-16 Thread Iain Buchanan
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?

Re: [gentoo-user] /etc/conf.d/net postup help

2008-06-16 Thread Neil Bothwick
On Mon, 16 Jun 2008 12:02:33 -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 } What is wrong, the syntax

Re: [gentoo-user] /etc/conf.d/net postup help

2008-06-16 Thread Grant
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 } What is wrong, the syntax looks fine. Does running the iwconfig manually after