diff options
-rw-r--r-- | freedom-maker/README | 20 | ||||
-rw-r--r-- | packages/torouter-prep/src/torouter_config.sh | 3 |
2 files changed, 20 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 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 ## |