Tag Archives: pi

Accessing raspberry pi by name rather than by IP address

I’m using a virgin media superhub that does DHCP, but doesn’t have any kind of DNS stuff in it.  So I can ssh to my pi using it’s IP address, which is inconvenient because it makes me go and look the address up in the router.  For my application (the alarm clock), both devices (the pi and the kobo) need to be able to find each other, or at least the kobo needs to be able to find the pi to register itself.

I’m guessing there’s smarter ways of doing this, but until I am schooled, I’m working on these lines:

http://www.raspberrypi.org/phpBB3/viewtopic.php?f=27&t=34620

http://cymplecy.wordpress.com/2012/08/09/auto-install-a-simple-samba-setup/

So the pi is samba-able now.  I guess samba uses netbios, and that’s the enabler for hostname resolution.

So now I can hit raspberrypi from my windows machine.  However, I suspect, I also need to netbiosify the kobo, and I guess that won’t be as easy.

Put Pronterface on pi.

Get VNC working: http://gettingstartedwithraspberrypi.tumblr.com/post/24142374137/setting-up-a-vnc-server

Install pronterface: http://entropyprojects.blogspot.co.uk/2012/07/reprap-printing-from-raspberry-pi.html

Instead of copying the files from github manually, install GIT with sudo apt-get install git then do git clone https://github.com/kliment/Printrun.git to get the files.  Skills.