Using Ubuntu as a Hotspot access point is a very seamless setup, though there are a number of steps. However I can't find any reference to how to view the connections... the number of connections, the IP and MAC addresses.
I'm also trying to identify a way to manage the connections. I would like to control who connects and check the bandwidth they are using, and other normal details that are available from wifi setups.
There might be an occasion to want to ban or limit connections to certain MAC addresses.
Does anyone have any information these details?
After creating the Hotspot, one of the computers connecting to it has this private IP: 10.42.0.18
. Connecting to http://10.42.0.1
brings up the Ubuntu default Webpage... the same as http://localhost
.
The command netstat -n | less
doesn't show any references to a 10.42.0
network. It does show an entry (raw
), which I haven't seen in normal netstat
outputs.
netstat -n | less
output
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 36 192.168.16.24:22 192.168.16.26:41458 ESTABLISHED
tcp 0 0 192.168.15.136:55190 72.43.238.234:1723 ESTABLISHED
raw 0 0 192.168.15.136:47 72.43.238.234:* 1
Active UNIX domain sockets (w/o servers)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ] DGRAM 32734 /run/user/1001/systemd/notify
unix 2 [ ] DGRAM 10603 /run/systemd/journal/syslog
unix 7 [ ] DGRAM 10605 /run/systemd/journal/socket
There's no change in the raw
entry no matter how many connections are made to the Hotspot.
I found this script I have been using to monitor my
hotspot
connection, though it doesn't control them in any way atleast I know whose connected at any time. I usewatch
command to see changes that occurred in myhotspot
.