• IP address list of the devices on the LAN

    From Dave@21:1/5 to All on Wed Apr 22 18:43:57 2020
    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

    --

    Dave Triffid

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Alan Adams@21:1/5 to Dave on Wed Apr 22 19:33:17 2020
    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

    Thanks
    Dave



    --
    Alan Adams, from Northamptonshire
    alan@adamshome.org.uk
    http://www.nckc.org.uk/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Tim Hill@21:1/5 to All on Wed Apr 22 19:16:21 2020
    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.

    --
    Tim Hill
    --------
    Find an event to attend at:
    http://timil.com/riscos/calendar/
    Mimemap and other stuff:
    http://timil.com/riscos/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dave@21:1/5 to Tim Hill on Wed Apr 22 20:41:07 2020
    In article <58654f4de6tim@invalid.org.uk>,
    Tim Hill <tim@invalid.org.uk> wrote:
    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.

    Indeed.
    But the OP for whom I'm asking doesn't know the addresses to ping.

    I have a Windows app installed "WiFi Network Monitor" which gives me all
    the info, but the OP was after a RISC OS solution.

    Thanks for the thought Tim.

    Dave

    --

    Dave Triffid

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dave@21:1/5 to Alan Adams on Wed Apr 22 20:38:42 2020
    In article <b0da506558.Alan.Adams@ArmX6.adamshome.org.uk>,
    Alan Adams <alan@adamshome.org.uk> wrote:
    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.

    By that I mean all the things attached to the network that are switched On.

    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)

    VRPC-DL RISC OS 6.20
    ATM. I have 5 network connected devices switched on, all have manually set addresses.

    *arp -a just gives a reply of:

    "route-sysctl-estimate"



    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.

    All RISC OS devices have manually set addresses.

    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

    Yes I've just logged into the router (Win side) where it gives me a list
    of attached and active addresses.

    I'm asking this question on behalf of another person.

    I have a Windows app installed "WiFi Network Monitor" which gives me all
    the info, but the OP was after a RISC OS solution.

    Thanks for the above info Alan.

    Dave

    --

    Dave Triffid

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Young@21:1/5 to Dave on Thu Apr 23 08:27:05 2020
    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.

    --
    Peter Young (zfc Hg) and family
    Prestbury, Cheltenham, Glos. GL52, England
    http://pnyoung.orpheusweb.co.uk
    pnyoung@ormail.co.uk

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dave@21:1/5 to Peter Young on Thu Apr 23 09:29:23 2020
    In article <dbb2976558.pnyoung@pnyoung.ormail.co.uk>,
    Peter Young <pnyoung@ormail.co.uk> wrote:
    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.

    Hi Peter, hope you are well. :-)

    Indeed...
    I mentioned "Fing" and "WiFi Network monitor" to the OP. who I believe has
    now installed the "WiFi Network monitor" on his PC.

    The full URL if anyone else is interested...

    "https://securityxploded.com/wifi-network-monitor.php?utm_source=wifinetworkmonitor&amp;utm_medium=software&amp;utm_campaign=visit_wifinetworkmonitor&amp;utm_term=visit_wifinetworkmonitor"

    Without the start and end " quotes.

    Or if you can't get that lot to work.
    Just use https://securityxploded.com and scroll down 3/4 of the products display page... It's on the LH side.

    Dave

    Of course neither of the above resolve the, how can it be done in RISC OS?

    D.

    --

    Dave Triffid

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Theo@21:1/5 to Dave on Thu Apr 23 14:28:10 2020
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Doug Webb@21:1/5 to Dave on Thu Apr 23 16:42:39 2020
    In message <5865c37220dave@triffid.co.uk>
    Dave <dave@triffid.co.uk> wrote:


    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.

    Yep , RISC OS machine and opening task window and doing *arp -a works here
    but it doesn't show everything unless they try to contact the ARMX6.

    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.

    So say the ARMX6 has a Ip address of 192.168.0.128 and your Android phone
    is attached to the network then opening up a Browser window on the phone
    and type in 192.168.0.128 in to the URL entry bar.

    Then issue the *arp -a command and it shows the Ip address of the phone
    now.

    Not ideal and will not work for devices that have no means to try and
    contact the ARMX6.

    Hope that helps

    Doug


    --
    Experience the future using ARM Technology - ARMBook,BeagleBoard -xM, PandaBoard,Raspberry Pi,iMX6/ARMX6,IGEPv5 & Titanium powered by RISC OS
    5.27.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dave@21:1/5 to Theo on Thu Apr 23 16:24:56 2020
    In article <wrB*6xgQx@news.chiark.greenend.org.uk>,
    Theo <theom+news@chiark.greenend.org.uk> wrote:
    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

    Mmnnn!
    I just powered up my old (25 years) 'real' RISC OS SARPC and had a go with
    *arp -a and indeed it does list a few of the active things.

    In my case it doesn't matter because I do such things from the Win side,
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Doug Webb@21:1/5 to Doug Webb on Thu Apr 23 17:13:45 2020
    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

    --
    Experience the future using ARM Technology - ARMBook,BeagleBoard -xM, PandaBoard,Raspberry Pi,iMX6/ARMX6,IGEPv5 & Titanium powered by RISC OS
    5.27.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Alan Adams@21:1/5 to Doug Webb on Thu Apr 23 19:27:24 2020
    In message <4beac76558.dougjwebb@btinternet.com>
    Doug Webb <doug.j.webb@btinternet.com> wrote:

    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.

    just beware that some Windows versions don't reply to a ping to the
    brioadcast address.

    Doug



    --
    Alan Adams, from Northamptonshire
    alan@adamshome.org.uk
    http://www.nckc.org.uk/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dave@21:1/5 to Dave on Thu Apr 23 19:43:50 2020
    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

    --

    Dave Triffid

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Doug Webb@21:1/5 to Dave on Thu Apr 23 20:07:19 2020
    In message <5865d5a7dedave@triffid.co.uk>
    Dave <dave@triffid.co.uk> wrote:



    It's apparently an iMX6 running RISC OS 5.25 whatever that might be.

    Aka ARMX6 if purchased from RComp



    --
    Experience the future using ARM Technology - ARMBook,BeagleBoard -xM, PandaBoard,Raspberry Pi,iMX6/ARMX6,IGEPv5 & Titanium powered by RISC OS
    5.27.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Alan Adams@21:1/5 to Dave on Thu Apr 23 20:39:56 2020
    In message <5865d5a7dedave@triffid.co.uk>
    Dave <dave@triffid.co.uk> wrote:

    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.

    The ARMX6 is supplied by R-Comp. They use a tweaked version of 5.24, which
    they give the number 5.25. It is a native RISC OS machine.

    arp -a works on everything - RISC OS from at least as far back as 3.1,
    Windows, Linux...

    In the case of VRPC you woulsd issue the command within Windows, using
    CMD, rather than in RISC OS.

    Dave



    --
    Alan Adams, from Northamptonshire
    alan@adamshome.org.uk
    http://www.nckc.org.uk/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)