diff --git a/etc/default/crda b/etc/default/crda new file mode 100644 index 0000000..349642d --- /dev/null +++ b/etc/default/crda @@ -0,0 +1,11 @@ +# Set REGDOMAIN to a ISO/IEC 3166-1 alpha2 country code so that iw(8) may set +# the initial regulatory domain setting for IEEE 802.11 devices which operate +# on this system. +# +# Governments assert the right to regulate usage of radio spectrum within +# their respective territories so make sure you select a ISO/IEC 3166-1 alpha2 +# country code suitable for your location or you may infringe on local +# legislature. See `/usr/share/zoneinfo/zone.tab' for a table of timezone +# descriptions containing ISO/IEC 3166-1 alpha2 country codes. + +REGDOMAIN=PT diff --git a/etc/rc.local b/etc/rc.local new file mode 100644 index 0000000..2fa619b --- /dev/null +++ b/etc/rc.local @@ -0,0 +1,19 @@ +#!/bin/sh -e +# +# rc.local +# +# This script is executed at the end of each multiuser runlevel. +# Make sure that the script will "exit 0" on success or any other +# value on error. +# +# In order to enable or disable this script just change the execution +# bits. +# +# By default this script does nothing. + +[ -d /etc/boot.d ] && run-parts /etc/boot.d + +swapon -a +iwconfig wlan0 txpower 20 + +exit 0 diff --git a/etc/update-motd.d/gen-20-devuan b/etc/update-motd.d/gen-20-devuan index c14e236..caacd20 100644 --- a/etc/update-motd.d/gen-20-devuan +++ b/etc/update-motd.d/gen-20-devuan @@ -12,4 +12,4 @@ echo -en "\033[1;35m| |_| | |___\033[0m\033[1;31m \ V / | |_| / ___ \ \b\033[0m echo -en "\033[1;35m|____/|_____|\033[0m\033[1;31m \_/\033[0m \033[1;31m\___/_/\033[0m \033[1;31m\_\ \b\033[0m\033[1;35m_| \__|\033[0m\033[0;32m\__,_|_| |_| |_| |_|\033[0m\n" >> /etc/update-motd.d/20-devuan # This will call in '/etc/update-motd.d/10-uname' the content above -sed '1icat /etc/update-motd.d/20-devuan' /etc/update-motd.d/10-uname +sed -i '2icat /etc/update-motd.d/20-devuan' /etc/update-motd.d/10-uname diff --git a/lib/firmware/README.txt b/lib/firmware/README.txt new file mode 100644 index 0000000..1d3ae9d --- /dev/null +++ b/lib/firmware/README.txt @@ -0,0 +1,19 @@ + +Bluetooth stack and tools: + apt-get install bluetooth bluez-obexd pulseaudio-module-bluetooth bluez-tools + +Regulatory Database( wireless-regdb ): + mainline kernels bring the regulatory database signed by Seth Forshee own certificate.. + net/wireless/certs/sforshee.hex + + You can get a version of it from Seth Forshee repos.. + see more here: + https://wireless.wiki.kernel.org/en/developers/Regulatory/wireless-regdb + + Basically you just neet do copy to '/lib/firmware': + regulatory.db + regulatory.db.p7s + + you should also set your country code in file: + /etc/default/crda + diff --git a/lib/firmware/brcm/BCM43430A1.bpi-m2-zero.hcd b/lib/firmware/brcm/BCM43430A1.bpi-m2-zero.hcd new file mode 100644 index 0000000..c4a4b55 Binary files /dev/null and b/lib/firmware/brcm/BCM43430A1.bpi-m2-zero.hcd differ diff --git a/lib/firmware/brcm/BCM43430A1.npi-neo-air.hcd b/lib/firmware/brcm/BCM43430A1.npi-neo-air.hcd new file mode 100644 index 0000000..c4a4b55 Binary files /dev/null and b/lib/firmware/brcm/BCM43430A1.npi-neo-air.hcd differ diff --git a/lib/firmware/brcm/brcmfmac43430-sdio.AP6212.txt b/lib/firmware/brcm/brcmfmac43430-sdio.AP6212.txt new file mode 100644 index 0000000..901854e --- /dev/null +++ b/lib/firmware/brcm/brcmfmac43430-sdio.AP6212.txt @@ -0,0 +1,44 @@ +# SPDX-License-Identifier: GPL-2.0+ +# (C) Copyright 2018 Linaro Ltd +# NVRAM config file for the Ampak AP6212 43430 WiFi/BT module +aa2g=1 +ag0=255 +AvVmid_c0=0x0,0xc8 +boardflags=0x00404201 +# boardflags3 is not set +boardnum=22 +boardrev=0x1101 +boardtype=0x0726 +# btc_params is not set +cckbw202gpo=0x5555 +cckpwroffset0=5 +ccode=ALL +# cldo_pwm is not set +deadman_to=0xffffffff +devid=0x43e2 +extpagain2g=0 +il0macaddr=00:90:4c:c5:12:38 +legofdmbw202gpo=0x77777777 +macaddr=00:90:4c:c5:12:38 +manfid=0x2d0 +maxp2ga0=90 +mcsbw202gpo=0xaaaaaaaa +muxenab=0x10 +nocrc=1 +ofdmdigfilttype=7 +# ofdmdigfilttypebe is not set +pa0itssit=0x20 +pa2ga0=-168,7161,-820 +# pacalidx2g is not set +# papdendidx is not set +# papdepsoffset is not set +papdmode=2 +# papdvalidtest is not set +prodid=0x0726 +# propbw202gpois not set +# spurconfig is not set +sromrev=11 +txpwrbckof=6 +vendid=0x14e4 +wl0id=0x431b +xtalfreq=26000 diff --git a/lib/firmware/brcm/brcmfmac43430-sdio.bin b/lib/firmware/brcm/brcmfmac43430-sdio.bin new file mode 120000 index 0000000..1c68d4a --- /dev/null +++ b/lib/firmware/brcm/brcmfmac43430-sdio.bin @@ -0,0 +1 @@ +../cypress/cyfmac43430-sdio.bin \ No newline at end of file diff --git a/lib/firmware/brcm/brcmfmac43430-sdio.clm_blob b/lib/firmware/brcm/brcmfmac43430-sdio.clm_blob new file mode 120000 index 0000000..6e69616 --- /dev/null +++ b/lib/firmware/brcm/brcmfmac43430-sdio.clm_blob @@ -0,0 +1 @@ +../cypress/cyfmac43430-sdio.clm_blob \ No newline at end of file diff --git a/lib/firmware/brcm/brcmfmac43430-sdio.friendlyarm,nanopi-neo-air.txt b/lib/firmware/brcm/brcmfmac43430-sdio.friendlyarm,nanopi-neo-air.txt new file mode 120000 index 0000000..e06912f --- /dev/null +++ b/lib/firmware/brcm/brcmfmac43430-sdio.friendlyarm,nanopi-neo-air.txt @@ -0,0 +1 @@ +brcmfmac43430-sdio.AP6212.txt \ No newline at end of file diff --git a/lib/firmware/cypress/cyfmac43430-sdio.bin b/lib/firmware/cypress/cyfmac43430-sdio.bin new file mode 100644 index 0000000..bb9b197 Binary files /dev/null and b/lib/firmware/cypress/cyfmac43430-sdio.bin differ diff --git a/lib/firmware/cypress/cyfmac43430-sdio.clm_blob b/lib/firmware/cypress/cyfmac43430-sdio.clm_blob new file mode 100644 index 0000000..69a3e57 Binary files /dev/null and b/lib/firmware/cypress/cyfmac43430-sdio.clm_blob differ