<div dir="ltr"><div><div><div>Hi,<br><br></div>i will check whether this is driver issue or Luci,<br><br></div>I have to add "<span style="font-size:11.5pt;line-height:107%;font-family:"Times New Roman",serif;color:black" lang="EN-US"> disable WPS if this feature is enabled for
the WiFi module" this in wireless. How i can handle this.<br></span><br></div><div>Thanks,<br></div><span style="font-size:11.5pt;line-height:107%;font-family:"Times New Roman",serif;color:black" lang="EN-US"></span><div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 13, 2015 at 2:18 PM, David Lang <span dir="ltr"><<a href="mailto:david@lang.hm" target="_blank">david@lang.hm</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, 13 Aug 2015, John kerry wrote:<br>
<br>
</span><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
But i dont think so this driver might be the problem, Because when i am<br>
doing using GUI its working so there will be not driver problem.<br>
<br>
Just i am not getting how to add this in build config.<br>
<br>
Normally what will be the wireless config for the repeater mode default.<br>
</blockquote>
<br></span>
the exact file that you create as a result of the GUI is what you would put in the build config. But you say that you don't want that file because you want to connect to different SSIDs on different channels, so you don't _have_ any one file that you want to put in the default.<br>
<br>
When you use LUCI to scan and attach to a different SSID, you say that it looses the config for the local systems to connect to it. This could be a LUCI problem, or it could be that the driver requires that this be reset afterwords.<br>
<br>
If it's a LUCI problem, you will have to fix that code (or go to where tehy develop it and convince them to fix it). If it's a driver problem you are out of luck.<br>
<br>
But we can't tell you a file to put in the build that will connect to any remote system because there isn't one file that will automatically connect to any of several remote systems.<span class="HOEnZb"><font color="#888888"><br>
<br>
David Lang</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Thu, Aug 13, 2015 at 11:40 AM, David Lang <<a href="mailto:david@lang.hm" target="_blank">david@lang.hm</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If you want to have one config thaqt will talk to many different APs with<br>
different names/configs you are asking for magic. You have to change the<br>
config to talk to the different destinations.<br>
<br>
Since you are using a non-mainline driver, we don't know what the driver s<br>
able to do.<br>
<br>
It sounds as if there is a problem that could either be in the driver or<br>
in LUCI that makes it loose the rest of the config when you have it scan<br>
for networks.<br>
<br>
you can probably avoid that by just changing the info in the file to be<br>
appropriate for the new environment and restarting wifi/rebooting. If you<br>
want to do this via the existing GUI you will need to make code changes to<br>
LUCI.<br>
<br>
But at this point you are talking custom stuff.<br>
<br>
David Lang<br>
<br>
<br>
On Thu, 13 Aug 2015, John kerry wrote:<br>
<br>
Hi,<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Still i am not able to configure wireless config file. The problem i am<br>
facing, i cannot add fixed router name and password. It should every time<br>
scan and connect to any router. If i used GUI one config its fixed to that<br>
router which i connected. So with that configuration we are not able to<br>
scan again and connect to any other router next time.<br>
<br>
<br>
<br>
On Wed, Aug 12, 2015 at 9:29 AM, John kerry <<a href="mailto:kerry9842@gmail.com" target="_blank">kerry9842@gmail.com</a>> wrote:<br>
<br>
Yes i able to config using GUI, But when i am configuring GUI i scan and<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
connect to one AP and then add one more AP mode to it. So finally i will<br>
have wireless configuration.<br>
<br>
But i cant keep this config in build option because if i load this<br>
configuration it will load what i connected last time, so next time i<br>
cant<br>
scan it anymore it showing the same connected to last AP.<br>
<br>
<br>
<br>
<br>
On Wed, Aug 12, 2015 at 1:36 AM, David Lang <<a href="mailto:david@lang.hm" target="_blank">david@lang.hm</a>> wrote:<br>
<br>
I thought you said a couple posts ago that you were able to configure it<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
through the GUI to work the way you wanted it to, you were just wanting<br>
to<br>
make something the default.<br>
<br>
So do you have it working or not?<br>
<br>
If you have it working, it should keep working after a reboot. What are<br>
you meaning when you say that you want to change the default?<br>
<br>
Are you meaning that you want to create an image that will behave this<br>
way when you do a factory reset (or when you first flash it)? If so,<br>
then<br>
you need to take your working config and make it part of your image via<br>
the<br>
files/ mechansim.<br>
<br>
If you are meaning something else, I'm still not understanding what you<br>
are trying to do.<br>
<br>
David Lang<br>
<br>
<br>
<br>
On Tue, 11 Aug 2015, John kerry wrote:<br>
<br>
Date: Tue, 11 Aug 2015 21:20:58 +0800<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
From: John kerry <<a href="mailto:kerry9842@gmail.com" target="_blank">kerry9842@gmail.com</a>><br>
To: David Lang <<a href="mailto:david@lang.hm" target="_blank">david@lang.hm</a>><br>
Cc: Alex Weedy <<a href="mailto:weedy2887@gmail.com" target="_blank">weedy2887@gmail.com</a>>,<br>
    OpenWrt Development List <<a href="mailto:openwrt-devel@lists.openwrt.org" target="_blank">openwrt-devel@lists.openwrt.org</a>><br>
Subject: Re: [OpenWrt-Devel] Fwd: "3-address Wi-Fi bridging" (was:<br>
Multiple<br>
    Wi-Fi client/AP interfaces on one radio)<br>
<br>
Hi,<br>
<br>
How to config wireless config file for repeater mode. I am not able to<br>
config.<br>
<br>
On Tue, Aug 11, 2015 at 5:34 PM, John kerry <<a href="mailto:kerry9842@gmail.com" target="_blank">kerry9842@gmail.com</a>><br>
wrote:<br>
<br>
When i load firmware the wireless config will be like below:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
config wifi-device 'wifi0'<br>
        option type 'qcawifi'<br>
        option macaddr '00:26:75:bd:37:24'<br>
        option hwmode '11ng'<br>
        option txpower '16'<br>
        option htmode 'HT20'<br>
        option disabled '0'<br>
        option channel '1'<br>
<br>
config wifi-iface<br>
        option device 'wifi0'<br>
        option mode 'ap'<br>
        option ssid 'Test_ap'<br>
        option network 'lan'<br>
        option encryption 'psk2'<br>
        option key 'Test_ap'<br>
        option wds '1'<br>
<br>
so it works as Access point, i can connect to it any devices. When i<br>
scan<br>
it shows me list of devices then connect to anyone. then the wireless<br>
config  will becomes like below:<br>
<br>
config wifi-device 'wifi0'<br>
        option type 'qcawifi'<br>
        option macaddr '00:26:75:bd:37:24'<br>
        option hwmode '11ng'<br>
        option txpower '16'<br>
        option htmode 'HT20'<br>
        option disabled '0'<br>
        option channel '1'<br>
<br>
config wifi-iface<br>
        option network 'wwan'<br>
        option ssid 'D-link-Router'<br>
        option encryption 'psk2'<br>
        option device 'wifi0'<br>
        option mode 'sta'<br>
        option key '0010069039'<br>
        option wds '1'<br>
<br>
Then i add one more ap mode so wireless config becomes,<br>
config wifi-device 'wifi0'<br>
        option type 'qcawifi'<br>
        option macaddr '00:26:75:bd:37:24'<br>
        option hwmode '11ng'<br>
        option txpower '16'<br>
        option htmode 'HT20'<br>
        option disabled '0'<br>
        option channel '1'<br>
<br>
config wifi-iface<br>
       option network 'wwan'<br>
        option ssid 'D-link-Router'<br>
        option encryption 'psk2'<br>
        option device 'wifi0'<br>
        option mode 'sta'<br>
        option key '0010069039'<br>
        option wds '1'<br>
<br>
config wifi-iface<br>
        option device 'wifi0'<br>
        option mode 'ap'<br>
        option ssid 'Test_ap'<br>
        option network 'lan'<br>
        option encryption 'psk2'<br>
        option key 'Test_ap'<br>
        option wds '1'<br>
<br>
This i added manually one ap mode.<br>
<br>
So if i copy this config file, build and load this firmware, its load<br>
what<br>
it was there so it shows one client which i was connected last time<br>
and<br>
one<br>
AP which i added.<br>
<br>
But now i cannot scan anymore and connect to new router instead of old<br>
client.<br>
<br>
This is the problem i am facing.<br>
<br>
Basically i need to configure the wireless file for repeater mode.<br>
<br>
So after connecting to another router this SSID still should be there<br>
and<br>
other device can connect to it.<br>
<br>
On Tue, Aug 11, 2015 at 4:30 PM, David Lang <<a href="mailto:david@lang.hm" target="_blank">david@lang.hm</a>> wrote:<br>
<br>
you have a working config<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
but you want to do something by default<br>
<br>
what you want to do is different at different times.<br>
<br>
what is it that you want to be the default? when do you want this<br>
default<br>
to apply? This isn't clear.<br>
<br>
David Lang<br>
<br>
On Tue, 11 Aug 2015, John kerry wrote:<br>
<br>
Date: Tue, 11 Aug 2015 15:51:38 +0800<br>
<br>
From: John kerry <<a href="mailto:kerry9842@gmail.com" target="_blank">kerry9842@gmail.com</a>><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
To: David Lang <<a href="mailto:david@lang.hm" target="_blank">david@lang.hm</a>><br>
Cc: Alex Weedy <<a href="mailto:weedy2887@gmail.com" target="_blank">weedy2887@gmail.com</a>>,<br>
    OpenWrt Development List <<a href="mailto:openwrt-devel@lists.openwrt.org" target="_blank">openwrt-devel@lists.openwrt.org</a>><br>
Subject: Re: [OpenWrt-Devel] Fwd: "3-address Wi-Fi bridging" (was:<br>
Multiple<br>
<br>
    Wi-Fi client/AP interfaces on one radio)<br>
<br>
Yes,<br>
<br>
i can copy the config and build with this configuration,<br>
<br>
for example now i have connected to some router, another time we can<br>
connect to any router. So how i can fix the settings by default.<br>
<br>
On Tue, Aug 11, 2015 at 12:45 AM, David Lang <<a href="mailto:david@lang.hm" target="_blank">david@lang.hm</a>> wrote:<br>
<br>
On Mon, 10 Aug 2015, John kerry wrote:<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I followed the same steps and its working too. But this i want in<br>
wireless<br>
<br>
config file, Because i dont want every time to add using GUI. So<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
When i<br>
connect to another router also, no need to add one more. I mean to<br>
say<br>
it<br>
should be in default wireless config file.<br>
<br>
<br>
what do you mean by "default wireless config file"<br>
<br>
</blockquote>
<br>
Once you have set it from the GUI, it is in the config files. The<br>
next<br>
time you boot it will use that config.<br>
<br>
If you mean that you want it in the factory default config (for<br>
when<br>
you<br>
first flash the router or do a factory reset), then take the<br>
/etc/config/wireless and /etc/config/network files and add them to<br>
your<br>
build under /files<br>
<br>
David Lang<br>
<br>
<br>
On Mon, Aug 10, 2015 at 6:18 PM, David Lang <<a href="mailto:david@lang.hm" target="_blank">david@lang.hm</a>> wrote:<br>
<br>
<br>
On Mon, 10 Aug 2015, John kerry wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Date: Mon, 10 Aug 2015 18:10:14 +0800<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
From: John kerry <<a href="mailto:kerry9842@gmail.com" target="_blank">kerry9842@gmail.com</a>><br>
<br>
To: Alex Weedy <<a href="mailto:weedy2887@gmail.com" target="_blank">weedy2887@gmail.com</a>>,<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
    OpenWrt Development List <<a href="mailto:openwrt-devel@lists.openwrt.org" target="_blank">openwrt-devel@lists.openwrt.org</a>><br>
Subject: [OpenWrt-Devel] Fwd: "3-address Wi-Fi bridging" (was:<br>
Multiple<br>
Wi-Fi<br>
    client/AP interfaces on one radio)<br>
<br>
Firstly i configure wireless config as below:<br>
<br>
config wifi-device 'wifi0'<br>
       option type 'qcawifi'<br>
       option macaddr '00:01:11:00:01:00'<br>
       option hwmode '11ng'<br>
       option txpower '17'<br>
       option htmode 'HT20'<br>
       option disabled '0'<br>
       option channel '1'<br>
<br>
config wifi-iface<br>
       option device 'wifi0'<br>
       option mode 'ap'<br>
       option ssid 'Testing_ap'<br>
       option network 'lan'<br>
       option encryption 'psk2'<br>
       option key 'Testing_ap'<br>
<br>
so its SSID was showing and able to connect any device to it.<br>
<br>
Then i scan the device and connect to one of it. While joining<br>
the<br>
network<br>
i selected Client(WDS) then the wireless config becomes like<br>
below:<br>
<br>
<br>
why don't you try following the steps in the video that you<br>
posted.<br>
<br>
<br>
</blockquote>
first connect as a client, then add an additional interface and<br>
make<br>
the<br>
second interface the AP for things to connect to.<br>
<br>
the order may make a difference.<br>
<br>
David Lang<br>
<br>
<br>
config wifi-device 'wifi0'<br>
<br>
       option type 'qcawifi'<br>
<br>
       option macaddr '00:01:11:00:01:00'<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
       option hwmode '11ng'<br>
       option txpower '17'<br>
       option htmode 'HT20'<br>
       option disabled '0'<br>
       option channel '1'<br>
<br>
config wifi-iface<br>
       option network 'wwan'<br>
       option ssid 'D_Link_Router'<br>
       option encryption 'psk2'<br>
       option device 'wifi0'<br>
       option mode 'sta'<br>
       option key 'Dlink_Router'<br>
       option wds '1'<br>
<br>
Then  i added one as shown in the video. Now its connected to<br>
router<br>
also<br>
and this add one also showing so i can connect to this also.<br>
<br>
But i am not getting how to keep this in default wireless<br>
config.<br>
<br>
Because every time we cant add one to configure like this. It<br>
should<br>
be<br>
like default should be in ap mode so any device we can connect,<br>
if<br>
its<br>
connected to another router also that SSID still should be<br>
visible<br>
and<br>
able<br>
to connect to this.<br>
<br>
<br>
<br>
<br>
On Mon, Aug 10, 2015 at 2:57 PM, John kerry <<br>
</blockquote>
<a href="mailto:kerry9842@gmail.com" target="_blank">kerry9842@gmail.com</a>><br>
wrote:<br>
<br>
<br>
When i try to configure based on video, its shows 2 one as client<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
another<br>
<br>
one as Master but i am not able to enable it . I mean to say<br>
wireless<br>
<br>
becomes disable. If i enable it using GUI also its not<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
happening.<br>
<br>
On Mon, Aug 10, 2015 at 2:55 PM, David Lang <<a href="mailto:david@lang.hm" target="_blank">david@lang.hm</a>><br>
wrote:<br>
<br>
What happens when you try to follow the video?<br>
<br>
<br>
Based on your comments, i'm guessing that things don't work<br>
when<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
you<br>
try<br>
and configure the second network and have it with a different<br>
SSID<br>
than<br>
the<br>
first network that you put in client mode.<br>
<br>
Is this correct?<br>
<br>
David Lang<br>
<br>
On Mon, 10 Aug 2015, John kerry wrote:<br>
<br>
Yes, When i am connecting to Another router its changed to<br>
Client<br>
mode.<br>
<br>
<br>
Can i configure this in repeater mode like its shows in below<br>
link:<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<a href="https://www.youtube.com/watch?v=3rbsh2zxPnk" rel="noreferrer" target="_blank">https://www.youtube.com/watch?v=3rbsh2zxPnk</a><br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
<br>
</blockquote>
<br>
<br>
</blockquote>
openwrt-devel mailing list<br>
<br>
</blockquote>
<br>
<a href="mailto:openwrt-devel@lists.openwrt.org" target="_blank">openwrt-devel@lists.openwrt.org</a><br>
</blockquote>
<a href="https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel" rel="noreferrer" target="_blank">https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel</a><br>
<br>
<br>
<br>
<br>
<br>
<br>
</blockquote>
<br>
</blockquote></blockquote>
<br>
</blockquote></blockquote>
<br>
</blockquote>
<br>
</blockquote></blockquote>
<br>
</blockquote>
<br>
</blockquote></blockquote>
<br>
</blockquote>
</div></div></blockquote></div><br></div></div></div></div></div></div>