Jump to content

Recommended Posts

Posted (edited)

Greetings all,

I was currious as to the best way to scan the IP addresses of devices on my network. I plan on installing Arch Linux ARM on the Rasberry Pi. I have read in the wiki that you can perform the full installation via Secure Shell and would connect to the default hostname for Arch ARM:

ssh -p 22 alarmpi@192.168.0.XXX"

 

With 22 being the default port for SSH hopefully that will work, but in the intram, what will be the best way via my laptop to scan for the IP address dhcp gives to the R-Pi upon connecting the ethernet cable? I know it will be in the 192.168.0.XXX range.

 

Is there a recommended "Network scanner" in the arch repos that is suggested to use?

 

Hopeing to give this a run this weekend and read that once you turn the R-Pi on with the ARch ARM Image on the sd card, that everything can be done via secure shell so that is definitely the route I want to go. Don't feel like hooking up a monitor, mouse, and keyboard. Maybe later on if I add a gui but for now, just want to be able to get a working Arch Linux install up and running on it.

 

Thanks as always for your suggestions, guidance, and education :)

 

Ian

Edited by ichase
securitybreach
Posted
nmap -A -F -n -T4 192.168.1.1-254

 

Also, ipscan from AUR:

 

aur/ipscan 3.0_beta6-2 (65)
Angry IP Scanner (or simply ipscan) is an open-source and cross-platform network scanner designed to be fast and simple to use. It scans IP addresses and ports as well as has many other features.

Posted

Thanks Josh. Got to LOVE that Command Line ;)

  • Like 1
Posted

nmap works fine, however it can be slow.

 

ipscan is my tool of choice for a windows box, however it is flagged as possible malware by many virus scanners (it is not).

 

The easiest way is probably to access the admin page for your router and see what IP addresses are in use. The first three digits of the mac address for each device can be used to determine the manufacturer.

 

http://standards.ieee.org/cgi-bin/ouisearch?B8-27-EB shows that B8-27-EB (from my R-Pi) belongs to the Raspberry Pi Foundation.

  • Like 1
Posted

What the *nix equivalent of

for %t in (0 1 256) do ping -a -n 1 192.168.1.%t

securitybreach
Posted

Yeah I like IpScan as well but I bought the Official Nmap manual a year or so ago so I enjoy trying out the examples: http://nmap.org/book/

V.T. Eric Layton
Posted

What the *nix equivalent of

for %t in (0 1 256) do ping -a -n 1 192.168.1.%t

 

The above pings all addresses available on the 192.168.1 network. It would probably be easier just to access your router's Admin page via your browser to see all your network IPs. They will be listed regardless of whether the devices are powered up. Whereas, the above commands that Josh and others mention require the devices to all be powered up and in operating mode.

  • Like 1
securitybreach
Posted

The above pings all addresses available on the 192.168.1 network. It would probably be easier just to access your router's Admin page via your browser to see all your network IPs. They will be listed regardless of whether the devices are powered up. Whereas, the above commands that Josh and others mention require the devices to all be powered up and in operating mode.

 

Indeed :thumbsup:

 

Odd enough the forum will not let me Like your post:

You have reached your quota of positive votes for the day
  • Like 1
V.T. Eric Layton
Posted

HAHA! :hysterical: You are just likin' too much stuff, man. It's after midnight. Maybe you can like again now. ;)

securitybreach
Posted

HAHA! :hysterical: You are just likin' too much stuff, man. It's after midnight. Maybe you can like again now. ;)

 

Well it is only 23:23 here B)

 

It works now :)

  • Like 1
V.T. Eric Layton
Posted

Ah... that's right. You're an hour behind me.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...