Problems finding RaspberryPi on home network

Hello,

I'm having problems accessing my Pi via my home network.

I've found its IP address in the Home Network on my router and it's named 'RaspberryPi'. I have tried pasting this IP address in to a number of browsers and also pasting the IP address http://192.168.1.98/emoncms but I keep getting a 'cannot connect' message each time.

The LEDs on the pi are flashing aside from the SD card one (ACT) which flashes green on boot up but not after that. I've checked the SD card on my computer and it looks fine.

 

I've tried re-booting the pi and tried different ports on the routers but succuess.

Any suggestions?

Robert Wall's picture

Re: Problems finding RaspberryPi on home network

The syntax

http://192.168.1.98/emoncms/input/post?json={power:200}&apikey=[MYAPIKEY]

works on my WAMP and Firefox browser. I don't have a RPi so sorry I can't help any more.

john.b's picture

Re: Problems finding RaspberryPi on home network

Try just http://192.168.1.98 first; you should get the Apache default index page that says 'It works'.  If so then at least you know the pi server is working and the problem is with the emoncms setup.

On a Windows box the host name you see in the router probably wont work until you add a line in your host file.

matt-carbon-coop's picture

Re: Problems finding RaspberryPi on home network

You could try to 'ping 192.168.1.98' , that would tell you if you pi was up at that address. If it's not able to connect check the dhcp list on your home router again (sometimes things move). If you have no joy, the next step is probably to plug in a monitor to your pi and see what it's saying.

lowwintersun's picture

Re: Problems finding RaspberryPi on home network

It's weird, none of the above work despite the fact the pi is clearly visible on my router home network....

...probably as Matt suggests next stage is attach a screen and see what's actually going on with the pi.

Thanks for the suggestions guys!

glyn.hudson's picture

Re: Problems finding RaspberryPi on home network

Ping will tell you if the pi is working or not. I use an app called Fing on my Android phone to scan the local network and view the IP's of attached devices. It's a bit quicker than loggin into the router. If you're using the pre-built emoncms SD card for the pi the host name is set so you should just be able to browse to http://emoncmspi instead of messing around with IP addresses. 

lowwintersun's picture

Re: Problems finding RaspberryPi on home network

Thanks Glyn, I've been able to logon to the pi now via Fing and an SSH client on my Android so I can see what's going on with the pi.

The message on the pi when logging in says:

"NOTICE: the software on this Raspberry Pi has not been fully configured. Please run 'sudo raspi-config'

I am using an SD card  with the image downloaded from the OpenEnergyMonitor website rather than a pre-built emoncms SD card.

How should I communicate with the pi to see whether the emoncms software is working and diagnose why I can't login to the local dashboard...

Jonathan

lowwintersun's picture

Re: Problems finding RaspberryPi on home network

It works! Basically on the recommendation of Matt, I downloaded the latest emoncms SD card image and installed it on to my SD card.

Thanks for all your help!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.