From owner-freebsd-mobile Thu Nov 16 17:44:30 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from horsey.gshapiro.net (horsey.gshapiro.net [209.220.147.178]) by hub.freebsd.org (Postfix) with ESMTP id 35F5037B479 for ; Thu, 16 Nov 2000 17:44:28 -0800 (PST) Received: (from gshapiro@localhost) by horsey.gshapiro.net (8.11.2.Beta0/8.11.2.Beta0) id eAH1iRc46295; Thu, 16 Nov 2000 17:44:27 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14868.36219.675223.396426@horsey.gshapiro.net> Date: Thu, 16 Nov 2000 17:44:27 -0800 From: Gregory Neil Shapiro To: mobile@FreeBSD.ORG Subject: Re: wi0 and wicontrol In-Reply-To: <3A1464B9.625416D3@sftw.com> References: <3A1464B9.625416D3@sftw.com> X-Mailer: VM 6.82 under 21.2 (beta36) "Notus" XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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