From owner-freebsd-hardware@FreeBSD.ORG Mon Apr 19 15:58:06 2004 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 618) id AD12B16A4CF; Mon, 19 Apr 2004 15:58:06 -0700 (PDT) In-Reply-To: <20040419133922.B585@thorolf.host> from Thorolf at "Apr 19, 2004 01:42:20 pm" To: thorolf@grid.einherjar.de (Thorolf) Date: Mon, 19 Apr 2004 15:58:06 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20040419225806.AD12B16A4CF@hub.freebsd.org> From: wpaul@FreeBSD.ORG (Bill Paul) cc: freebsd-hardware@freebsd.org Subject: Re: Prism GT / Netgear WG511 (fwd) X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2004 22:58:06 -0000 >Hello list, >I have new Netgear WG511 pcmcia WLANcard, >I have made ndis driver, but this card doesn't work. >Did someone know, how can I bring this card to work? [...] >thorolf# ifconfig ndis0 channel 10 ssid "my_net" Ok, stop right there. You have failed to provide important information in your post. Please listen carefully: you can have either a BSS network (with an access point) or an ad-hoc network (bunch of computers talking in a stand alone cell). You did not specify what kind of net you are trying to use, and it is impossible for anyone to just guess. Next time you ask a question, remember that little things which you think are basic have a big impact on your problems, and you make life hard for people when you don't bother to mention them. Setting the channel for a BSS network has no meaning. It only matters for ad-hoc networks. If you are trying to connect to an access point, DO NOT TRY FIDDLING WITH THE CHANNEL SETTING. Just leave it alone. For a BSS network (with an access point), do the following: # ifconfig ndis0 ssid "my_net" media autoselect For an ad-hoc network (bunch of computers in stand-alone cell): # ifconfig ndis0 ssid "my_net" mediaopt adhoc Only set the channel for ad-hoc if the default channel setting does not work: # ifconfig ndis0 ssid "my_net" mediaopt adhoc channel 10 You should also scan for nearby networks to make sure the net you want to connect to is in range: # ifconfig ndis0 up # wicontrol -i ndis0 -l If the SSID scan shows you a list of nets, then the driver is working correctly. -Bill -- ============================================================================= -Bill Paul (510) 749-2329 | Senior Engineer, Master of Unix-Fu wpaul@windriver.com | Wind River Systems ============================================================================= you're just BEGGING to face the moose =============================================================================