All materials and notes for dowse workshops are collected here

howtoburnSDcards.md 2.7KB

Hey there.

The image can be found here: https://pub.parazyd.cf/tmp/dowse-img/

There's two files: .tar.gz and .img.xz. I will explain them below. If it's usable, try to include it in the Dowse documentation.

.tar.gz) This is a tarball of the root filesystem (watch out, tarbomb!) that can be extracted on a previously partitioned SD card. Basic steps to do this are:

$ cfdisk /dev/mmcblk0

   * make a partition of 128M that will act as /boot
   * make a partition of remaining free space that will act as /

$ mkfs.vfat -F32 /dev/mmcblk0p1 $ mkfs.ext4 /dev/mmcblk0p2 $ mkdir mnt $ mount /dev/mmcblk0p2 mnt $ mkdir mnt/boot $ mount /dev/mmcblk0p1 mnt/boot $ cd mnt $ tar xvf /path/to/devuan_ascii_dowse_raspi2.tar.gz $ cd .. $ umount -R mnt && sync

This will result in a Dowse SD card which has all the free space usable.

.img.xz) This is a premade .img that can be dd-d to a SD card. Basic steps to do this are:

$ xzcat /path/to/devuan_ascii_dowse_raspi2.img.xz | sudo dd of=/dev/mmcblk0 bs=4M $ sync

To enlarge the second partition to the whole sd card:

$ cfdisk /dev/mmcblk0

   * delete the second (bigger) partition
   * create a new partition using all the remaining free space

$ e2fsck -f /dev/mmcblk0p2 $ resize2fs /dev/mmcblk0p2 $ sync

This will also result in a Dowse SD card which has all the free space usable.


The Router setup:

Connect the WAN cable to the blue port on the TP-Link, and then plug it in and power it up. It will boot and get an IP on the WAN by requesting DHCP.

The TP-Link will also start the wireless network called 'dowse', with the password 'dortmund'. The router serves no DHCP on its own. To connect to the router, you can either plug in a cable, or access it via WiFi. Its IP address is "10.0.1.1". You can set your ip using:

$ ifconfig eth0 10.0.1.2 (use eth0 or wlan0 depending on how you connected)

Now you should be able to access the interface of the router using 10.0.1.1 as the IP address in your browser (or SSH).

Time to connect the Dowse box. Plug it in and wait a minute or two until it boots. The white box won't start Dowse automatically so you have to start it manually. If you're still connected to the TP-Link, you should be able to access the Dowse box at the "10.0.1.250" IP address, using either "root:toor" or "dowse:dowse" as the credentials. Then start dowse normally as we do.


That's all there is to it. I'll try to be on IRC during the time of the workshop. Tor will also be running on the box so I will be able to intervene.

Let me know when the workshop is happening and if anything else's needed.

Have a good one ;)

-- ~ parazyd GnuPG: 03337671FDE75BB6A85EC91FB876CB44FA1B0274 GnuPG: https://parazyd.cf/FA1B0274.asc