blog.zapster.cc

random notes...

Identifying DHCP clients

Last Saturday I finally got my RaspberryPi (model B). Right from the beginning it was clear that I will be using at least two operating system. One with OpenELEC as a home entertainment system (I don’t really like this term). The other one with Raspbian for development stuff. For both of them the first act was to connect via SSH to see what is going on. Of course, they have assigned different hostnames as they serve a completely different purpose. While the first connection to openelec (by the way, dns search suffix FTW!) worked like expected, the following error message occurred when I tried to connect to raspbian:

1
2
3
4
Warning: the ECDSA host key for 'raspbian' differs from the key for the IP address '192.168.11.62'
Offending key for IP in /home/zapster/.ssh/known_hosts:57
Matching host key in /home/zapster/.ssh/known_hosts:59
Are you sure you want to continue connecting (yes/no)? yes

DNS search suffix and dhclient

For a long time I did not really care about DNS search suffixes. Suddenly, a few months ago, I realized that it would be nice if I could use the same URL (bookmarks, etc.) to reach my laptop, no matter which local network I am currently using.