Date: Thu, 16 Nov 2000 17:44:27 -0800 From: Gregory Neil Shapiro <gshapiro@FreeBSD.ORG> To: mobile@FreeBSD.ORG Subject: Re: wi0 and wicontrol Message-ID: <14868.36219.675223.396426@horsey.gshapiro.net> In-Reply-To: <3A1464B9.625416D3@sftw.com> References: <Pine.NEB.4.10.10011161534300.8586-100000@corona.housebsd.org> <3A1464B9.625416D3@sftw.com>
next in thread | previous in thread | raw e-mail | index | archive | help
nsayer> The best solution I've found is to make a /etc/wisetup script. Have nsayer> it do all of the wicontrol lines, then as the last line, say: And the best solution I have found is not to even touch pccard.conf, leave it as is and create /etc/dhclient-exit-hooks with: # Initialize the WaveLAN card with the proper parameters if [ "$interface" = "wi0" -a "$reason" = "PREINIT" ] then /usr/sbin/wicontrol -i $interface -P 1 /usr/sbin/wicontrol -i $interface -S 200 /usr/sbin/wicontrol -i $interface -p 1 /usr/sbin/wicontrol -i $interface -n '' /usr/sbin/wicontrol -i $interface -s monkeyboy.gshapiro.net /usr/sbin/wicontrol -i $interface -e 1 /usr/sbin/wicontrol -i $interface -k 0xDEADBEEF fi exit 0 That way, you don't screw up any system files but still get things done properly (assuming you are using DHCP). (and no, 0xDEADBEEF is not my WEP key) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14868.36219.675223.396426>