From owner-freebsd-mobile Wed Sep 19 8:31:40 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from mail.linuxcare.com (mail.linuxcare.com [216.88.157.164]) by hub.freebsd.org (Postfix) with ESMTP id E853437B412 for ; Wed, 19 Sep 2001 08:31:35 -0700 (PDT) Received: from linuxcare.com (wiliweld.i.linuxcare.com [10.1.0.139]) by mail.linuxcare.com (Postfix) with ESMTP id 17FE03B8 for ; Wed, 19 Sep 2001 08:31:35 -0700 (PDT) Message-ID: <3BA8BBC2.4583CBF8@linuxcare.com> Date: Wed, 19 Sep 2001 08:37:38 -0700 From: Bill Schoolcraft Organization: " LINUX, A Way of Life !!" X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Subject: Re: how to setup wireless card References: <01091911163700.03662@psych.ward.vt.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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