mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 19:56:15 +02:00
317b9407e3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25255 3c298f89-4303-0410-b956-a3cf2f4a3e73
24 lines
495 B
Bash
24 lines
495 B
Bash
#!/bin/sh
|
|
|
|
uci batch <<__EOF__
|
|
|
|
delete network.wan
|
|
|
|
set network.wan=interface
|
|
set network.wan.proto='pppoa'
|
|
set network.wan.atmdev=0
|
|
set network.wan.card=0
|
|
set network.wan.vpi=0
|
|
set network.wan.vci=32
|
|
set network.wan.encaps='vc'
|
|
set network.wan.username='username@myisp.net'
|
|
set network.wan.password='password'
|
|
set network.wan.keepalive=3
|
|
set network.wan.defaultroute=1
|
|
set network.wan.peerdns=1
|
|
set network.wan.pppd_options='kdebug 1 debug noccp'
|
|
set network.wan.auto=1
|
|
|
|
commit network
|
|
__EOF__
|