On Saturday 05 January 2013 02:49 AM, Felix Fietkau wrote:
On 2013-01-04 10:04 PM, dvrao wrote:
On Saturday 05 January 2013 02:19 AM, Felix Fietkau wrote:
On 2013-01-04 9:37 PM, dvrao wrote:
On Saturday 05 January 2013 01:48 AM, Felix Fietkau wrote:
On 2013-01-04 9:11 PM, dvrao wrote:
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 <dv...@gytechs.com>
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'
+
The default configuration in OpenWrt intentionally does not enable
unconfigured, unencrypted wifi by default, as it would expose access to
LAN at a potentially inconvenient time.
Please leave out /etc/config/wireless
- Felix
Hi Felix Fietkau,
As Panda have one Ethernet(WAN mode) and one WIFI Module(LAN).
To access the WEB UI of OpenWrt at least one LAN module must be enabled.
As we have only WIFI module in LAN mode I enabled it by default to
connect and configure initially (after we can enable security).
Is there any way to connect and configure from WAN ?
Maybe you should just leave Ethernet connected to the LAN. Let the user
reconfigure it for WAN if necessary.
- Felix
Hi Felix Fietkau,
Thanks for your support I have updated the patch. Please check.
Signed-off-by: dvrao <dv...@gytechs.com>
You have way too many generic config files in there. A target isn't
supposed to contain a luci config or the wireless config (generated at
first boot).
Also, if ethernet by default already comes up with ethernet configured
to LAN, why add a new config file?
- Felix
Hi Felix Fietkau,Daniel,
I have removed luci config file in the updated patch below.
major concern of this patch is
* By default create WAN group (instead of creating manually).
* default generated wireless config is not working for OMAP4 TIWI-BLE
module, after small change of the hwmod it is working.
because of that I added wireless config (disabled mode).
Please find the updated patch.
Signed-off-by: dvrao <dv...@gytechs.com>
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 ifname 'eth0'
+ 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'
+
Property changes on: target/linux/omap4/base-files/etc/config/network
___________________________________________________________________
Added: svn:executable
+ *
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 network 'lan'
+ option mode 'ap'
+ option ssid 'OpenWrt'
+ option encryption 'none'
+ option disabled '1'
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel