Date: Wed, 19 Sep 2001 08:37:38 -0700 From: Bill Schoolcraft <bill@linuxcare.com> To: freebsd-mobile@freebsd.org Subject: Re: how to setup wireless card Message-ID: <3BA8BBC2.4583CBF8@linuxcare.com> References: <01091911163700.03662@psych.ward.vt.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Daniel Fisher wrote: > > Is there a FAQ somewhere that explains how to setup your wireless card? > I have a Lucent WaveLAN that appears to be working, but doesn't. > The card is recognized at boot time. > I then run: > wicontrol -i wi0 -n NETWORK-NAME -p 1 > Followed by: > dhclient wi0 > The lights on the card say it is working, however if I run: > ping -I wi0 www.google.com > I get this error: > ping: invalid multicast interface: 'wi0' > > Any help would be appreciated... > Thanks I have the following (blue collar) script that works fine for me with a gold card at home. I have the first few lines when I have to reset the card for whatever reasons. ############################################################ #!/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 network_name_here /usr/sbin/wicontrol -i wi0 -p 1 /usr/sbin/wicontrol -i wi0 -c 1 /usr/sbin/wicontrol -i wi0 -s network_name_here #echo echo "Should be setup now..............." echo #sleep 5 echo ping -c2 yahoo.com echo ########################################################## -- Bill Schoolcraft Linux/Unix System Engineer 650 Townsend Street San Francisco, CA 94103 SF (415) 354-4878 http://www.linuxcare.com "Linux/Unix, A Way Of Life." 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?3BA8BBC2.4583CBF8>