1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Check connected clients on wlan

Discussion in 'Tomato Firmware' started by anderssjoberg, Oct 31, 2011.

  1. anderssjoberg

    anderssjoberg Networkin' Nut Member

    Hi is there a way to check client connected on the wlan ??

    i want to check if client1 is connected if so then trigg a script on a linux server how can i do this. Its for a homeautomation project. I want to when i connect to my wlan to turn on my lights
     
  2. teaman

    teaman LI Guru Member

    Have you checked the Status -> Device List page (status-devices.asp)?
    Cheers!
     
  3. Mercjoe

    Mercjoe Network Guru Member

    Teaman,

    I do believe that he is looking for a way to detect when a device connectes to the router via the WLAN in order to trigger a secondary process on another machine.

    This a quite different from just knowing that is is just one.

    Anderssjoberg,

    I would look at having the laptop itself send a message to the linux computer when it connects to the router.

    One way that I could see it being done is a logon session to the linux box being initated by the laptop upon association with the AP. The linux box sees this and runs a scipt on inital log-in.
     
  4. anderssjoberg

    anderssjoberg Networkin' Nut Member

    Last thing is not possible to cuz we have smartphones too that i want to check. So is there anyone who know how i can ask my Linksysrouter if client1 is connected.

    My wife and i watched star wars yesterday and my wife asked me if i can do so that imperial march is played when she connects to the network. So the only thing i need now is a check is client1 connected on wlan. I want to use it to my homeautomation system if no clients are conencted turn off all lights.
     
  5. phuque99

    phuque99 LI Guru Member

    The command "wl assoclist" should display clients if connected. Have fun with it in your scripts.
     
  6. anderssjoberg

    anderssjoberg Networkin' Nut Member

    do i run it on the router or on my webserver
     
  7. anderssjoberg

    anderssjoberg Networkin' Nut Member

    what do i get for info when i run wl assoslist ??
     
  8. anderssjoberg

    anderssjoberg Networkin' Nut Member

    Do i get mac adress och clients connected to wifi right now or what do i get
     

Share This Page