From owner-freebsd-mobile Wed Apr 3 10:13:10 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from postal3.es.net (postal3.es.net [198.128.3.207]) by hub.freebsd.org (Postfix) with ESMTP id 63AB037B48E; Wed, 3 Apr 2002 10:12:15 -0800 (PST) Received: from ptavv.es.net ([198.128.4.29]) by postal3.es.net (Postal Node 3) with ESMTP id GQF37091; Wed, 03 Apr 2002 10:12:12 -0800 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Postfix) with ESMTP id B0B7F5D04; Wed, 3 Apr 2002 10:12:10 -0800 (PST) To: "Kevin McCormick" Cc: freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: Getting wi and wicontrol under control In-reply-to: Your message of "Wed, 03 Apr 2002 12:47:29 EST." Date: Wed, 03 Apr 2002 10:12:10 -0800 From: "Kevin Oberman" Message-Id: <20020403181210.B0B7F5D04@ptavv.es.net> 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 > From: "Kevin McCormick" > Date: Wed, 3 Apr 2002 12:47:29 -0500 > Sender: owner-freebsd-mobile@FreeBSD.ORG > > Hello, > > I'm currently running RELEASE-4.5 on a Compaq Armada E500 with a Compaq > WL110 802.11b card. I'm using a slightly modified GENERIC kernel (for sound > support and WINE). The notebook also has an integrated 10/100 NIC > > I can' seem to figure out how to use my wireless card. I seem to have wi > working properly. Using wicontrol, I can set the WEP key, network name, > etc., and using an X wi tool, I get the appropriate signal strength (i.e. I > seem to be connected on the MAC level). > > Here are the problems: > > 1. I can't seem to figure out how to use dhclient to obtain an IP address - > typing in dhclient returns "cannot bind address" Also, if I use ifconfig to > manually assign an address, it doesn't seem to "stick", and still can't ping > any addresses. In /etc/rc.conf, add the lines 'ifconfig_wi0="DHCP"', 'pccard_enable="YES"', and 'pccardd_flags="-z"'. > > 2. All of the wicontrol settings are lost when I restart the PC. I need to > type them in every time to get signal. Create a file named /etc/start_if.wi0 and insert the wicontrol commands you want executed to get the card configured. This typically means the WEP key and enabling WEP. It can include any commands you want executed when the wi0 card is installed, wicontrol or not. > > 3. pccardd doesn't seem to recognize the card until the "network setup: > hostname" portion of the boot sequence. This should be fixed by the stuff in the answer to question 1, particularly the pccardd_flags. (Note the extra 'd'!) R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message