I have a 4 port router that is connected to my Cable modem. Connected to the four ports are two linux boxes running Puppy 4.1.2, one XP box, and one wireless transciever.
Earlier today we had a power failure. For some strange reason the addresses were scrambled after the power failure. The XP box, which had been at 192.168.1.103 was found at 192.168.1.101 I had to do a complete re setup of the LAN
I would like to find some software that I could invoke that could search and reveal ALL the devices connected to the router and return their addresses.
Finding addresses
-
- Posts: 196
- Joined: Mon 28 Apr 2008, 00:50
install nmap from this thread: http://www.murga-linux.com/puppy/viewto ... b4c22524ca
then use this command:
nmap -sP 192.168.1.0/24
it shoudl list all the pingable nodes on your network
then use this command:
nmap -sP 192.168.1.0/24
it shoudl list all the pingable nodes on your network
-
- Posts: 96
- Joined: Mon 05 Nov 2007, 16:47
We lose power every once in a while here.
I have dsl with a Linksys wrt54g wireless router. We use a wireless HP6180 Photosmart Printer, 3 laptops and my puppy music server.
To find all the addresses after the router reassigns them, I use this (named "router") in a console:
results:
The unamed addy is a Vonage phone.
I have dsl with a Linksys wrt54g wireless router. We use a wireless HP6180 Photosmart Printer, 3 laptops and my puppy music server.
To find all the addresses after the router reassigns them, I use this (named "router") in a console:
Code: Select all
#!/bin/sh
wget --user=whatever --password=whatever 'http://192.168.1.1/DHCPTable.asp'
grep -m 10 192 DHCPTable.asp | sed 's/<.*>//g'
Code: Select all
# router
--18:07:17-- http://192.168.1.1/DHCPTable.asp
=> `DHCPTable.asp.5'
Connecting to 192.168.1.1:80... connected.
HTTP request sent, awaiting response... 200 Ok
Length: unspecified [text/html]
[ <=> ] 4,880 --.--K/s
18:07:17 (59.27 KB/s) - `DHCPTable.asp.5' saved [4880]
'compaqlaptop','192.168.1.100','00:14:A5:64:43:28','1 days, 23:05:19','100'
,'HP943EFC','192.168.1.101','00:18:FE:94:3E:FD','1 days, 23:05:25','101'
,' ','192.168.1.102','00:1E:4C:61:05:53','23:21:58','102'
,'puppypc','192.168.1.103','00:0F:B5:EC:9B:54','23:24:44','103'
,'puppyserver','192.168.1.104','00:1E:2A:37:3D:6D','23:48:15','104'
trapster
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog