from wiki
This commit is contained in:
parent
793aa41405
commit
5342271908
1 changed files with 65 additions and 0 deletions
65
pages/RaspberryPi.md
Normal file
65
pages/RaspberryPi.md
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
# Basic Raspberry Pi Set-up
|
||||
|
||||
Load the SD card
|
||||
|
||||
```
|
||||
dd if=Desktop/Pi/2013-09-25-wheezy-raspbian.img of=/dev/disk2
|
||||
```
|
||||
|
||||
Then I was able to boot the Pi from the SD card. It should DHCP, so you can find it on your DHCP server logs. Then log in
|
||||
|
||||
```
|
||||
ssh pi@pi-2
|
||||
```
|
||||
|
||||
Password is raspberry. Change it!
|
||||
|
||||
Then run
|
||||
|
||||
```
|
||||
sudo raspi-config
|
||||
```
|
||||
|
||||
and expand the root partition and reboot.
|
||||
|
||||
Then get current and add a few basic utilities
|
||||
|
||||
```
|
||||
sudo apt-get update
|
||||
sudo apt-get dist-upgrade
|
||||
apt-get install rsync
|
||||
```
|
||||
|
||||
As I like my normal environment, I brought stuff over from a Ubuntu
|
||||
|
||||
```
|
||||
rsync randy@ran.psg.com:.bashrc .
|
||||
rsync randy@ran.psg.com:.inputrc .
|
||||
rsync -r randy@ran.psg.com:.ssh
|
||||
chown -R root:root .
|
||||
```
|
||||
|
||||
Something on my Mac's dhcp server and dns was broken, so I hacked /etc/dhcp/dhclient.conf to add
|
||||
|
||||
```
|
||||
supersede domain-search "psg.com", "rg.net", "rpki.net";
|
||||
lease {
|
||||
interface eth0;
|
||||
option domain-name-servers 8.8.8.8;
|
||||
}
|
||||
```
|
||||
|
||||
There seemed to be problems with ntpd starting, so I installed ntpdate
|
||||
|
||||
```
|
||||
sudo apt-get install ntpdate
|
||||
```
|
||||
|
||||
and created an /etc/rc.conf
|
||||
|
||||
```
|
||||
DAEMONS=(!hwclock ntpdate ntpd)
|
||||
```
|
||||
|
||||
I also followed the recipe for [Enable Auto-Upgrade](./UbuntuAutoUpgrade)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue