Size: 902
Comment:
|
Size: 2817
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
= Devuan on Raspberry PI = | = Devuan on Raspberry PI and mods = |
Line 5: | Line 5: |
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 ons and shit. | 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. |
Line 10: | Line 10: |
From devuan.org site, download section, choose your kind and download it. After that, unpack using that shit called "unxz" because some MORON choosed to use .xz instead of tar gzipped, just to save a bunch of bytes. FUCK THAT | 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: |
Line 31: | Line 33: |
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 DWL-G122 === Need firmware "firmware-ralink", so just install: {{{ apt-get install firmware-ralink }}} === 3COM 3CRUSB10075 === Just {{{ apt-get install firmware-zd1211 }}} == LOCALE SHIT == Problem: Cannot set LC_CTYPE to default locale: No such file or directory Solution: {{{ apt-get install locales }}} set your /etc/default/locales as here: {{{ # File generated by update-locale LC_CTYPE="en_US.UTF-8" LC_ALL="en_US.UTF-8" LANG=en_US.UTF-8 }}} and use {{{ dpkg-reconfigure locales }}} selecting '''en_US.UTF-8''' as locale to generate, and also as default locale. WHAT THE FUCK. == OpenVPN == Just '''apt-get install openvpn''', copy correct certificate into /etc/openvpn/client.conf and start the service, '''service openvpn start''' ;) == Hardware MOD to avoid reset plugging USB == --(You need a low ESR 220 uF or more capacitor in parallel to C35 next to the USB connectors. Also a bigger capacitor on the power supply side can be useful. :) )-- == Shit == |
Devuan on Raspberry PI and mods
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 DWL-G122
Need firmware "firmware-ralink", so just install:
apt-get install firmware-ralink
3COM 3CRUSB10075
Just
apt-get install firmware-zd1211
LOCALE SHIT
Problem:
Cannot set LC_CTYPE to default locale: No such file or directory
Solution:
apt-get install locales
set your /etc/default/locales as here:
# File generated by update-locale LC_CTYPE="en_US.UTF-8" LC_ALL="en_US.UTF-8" LANG=en_US.UTF-8
and use
dpkg-reconfigure locales
selecting en_US.UTF-8 as locale to generate, and also as default locale.
WHAT THE FUCK.
OpenVPN
Just apt-get install openvpn, copy correct certificate into /etc/openvpn/client.conf and start the service, service openvpn start
Hardware MOD to avoid reset plugging USB
You need a low ESR 220 uF or more capacitor in parallel to C35 next to the USB connectors. Also a bigger capacitor on the power supply side can be useful.