<div dir="ltr"><div>Sorry i didn't mentioned fully.<br><br></div>I want this to happen,  <span class="im">" disable WPS if this feature is enabled for the WiFi module"</span></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 13, 2015 at 5:22 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><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br><span class="">
i will check whether this is driver issue or Luci,<br>
<br>
I have to add " disable WPS if this feature is enabled for the WiFi module"<br>
this in wireless. How i can handle this.<br>
</span></blockquote>
<br>
??? is this something you want to happen? something that happens that you don't want? we can't read your mind.<span class="HOEnZb"><font color="#888888"><br>
<br>
David Lang</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks,<br>
<br>
On Thu, Aug 13, 2015 at 2:18 PM, 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">
On Thu, 13 Aug 2015, John kerry wrote:<br>
<br>
But i dont think so this driver might be the problem, Because when i am<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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>
<br>
</blockquote>
<br>
the exact file that you create as a result of the GUI is what you would<br>
put in the build config. But you say that you don't want that file because<br>
you want to connect to different SSIDs on different channels, so you don't<br>
_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<br>
looses the config for the local systems to connect to it. This could be a<br>
LUCI problem, or it could be that the driver requires that this be reset<br>
afterwords.<br>
<br>
If it's a LUCI problem, you will have to fix that code (or go to where<br>
tehy develop it and convince them to fix it). If it's a driver problem you<br>
are out of luck.<br>
<br>
But we can't tell you a file to put in the build that will connect to any<br>
remote system because there isn't one file that will automatically connect<br>
to any of several remote systems.<br>
<br>
David Lang<br>
<br>
<br>
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>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
If you want to have one config thaqt will talk to many different APs with<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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<br>
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<br>
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>
<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<br>
time<br>
scan and connect to any router. If i used GUI one config its fixed to<br>
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>><br>
wrote:<br>
<br>
Yes i able to config using GUI, But when i am configuring GUI i scan and<br>
<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<br>
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<br>
it<br>
<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<br>
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<br>
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<br>
via<br>
the<br>
files/ mechansim.<br>
<br>
If you are meaning something else, I'm still not understanding what<br>
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>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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<br>
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>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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<br>
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<br>
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<br>
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<br>
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>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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>
<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<br>
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>><br>
wrote:<br>
<br>
On Mon, 10 Aug 2015, John kerry wrote:<br>
<br>
<br>
I followed the same steps and its working too. But this i want in<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
wireless<br>
<br>
config file, Because i dont want every time to add using GUI. So<br>
<br>
When i<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
connect to another router also, no need to add one more. I mean<br>
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>
<br>
</blockquote>
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<br>
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>><br>
wrote:<br>
<br>
<br>
On Mon, 10 Aug 2015, John kerry wrote:<br>
<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>
<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>
<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>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
</blockquote>
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>
first connect as a client, then add an additional interface<br>
</blockquote>
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>
<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<br>
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>
<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<br>
client<br>
<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>
<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>
you<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
try<br>
and configure the second network and have it with a<br>
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<br>
below<br>
link:<br>
<br>
<br>
<a href="https://www.youtube.com/watch?v=3rbsh2zxPnk" rel="noreferrer" target="_blank">https://www.youtube.com/watch?v=3rbsh2zxPnk</a><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<br>
<br>
_______________________________________________<br>
<br>
<br>
</blockquote>
<br>
openwrt-devel mailing list<br>
</blockquote>
<br>
<br>
</blockquote>
<a href="mailto:openwrt-devel@lists.openwrt.org" target="_blank">openwrt-devel@lists.openwrt.org</a><br>
<br>
</blockquote>
<br>
<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>
<br>
</blockquote>
<br>
</blockquote></blockquote>
<br>
</blockquote></blockquote>
<br>
</blockquote>
<br>
</blockquote></blockquote>
<br>
</blockquote>
<br>
</blockquote></blockquote>
<br>
</blockquote></blockquote>
<br>
</blockquote>
</div></div></blockquote></div><br></div>