Re: list all the devices connected to the router
Kamaraju S Kusumanchi wrote: I connect my PCs to internet via Verizon DSL router. When I go to 192.168.1.1 in a browser (say firefox), I am able to see all the computers connected to this router. However, from command line is there any way to probe for the list of IP addresses of all the machines connected to the router? thanks Try this : arpscan -l Bruno -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4db692c5.1070...@cyberoso.com
Re: list all the devices connected to the router
bruno wrote: Kamaraju S Kusumanchi wrote: I connect my PCs to internet via Verizon DSL router. When I go to 192.168.1.1 in a browser (say firefox), I am able to see all the computers connected to this router. However, from command line is there any way to probe for the list of IP addresses of all the machines connected to the router? thanks Try this : arpscan -l $arp-scan -l pcap_lookupdev: no suitable device found -- Kamaraju S Kusumanchi http://malayamaarutham.blogspot.com/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ip6c3c$ad7$1...@dough.gmane.org
Re: list all the devices connected to the router
Kamaraju S Kusumanchi wrote: bruno wrote: Kamaraju S Kusumanchi wrote: I connect my PCs to internet via Verizon DSL router. When I go to 192.168.1.1 in a browser (say firefox), I am able to see all the computers connected to this router. However, from command line is there any way to probe for the list of IP addresses of all the machines connected to the router? thanks Try this : arpscan -l $arp-scan -l pcap_lookupdev: no suitable device found It sure means you must be root to execute it Bruno -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4db6ba17.1080...@cyberoso.com
Re: list all the devices connected to the router
On Sun, Apr 24, 2011 at 7:47 PM, Kamaraju S Kusumanchi raju.mailingli...@gmail.com wrote: shawn wilson wrote: sense no one has mentioned it yet - nmap -sP 192.168.1.* Thanks for the nmap command. This lists some of the machines but not all. For example, when I look at 192.168.1.1 in a web browser I see that the router is connected to 192.168.1.36 . However, it does not show up in the nmap output. $nmap -sP 192.168.1.* Starting Nmap 5.00 ( http://nmap.org ) at 2011-04-24 19:44 EDT Host dslrouter.westell.com (192.168.1.1) is up (0.0011s latency). Host D76PB4B1.westell.com (192.168.1.21) is up (0.00049s latency). Nmap done: 256 IP addresses (2 hosts up) scanned in 2.45 seconds The 192.168.1.36 is my vonage phone connection. I am unable to ping it either. However, my phone works so the connection must be alive. if you can't ping it, i doubt anything other than snmp or cacti (or whatever network monitoring tool might suite your preference) will help you much. chances are that the phone does what my tv (and mac mini on default configuration) does - goes to sleep until it needs to do something. Any other ideas? yeah, rtfm: -sS/sT/sA/sW/sM: TCP SYN/Connect()/ACK/Window/Maimon scans -sU: UDP Scan -sN/sF/sX: TCP Null, FIN, and Xmas scans other than that, nmap.org and insecure.org have tons of docs. you can probably even find someone asking about scanning your phone. there is also a talk that the lead dev did about 'scanning the internet' you can probably google for (or is probably linked to on their page) that was given at defcon a few years ago. you can also fire up wireshark and see what your phone is doing and figure out how to handle it from that point. if it wakes up when you get a call, you can probably write some simple lua plugin to find it (i don't think it's that hard though). if you get stuck, check #nmap on the freenode irc. it's not very active but pretty helpful folks stay in there. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/BANLkTikQ_cu1Zdfc+17WoOdyh=lybf4...@mail.gmail.com
Re: list all the devices connected to the router
Dne, 25. 04. 2011 01:47:01 je Kamaraju S Kusumanchi napisal(a): Any other ideas? thanks Well, here's the one-liner I use (a crontab entry actually): for ip in $(seq 1 254); do ping -c 1 192.168.1.$ip/dev/null; [ $? -eq 0 ] echo 192.168.1.$ip || : ; done Found it on the Internet a while ago. Hope it works on your system too. -- Cheerio, Klistvud http://bufferoverflow.tiddlyspot.com Certifiable Loonix User #481801 Please reply to the list, not to me. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1303719511.14909.1@compax
Re: list all the devices connected to the router
On Apr 25, 2011 4:15 AM, Klistvud quotati...@aliceadsl.fr wrote: Dne, 25. 04. 2011 01:47:01 je Kamaraju S Kusumanchi napisal(a): Any other ideas? thanks Well, here's the one-liner I use (a crontab entry actually): for ip in $(seq 1 254); do ping -c 1 192.168.1.$ip/dev/null; [ $? -eq 0 ] echo 192.168.1.$ip || : ; done As with what I posted, reset your arp cache first. Though, you might want to exclude any local addresses from netstat so that you don't mess anything up in the process. Also it would probably be fun to reset an arp cache while connected to an l2tp vpn. ... though if you can easily set the stale time to something short like a second and then put it back, that might have the same end result you want with less work. Though, this is just something to do for fun or in special cases. DON'T DO THIS ON NORMAL X86 DEBIAN INSTALLS. There's just no reason. Do you use a tooth pick to spread butter on your toast? Why, it might be fun or something...? Again, the right tool for the job - nmap, hping, scapy all come to mind. If you want to monitor your network, nagios, cacti, etc. Than again, maybe you're the type that wants to win the guiness record for 'fastest man in a baby stroller' ok, actually that sounds fun. Maybe that's why I've done this before :)
list all the devices connected to the router
I connect my PCs to internet via Verizon DSL router. When I go to 192.168.1.1 in a browser (say firefox), I am able to see all the computers connected to this router. However, from command line is there any way to probe for the list of IP addresses of all the machines connected to the router? thanks -- Kamaraju S Kusumanchi http://malayamaarutham.blogspot.com/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ip1kg7$juc$1...@dough.gmane.org
Re: list all the devices connected to the router
On Sun, Apr 24, 2011 at 12:52 PM, Kamaraju S Kusumanchi raju.mailingli...@gmail.com wrote: I connect my PCs to internet via Verizon DSL router. When I go to 192.168.1.1 in a browser (say firefox), I am able to see all the computers connected to this router. However, from command line is there any way to probe for the list of IP addresses of all the machines connected to the router? thanks You could just portmap your LAN's range (i.e. 192.168.1.0-255) for active IP's. Remember that your router will show up w/ an IP in use as well as each computer you know about on your LAN, so if you have more IP's in use then computers, start hunting *and secure your wireless*!!! -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon?
Re: list all the devices connected to the router
On Sun, 24 Apr 2011 12:52:22 -0400, Kamaraju S Kusumanchi wrote: I connect my PCs to internet via Verizon DSL router. When I go to 192.168.1.1 in a browser (say firefox), I am able to see all the computers connected to this router. However, from command line is there any way to probe for the list of IP addresses of all the machines connected to the router? There are some tools that can help you with that, like netdiscover. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2011.04.24.17.03...@gmail.com
Re: list all the devices connected to the router
On Mon, Apr 25, 2011 at 12:52 AM, Kamaraju S Kusumanchi raju.mailingli...@gmail.com wrote: I connect my PCs to internet via Verizon DSL router. When I go to 192.168.1.1 in a browser (say firefox), I am able to see all the computers connected to this router. However, from command line is there any way to probe for the list of IP addresses of all the machines connected to the router? can u ssh / telnet to the router. there might be native utilities that u can run from the router's shell. for example, with dd-wrt firmware on supported routers, just run ifconfig. Cheers, Tao -- http://huangtao.me/ http://www.google.com/profiles/UniIsland School of Mathematical Science Peking University -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/banlktikmvrwe7qxikpbnguqfwt8ctjb...@mail.gmail.com
RE: list all the devices connected to the router
On Sun, Apr 24, 2011 at 1:13 PM, Huang, Tao deb...@huangtao.me wrote: On Mon, Apr 25, 2011 at 12:52 AM, Kamaraju S Kusumanchi raju.mailingli...@gmail.com wrote: I connect my PCs to internet via Verizon DSL router. When I go to 192.168.1.1 in a browser (say firefox), I am able to see all the computers connected to this router. However, from command line is there any way to probe for the list of IP addresses of all the machines connected to the router? can u ssh / telnet to the router. there might be native utilities that u can run from the router's shell. for example, with dd-wrt firmware on supported routers, just run ifconfig. sense no one has mentioned it yet - nmap -sP 192.168.1.* will get you what you want. now, a nice little trick i used to do on semi embedded systems that i didn't want to install anything on (emc darp, and vmware esx): seq 0 254 | while read f; do ping -c 1 $f; done; arp you might want to clear your arp cache first though: ip neigh flush all ... though, something tells me you're not going to be doing any of this because nmap is the right tool for the job :) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/banlktimt7rr2ousxw7-hbgck7bd4qwb...@mail.gmail.com
Re: list all the devices connected to the router
seq 0 254 | while read f; do ping -c 1 $f; done; arp g, that should be: seq 0 254 | while read f; do ping -c 1 192.168.1.$f; done; arp -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/BANLkTimmsyYxm5PsP=9yaelrokg3dvr...@mail.gmail.com
Re: list all the devices connected to the router
Kamaraju S Kusumanchi writes: However, from command line is there any way to probe for the list of IP addresses of all the machines connected to the router? man arp -- John Hasler -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87d3kba7kg@thumper.dhh.gt.org
Re: list all the devices connected to the router
On Apr 24, 2011 1:39 PM, John Hasler jhas...@debian.org wrote: Kamaraju S Kusumanchi writes: However, from command line is there any way to probe for the list of IP addresses of all the machines connected to the router? man arp Ya know, there is a reason I winged all addresses on a /24 net before running arp and why I mentioned clearing the arp cache before doing this. :) Again, nmap is the right tool for the job.
Re: list all the devices connected to the router
I have got to stop doing this: Ya know, there is a reason I pinged all addresses on a /24 net before running arp and why I mentioned clearing the arp cache before doing this. :) s/winged/pinged/ Again, nmap is the right tool for the job.
RE: list all the devices connected to the router
shawn wilson wrote: sense no one has mentioned it yet - nmap -sP 192.168.1.* Thanks for the nmap command. This lists some of the machines but not all. For example, when I look at 192.168.1.1 in a web browser I see that the router is connected to 192.168.1.36 . However, it does not show up in the nmap output. $nmap -sP 192.168.1.* Starting Nmap 5.00 ( http://nmap.org ) at 2011-04-24 19:44 EDT Host dslrouter.westell.com (192.168.1.1) is up (0.0011s latency). Host D76PB4B1.westell.com (192.168.1.21) is up (0.00049s latency). Nmap done: 256 IP addresses (2 hosts up) scanned in 2.45 seconds The 192.168.1.36 is my vonage phone connection. I am unable to ping it either. However, my phone works so the connection must be alive. Any other ideas? thanks -- Kamaraju S Kusumanchi http://malayamaarutham.blogspot.com/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ip2cpm$1ge$1...@dough.gmane.org