Skip to content

Instantly share code, notes, and snippets.

@odevodyssey
Created April 11, 2022 17:21
Show Gist options
  • Save odevodyssey/b8a661286203ebe707da3b945e2a25c4 to your computer and use it in GitHub Desktop.
Save odevodyssey/b8a661286203ebe707da3b945e2a25c4 to your computer and use it in GitHub Desktop.
4G LTE Network Config OpenWrt for Raspberry Pi 4B
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fdf7:1fbd:8cd0::/48'
config device
option name 'br-lan'
option type 'bridge'
list ports 'eth0'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
config interface '4G'
option proto 'qmi'
option device '/dev/cdc-wdm0'
option apn 'vzwinternet'
option auth 'none'
option pdptype 'ipv4v6'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment