Edit: Changing the OP to be somewhat more useful than the original.
This is a very small box, pretty much a just soft mounted hard drive with a plastic shell around it. There is a pcb plugged into the hard drive, the hardware is a 1 GHz Applied Micro APM82181, 256 MB ram. A gigabit nic is the only interface, but what more could we ask for
It runs Debian out of the box, comes with ssh access. It starts off running samba, twonky, apache (for a user interface) and with a fairly nasty security hole related to DLNA in some way.
Aptitude (package manager) works out of the box. I've edited /etc/apt/sources.list to the following, removing references to squeeze & experimental. This is intended to decrease the chance of apt-get bricking the device. Lenny is obsolete now, and apt-get upgrade hasn't killed it with the following sources.list so far.
Thanks to aptitude, I have rtorrent, rsnapshot and mediatomb installed and behaving themselves. Samba is installed already but slightly unusually set up, shares are defined in a separate file as below. The UI is a bit limited (I wanted read only), so I've set up my one share here.
I didn't get on well with twonky, so have removed the service using the somewhat irreversible
It's still installed, as apt-get wasn't involved in installing it in the first place. Apache runs a UI which I'm not particularly interested in, but might want in the future. So I've taken a less extreme approach there, renaming as follows:
Crosscompiler up and running as detailed here, so I have modules. loop and fuse so far, netfilter planned. Encfs works exactly as detailed here once loop.ko is installed. Encrypted partitions with luks also works, detailed somewhat further down this page. I can't think of a clever way to remount it after a reboot without storing a keyfile on the device, so probably only of academic interest.
I think that's it so far. I need to somewhat refine my backup of the original OS before playing around much more. In due time it's possible this will evolve into a howto for a £150, 10W headless home server
This is a very small box, pretty much a just soft mounted hard drive with a plastic shell around it. There is a pcb plugged into the hard drive, the hardware is a 1 GHz Applied Micro APM82181, 256 MB ram. A gigabit nic is the only interface, but what more could we ask for
It runs Debian out of the box, comes with ssh access. It starts off running samba, twonky, apache (for a user interface) and with a fairly nasty security hole related to DLNA in some way.
Aptitude (package manager) works out of the box. I've edited /etc/apt/sources.list to the following, removing references to squeeze & experimental. This is intended to decrease the chance of apt-get bricking the device. Lenny is obsolete now, and apt-get upgrade hasn't killed it with the following sources.list so far.
Code:
MyBookLive:~# cat /etc/apt/sources.list
#deb http://ftp.us.debian.org/debian/ lenny main
#deb-src http://ftp.us.debian.org/debian/ lenny main
deb http://mirror.ox.ac.uk/debian/ lenny main non-free contrib
deb-src http://mirror.ox.ac.uk/debian/ lenny main non-free contrib
deb http://security.debian.org lenny/updates main
deb-src http://security.debian.org/ lenny/updates main
#deb http://ftp.us.debian.org/debian/ squeeze main
#deb http://ftp.us.debian.org/debian/ sid main
#deb http://ftp.us.debian.org/debian/ experimental main
Thanks to aptitude, I have rtorrent, rsnapshot and mediatomb installed and behaving themselves. Samba is installed already but slightly unusually set up, shares are defined in a separate file as below. The UI is a bit limited (I wanted read only), so I've set up my one share here.
Code:
MyBookLive:~# cat /etc/samba/overall_share
## BEGIN ## sharename = Public #
[Public]
path = /DataVolume/shares/Public
comment = Public Share
public = yes
browseable = yes
writable = yes
guest ok = yes
map read only = no
## END ##
## BEGIN ## sharename = Data #
[Data]
path = /DataVolume/Data/
comment =
public = yes
browseable = yes
writable = no
guest ok = yes
map read only = no
## END ##
I didn't get on well with twonky, so have removed the service using the somewhat irreversible
Code:
update-rc.d -f twonky remove
Code:
ls rc*.d/* | grep apache
rc0.d/off.K87apache2
rc1.d/off.K60apache2
rc2.d/off.S11apache2
rc5.d/off.S91apache2
rc6.d/off.K88apache2
Crosscompiler up and running as detailed here, so I have modules. loop and fuse so far, netfilter planned. Encfs works exactly as detailed here once loop.ko is installed. Encrypted partitions with luks also works, detailed somewhat further down this page. I can't think of a clever way to remount it after a reboot without storing a keyfile on the device, so probably only of academic interest.
I think that's it so far. I need to somewhat refine my backup of the original OS before playing around much more. In due time it's possible this will evolve into a howto for a £150, 10W headless home server
Last edited: