Tag Archives: clock

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.

 

Kobo mini serial port

I’m building an alarm clock that will use a kobo e-ink reader as it’s interface and display, so I’ve been trying to figure out how to interface to it.  I got a kobo mini just after christmas for £50.  It’s a linux box, and I’m actually really impressed by the hackability of it.  It’s very open, easy to get into it (even for a noob like me), and has got busybox and python on it.

Most of the information I needed I’ve got from Mobileread’s Kobo Touch hacking wiki which gives a good guide as to how to get root access.

Prompted by soapy frog’s reports I also cracked up the mini:

Kobo mini mystery optical components

and soldered in some pin headers, then wired in a 3.3v TTL Serial-to-USB adapter board (with an FTDI chip on it), and was delighted to find that I could then PuTTY to that virtual com port (115200 8 N 1) and get root terminal access.

USB to serial adapter being used to connect to the linux console on my kobo mini.