<div dir="ltr"><div>Yes i able to config using GUI, But when i am configuring GUI i scan and connect to one AP and then add one more AP mode to it. So finally i will have wireless configuration.<br><br></div>But i cant keep this config in build option because if i load this configuration it will load what i connected last time, so next time i cant scan it anymore it showing the same connected to last AP.<br><br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 12, 2015 at 1:36 AM, 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">I thought you said a couple posts ago that you were able to configure it through the GUI to work the way you wanted it to, you were just wanting to 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 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 way when you do a factory reset (or when you first flash it)? If so, then you need to take your working config and make it part of your image via the files/ mechansim.<br>
<br>
If you are meaning something else, I'm still not understanding what you are trying to do.<span class=""><br>
<br>
David Lang<br>
<br>
<br>
<br>
On Tue, 11 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">
Date: Tue, 11 Aug 2015 21:20:58 +0800<div><div class="h5"><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: 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>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
When i load firmware the wireless config will be 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 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 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 what<br>
it was there so it shows one client which i was connected last time and 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 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>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
you have a working config<br>
<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 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>
<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>
<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>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I followed the same steps and its working too. But this i want in<br>
wireless<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
config file, Because i dont want every time to add using GUI. So When i<br>
connect to another router also, no need to add one more. I mean to say<br>
it<br>
should be in default wireless config file.<br>
<br>
<br>
</blockquote>
what do you mean by "default wireless config file"<br>
<br>
Once you have set it from the GUI, it is in the config files. The 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 when 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 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>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<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>
Date: Mon, 10 Aug 2015 18:10:14 +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: 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: [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 the<br>
network<br>
i selected Client(WDS) then the wireless config becomes like below:<br>
<br>
<br>
why don't you try following the steps in the video that you posted.<br>
</blockquote>
<br>
first connect as a client, then add an additional interface and 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>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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 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 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 config.<br>
<br>
Because every time we cant add one to configure like this. It should<br>
be<br>
like default should be in ap mode so any device we can connect, if<br>
its<br>
connected to another router also that SSID still should be visible<br>
and<br>
able<br>
to connect to this.<br>
<br>
<br>
<br>
</blockquote>
<br>
On Mon, Aug 10, 2015 at 2:57 PM, John kerry <<a href="mailto:kerry9842@gmail.com" target="_blank">kerry9842@gmail.com</a>><br>
wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
When i try to configure based on video, its shows 2 one as client<br>
another<br>
<br>
one as Master but i am not able to enable it . I mean to say wireless<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
becomes disable. If i enable it using GUI also its not 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>> wrote:<br>
<br>
What happens when you try to follow the video?<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Based on your comments, i'm guessing that things don't work when<br>
you<br>
try<br>
and configure the second network and have it with a different 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 Client<br>
mode.<br>
<br>
<br>
Can i configure this in repeater mode like its shows in below link:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<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>
</blockquote>
_______________________________________________<br>
</blockquote>
<br>
</blockquote>
openwrt-devel mailing list<br>
</blockquote>
<a href="mailto:openwrt-devel@lists.openwrt.org" target="_blank">openwrt-devel@lists.openwrt.org</a><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>
</blockquote>
<br>
</blockquote></blockquote>
<br>
</blockquote></blockquote>
<br>
</blockquote>
<br>
</div></div></blockquote>
</blockquote></div><br></div>