Just wondering if there is an application that can notify me of a new device on my wireless network (IE: home computer online, mobile phone online, home computer offline, etc) so I can easily take care of the family network and jump on problems before they appear. Is this possible with Ubuntu/wireless networks?
22 Answers
Not sure if that's what you need, but:Arpwatch is a monitoring software that looks for new activities on the network, based on broadcasts emitted by computers that connects to it.
It basically logs each new computer activity, or when a computer changes its IP address. Logs are put on the system logs, but can be sent as email notifications.
Arpwatch is included in Ubuntu's repositories, so you can install it from synatptic, or with sudo apt-get install arpwatch
To configure it, you need to edit /etc/arpwatch.confand add a line of the form :
eth0 -a -n 192.168.1.0/24 -m
where:
eth0 is your network card location
-a : makes arpwatch notify you of every new IP
-n : specifies the address and subnet that are of interest to you
192.168.1.0/24 : is your network address and subnet mask (/24 actually means 255.255.255.0)
-m : makes the report being sent to the specified email address (by default, notifications will be put in the syslog)
Now the problem is that arpwatch just logs changing events (unknown computers connecting, or existing computers changing IP). It won't warn you every time your computers are connecting :-(
You can install this applet: service discovery appletand add it to your panel, this will show you all devices which publish some information through avahi/Rendezvous/Bonjour/ZeroConf. You should see all Ubuntu devices.
But I am not sure if you will see Windows devices.