From owner-freebsd-questions Mon Oct 1 20:58:45 2001 Delivered-To: freebsd-questions@freebsd.org Received: from corten2.billschoolcraft.com (adsl-63-193-247-201.dsl.snfc21.pacbell.net [63.193.247.201]) by hub.freebsd.org (Postfix) with ESMTP id AD13137B401 for ; Mon, 1 Oct 2001 20:58:40 -0700 (PDT) Received: from corten8.billschoolcraft.com ([192.168.7.8]) by corten2.billschoolcraft.com with esmtp (Exim 3.22 #1 (Debian)) id 13fuWw-0001Ui-00; Sun, 01 Oct 2000 18:36:34 -0700 Date: Mon, 1 Oct 2001 18:40:03 -0700 (PDT) From: Bill Schoolcraft X-X-Sender: To: Anuranjan Cc: Subject: Re: an and wi drivers installation on freeBSD 4.3 In-Reply-To: <000c01c14ae0$df402fe0$f64545d8@ntt27f48otgmw8> Message-ID: System-ID: SunOS 5.8 i86pc MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At Mon, 1 Oct 2001 it looks like Anuranjan composed: anu->Hi, anu->I need to install the WLAN card (either a Cisco Aironet 350, or a Lucent anu->WaveLAN) and I think the drivers are "an" and "wi" resp. How can I install anu->these cards and the respective drivers? My kernel seems to be configured for anu->it as I can see entries for both uncommented in my /usr/src/i386/conf/NEWKER anu->file. anu-> Can you point me to a detailed HOWTO for this (all steps needed for anu->recognizing and installing the card/driver)? anu->Appreciate the help anu-> Now I've been told there are some errors in this "BUT" it works fine for me. It's for my home network and my access point (network) was configured to be "corten1", I believe you can just comment out the line that has my network name. Once again, it works every time I use it with my Orinoco Gold card. Save this file as anyname you want, chmod 755 and run this as root. ###################_cut_below_line_###################### #!/bin/sh /sbin/route flush /sbin/ifconfig wi0 down echo echo "Your location should be at home!!!" sleep 5 echo /sbin/route add -net 192.168.1.0 255.255.255.0 2>/dev/null echo "Running setup script for static IP 192.168.1.20 " sleep 2 /sbin/ifconfig wi0 192.168.1.20 broadcast 192.168.1.255 netmask 255.255.255.0 up 2>/dev/null echo echo "Setting up gateway................" /sbin/route add -net default 192.168.1.1 2>/dev/null /usr/sbin/wicontrol -i wi0 -n corten1 /usr/sbin/wicontrol -i wi0 -p 1 /usr/sbin/wicontrol -i wi0 -c 1 /usr/sbin/wicontrol -i wi0 -s corten1 #echo echo "Should be setup now..............." echo #sleep 5 echo ping -c2 yahoo.com echo ##############_cut_above_line_################ -- Bill Schoolcraft | PO Box 210076 San Francisco, CA 94121 http://ForwardSlashUnix.com "UNIX, A Way of Life." rm -rf /bin/laden To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message