Prism GT / Netgear WG511 (fwd)

Bill Paul wpaul at FreeBSD.ORG
Mon Apr 19 15:58:06 PDT 2004



>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 at windriver.com | Wind River Systems
=============================================================================
              <adamw> you're just BEGGING to face the moose
=============================================================================


More information about the freebsd-hardware mailing list