The prepared iso image should work on most single processor i686 systems with at least 256 MB or RAM. All NIC cards supported in the kernel are available.
1. Download the latest image from
ftp://opensource.dyc.edu/pub/tor-ramdisk/images/tor.uclibc.i686.iso
Burn tor.uclibc.i686.iso onto a CD and boot. You'll get an ash shell.
2. Set your network information
ifconfig eth0 xxx.xxx.xxx.xxx
route add default gw yyy.yyy.yyy.yyy
Test your network with ping. Can you ping your router? Can you ping upstream from your router? NOTE: You also have nc so you can copy config files in or out.
3. Add your DNS server
echo "nameserver zzz.zzz.zzz.zzz" > /etc/resolv.conf
Do you get DNS resolution? Test it with
nslookup www.google.com
4. Edit the /etc/tor/torrc file. You can echo the lines as in step 3, but you do have vi available. Make sure you change the name of the tor server from RamOnlyUCLIBC. Change any other variables, such as bandwidth. For more information about what parameters you can set, see the online man page.
5. Start tor
su -c tor tor
With the hardened kernel, running tor under UID tor restricts its permissions.
6. Check
To see that the tor process is running
ps
To see the listening sockets
netstat -tl
To see the established sockets
netstat -t
To see the tor directory is being populated
ls /var/tor