Devuan on Raspberry PI
Idea is to create a base for future developements: a "drone" that get network with dhcp, maybe put on an hostap access point, and goes VPN automagically to be reached from every natted / weird network. Plus some add on's and shit.
IMG Download and install on sdcard
From devuan.org site, download section, choose your kind and download it. (add link to rasp pi 1 image / magnet link).
After that, unpack using "unxz:
unxz name-of-your-image.img.xz
and copy it on your sdcard, assuming that is mmcblk0:
dd if=name-of-your-image.img.xz of=/dev/mmcblk0 bs=1M
wait and relax.
First boot
DHCP must give you an IP address, check your router DHCP client list or whatever.
user: root, pw: toor
Things I did, things I need
apt-get update apt-get upgrade apt-get install joe mc openvpn
Add the FUCKING non-free repo's
Or you won't find almost anything useful!
- Add "non-free" repo in your /etc/apt/sources.list repository, as here:
## package repositories deb http://auto.mirror.devuan.org/merged jessie main non-free deb http://auto.mirror.devuan.org/merged jessie-updates main non-free deb http://auto.mirror.devuan.org/merged jessie-security main non-free
- update!
apt-get update
WIFI USB network cards
For those dongles usually you have to enable the non-free repo as stated above.
After installing one of the needed firmware, just reboot, because if you unplug and plug the WIFI dongle, usually the fucking raspberry PI get a power spike that reboot himself :/
DLINK
Need firmware "firmware-ralink", so just install:
apt-get install firmware-ralink
Other
OpenVPN
Just apt-get install openvpn, copy correct certificate into /etc/openvpn/client.conf and start the service, service openvpn start