From owner-freebsd-mobile Fri Jun 16 10:35:13 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by hub.freebsd.org (Postfix) with ESMTP id 36D4A37B865 for ; Fri, 16 Jun 2000 10:35:10 -0700 (PDT) (envelope-from oberman@ptavv.es.net) Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (8.10.1/8.10.1) with ESMTP id e5GHZ2n04175; Fri, 16 Jun 2000 10:35:02 -0700 (PDT) Message-Id: <200006161735.e5GHZ2n04175@ptavv.es.net> To: Peter Radcliffe Cc: freebsd-mobile@freebsd.org Subject: Re: wicontrol when WaveLAN card is inserted In-reply-to: Your message of "Fri, 16 Jun 2000 11:20:49 EDT." <20000616112048.A3781@pir.net> Date: Fri, 16 Jun 2000 10:35:02 -0700 From: "Kevin Oberman" Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Date: Fri, 16 Jun 2000 11:20:49 -0400 > From: Peter Radcliffe > Sender: owner-freebsd-mobile@FreeBSD.ORG > > Some people I know are doing config like that, although most are using > > insert /usr/sbin/wicontrol -i $device -p 1 > > in case it doesn't end up being 0 for some odd reason. Thanks for the suggestions. They started me looking in the right places. I'm now using $device, which probably will never make a difference but is certainly good practice. But the real problem was probably that I needed to do the wicontrol BEFORE the pccard_ether and I was doing it after. Since pccard_ether could not complete until the card could talk, it would simply hang. Since I don't have an 802.11 net running here, I can't swear that it's working, but I suspect that it is. It would be nice to get this documented, as it's all clear to me now, but until you start to understand how the pccard stuff plays, it's not at all obvious and I'm sure that I'm not the only one who has had this problem. (I was talking to someone at the NANOG meeting Monday and Tuesday of this week who was having exactly the same problem.) I'm just not sure if it should be in wicontrol or pccardd man pages. I'd probably put it in wicontrol, but it probably belongs in the (nonexistant) man page for pccard_ether. I'd add the following to DESCRIPTION section: "If used to configure the interface when the card in inserted, the wicontrol command(s) must be executed prior to any commands that require a functional interface." Yes, this should be obvious, but it really is not. Especially if you have no idea what pccard_ether does. 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