LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Forgot IP of router (https://www.linuxquestions.org/questions/linux-networking-3/forgot-ip-of-router-189206/)

LinuxLala 06-03-2004 07:14 AM

Forgot IP of router
 
Hi all,

I connected my Actiontec Dual PC Modem to my wifi router which is a DHCP server. I was hoping that it would provide an IP to my modem, but it didn't.

The problem is that I don't remember the IP I set my modem to -- I had changed it from the default setting. How do I retrieve the IP of the modem?

:scratch:

wrat 06-03-2004 07:15 AM

you could try hooking it directly to comp and using ifconfig

okmyx 06-03-2004 07:27 AM

I've used ethereal before to find an unknown ip address.

If your lucky the device might broadcast some packets that ethereal can pickup

LuggerHouse 06-03-2004 07:38 AM

Do you mean the IP you setted in you router ???

If this is it, the DHCP part of the modem should have sent the router's ip as the gateway. So on your computer wich gets the ip from the router, execute

route
or
route print

and check for the default gateway.

If you realy meant the IP of the modem.... Well sorry about that ;)

jriis 06-03-2004 12:35 PM

Depending on the kind of router you have, you could always reset it to defaults, by pressing a button, usually on the back side of the router. In my case, a Linksys router with the password "admin"

LinuxLala 06-04-2004 12:02 PM

Thanks all for contributing. I was actually wanting to determine the IP of my mmodem connected to the router and not the router ip. I have Linksys router.

Anyways, tcpdump helps. just fire up your console and type tcpdump and that solves the problem.

Cheers and thanks.


All times are GMT -5. The time now is 03:47 AM.