omap24xx: Add default network config
authormb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 11 Sep 2010 15:21:03 +0000 (15:21 +0000)
committermb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 11 Sep 2010 15:21:03 +0000 (15:21 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23004 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/omap24xx/base-files/etc/config/network [new file with mode: 0644]
target/linux/omap24xx/base-files/etc/config/wireless [new file with mode: 0644]

diff --git a/target/linux/omap24xx/base-files/etc/config/network b/target/linux/omap24xx/base-files/etc/config/network
new file mode 100644 (file)
index 0000000..f92cb34
--- /dev/null
@@ -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 (file)
index 0000000..b640ce6
--- /dev/null
@@ -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"
This page took 0.022257 seconds and 4 git commands to generate.