LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   unknown IP address of device (https://www.linuxquestions.org/questions/linux-software-2/unknown-ip-address-of-device-829720/)

qrange 09-01-2010 07:56 AM

unknown IP address of device
 
what would be the simplest way to find out device IP address?
I don't know its factory set address, so my plan is to connect laptop directly to it with ethernet.
it should respond to ping.

AlucardZero 09-01-2010 08:33 AM

Ask your DCHP server what leases it has given out?

schneidz 09-01-2010 08:36 AM

what device ?

are you able to get a shell ?

Code:

ifconfig

qrange 09-01-2010 08:58 AM

well, no, its not a router or computer but a specialized hardware.
it has ethernet port and when i connect it to switch, for eg., the LEDs start blinking.

schneidz 09-01-2010 09:04 AM

Code:

i=1
while [ $i -le 255 ]
do
 ping -c 5 192.168.1.$i > ping.out
 i=`expr $i + 1`
done


kirukan 09-01-2010 09:05 AM

What is the brand name? just search by using brand name in google hopefully you can get the default ip address
Ex:- DLink broadband wireless router having default ip 192.168.1.1 as like search it in google or the product authorized website

michaelk 09-01-2010 09:07 AM

Also
nmap -sP 192.168.0.0/24

Chance IP address and netmask to match your network. This will list all IP address found.

I would assume the manual for the device would list its default IP address.

jefro 09-01-2010 04:18 PM

If I remember right. I do that with a port server sometimes. I find the mac (usually written on it) and assign an ip via arp static then I can access the web based interface. This assumes you have some way to then open settings either web based or command line. If you then set the ip from config you have to remember to remove the static arp.


All times are GMT -5. The time now is 09:55 PM.