G'day folks.
In RISC OS is there an app or CLI command that will list all the active devices on the LAN?
Thanks
Dave
G'day folks.
In RISC OS is there an app or CLI command that will list all the active devices on the LAN?
In article <58654c5692dave@triffid.co.uk>, Dave <dave@triffid.co.uk>
wrote:
G'day folks.
In RISC OS is there an app or CLI command that will list all the active devices on the LAN?
You can try pinging every device with "*ping n1.n2.n3.255" (where n1, n2,
n3 is your local network) but more often than not, most devices ignore
it, so you have to ping things individually with "ping n1.n2.n3.n4" where n1-n4 are the device's address, obviously. I keep a TaskObey file for
each device in a folder called Ping.
In message <58654c5692dave@triffid.co.uk>
Dave <dave@triffid.co.uk> wrote:
G'day folks.
In RISC OS is there an app or CLI command that will list all the active devices on the LAN?
Depends on what you mean by active.
You can list the ones that have been in communication with "you" in the
last 15 minutes with:
*arp -a
router (192.168.0.99) at 8:bd:43:a5:b5:70
? (192.168.0.255) at (incomplete)
In this case, no other computer except one that was sending a broadcast, indicated by the .255 on the address.
If I get some other systems active:
*arp -a
rpi-5 (192.168.0.15) at b8:27:eb:de:20:6
rpi-6 (192.168.0.16) at b8:27:eb:c4:b6:a1
rpi-7 (192.168.0.17) at b8:27:eb:cf:d4:a
rpi-8 (192.168.0.18) at b8:27:eb:e6:1e:76
rpi-9 (192.168.0.19) at b8:27:eb:3e:f4:16
router (192.168.0.99) at 8:bd:43:a5:b5:70
? (192.168.0.255) at (incomplete)
arp is Address Resolution Protocol, and the arp cache is used to cut
down on network traffic. Without it, every time a computer wanted to
send data, it would have to first ask the router for the address of the destination.
If you DHCP for all your computers, then going to the router, logging in
as the admin account, and checking the DHCP clients will give a fuller picture.
You can also ask the router for a list of attached devices, This uses
similar information to arp on a client, but as every device has to
contact the router before sending to a new address, the router has
fuller information even on devices where the router didn't supply DHCP information.
Alan
G'day folks.
In RISC OS is there an app or CLI command that will list all the active devices on the LAN?
On 22 Apr 2020 Dave <dave@triffid.co.uk> wrote:
G'day folks.
In RISC OS is there an app or CLI command that will list all the active devices on the LAN?
Understood that at RISC OS solution is asked for. However, if the person concerned has a smartphone then Fing will find the IP addresses and MAC addresses all the addresses.
Best wishes,
Peter.
Of course neither of the above resolve the, how can it be done in RISC OS?
but the OP. IIRC. is using something called an ARMX6 or some such (R-Comp) with RISC OS 5.25 and I have no idea what the machine is or how it works.
If the machine is a native RISC OS one or does it have some other
underlying OS like Windows or Linux?
I wonder if *arp -a works on his machine... I musts ask.
Dave <dave@triffid.co.uk> wrote:
Of course neither of the above resolve the, how can it be done in RISC
OS?
Alan explained how to do it in RISC OS. But the request was for VRPC,
which isn't RISC OS as far as networking is concerned - it just hands
over requests to the Windows network stack. That why you need a Windows solution - I don't think VRPC exposes the necessary information to write anything to do it specially for VRPC from RISC OS.
Theo
Something like a Windows/Linux machine will show eventually but an android
or Apple phone may not.
One way around this is to go to each device, assuming they have a user interface, attached to the network and try and contact the Ip address of
the ARMX6.
The later can be found in !Boot>Configuration.Network>Interface>Status.
In message <7311c56558.dougjwebb@btinternet.com>
Doug Webb <doug.j.webb@btinternet.com> wrote:
[snip]
Something like a Windows/Linux machine will show eventually but an android >> or Apple phone may not.
One way around this is to go to each device, assuming they have a user
interface, attached to the network and try and contact the Ip address of
the ARMX6.
The later can be found in !Boot>Configuration.Network>Interface>Status.
Here is a better solution first issue a ping command to the Routers Ip address from the ARMX6 i.e its gateway address.
As per the above again found via !Boot>......
So if a routers gateway is 192.168.0.254 you ping that and then issue an
*arp -a and you will find a fuller list of items that are attached to the network.
If the gateway doesn't do it then issue a ping to the broadcast address
say in the above example 192.168.0.255.
Hope that helps a bit more.
Doug
I wonder if *arp -a works on his machine... I musts ask.
It's apparently an iMX6 running RISC OS 5.25 whatever that might be.
In article <5865c37220dave@triffid.co.uk>,
Dave <dave@triffid.co.uk> wrote:
[Snippy]
I wonder if *arp -a works on his machine... I musts ask.
I did communicate with the OP...
It's apparently an iMX6 running RISC OS 5.25 whatever that might be. [Something between the lines] I know what RISC OS 5.2n is. ;-)
Anyway, apparently *arp -a works okay on that machine.
Dave
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 73:35:36 |
Calls: | 6,657 |
Calls today: | 3 |
Files: | 12,203 |
Messages: | 5,332,384 |
Posted today: | 1 |