googlecreativelab / coder

A simple way to make web stuff on Raspberry Pi
http://goo.gl/coder
Apache License 2.0
2.42k stars 275 forks source link

Can't find coder.local #2

Closed veromary closed 10 years ago

veromary commented 10 years ago

Midori can't find coder.local.

Do we need to install Chrome? Will that work on a 256M RAM raspi?

dideler commented 10 years ago

From what I read, I think you access Coder from a different computer on your network. The Raspberry Pi running Coder acts as a server.

From the Coder page:

You connect to Coder via a web browser on another computer which is on the same network. To access your Coder, just wait a minute for it to boot, then visit http://coder.local on your computer.

WebReflection commented 10 years ago

I can confirm it works from another machine in the same network if the RPi has been plugged via wired/cable and the router is set to work with 192.168.* inet.

From the RPi itself you can simply try localhost or 127.0.0.1 ... that should to it (but I haven't test yet)

remember to use http://coder.local (should redirect to https with a broken certificate)

veromary commented 10 years ago

You're right! I didn't expect it to work like that. Now http://coder.local works on my netbook connected to the same router. That's very neat.

But http://localhost/, http://localhost/coder.local and http://127.0.0.1 do not work on the raspberry pi

veromary commented 10 years ago

My netbook seems to be the only one to find it. Is there something locking the raspberry pi into talking to only one other computer on the network? I've tried a laptop running Win XP, another with Win 8, a desktop running Ubuntu and an android tablet and smartphone and none of them can find coder.local.

jmstriegel commented 10 years ago

As long as the device is on the same network as your laptop, you should be able to connect. Note that on Windows, you need to install Bonjour Print services first (http://support.apple.com/kb/DL999) before the coder.local url will work. On Ubuntu, make sure you have avahi/zeroconf installed (I think it's the avahi-daemon package).

Alternatively, if you don't want to install Bonjour, or if you're on a device that doesn't support mDNS, you can still connect via numeric IP instead of going to coder.local. That's a little tricky to discover, so Id recommend the Bonjour route.

WebReflection commented 10 years ago

not so tricky if you connect your pi to a screen since the IP will be shown right away but there is basically everything you need to start the PI in a static IP way. One cool idea would be to implement same Cubian does, a morse code at boot strap through the PI leds that tells you which IP address the DHCP assigned :D

ongco commented 10 years ago

I also use Windows machine to access it and still have this same problem even though I installed Bonjour Print services. I start the debug with connect the device to a screen to enable it boot into desktop mode using raspi-config. After some research, I managed to resolve the problem through configure my ASUS router to enable mDNS support - WLAN -> enable IGMP snooping and LAN -> IPTV -> Enable multicast routing (IGMP proxy) and Enable efficient multicast forwarding (IGMP Snooping), after a reboot of router, the coder.local url is working.

jmstriegel commented 10 years ago

Thanks ongco. Sorry this was such a hassle with your router, but glad you were able to get it resolved.