Journal FortKnox's Journal: Serious Sysadmin Help Needed 38
OK, I have a delimma. My Linux box's keyboard port doesn't work. This isn't a problem, cause I'll just ssh in if I need something.
Well, power went out and roadrunner decided to flip the IP around. Now I have no idea what my new IP is.
Here's the layout. I have a cablemodem which is being put into a hub. From the hub I have my linux box attached and a router attached. On the other side of the router is my two windows machines (only allowed 2 IPs, so my windows boxes share the router's IP). Any clue as to how I can figure out the new IP of my linux box without actually touching the box itself?
Heh... I even have an older box that -can- take the place of the linux box, but haven't set it up with all the stuff it needs.... Looks like I better get it ready....
Well, power went out and roadrunner decided to flip the IP around. Now I have no idea what my new IP is.
Here's the layout. I have a cablemodem which is being put into a hub. From the hub I have my linux box attached and a router attached. On the other side of the router is my two windows machines (only allowed 2 IPs, so my windows boxes share the router's IP). Any clue as to how I can figure out the new IP of my linux box without actually touching the box itself?
Heh... I even have an older box that -can- take the place of the linux box, but haven't set it up with all the stuff it needs.... Looks like I better get it ready....
USB (Score:2)
also, could you use tracert from the windows box to see the ip of the linux box?
Re:USB (Score:2)
tracert: Old DOS hacker trick. Love that utility. Also useful for figuring out why your nice LPB status suddenly went to 800ms.
Try this (Score:2)
1) Remove line from hub to cable modem.
2) ping 255.255.255.255, or alternaltively, the broadcast address assigned to your router.
3) Both the Linux box and the router should respond - take the address that is NOT the router.
However, I would ask why you don't either a) find out why the keyboard does not work or b) plug a USB keyboard in.
Old School. (Score:2)
You do have a serial cable and null modem adapter don't you?
one word: nmap (Score:2)
Re:one word: nmap (Score:2)
well (Score:2)
Oh... I know. Just sniff all traffic onthe hub. Any traffic that isn't going to your router is goingto your Linux box. The cable modem providers usually don't send traffic down your line unless it's for one of your IPs.
Re:well (Score:2)
How do I sniff packets?
Re:well (Score:2)
There are a number of sniffer programs. My favorite is Ethereal. www.ethereal.com [ethereal.com]
In theory, wowbaggers's idea won't work: (Score:2)
Only one problem with that scenario. Most OSes & network appliances no longer reply to ICMP echos over the network broadcast address due to the possibility of smurf attacks. A recent cisco router will not respond to a ICMP echo over broadcast (they aren't supposed to at least
Re:In theory, wowbaggers's idea won't work: (Score:2)
Re:In theory, wowbaggers's idea won't work: (Score:2)
Re:In theory, wowbaggers's idea won't work: (Score:2)
Although I'm a webcoder, I'm very light in the hardware know-how. How do I calculate the IPs in my subnet?
Re:In theory, wowbaggers's idea won't work: (Score:2)
If you still want to figure out how many _POSSIBLE_ IP's are in your subnet, take the last octet from your subnet mask subrat it from 255 and subtract 1 more. For example, lets pretend the netmask is 240, subracted from 255 is 15 subtract 1 more is 14 available hosts. I imagine you will have a lot of potential hosts. The only way to know
Re:In theory, wowbaggers's idea won't work: (Score:2)
Except that modern OSes & network appliances won't respond to a ICMP echo request directed at the broadcast address, due to the fact that it opens the door for smurf attacks.
Re:In theory, wowbaggers's idea won't work: (Score:2)
I was taught the binary way in cisco too. It's still important to know how and why the subnet works the way it does, that's just a nifty shortcut I figured out last week sometime.
Re:In theory, wowbaggers's idea won't work: (Score:2)
Find the class of your address by looking up in which range it falls in the table (top left). Put the subnet mask in the bottom section, and the top right section will tell you the number of IP addresses you've been allowed.
1 way (Score:2)
-Ab
Re:1 way (Score:2)
Re:1 way (Score:2)
-Ab
Re:1 way (Score:2)
Re:1 way (Score:2)
Link to ethereal is in the article.
NTP: network timing protocol. It's the protocol that keeps your computer clock from gaining or lossing time. Every so often (depending on settings, usually twice a day) it sends out a ping request to a time server. The server sends back the time and your machine sets it self to thaata time (with adjustments for the ping packet travel time).
yet another way would be to hack y
Re:1 way (Score:2)
Re:1 way (Score:2)
Your current router IP is 24.209.202.243
Your Linux box is 24.209.202.51
Just curious to see if my skillz are sstill 133t
-Ab
Re:1 way (Score:2)
another way, arp-poisioning (Score:2)
Only because no one else has mentioned it (Score:1)
this time give the Linux box a fixed IP....
oh or replace it with an XServe
Re:Only because no one else has mentioned it (Score:2)
IP address (Score:2)
Scottie answer... (Score:2)
Did it work? (Score:1)
Okay, at least *I* am.
I really had to laugh at Abm0raz's idea with the mouse. Heh. I've done that. What a pain in the ASS. But it works. I had my two best desktop boxen die last month, and one of them lost both PS/2 ports. Want me to email you my USB keyboard?
Incidentally, this is one reason I generally leave root logged in on a tty on each *nix box at home. Another is if I'm MIA during extended power outage, I can guide the little lady throug
Re:Did it work? (Score:2)
No, I tried a buncha options. When I unplug my cablemodem, nothing seems to respond, though I don't know how to 'broadcast a ping' across the network.
Musta gotten lost in the admin jargon (as I said, I'm a software developer, not an admin).
So any more help is much appreciated
Re:Did it work? (Score:1)
I'm hoping this is accurate:
The only idea I've got would be to ping addresses close to the address assigned to the router and hope you have an address that's on the same subnet.
The ping utility Penguin Follower mentioned above worked well fo
Ouch. (Score:2)
Method 1:
1) Take one of your Windows boxes off of the LAN.
2) Give it an IP of 192.168.123.1
3) Take down your Linux box and open it up.
4) Read the MAC address off of the NIC, if you don't already know it. That's a set of 12 hexadecimal digits.
5) Boot it back up, still on your ISP's connection.
6) Once it's online, plug it into a hub with the previously selected Windows box, and run the following command from Windows:
arp -s 192.168.123.2 [insert Linux MAC address here]
ssh into 1
Re:Ouch. (Score:2)
call your isp (Score:1)
Re:call your isp (Score:2)
Re:call your isp (Score:2)
Thanks bunches