Skip to content

Commit

Permalink
Merge pull request #2931 from blocktrron/cellular-dns
Browse files Browse the repository at this point in the history
gluon-wan-dnsmasq: use cellular DNS servers
  • Loading branch information
blocktrron authored Aug 3, 2023
2 parents fc7a4a0 + d3682b5 commit 8055ab2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions package/gluon-core/luasrc/lib/gluon/upgrade/250-cellular
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ local function setup_ncm_qmi(devpath, control_type, delay)
device = devpath,
disabled = not uci:get_bool('gluon', 'cellular', 'enabled'),
pdptype = pdptype,
peerdns = false,
apn = uci:get('gluon', 'cellular', 'apn'),
})

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
if [ "$INTERFACE" = 'wan' -o "$INTERFACE" = 'wan6' ]; then
if [ "$INTERFACE" = 'wan' -o "$INTERFACE" = 'wan6' -o "$INTERFACE" = 'cellular_4' -o "$INTERFACE" = 'cellular_6' ]; then
/lib/gluon/wan-dnsmasq/update.lua
fi
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
wan6
wan
cellular_4
cellular_6

0 comments on commit 8055ab2

Please sign in to comment.