victagayun
Posts: 127
Joined: Sun Apr 15, 2012 4:01 pm
Contact: Website

headless pi cannot find in the network after router reboot

Mon Nov 05, 2012 2:09 am

hello guys,

i am running pi headless and i dont have any monitor with me to see what's goin on in the pi.
the problem is when i power off then on the router,i cannot find the pi in the network.i am using Fing (Android and iOS app) to find the ip of the pi if ever the raspi changes ip address,but unfortunately i cannot find it.
all i have to do is reboot the pi.
have u ever experienced the problem? or maybe you can try and see if u experience the same problem.

Joe Schmoe
Posts: 4277
Joined: Sun Jan 15, 2012 1:11 pm

Re: headless pi cannot find in the network after router rebo

Mon Nov 05, 2012 2:11 am

Can you try "nmap" ?
And some folks need to stop being fanboys and see the forest behind the trees.

(One of the best lines I've seen on this board lately)

victagayun
Posts: 127
Joined: Sun Apr 15, 2012 4:01 pm
Contact: Website

Re: headless pi cannot find in the network after router rebo

Mon Nov 05, 2012 2:14 am

hello joe,
i dont have any monitor with me,sorry...
all i can do is to reboot. but sometimes after reboot,sdcard is corrupted...

User avatar
Vindicator
Posts: 314
Joined: Sat Sep 17, 2011 11:10 pm
Location: Susanville Ca USA
Contact: Website

Re: headless pi cannot find in the network after router rebo

Mon Nov 05, 2012 2:29 am

sounds like you need to set a static IP or on some routers you have the option to reserve an IP for a specific MAC address, If you are rebooting without one of these options your routers DHCP will possibly assign a new IP every time you reboot.

Also you should not reboot from SSH session (especially if you have not set a static IP or reserved an IP at your router)you should give it a shutdown or halt command and then power off the raspi when there is only a red light left lit.

Code: Select all

sudo shutdown -h now
This is the command I use to shutdown my raspi to limit corruption of the SD card.
I then unplug the power supply not the micro USB connection on the board to save wear and tear on the micro USB connector.

Your router should be able to generate you a routing table that you can look up the IP of your raspi, It will usually have the host name of raspberrypi and should show you the IP and MAC address of the device.
If you are more worried about ,spelling, punctuation or grammar you have probably already missed the point so please just move on.

Return to “Troubleshooting”