Difference between revisions of "Raspberry - Getting Started"
From Teknologisk videncenter
m (→Installation) |
m (→Updater firmware) |
||
Line 9: | Line 9: | ||
rpi-update | rpi-update | ||
reboot | reboot | ||
+ | </source> | ||
+ | ==Enable IPv6== | ||
+ | <source lang=bash> | ||
+ | # enable it on the fly | ||
+ | modprobe ipv6 | ||
+ | #Enable it on the next reboot | ||
+ | echo ipv6 >> /etc/modules | ||
+ | </source> | ||
+ | ==Lav et script der viser temperatur og clock== | ||
+ | nano /usr/bin/stats | ||
+ | <source lang=bash> | ||
+ | #!/bin/bash | ||
+ | |||
+ | /opt/vc/bin/vcgencmd measure_temp | ||
+ | /opt/vc/bin/vcgencmd measure_clock arm | ||
+ | </source> | ||
+ | chmod +x /usr/bin/stats | ||
+ | ==Installer div nice to have programmer== | ||
+ | <source lang=bash> | ||
+ | apt-get install iperf nmon bmon htop screen | ||
</source> | </source> |
Revision as of 15:22, 30 November 2012
Her vil der komme nogle små fifs til hvordan man starter med at lege med Raspberry Pi'en
Contents
Installation
Find en distribution og smide den på et SD kort.
Updater firmware
apt-get update
apt-get install git-core
wget http://goo.gl/1BOfJ -O /usr/bin/rpi-update && sudo chmod +x /usr/bin/rpi-update
rpi-update
reboot
Enable IPv6
# enable it on the fly
modprobe ipv6
#Enable it on the next reboot
echo ipv6 >> /etc/modules
Lav et script der viser temperatur og clock
nano /usr/bin/stats
#!/bin/bash
/opt/vc/bin/vcgencmd measure_temp
/opt/vc/bin/vcgencmd measure_clock arm
chmod +x /usr/bin/stats
Installer div nice to have programmer
apt-get install iperf nmon bmon htop screen