Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 26 Jul 2014, 11:34
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Finding addresses
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
Jim Isbell

Joined: 05 Nov 2007
Posts: 96

PostPosted: Wed 18 Mar 2009, 21:43    Post subject:  Finding addresses
Subject description: Want software or function to display ALL addresses on my router
 

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.
Back to top
View user's profile Send private message 
jamesjeffries2

Joined: 27 Apr 2008
Posts: 196

PostPosted: Thu 19 Mar 2009, 07:24    Post subject:  

install nmap from this thread: http://www.murga-linux.com/puppy/viewtopic.php?t=32141&sid=a384ad1c0afb56220c4adfb4c22524ca

then use this command:

nmap -sP 192.168.1.0/24

it shoudl list all the pingable nodes on your network
Back to top
View user's profile Send private message 
Jim Isbell

Joined: 05 Nov 2007
Posts: 96

PostPosted: Thu 19 Mar 2009, 10:53    Post subject:  

That worked perfectly.

Thanks for the link and information.
Back to top
View user's profile Send private message 
trapster


Joined: 28 Nov 2005
Posts: 1999
Location: Maine, USA

PostPosted: Fri 20 Mar 2009, 18:14    Post subject:  

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:

Code:
#!/bin/sh

wget --user=whatever --password=whatever 'http://192.168.1.1/DHCPTable.asp'
grep -m 10 192 DHCPTable.asp | sed 's/<.*>//g'


results:
Code:
 # 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'
,'&nbsp;','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'


The unamed addy is a Vonage phone.

_________________
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Puppeee4.31 + 1.0, Puppy4.10 + Lupu52
Currently using Slacko AND lupu52 w/ fluxbox
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0514s ][ Queries: 11 (0.0077s) ][ GZIP on ]