|
@@ -0,0 +1,89 @@
|
|
1
|
+Hey there.
|
|
2
|
+
|
|
3
|
+The image can be found here: https://pub.parazyd.cf/tmp/dowse-img/
|
|
4
|
+
|
|
5
|
+There's two files: .tar.gz and .img.xz. I will explain them below.
|
|
6
|
+If it's usable, try to include it in the Dowse documentation.
|
|
7
|
+
|
|
8
|
+.tar.gz)
|
|
9
|
+ This is a tarball of the root filesystem (watch out, tarbomb!) that
|
|
10
|
+ can be extracted on a previously partitioned SD card. Basic steps to
|
|
11
|
+ do this are:
|
|
12
|
+
|
|
13
|
+ $ cfdisk /dev/mmcblk0
|
|
14
|
+ * make a partition of 128M that will act as /boot
|
|
15
|
+ * make a partition of remaining free space that will act as /
|
|
16
|
+ $ mkfs.vfat -F32 /dev/mmcblk0p1
|
|
17
|
+ $ mkfs.ext4 /dev/mmcblk0p2
|
|
18
|
+ $ mkdir mnt
|
|
19
|
+ $ mount /dev/mmcblk0p2 mnt
|
|
20
|
+ $ mkdir mnt/boot
|
|
21
|
+ $ mount /dev/mmcblk0p1 mnt/boot
|
|
22
|
+ $ cd mnt
|
|
23
|
+ $ tar xvf /path/to/devuan_ascii_dowse_raspi2.tar.gz
|
|
24
|
+ $ cd ..
|
|
25
|
+ $ umount -R mnt && sync
|
|
26
|
+
|
|
27
|
+ This will result in a Dowse SD card which has all the free space
|
|
28
|
+ usable.
|
|
29
|
+
|
|
30
|
+.img.xz)
|
|
31
|
+ This is a premade .img that can be dd-d to a SD card. Basic steps to
|
|
32
|
+ do this are:
|
|
33
|
+
|
|
34
|
+ $ xzcat /path/to/devuan_ascii_dowse_raspi2.img.xz | sudo dd of=/dev/mmcblk0 bs=4M
|
|
35
|
+ $ sync
|
|
36
|
+
|
|
37
|
+ To enlarge the second partition to the whole sd card:
|
|
38
|
+
|
|
39
|
+ $ cfdisk /dev/mmcblk0
|
|
40
|
+ * delete the second (bigger) partition
|
|
41
|
+ * create a new partition using all the remaining free space
|
|
42
|
+ $ e2fsck -f /dev/mmcblk0p2
|
|
43
|
+ $ resize2fs /dev/mmcblk0p2
|
|
44
|
+ $ sync
|
|
45
|
+
|
|
46
|
+ This will also result in a Dowse SD card which has all the free
|
|
47
|
+ space usable.
|
|
48
|
+
|
|
49
|
+---
|
|
50
|
+
|
|
51
|
+The Router setup:
|
|
52
|
+
|
|
53
|
+Connect the WAN cable to the blue port on the TP-Link, and then plug it
|
|
54
|
+in and power it up. It will boot and get an IP on the WAN by requesting
|
|
55
|
+DHCP.
|
|
56
|
+
|
|
57
|
+The TP-Link will also start the wireless network called 'dowse', with
|
|
58
|
+the password 'dortmund'. The router serves no DHCP on its own. To
|
|
59
|
+connect to the router, you can either plug in a cable, or access it via
|
|
60
|
+WiFi. Its IP address is "10.0.1.1". You can set your ip using:
|
|
61
|
+
|
|
62
|
+ $ ifconfig eth0 10.0.1.2 (use eth0 or wlan0 depending on how you connected)
|
|
63
|
+
|
|
64
|
+Now you should be able to access the interface of the router using
|
|
65
|
+10.0.1.1 as the IP address in your browser (or SSH).
|
|
66
|
+
|
|
67
|
+Time to connect the Dowse box. Plug it in and wait a minute or two until
|
|
68
|
+it boots. The white box won't start Dowse automatically so you have to
|
|
69
|
+start it manually. If you're still connected to the TP-Link, you should
|
|
70
|
+be able to access the Dowse box at the "10.0.1.250" IP address, using
|
|
71
|
+either "root:toor" or "dowse:dowse" as the credentials. Then start dowse
|
|
72
|
+normally as we do.
|
|
73
|
+
|
|
74
|
+---
|
|
75
|
+
|
|
76
|
+That's all there is to it. I'll try to be on IRC during the time of the
|
|
77
|
+workshop. Tor will also be running on the box so I will be able to
|
|
78
|
+intervene.
|
|
79
|
+
|
|
80
|
+Let me know when the workshop is happening and if anything else's
|
|
81
|
+needed.
|
|
82
|
+
|
|
83
|
+Have a good one ;)
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+--
|
|
87
|
+~ parazyd
|
|
88
|
+GnuPG: 03337671FDE75BB6A85EC91FB876CB44FA1B0274
|
|
89
|
+GnuPG: https://parazyd.cf/FA1B0274.asc
|