nutty icon indicating copy to clipboard operation
nutty copied to clipboard

Show the latest IP assigned to a device - historical IPs can be a context menu item

Open Bananas-Are-Yellow opened this issue 5 years ago • 15 comments

Devices are listed as Last Seen = Today and then again as Last Seen = n days ago.

Also, I have edited the Device Name and Device Manufacturer fields for some devices, but when they are listed twice, the Last Seen = Today entry shows Not Available instead of my edited text. The duplicate item with Last Seen = n days ago shows the edited fields correctly.

Bananas-Are-Yellow avatar Apr 05 '19 16:04 Bananas-Are-Yellow

Many thanks for taking the time to open this issue. This might be a bug in how the devices are identified. Can you please attach a screen shot showing all the details of the devices to help me debug the issue?

babluboy avatar Apr 06 '19 03:04 babluboy

Also could you try right click and forget device on the duplicate ones to see if that resolves the issue?

babluboy avatar Apr 06 '19 03:04 babluboy

Here is a screenshot. I've sorted by Host MAC so you can see the duplicates.

image

Not every item is duplicated. I think duplicates occur when the IP address has changed.

Where there is a duplicate (e.g. the first two items), the Last Seen = Today item has lost the edited text (e.g. Device Name = Black Squeezebox).

If I use Forget device on the second item (Last Seen = 6 days ago) and then refresh, that old item has gone, but I've lost my edits since the new item does not have my edits.

Bananas-Are-Yellow avatar Apr 06 '19 09:04 Bananas-Are-Yellow

many thanks for the details - so probably the reason for duplication is ok as the IP of the device is changing. However, I will check the update routine (Forget Device) to see the parameters being used for the updation and why it is loosing the saved updates. If the update issue is resolved then the deletion of the duplicate device will not be a problem anymore

babluboy avatar Apr 06 '19 15:04 babluboy

I don't think you should show a device more than once. I'm not interested in knowing what IP address it used to have a few days ago, just what it has now.

Bananas-Are-Yellow avatar Apr 06 '19 15:04 Bananas-Are-Yellow

Also (this may be related), if I take my laptop to another network and use Nutty to show devices on the network, I don't want to see all the devices from my previous network listed.

Bananas-Are-Yellow avatar Apr 18 '19 22:04 Bananas-Are-Yellow

@Bananas-Are-Yellow Thats a very valid point, maybe I tag each device to the network on which it was found and then using the search on the top you can filter the device with the network name.

babluboy avatar May 03 '19 07:05 babluboy

@Bananas-Are-Yellow On a separate note - are you getting an alert when a new device is found. In the preference you need to set a monitoring interval at whci nutty scans the network in the background (cron job) and alerts via the common pop up notification if a new device is found.

babluboy avatar May 03 '19 07:05 babluboy

I've not used the background monitoring facility so far. I've turned it on just now to see what it does. Do I need to leave the application window open, or will this work in the background if I close it?

Bananas-Are-Yellow avatar May 03 '19 07:05 Bananas-Are-Yellow

It should work in the background, so you can close down the nutty application. Basically a scheduled job executes in the background after a fixed interval and searches for any new device which has not been discovered and registered in the nutty database of devices.

Another way to test this is to forget a device in nutty and then see if you get a notification when that device is spotted on the network on the scheduled background job.

There were some changes in Juno on notifications and the way they are handled, so I was wondering if it is working on other distros.

babluboy avatar May 03 '19 07:05 babluboy

I don't think you should show a device more than once. I'm not interested in knowing what IP address it used to have a few days ago, just what it has now.

I now have some devices listed many times:

image

The device has had many IP addresses over the past month, and they are all listed. But I don't want to see what IP addresses a device used to have (how is that useful to know?), just what it currently has.

How can I filter to see only devices that are online?

By the way, sorting by the Status column doesn't seem to work.

Bananas-Are-Yellow avatar May 03 '19 07:05 Bananas-Are-Yellow

It should work in the background, so you can close down the nutty application. Basically a scheduled job executes in the background after a fixed interval and searches for any new device which has not been discovered and registered in the nutty database of devices.

Another way to test this is to forget a device in nutty and then see if you get a notification when that device is spotted on the network on the scheduled background job.

There were some changes in Juno on notifications and the way they are handled, so I was wondering if it is working on other distros.

I "forgot" a device and closed the application window. I've not had any notifications so far.

I'm on Pop!_OS 19.04 (based on Ubuntu 19.04) which uses GNOME 3.32.

Bananas-Are-Yellow avatar May 03 '19 07:05 Bananas-Are-Yellow

I don't think you should show a device more than once. I'm not interested in knowing what IP address it used to have a few days ago, just what it has now.

I now have some devices listed many times:

image

The device has had many IP addresses over the past month, and they are all listed. But I don't want to see what IP addresses a device used to have (how is that useful to know?), just what it currently has.

How can I filter to see only devices that are online?

By the way, sorting by the Status column doesn't seem to work.

Thanks for this - maybe a better way is to show the latest IP against the MAC and if an user wants to see historical IP assignment on the MAC, it can be a context menu item.

babluboy avatar May 09 '19 16:05 babluboy

It should work in the background, so you can close down the nutty application. Basically a scheduled job executes in the background after a fixed interval and searches for any new device which has not been discovered and registered in the nutty database of devices. Another way to test this is to forget a device in nutty and then see if you get a notification when that device is spotted on the network on the scheduled background job. There were some changes in Juno on notifications and the way they are handled, so I was wondering if it is working on other distros.

I "forgot" a device and closed the application window. I've not had any notifications so far.

I'm on Pop!_OS 19.04 (based on Ubuntu 19.04) which uses GNOME 3.32.

Thanks - I will check if the notification works on elementary. Will raise a different issue to track this

babluboy avatar May 09 '19 16:05 babluboy

It should work in the background, so you can close down the nutty application. Basically a scheduled job executes in the background after a fixed interval and searches for any new device which has not been discovered and registered in the nutty database of devices. Another way to test this is to forget a device in nutty and then see if you get a notification when that device is spotted on the network on the scheduled background job. There were some changes in Juno on notifications and the way they are handled, so I was wondering if it is working on other distros.

I "forgot" a device and closed the application window. I've not had any notifications so far. I'm on Pop!_OS 19.04 (based on Ubuntu 19.04) which uses GNOME 3.32.

Thanks - I will check if the notification works on elementary. Will raise a different issue to track this

#52 Raised for this

babluboy avatar May 09 '19 16:05 babluboy