wireless networking - How does a Station in WLAN gets list of other associated STAs with the same AP?

05
2014-04
  • Nishant

    There are many STAs(Stations) connected with a single AP. My question is how does a STA knows about other STAs that are connected to same AP. For example in Windows when we click Network icon we get list of other Computers which are connected to same AP. So basically which frames are exchanged between a STA and AP to get list of other connected computer to same AP?

  • Answers
  • Spiff

    It's the same as on a wired Ethernet LAN. There's nothing wireless-specific.

    Windows generally uses SMB browsing and NetBIOS Name Service and Link-Local Multicast Name Resolution.

    UPnP has some discovery mechanisms too, which I think involve putting a weird HTTP GET into a UDP message and multicasting it.

    The IETF standard is ZeroConf, which Apple calls Bonjour. It uses Multicast DNS (mDNS).

    Cisco devices use the Cisco Discovery Protocol (CDP).

    A protocol called Link-Layer Discovery Protocol (LLDP) has its vocal fans, but I'm not sure how widespread it is. Unlike most other discovery protocols, with LLDP you can discovery the topology (logical map) of your network, but I don't think LLDP is as good at discovering what application-level services are being offered by each device.

    Many other discovery protocols have come and gone, and many are still around, but only used by one company or product or protocol family.

    Well, to be fair and complete, I should mention that Wi-Fi Direct (the Wi-Fi Alliance's way of doing 802.11 point-to-point without an AP, as used by the Wi-Fi Alliance's "Miracast" wireless screen mirroring technology) does have a wireless-specific discovery protocol. As I recall, Wi-Fi Direct-capable devices spend some amount of time sending out special beacons and responding to special probe requests with special probe responses. Other Wi-Fi Direct-capable devices can find them by doing a channel scan much like how a normal STA finds an AP.


  • Related Question

    wireless networking - Debian: WLAN associated, but not pinging
  • themirror

    I have a brand new base install of Debian Lenny.

    iwconfig
    

    shows that I am associated with my home router over Wifi.

    dhclient wlan0
    

    gives me

    bound to 192.168.1.121
    

    But

    ping google.com
    

    gives no response, and

    ping 192.168.1.1
    

    (my router's IP) gives the response

    Destination Host Unreachable
    

    And by the way, as soon as a re-plug in my wired Ethernet, ping and everything else work.


  • Related Answers
  • YuppieNetworking

    I would guess that your dhcp server is not sending the gateway information. Check it out with the route command. You may configure it yourself just to check it out:

    route add default gw 192.168.1.1
    

    Then try to re-ping.