summaryrefslogtreecommitdiff
path: root/target/linux/x86/geos
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2011-01-22 22:43:51 +0000
committerJohn Crispin <john@openwrt.org>2011-01-22 22:43:51 +0000
commit079ba5ac140af300db24bc7124543aa2ad9c6f62 (patch)
tree9aa2771d6d5e45ca5eb47c274d0f5c23e1e64fe6 /target/linux/x86/geos
parentfa542df6e1f3cab6b5dbc1494001be597989d2fc (diff)
downloadmtk-20170518-079ba5ac140af300db24bc7124543aa2ad9c6f62.zip
mtk-20170518-079ba5ac140af300db24bc7124543aa2ad9c6f62.tar.gz
mtk-20170518-079ba5ac140af300db24bc7124543aa2ad9c6f62.tar.bz2
* adds sane default uci environment * adds sane default package selection
contributed by Philip Prindeville SVN-Revision: 25065
Diffstat (limited to 'target/linux/x86/geos')
-rw-r--r--target/linux/x86/geos/base-files/etc/uci-defaults/network16
-rw-r--r--target/linux/x86/geos/base-files/etc/uci-defaults/ppp21
-rw-r--r--target/linux/x86/geos/base-files/etc/uci-defaults/wireless27
-rw-r--r--target/linux/x86/geos/target.mk9
4 files changed, 70 insertions, 3 deletions
diff --git a/target/linux/x86/geos/base-files/etc/uci-defaults/network b/target/linux/x86/geos/base-files/etc/uci-defaults/network
new file mode 100644
index 0000000..a30be95
--- /dev/null
+++ b/target/linux/x86/geos/base-files/etc/uci-defaults/network
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+uci batch <<__EOF__
+
+delete network.lan
+
+set network.lan=interface
+set network.lan.type=bridge
+set network.lan.ifname="eth0 eth1"
+set network.lan.proto=static
+set network.lan.ipaddr="192.168.1.1"
+set network.lan.netmask="255.255.255.0"
+set network.lan.nat=1
+
+commit network
+__EOF__
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 0000000..ba7639a
--- /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__
diff --git a/target/linux/x86/geos/base-files/etc/uci-defaults/wireless b/target/linux/x86/geos/base-files/etc/uci-defaults/wireless
new file mode 100644
index 0000000..2b0fd4a
--- /dev/null
+++ b/target/linux/x86/geos/base-files/etc/uci-defaults/wireless
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+[ -f /etc/config/wireless ] || echo "package wireless" > /etc/config/wireless
+
+uci batch <<__EOF__
+
+delete wireless.radio0
+delete wireless.@wifi-iface[0]
+
+set wireless.wlan0=wifi-device
+set wireless.wlan0.type=mac80211
+set wireless.wlan0.phy=phy0
+set wireless.wlan0.channel=11
+set wireless.wlan0.hwmode=11g
+set wireless.wlan0.country=US
+
+add wireless wifi-iface
+set wireless.@wifi-iface[-1].device=wlan0
+set wireless.@wifi-iface[-1].network=lan
+set wireless.@wifi-iface[-1].mode=ap
+set wireless.@wifi-iface[-1].ssid=typhoon
+set wireless.@wifi-iface[-1].encryption=psk2+aes
+set wireless.@wifi-iface[-1].key="passphrase"
+set wireless.@wifi-iface[-1].hidden=0
+
+commit wireless
+__EOF__
diff --git a/target/linux/x86/geos/target.mk b/target/linux/x86/geos/target.mk
index 9e6a3cb..cfeffd7 100644
--- a/target/linux/x86/geos/target.mk
+++ b/target/linux/x86/geos/target.mk
@@ -1,6 +1,7 @@
BOARDNAME:=Traverse Geos
-FEATURES:=squashfs pci usb gpio
-DEFAULT_PACKAGES += kmod-ata-via-sata kmod-crypto-hw-geode \
+FEATURES:=squashfs jffs2 ext4 pci usb gpio
+DEFAULT_PACKAGES += kmod-ata-via-sata \
+ kmod-crypto-hw-geode kmod-crypto-ocf \
kmod-gpio-cs5535 kmod-gpio-nsc \
kmod-wdt-geode kmod-hwmon-core kmod-hwmon-lm90 \
kmod-8139cp kmod-solos-pci \
@@ -9,7 +10,9 @@ DEFAULT_PACKAGES += kmod-ata-via-sata kmod-crypto-hw-geode \
kmod-usb-core kmod-usb2 kmod-usb-uhci \
kmod-cfg80211 kmod-mac80211 \
kmod-mppe kmod-pppoe kmod-pppoa kmod-pppol2tp \
- kmod-ath kmod-ath5k kmod-ath9k
+ kmod-ath kmod-ath5k kmod-ath9k \
+ soloscli linux-atm br2684ctl bridge ppp ppp-mod-pppoa \
+ libopenssl ocf-crypto-headers zlib hwclock hostapd
CS5535_MASK:=0x0E000048