Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a wireless AP+switch which I configured years ago, before moving, and haven't used for a while. Now I want to reconfigure it for my new network, but have no idea what I set as its IP address(It was probably something 192.168.xx.yy). What is the best way for discovering its IP? A script to spam the whole address space?

share|improve this question
1  
Does it have a reset button so you can just switch it back to the factory defaults? –  Chris S Mar 24 '10 at 12:48
add comment

4 Answers

up vote 6 down vote accepted

If you can't remember the IP/subnet, you're likely not going to remember the security/authentication settings and passphrase either, so I'd just reset it to factory default. There's likely a reset button on the back and some combination of power cycle/holding it down that you can find by googling the AP model for a manual.

share|improve this answer
    
+1 - nice observation. –  TomTom Mar 24 '10 at 12:46
add comment

The nmap command can quickly ping any address range. For example,

nmap -sP 192.168.0.0-254
share|improve this answer
    
nearly -1... not so fast if you dont remember the subnet ;) –  TomTom Mar 24 '10 at 12:45
    
nmap -sP 192.168.0-254.0-254 –  kmarsh Mar 25 '10 at 13:11
add comment

By "spam", do you mean "scan"? If so, then yes that's one way to do it. You can use something like Angry IP Scanner to scan your subnet for devices with ip addresses and then try them one by one.

share|improve this answer
add comment

Can't you simply connect your PC to the AP/Switch with a direct cable and obtain the IP from your IP settings of this PC (Gateway)?

share|improve this answer
    
Switch has dhcp disabled. –  Atilla Filiz Mar 24 '10 at 17:50
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.