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 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel