Created
December 19, 2022 01:05
-
-
Save odevodyssey/0e96428caa16a30d0e16b96a6d383edb to your computer and use it in GitHub Desktop.
OpenWrt Custom Hotspot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################################ | |
# Bootloader configuration - config.txt | |
################################################################################ | |
################################################################################ | |
# For overclocking and various other settings, see: | |
# https://www.raspberrypi.org/documentation/configuration/config-txt/README.md | |
################################################################################ | |
# OpenWrt config | |
include distroconfig.txt | |
[all] | |
# Place your custom settings here. | |
dtoverlay=dwc2,dr_mode=host |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
base-files | |
bcm27xx-gpu-fw | |
busybox | |
ca-bundle | |
cypress-firmware-43455-sdio | |
cypress-nvram-43455-sdio-rpi-4b | |
dnsmasq | |
dropbear | |
e2fsprogs | |
firewall4 | |
fstools | |
iwinfo | |
kmod-brcmfmac | |
kmod-fs-vfat | |
kmod-nft-offload | |
kmod-nls-cp437 | |
kmod-nls-iso8859-1 | |
kmod-sound-arm-bcm2835 | |
kmod-sound-core | |
kmod-usb-hid | |
kmod-usb-net-lan78xx | |
libc | |
libgcc | |
libustream-wolfssl | |
logd | |
mkf2fs | |
mtd | |
netifd | |
nftables | |
odhcp6c | |
odhcpd-ipv6only | |
opkg | |
partx-utils | |
ppp | |
ppp-mod-pppoe | |
procd | |
procd-seccomp | |
procd-ujail | |
uci | |
uclient-fetch | |
urandom-seed | |
wpad-basic-wolfssl | |
luci | |
luci-ssl | |
kmod-r8169 | |
kmod-usb-dwc2 | |
bcm27xx-userland | |
kmod-rt2800-lib | |
kmod-rt2800-usb | |
kmod-rt2x00-lib | |
kmod-rt2x00-usb | |
kmod-usb2 | |
kmod-usb-core | |
kmod-usb-uhci | |
kmod-usb-ohci | |
usbutils | |
usb-modeswitch | |
kmod-mii | |
kmod-usb-net | |
kmod-usb-wdm | |
kmod-usb-net-qmi-wwan | |
uqmi | |
kmod-usb-net-cdc-mbim | |
umbim | |
kmod-usb-serial-option | |
kmod-usb-serial | |
kmod-usb-serial-wwan | |
luci-proto-qmi | |
kmod-usb-serial-qualcomm | |
kmod-usb-serial-sierrawireless | |
minicom |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This script only needs to be run once to configure a Wireless WAN (cellular) via QMI | |
# Change your config based on your cellular provider (eg. APN, Auth, PDPType) | |
# Config can also be done via QMI UI as well | |
uci batch <<EOF | |
set firewall.@zone[1]='wan' | |
set firewall.@zone[1].name='wan' | |
set firewall.@zone[1].network='vzwwan' | |
commit firewall | |
EOF | |
uci batch <<EOF | |
set network.vzwwan=interface | |
set network.vzwwan.proto='qmi' | |
set network.vzwwan.device='/dev/cdc-wdm0' | |
set network.vzwwan.apn='vzwinternet' | |
set network.vzwwan.auth='none' | |
set network.vzwwan.pdptype='ipv4v6' | |
commit network | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment