Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
If you know in what subnet it is in, you could (with a script maybe) try trough all the IPs - about two and a half hundred at maximum. Probably you'll hit the address sooner; if the address wasn't set completely randomly, try starting at the beginning and the end of the address space.
And if you are connected and send packets trough all the devices and trace their route, shouldn't that reveal the IP or am I missing something?
Go to the WRTP54G via browser, probably 192.168.1.1 and check the connected clients status page. Should reveal the WRT54GL.
If you're connected through wifi, just do: traceroute www.google.com
If you know in what subnet it is in, you could (with a script maybe) try trough all the IPs - about two and a half hundred at maximum. Probably you'll hit the address sooner; if the address wasn't set completely randomly, try starting at the beginning and the end of the address space.
This is another point that's confusing me.
The first router's IP 192.168.15.1 with 249 addresses starting at 192.168.15.100. But I can access it using 192.168.15.1 or 192.168.2.14 (the SMC is 192.168.2.1)
The three machines on the bridge are 192.168.15.101, .102. and .103
So the bridge ought to be within the .100 to .249 range?
Quote:
And if you are connected and send packets trough all the devices and trace their route, shouldn't that reveal the IP or am I missing something?
That's what I thought but running traceroute against the router (which is of course, on the other side of the firewall) show it's IP as the first hop but doesn't show the firewall at all.
Last edited by XavierOnassis; 02-13-2008 at 09:53 AM.
Go to the WRTP54G via browser, probably 192.168.1.1 and check the connected clients status page. Should reveal the WRT54GL.
If you're connected through wifi, just do: traceroute www.google.com
Traceroute times out on the first hop:
1 * * *
the second hop is the address of the firewall then it ignores the first router then - out to the WAN.
The router is 192.168.15.1 and the SMC is 192.168.2.1 - I don't get why the first router isn't shown.
If you have boxes connected to the wifi router a "route -n" on one of them should show the gateway.
Cut off power to one router at a time and see what route and ping gives you.
If you have boxes connected to the wifi router a "route -n" on one of them should show the gateway.
Cut off power to one router at a time and see what route and ping gives you.
Yeah, it's showing the gateway - the first router - but not the bridge.
I've been meaning to get around to learning about bash scripting - this looks like a good time to do it.
I can't quite imagine what the script would do... ping each possible IP?
Ping should do it unless you've dropped icmp on the bridge.
Might be as easy to just reset the device to factory settings which should set it to 192.168.1.1. Should have a microswitch in a hole somewhere. You would of course have to set it up again.
Why not just connect only the bridge to your box and nmap or ping an IP range to find it, or can't you lose the wifi momentarily for that?
If you disconnect the router-bridge wire, "route -n" on a connected box should show it as gateway, not the router.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.