添加 etc/uci-defaults/01-pppoe.sh
Signed-off-by: zhao <zhao@noreply.localhost>
This commit is contained in:
parent
2a53535eb9
commit
a06205c932
17
etc/uci-defaults/01-pppoe.sh
Normal file
17
etc/uci-defaults/01-pppoe.sh
Normal file
@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
|
||||
# PPPoE 配置
|
||||
uci set network.wan.proto=pppoe
|
||||
uci set network.wan.username='t536020670645' # 替换为实际的用户名
|
||||
uci set network.wan.password='165445' # 替换为实际的密码
|
||||
uci commit network
|
||||
|
||||
# 默认wan口防火墙打开
|
||||
uci set firewall.@zone[1].input='ACCEPT'
|
||||
uci commit firewall
|
||||
|
||||
# 设置主机名映射,解决安卓原生TV首次连不上网的问题
|
||||
uci add dhcp domain
|
||||
uci set "dhcp.@domain[-1].name=time.android.com"
|
||||
uci set "dhcp.@domain[-1].ip=203.107.6.88"
|
||||
uci commit dhcp
|
Loading…
Reference in New Issue
Block a user