Hi Imre Kaloz,

With default configurations omap4(Pandaboard) WIFI is not working and Ethernet is in lan group. So added default configuration files of a working router(pandaboard)to change eth0 to wan and added working wlan configs.


Signed-off-by: dvrao <[email protected]>

Index: target/linux/omap4/base-files/etc/config/wireless
===================================================================
--- target/linux/omap4/base-files/etc/config/wireless    (revision 0)
+++ target/linux/omap4/base-files/etc/config/wireless    (revision 0)
@@ -0,0 +1,19 @@
+
+config wifi-device 'radio0'
+    option type 'mac80211'
+    option channel '11'
+ option path 'platform/omap/omap_hsmmc.4/mmc_host/mmc1/mmc1:0001/mmc1:0001:2/wl12xx'
+    list ht_capab 'GF'
+    list ht_capab 'SHORT-GI-20'
+    list ht_capab 'RX-STBC1'
+    option txpower '25'
+    option hwmode '11g'
+    option country '00'
+
+config wifi-iface
+    option device 'radio0'
+    option mode 'ap'
+    option ssid 'Panda'
+    option encryption 'none'
+    option network 'lan'
+

Property changes on: target/linux/omap4/base-files/etc/config/wireless
___________________________________________________________________
Added: svn:executable
   + *

Index: target/linux/omap4/base-files/etc/config/network
===================================================================
--- target/linux/omap4/base-files/etc/config/network    (revision 0)
+++ target/linux/omap4/base-files/etc/config/network    (revision 0)
@@ -0,0 +1,19 @@
+
+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 type 'bridge'
+    option proto 'static'
+    option ipaddr '192.168.1.1'
+    option netmask '255.255.255.0'
+    option _orig_ifname 'eth0 radio0.network1'
+    option _orig_bridge 'true'
+
+config interface 'wan'
+    option proto 'dhcp'
+    option ifname 'eth0'
+

Property changes on: target/linux/omap4/base-files/etc/config/network
___________________________________________________________________
Added: svn:executable
   + *

Index: target/linux/omap4/base-files/etc/config/luci
===================================================================
--- target/linux/omap4/base-files/etc/config/luci    (revision 0)
+++ target/linux/omap4/base-files/etc/config/luci    (revision 0)
@@ -0,0 +1,28 @@
+
+config core 'main'
+    option lang 'auto'
+    option mediaurlbase '/luci-static/openwrt.org'
+    option resourcebase '/luci-static/resources'
+
+config extern 'flash_keep'
+    option uci '/etc/config/'
+    option dropbear '/etc/dropbear/'
+    option openvpn '/etc/openvpn/'
+    option passwd '/etc/passwd'
+    option opkg '/etc/opkg.conf'
+    option firewall '/etc/firewall.user'
+    option uploads '/lib/uci/upload/'
+
+config internal 'languages'
+    option en 'English'
+
+config internal 'sauth'
+    option sessionpath '/tmp/luci-sessions'
+    option sessiontime '3600'
+
+config internal 'ccache'
+    option enable '1'
+
+config internal 'themes'
+    option OpenWrt '/luci-static/openwrt.org'
+

Property changes on: target/linux/omap4/base-files/etc/config/luci
___________________________________________________________________
Added: svn:executable
   + *

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to