Initial commit with rpi-4, archer-c7-v2 and tl-wdr-3600-v1
This commit is contained in:
47
configs/archer-c7-v2
Normal file
47
configs/archer-c7-v2
Normal file
@@ -0,0 +1,47 @@
|
||||
#!/bin/sh
|
||||
# Archer C7 v2 configuration for openwrt-image-buildomatic
|
||||
|
||||
# Running OpenWRT image builder 18.06 on Ubuntu 20.04 requires at least:
|
||||
# sudo apt install python2 libncurses5-dev
|
||||
|
||||
#RELEASE=${RELEASE_18_06}
|
||||
#RELEASE=${RELEASE_19_07}
|
||||
RELEASE=${RELEASE_21_02}
|
||||
|
||||
if [ -z "${RELEASE}" ]; then echo "RELEASE is empty"; return 1; fi
|
||||
|
||||
# See targets here: https://downloads.openwrt.org/snapshots/targets
|
||||
#
|
||||
# device can be built with one of two TARGETs:
|
||||
# ar71xx/generic is usable for releases 17.01, 18.06, 19.07
|
||||
# ath79/generic is usable for releases 19.07, 21.02
|
||||
if echo "${RELEASE}" | grep -q "18.06"; then
|
||||
TARGET=ar71xx/generic
|
||||
PROFILE="archer-c7-v2"
|
||||
else
|
||||
TARGET=ath79/generic
|
||||
PROFILE="tplink_archer-c7-v2"
|
||||
fi
|
||||
|
||||
# This package list works for releases 18.06, 19.07 aND 21.02
|
||||
PACKAGES="
|
||||
luci
|
||||
luci-theme-bootstrap luci-theme-openwrt
|
||||
luci-app-uhttpd
|
||||
luci-app-wireguard kmod-wireguard wireguard-tools qrencode
|
||||
luci-app-fwknopd fwknopd
|
||||
luci-app-sqm sqm-scripts sqm-scripts-extra
|
||||
luci-app-https-dns-proxy https-dns-proxy
|
||||
luci-app-ddns
|
||||
luci-app-statistics
|
||||
collectd collectd-mod-cpu collectd-mod-irq collectd-mod-thermal
|
||||
collectd-mod-network collectd-mod-iwinfo collectd-mod-ping
|
||||
collectd-mod-processes collectd-mod-exec
|
||||
iptables-mod-geoip
|
||||
-ip-tiny ip-full
|
||||
zoneinfo-europe
|
||||
"
|
||||
|
||||
FILES=""
|
||||
|
||||
DISABLED_SERVICES=""
|
||||
56
configs/common
Normal file
56
configs/common
Normal file
@@ -0,0 +1,56 @@
|
||||
#!/bin/sh
|
||||
# Common configuration include for openwrt-image-buildomatic
|
||||
# This file is ALWAYS read before the device specific file
|
||||
# so the device config file can use any of the variables here
|
||||
#
|
||||
# List of all OpenWRT packages: https://openwrt.org/packages/start
|
||||
|
||||
# Latest point release of each main release
|
||||
RELEASE_18_06="18.06.9"
|
||||
RELEASE_19_07="19.07.7"
|
||||
RELEASE_21_02="21.02.0-rc1"
|
||||
|
||||
# Popular Luci apps
|
||||
# This list is probably only valid for the 21.02 release
|
||||
#
|
||||
# luci-mod-rpc is for remote control, see https://openwrt.org/docs/techref/ubus
|
||||
packages_luci_apps="
|
||||
luci
|
||||
luci-theme-openwrt-2020 luci-theme-bootstrap luci-theme-openwrt
|
||||
luci-app-uhttpd
|
||||
luci-app-commands
|
||||
luci-app-wireguard kmod-wireguard wireguard-tools qrencode
|
||||
luci-app-acme acme ca-certificates
|
||||
luci-app-adblock adblock
|
||||
luci-app-fwknopd fwknopd
|
||||
luci-app-banip banip
|
||||
luci-app-sqm sqm-scripts sqm-scripts-extra
|
||||
luci-app-https-dns-proxy https-dns-proxy
|
||||
luci-app-ddns
|
||||
luci-app-statistics
|
||||
collectd collectd-mod-cpu collectd-mod-irq collectd-mod-thermal
|
||||
collectd-mod-network collectd-mod-sqm collectd-mod-iwinfo collectd-mod-ping
|
||||
collectd-mod-ethstat
|
||||
collectd-mod-processes collectd-mod-exec
|
||||
luci-mod-rpc
|
||||
"
|
||||
|
||||
# luci-app-nlbwmon nlbwmon
|
||||
# luci-app-dnscrypt-proxy
|
||||
# luci-theme-material has intentionally been left out (it is rather ugly)
|
||||
|
||||
# All the most common USB Ethernet adapter kernel drivers
|
||||
packages_usb_eth="
|
||||
kmod-usb-core kmod-usb-net kmod-mii
|
||||
kmod-usb-net-asix kmod-usb-net-asix-ax88179 kmod-usb-net-cdc-ether kmod-usb-net-ipheth
|
||||
kmod-usb-net-kaweth kmod-usb-net-mcs7830 kmod-usb-net-pegasus kmod-usb-net-rtl8150
|
||||
kmod-usb-net-rtl8152 kmod-usb-net-sr9700
|
||||
"
|
||||
|
||||
# USB storage auto mounting
|
||||
packages_usb_storage="
|
||||
kmod-fs-exfat kmod-fs-ext4 kmod-fs-ntfs kmod-fuse kmod-usb-storage
|
||||
kmod-usb2 kmod-usb2-pci kmod-usb3 kmod-fs-autofs4 kmod-usb-ohci kmod-usb-uhci
|
||||
block-mount blockd e2fsprogs fdisk
|
||||
"
|
||||
|
||||
44
configs/rpi-4
Normal file
44
configs/rpi-4
Normal file
@@ -0,0 +1,44 @@
|
||||
#!/bin/sh
|
||||
# Raspberry PI 4 configuration for openwrt-image-buildomatic
|
||||
|
||||
# Which target CPU to build image for.
|
||||
# See targets here: https://downloads.openwrt.org/snapshots/targets
|
||||
TARGET=bcm27xx/bcm2711
|
||||
|
||||
# Currently there is only the "rpi-4" build profile for this TARGET
|
||||
PROFILE="rpi-4"
|
||||
|
||||
RELEASE="21.02.0-rc1"
|
||||
|
||||
# See https://openwrt.org/packages/start
|
||||
#
|
||||
# - irqbalance package distributes hardware interrupts across
|
||||
# processors on a multiprocessor system in order to increase performance.
|
||||
# - bcm27xx-eeprom package provides rpi-eeprom-update, rpi-eeprom-config
|
||||
# commands for the RPi-4 eeprom
|
||||
# - netperf installs /usr/bin/netserver and is used by various speedtest scripts
|
||||
# See https://forum.openwrt.org/t/package-to-run-speed-test-on-router/16016
|
||||
PACKAGES="
|
||||
${packages_usb_eth}
|
||||
${packages_luci_apps}
|
||||
${packages_usb_storage}
|
||||
bcm27xx-eeprom
|
||||
irqbalance
|
||||
ethtool
|
||||
netperf speedtest-netperf iperf3
|
||||
nmap netdiscover arp-scan arp-scan-database
|
||||
iptables-mod-geoip
|
||||
igmpproxy
|
||||
-dnsmasq dnsmasq-full
|
||||
-ip-tiny ip-full
|
||||
zoneinfo-europe
|
||||
procps-ng procps-ng-watch procps-ng-pgrep procps-ng-ps procps-ng-top procps-ng-free
|
||||
curl wget rsync file htop lsof less mc tree usbutils bash
|
||||
strace
|
||||
openssh-sftp-server
|
||||
"
|
||||
# openssh-server
|
||||
FILES="rpi-4-files"
|
||||
|
||||
DISABLED_SERVICES="\
|
||||
adblock banip collectd ddns fwknopd https-dns-proxy igmpproxy netserver sqm"
|
||||
31
configs/tl-wdr3600-v1
Normal file
31
configs/tl-wdr3600-v1
Normal file
@@ -0,0 +1,31 @@
|
||||
#!/bin/sh
|
||||
# TP-Link WDR3600 v1 configuration for openwrt-image-buildomatic
|
||||
|
||||
# Running OpenWRT image builder 18.06 on Ubuntu 20.04 requires at least:
|
||||
# sudo apt install python2 libncurses5-dev
|
||||
|
||||
#RELEASE=${RELEASE_18_06}
|
||||
#RELEASE=${RELEASE_19_07}
|
||||
RELEASE=${RELEASE_21_02}
|
||||
|
||||
if [ -z "${RELEASE}" ]; then echo "RELEASE is empty"; return 1; fi
|
||||
|
||||
# See targets here: https://downloads.openwrt.org/snapshots/targets
|
||||
#
|
||||
# device can be built with one of two TARGETs:
|
||||
# ar71xx/generic is usable for releases 17.01, 18.06, 19.07
|
||||
# ath79/generic is usable for releases 19.07, 21.02
|
||||
if echo "${RELEASE}" | grep -q "18.06"; then
|
||||
TARGET=ar71xx/generic
|
||||
PROFILE="tl-wdr3600-v1"
|
||||
else
|
||||
TARGET=ath79/generic
|
||||
PROFILE="tplink_tl-wdr3600-v1"
|
||||
fi
|
||||
|
||||
# See https://openwrt.org/packages/start
|
||||
PACKAGES="luci htop"
|
||||
|
||||
FILES=""
|
||||
|
||||
DISABLED_SERVICES=""
|
||||
Reference in New Issue
Block a user