aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/omap24xx
diff options
context:
space:
mode:
authorMichael Büsch <mb@bu3sch.de>2010-09-11 15:21:03 +0000
committerMichael Büsch <mb@bu3sch.de>2010-09-11 15:21:03 +0000
commit4b7536d3c79c3a3b3bb3fd9b8f2d57e6b9ed727b (patch)
tree4830a95e875d2184ea6e476a1ec5f201e8ba655f /target/linux/omap24xx
parentf0813cd0f511437e05b7e6478ece583db34a0a00 (diff)
downloadupstream-4b7536d3c79c3a3b3bb3fd9b8f2d57e6b9ed727b.tar.gz
upstream-4b7536d3c79c3a3b3bb3fd9b8f2d57e6b9ed727b.tar.bz2
upstream-4b7536d3c79c3a3b3bb3fd9b8f2d57e6b9ed727b.zip
omap24xx: Add default network config
SVN-Revision: 23004
Diffstat (limited to 'target/linux/omap24xx')
-rw-r--r--target/linux/omap24xx/base-files/etc/config/network9
-rw-r--r--target/linux/omap24xx/base-files/etc/config/wireless20
2 files changed, 29 insertions, 0 deletions
diff --git a/target/linux/omap24xx/base-files/etc/config/network b/target/linux/omap24xx/base-files/etc/config/network
new file mode 100644
index 0000000000..f92cb34f2d
--- /dev/null
+++ b/target/linux/omap24xx/base-files/etc/config/network
@@ -0,0 +1,9 @@
+config interface loopback
+ option ifname lo
+ option proto static
+ option ipaddr 127.0.0.1
+ option netmask 255.0.0.0
+
+config interface lan
+ option proto dhcp
+
diff --git a/target/linux/omap24xx/base-files/etc/config/wireless b/target/linux/omap24xx/base-files/etc/config/wireless
new file mode 100644
index 0000000000..b640ce6c26
--- /dev/null
+++ b/target/linux/omap24xx/base-files/etc/config/wireless
@@ -0,0 +1,20 @@
+config wifi-device radio0
+ option type mac80211
+ option phy phy0
+ option channel auto
+ # TODO: CHANGE THE MAC-ADDRESS:
+ option macaddr 00:11:22:33:44:55
+ option hwmode 11g
+# option country DE
+
+ # REMOVE THIS LINE TO ENABLE WIFI:
+ option disabled 1
+
+config wifi-iface
+ option device radio0
+ option powersave 1
+ option network lan
+ option mode sta
+ option ssid OpenWrt
+# option encryption psk2
+# option key "foobar"