mirror of
https://github.com/f00b4r0/uspot.git
synced 2026-04-25 22:25:51 +03:00
[GH-ISSUE #31] uspot clients only showing Authenticated devices #18
Labels
No labels
bug
enhancement
invalid
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/uspot#18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @PWJW on GitHub (Jun 23, 2025).
Original GitHub issue: https://github.com/f00b4r0/uspot/issues/31
When running the
uspot clientscommand, it only appears to return devices that have fully authenticated, not devices that are in the pre-auth (walled gardened) state. Is this expected or a bug?Steps:
uspot clientsyields an empty json array:uspot clientsthen shows it:Thanks
@PWJW commented on GitHub (Jun 25, 2025):
Let me know if you need any further testing on this one :)
@f00b4r0 commented on GitHub (Jun 25, 2025):
No thanks, I'll take a look when I get a chance. As I said bin/uspot is low prio :)
@PWJW commented on GitHub (Jun 25, 2025):
Appreciate that. For context, it's really useful when you are a wireless network provider offering guest services to customers. We pull this info remotely and show the connected (authed/unauthed clients) on a web interface for our customers so they can see live data.
@f00b4r0 commented on GitHub (Jun 28, 2025):
Ok, the binary is definitely not designed for that purpose, I'll think about this. One of the issues is that "unauth clients" is a pretty loose group: it may include e.g. devices that were just "passing by".
Anyway, testing #28 and confirming it works is much more important: you haven't confirmed that it does following the last changes so I don't know if I correctly addressed the problem you reported? Thanks
@f00b4r0 commented on GitHub (Jul 7, 2025):
So I took another look at this: if the goal as I understand it is to keep track of (and be able to list) clients which have loaded the portal (seen the splash page) but not yet clicked on anything, this is going to require a non-trivial rewrite of how uspot currently operates and that's fairly low prio for me at this point. I'll keep this issue open in the meantime.
@nemesifier commented on GitHub (Jul 17, 2025):
Iwinfo/hostapd (depending if it's the interface is normal AP/sta or a mesh/adhoc interface) can already return the list of connected wifi stations / peers, there's also ubus modules for this, we use it in OpenWISP:
github.com/openwisp/openwrt-openwisp-monitoring@4998b0a6a5/openwisp-monitoring/files/sbin/netjson-monitoring.lua (L102-L109)This means that after getting the full list of connected stations, one could subtract the authenticated clients and hence get the list of unauthenticated clients, without adding more complexity here in uspot, which is good for maintainability.