From a59a56e42400f537711e20872573bca5d8f5fbcc Mon Sep 17 00:00:00 2001 From: blogic Date: Sat, 22 Jan 2011 22:43:51 +0000 Subject: [geos] * adds sane default uci environment * adds sane default package selection contributed by Philip Prindeville git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25065 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../linux/x86/geos/base-files/etc/uci-defaults/ppp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 target/linux/x86/geos/base-files/etc/uci-defaults/ppp (limited to 'target/linux/x86/geos/base-files/etc/uci-defaults/ppp') diff --git a/target/linux/x86/geos/base-files/etc/uci-defaults/ppp b/target/linux/x86/geos/base-files/etc/uci-defaults/ppp new file mode 100644 index 0000000000..ba7639ac3b --- /dev/null +++ b/target/linux/x86/geos/base-files/etc/uci-defaults/ppp @@ -0,0 +1,21 @@ +#!/bin/sh + +uci batch <<__EOF__ + +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__ -- cgit v1.2.3