Well I got this Raspberry pi for my birthday so I have to set it up now....
As we can read all over the net you can land on the moon with it, use it as a server, proxy or media center etc. +++++
So I thought I would replace my Boxee Box with it. Boxee Box seems to use FOSS and then close it down and implement DRM.
I think they are violating the license for the Linux and XBMC that they use in there so I will not use it anymore
And this Raspberry pi thing looks promising so I thought I'd make my own box to replace Boxee: As Jeremy Clarkson would have put it:
How hard can it be?
Well I want the latest and the best and the fastest of course, so that rules out Debian Debian is a solid Volvo but I am going for the Porsche:
I need Archlinux ARM the so called alarmpi.
You get the image from here and it is called something like archlinux-hf-2013-07-22.img you can then dd it on to your SD card like this:
Code: Select all
dd bs=1M if=/path/to/archlinux-hf-2013-07-22.img of=/dev/sdX
This will transfer alarmpi to your SD card and let you boot your Raspberry pi.
You can log in with:
Userid: root
Password: root
That is it - piece of cake right? Jeremy must be right this is not hard.....
You need to partition your SD card or rather stretch the partition so that you can use all of it as described here
You probably want some swap memory too..
So I have the OS on my Raspberry pi and want to start it - well that requires a keyboard, a mouse (if you use one), a network and a HDMI display.
That latter part is a PITA so I needed to log into my box with ssh and forward X11 so I could start programs on the Raspberry pi via SSH.
And that was...a bit hard.
Arch Arm comes with openSSH server preconfigured so it is no problem to log into the box with:
Code: Select all
ssh root@alarmpi
From there you can update your installation and install stuff from the repos like inxi and glances and a Window manager and xorg...
Nobody can claim that Arch Arm is bloated - that is for sure. But the bare necessities are there and they are working right out of the box.
But to forward X11 you first need to install xorg and xorg-server and xorg-server-utils and xorg-init.
......
So having taken care of that I need to forward X11 in /etc/ssh/sshd_config on my little box.
These have to be un-commented and altered like this:
Code: Select all
AllowTcpForwarding yes
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes
It toke me quite some time and errors to figure that out.
So now I can log into my Raspberry pi and start the midori browser or gedit - or whatever - from my main box.
It makes it easier and more flexible to work with.