Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Apr 2004 15:58:06 -0700 (PDT)
From:      wpaul@FreeBSD.ORG (Bill Paul)
To:        thorolf@grid.einherjar.de (Thorolf)
Cc:        freebsd-hardware@freebsd.org
Subject:   Re: Prism GT / Netgear WG511 (fwd)
Message-ID:  <20040419225806.AD12B16A4CF@hub.freebsd.org>
In-Reply-To: <20040419133922.B585@thorolf.host> from Thorolf at "Apr 19, 2004 01:42:20 pm"

next in thread | previous in thread | raw e-mail | index | archive | help


>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
=============================================================================
              <adamw> you're just BEGGING to face the moose
=============================================================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040419225806.AD12B16A4CF>