From 12658f7719b46d6e2dfbf778ca5877d384a5fdd6 Mon Sep 17 00:00:00 2001 From: Jacob Appelbaum Date: Thu, 25 Aug 2011 02:08:13 +0200 Subject: we want to install this directly so that autoclean doesn't kill it --- packages/torouter-prep/src/torouter_config.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/torouter-prep/src/torouter_config.sh b/packages/torouter-prep/src/torouter_config.sh index e5a3391..8449eec 100644 --- a/packages/torouter-prep/src/torouter_config.sh +++ b/packages/torouter-prep/src/torouter_config.sh @@ -80,6 +80,9 @@ apt-get -y install ttdnsd # Install a normal dns cache for eth1 apt-get -y install dnsmasq +# install the best dhcp client we're gonna get in debian land +apt-get -y install isc-dhcp-client + ## ## Configuration stage of the script ## -- cgit v1.2.3 From 6657b82c3eec9026967c98961f30a0e946ba5ec9 Mon Sep 17 00:00:00 2001 From: Jacob Appelbaum Date: Thu, 25 Aug 2011 21:23:27 +0200 Subject: This README is updated --- freedom-maker/README | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/freedom-maker/README b/freedom-maker/README index 215f56e..15a1c50 100644 --- a/freedom-maker/README +++ b/freedom-maker/README @@ -8,8 +8,8 @@ To build for a DreamPlug, use sudo ./mk_dreamplug_rootfs This will yield a file tree under build/dreamplug, representing the -contents of a root file system. Get that onto a USB stick with something -like +contents of a root file system. Get that onto a USB stick with a Linux +friendly file system (ext3 and not vfat) with something like sudo mount /dev/sdc1 /media/freedom sudo rsync -atvz --progress build/dreamplug/ /media/freedom/ @@ -19,11 +19,15 @@ Move the USB stick to the DreamPlug, and arrange to boot the existing kernel from internal microSD pointing to our new root filesystem by interrupting the boot to talk to U-Boot: + screen /dev/ttyUSB0 115200 +# Reboot the DreamPlug +# You should see "Hit any key to stop autoboot: " - hit a key, any key setenv x_bootargs_root root=/dev/sdc1 rootdelay=10 saveenv reset -The system should boot to a login prompt. +The system should boot to a login prompt and the default password is +'freedom' for the root user. - - - - - @@ -32,6 +36,16 @@ you're logged into the system booted from root on USB stick you can use: sh /boot/copy2dream.sh +If you choose to to reflash the device entirely you'll want to do the +following to switch the root filesystem back to the internal microSD card: + + screen /dev/ttyUSB0 115200 +# Reboot the DreamPlug +# You should see "Hit any key to stop autoboot: " - hit a key, any key + setenv x_bootargs_root root=/dev/sda2 rootdelay=10 + saveenv + reset + - - - - - Be aware that this is an imcomplete solution for now .. you will want to at -- cgit v1.2.3