The Raspberry Pi is a great piece of hardware. However you don't always want to hook it up to some screen and keyboard when working with it. I in fact never did since I like to do everything using SSH which is enable out of the box if you are using the raspbian distribution. So just hook it up to your router and start hacking. But what if you have no router and only you Mac?
The Raspberry Pi is configured by default to receive an IP address from a DHCP server. So you need a DHCP server.
This can be done using the sharing option in OSX. Just set it up like that, ignore the warning about your ISP, since you are not connecting to anything but you Raspberry Pi. You can also share your wifi-connection if you are at home but if you have secure enterprise wifi this option doesn't work. Once you have enabled this option just connect your mac and Raspberry Pi using an ethernet cable and THEN connect the power to the Pi.
Also note that you don't need a cross-over cable, any normal …
While I did some research on how getting this to work I saw many people trying this without success. Here is the definitive guide on how you use OpenDNS with your Fritzbox: Make sure your firmware is up-to-dateEnable telnet Login over telnet and type "cd /var/flash/", "nvi ar7.cfg"Search for overwritedns1 and overwritedns2 (they appear two times each) using the "/" key and "n" (next search result). Press "i" to get into edit mode and enter the opendns server as noted in the opendns linux guideESC brings you back to command mode. ":w" saves the file and ":q" closes the editor again.type "reboot" to restart the fritzboxRestart you networking and you browser. The OpenDNS Site now should tell you that you are using OpenDNS already. Now you can create an account, set it to dynamic DNS, add network and login to dnsomatic.Now login to fritz.box using your browser and enter the following dynamic DNS settings: Update …
n = len(identifiers) values = [.0]*n valuecount = 0
for line in process.stdout: line = line.split() values[valuecount] = line valuecount += 1
output = "" for i,j in zip(identifiers,values): j = str(j) output += (i+j+" ") print output
It is called by cacti using
python /scripts/check_digitemp.py cool air hot out
The parameters given to the script are simply labels of your choice. Just make shure they fit the number of sensors installed. Also make sure /etc/digitemp.conf exists and the cacti user (in my case www-data…