From owner-freebsd-mobile@FreeBSD.ORG Fri Jul 8 19:16:54 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A767716A41C for ; Fri, 8 Jul 2005 19:16:54 +0000 (GMT) (envelope-from oberman@es.net) Received: from postal2.es.net (postal2.es.net [198.128.3.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 774CE43D48 for ; Fri, 8 Jul 2005 19:16:54 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal2.es.net (Postal Node 2) with ESMTP (SSL) id IBA74465; Fri, 08 Jul 2005 12:16:52 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 38C3A5D08; Fri, 8 Jul 2005 12:16:53 -0700 (PDT) To: Bryan Maynard In-reply-to: Your message of "Fri, 08 Jul 2005 14:00:58 -0000." <200507081401.00929.bryan.maynard@reallm.com> Date: Fri, 08 Jul 2005 12:16:53 -0700 From: "Kevin Oberman" Message-Id: <20050708191653.38C3A5D08@ptavv.es.net> Cc: freebsd-mobile@freebsd.org Subject: Re: WPC54G assistance needed X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jul 2005 19:16:54 -0000 > From: Bryan Maynard > Date: Fri, 8 Jul 2005 14:00:58 +0000 > Sender: owner-freebsd-mobile@freebsd.org > > FYI: I got my WPC11 ver.4 owrking using ndisgen. I am still having prolems > though. . . > > It's probably just because I'm somewhat of a n00b. . . :-D My problem is: I do > not know how to bring my ndis0 interface up and select it over my on-baird > NIC. My wireless network is not ecnrypted (please don't flame me. . . I have > Xbox live - which doesn't work with and ecnrypted wireless network). > > After successfully kldloading I enter: > > laptop#ifconfig ndis0 channel 6 > laptop#ifconfig ndis0 ssid "maynards" > laptop#ifconfig ndis0 up > > and get this: > > xl0: flags=8843 mtu 1500 > options=9 > inet 192.168.1.100 netmask 0xffffff00 broadcast 192.168.1.255 > ether 00:04:76:48:93:01 > media: Ethernet autoselect (100baseTX ) > status: active > lo0: flags=8049 mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > ndis0: flags=8843 mtu 1500 > ether 00:0f:66:cf:10:7e > media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps) > status: associated > ssid maynards 1:maynards > channel 6 authmode OPEN powersavemode OFF powersavesleep 100 > rtsthreshold 2312 protmode CTS > wepmode OFF weptxkey 1 > > Two questions: > 1) is this interface ready to use? Depends on how you define "ready". It's associated with the AP, but it is not configured. You need to either have it use DHCP to get an address or manually specify one. I'm guessing that you have an AP/router that does DHCP, so this would probably be easiest to set up. Just put the following into /etc/rc.conf: ifconfig_ndis0="ssid maynards DHCP" > 2) how do I select this interface? Before bringing up the wireless interface, shut down xl0: ifconfig xl0 down -- 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