Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Oct 2001 18:40:03 -0700 (PDT)
From:      Bill Schoolcraft <bill@wiliweld.com>
To:        Anuranjan <anu@nttmcl.com>
Cc:        <questions@FreeBSD.ORG>
Subject:   Re: an and wi drivers installation on freeBSD 4.3
Message-ID:  <Pine.GSO.4.33.0110011828310.2010-100000@corten8.billschoolcraft.com>
In-Reply-To: <000c01c14ae0$df402fe0$f64545d8@ntt27f48otgmw8>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <filename> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.33.0110011828310.2010-100000>