sudo bash rpi-update # upgrade the firmware apt-get -y dist-upgrade # update the version of the OS apt-get -y update # update the package catalog apt-get -y upgrade # actually do the upgrade
To the file: /etc/network/interfaces
Add:
auto eth0:1 iface eth0:1 inet static address 192.168.2.21 netmask 255.255.255.0 broadcast 192.168.2.255 network 192.168.2.0 post-up route add default gw 192.168.2.1 eth0
Set the time zone:
dpkg-reconfigure tzdata
To re-run the config program run
sudo raspi-config
... now turn on Interfaces / i2c
Follow these directions from SheepWalk Electronics
Install:
apt-get install i2c-tools owfs ow-shell
If you run this:
i2cdetect -y 1
you should see an "18" in the grid.
Now, edit /etc/owfs.conf and change
... comment out server: FAKE = DS18S20,DS2405 ... and add server: device=/dev/i2c-1 ... and restart with sudo service owserver restart
If you run this:
owdir
... you should see the bus things and any connected sensors.
4,9,14,19,24,29,34,39,44,49,54,59 * * * * /home/datare/collect ; /home/datare/send
mkdir /var/spool/datare chown datare /var/spool/datare
This page is in category RaspberryPiConfig