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.
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. On Wed, Aug 12, 2015 at 1:36 AM, David Lang <[email protected]> wrote: > 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. > > So do you have it working or not? > > 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? > > 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. > > If you are meaning something else, I'm still not understanding what you > are trying to do. > > David Lang > > > > On Tue, 11 Aug 2015, John kerry wrote: > > Date: Tue, 11 Aug 2015 21:20:58 +0800 >> >> From: John kerry <[email protected]> >> To: David Lang <[email protected]> >> Cc: Alex Weedy <[email protected]>, >> OpenWrt Development List <[email protected]> >> Subject: Re: [OpenWrt-Devel] Fwd: "3-address Wi-Fi bridging" (was: >> Multiple >> Wi-Fi client/AP interfaces on one radio) >> >> Hi, >> >> How to config wireless config file for repeater mode. I am not able to >> config. >> >> On Tue, Aug 11, 2015 at 5:34 PM, John kerry <[email protected]> wrote: >> >> When i load firmware the wireless config will be like below: >>> >>> config wifi-device 'wifi0' >>> option type 'qcawifi' >>> option macaddr '00:26:75:bd:37:24' >>> option hwmode '11ng' >>> option txpower '16' >>> option htmode 'HT20' >>> option disabled '0' >>> option channel '1' >>> >>> config wifi-iface >>> option device 'wifi0' >>> option mode 'ap' >>> option ssid 'Test_ap' >>> option network 'lan' >>> option encryption 'psk2' >>> option key 'Test_ap' >>> option wds '1' >>> >>> so it works as Access point, i can connect to it any devices. When i scan >>> it shows me list of devices then connect to anyone. then the wireless >>> config will becomes like below: >>> >>> config wifi-device 'wifi0' >>> option type 'qcawifi' >>> option macaddr '00:26:75:bd:37:24' >>> option hwmode '11ng' >>> option txpower '16' >>> option htmode 'HT20' >>> option disabled '0' >>> option channel '1' >>> >>> config wifi-iface >>> option network 'wwan' >>> option ssid 'D-link-Router' >>> option encryption 'psk2' >>> option device 'wifi0' >>> option mode 'sta' >>> option key '0010069039' >>> option wds '1' >>> >>> Then i add one more ap mode so wireless config becomes, >>> config wifi-device 'wifi0' >>> option type 'qcawifi' >>> option macaddr '00:26:75:bd:37:24' >>> option hwmode '11ng' >>> option txpower '16' >>> option htmode 'HT20' >>> option disabled '0' >>> option channel '1' >>> >>> config wifi-iface >>> option network 'wwan' >>> option ssid 'D-link-Router' >>> option encryption 'psk2' >>> option device 'wifi0' >>> option mode 'sta' >>> option key '0010069039' >>> option wds '1' >>> >>> config wifi-iface >>> option device 'wifi0' >>> option mode 'ap' >>> option ssid 'Test_ap' >>> option network 'lan' >>> option encryption 'psk2' >>> option key 'Test_ap' >>> option wds '1' >>> >>> This i added manually one ap mode. >>> >>> So if i copy this config file, build and load this firmware, its load >>> what >>> it was there so it shows one client which i was connected last time and >>> one >>> AP which i added. >>> >>> But now i cannot scan anymore and connect to new router instead of old >>> client. >>> >>> This is the problem i am facing. >>> >>> Basically i need to configure the wireless file for repeater mode. >>> >>> So after connecting to another router this SSID still should be there and >>> other device can connect to it. >>> >>> On Tue, Aug 11, 2015 at 4:30 PM, David Lang <[email protected]> wrote: >>> >>> you have a working config >>>> >>>> but you want to do something by default >>>> >>>> what you want to do is different at different times. >>>> >>>> what is it that you want to be the default? when do you want this >>>> default >>>> to apply? This isn't clear. >>>> >>>> David Lang >>>> >>>> On Tue, 11 Aug 2015, John kerry wrote: >>>> >>>> Date: Tue, 11 Aug 2015 15:51:38 +0800 >>>> >>>>> From: John kerry <[email protected]> >>>>> To: David Lang <[email protected]> >>>>> Cc: Alex Weedy <[email protected]>, >>>>> OpenWrt Development List <[email protected]> >>>>> Subject: Re: [OpenWrt-Devel] Fwd: "3-address Wi-Fi bridging" (was: >>>>> Multiple >>>>> >>>>> Wi-Fi client/AP interfaces on one radio) >>>>> >>>>> Yes, >>>>> >>>>> i can copy the config and build with this configuration, >>>>> >>>>> for example now i have connected to some router, another time we can >>>>> connect to any router. So how i can fix the settings by default. >>>>> >>>>> On Tue, Aug 11, 2015 at 12:45 AM, David Lang <[email protected]> wrote: >>>>> >>>>> On Mon, 10 Aug 2015, John kerry wrote: >>>>> >>>>>> >>>>>> I followed the same steps and its working too. But this i want in >>>>>> wireless >>>>>> >>>>>> config file, Because i dont want every time to add using GUI. So When >>>>>>> i >>>>>>> connect to another router also, no need to add one more. I mean to >>>>>>> say >>>>>>> it >>>>>>> should be in default wireless config file. >>>>>>> >>>>>>> >>>>>>> what do you mean by "default wireless config file" >>>>>> >>>>>> Once you have set it from the GUI, it is in the config files. The next >>>>>> time you boot it will use that config. >>>>>> >>>>>> If you mean that you want it in the factory default config (for when >>>>>> you >>>>>> first flash the router or do a factory reset), then take the >>>>>> /etc/config/wireless and /etc/config/network files and add them to >>>>>> your >>>>>> build under /files >>>>>> >>>>>> David Lang >>>>>> >>>>>> >>>>>> On Mon, Aug 10, 2015 at 6:18 PM, David Lang <[email protected]> wrote: >>>>>> >>>>>> >>>>>>> On Mon, 10 Aug 2015, John kerry wrote: >>>>>>> >>>>>>> >>>>>>>> Date: Mon, 10 Aug 2015 18:10:14 +0800 >>>>>>>> >>>>>>>> From: John kerry <[email protected]> >>>>>>>> >>>>>>>>> To: Alex Weedy <[email protected]>, >>>>>>>>> OpenWrt Development List <[email protected]> >>>>>>>>> Subject: [OpenWrt-Devel] Fwd: "3-address Wi-Fi bridging" (was: >>>>>>>>> Multiple >>>>>>>>> Wi-Fi >>>>>>>>> client/AP interfaces on one radio) >>>>>>>>> >>>>>>>>> Firstly i configure wireless config as below: >>>>>>>>> >>>>>>>>> config wifi-device 'wifi0' >>>>>>>>> option type 'qcawifi' >>>>>>>>> option macaddr '00:01:11:00:01:00' >>>>>>>>> option hwmode '11ng' >>>>>>>>> option txpower '17' >>>>>>>>> option htmode 'HT20' >>>>>>>>> option disabled '0' >>>>>>>>> option channel '1' >>>>>>>>> >>>>>>>>> config wifi-iface >>>>>>>>> option device 'wifi0' >>>>>>>>> option mode 'ap' >>>>>>>>> option ssid 'Testing_ap' >>>>>>>>> option network 'lan' >>>>>>>>> option encryption 'psk2' >>>>>>>>> option key 'Testing_ap' >>>>>>>>> >>>>>>>>> so its SSID was showing and able to connect any device to it. >>>>>>>>> >>>>>>>>> Then i scan the device and connect to one of it. While joining the >>>>>>>>> network >>>>>>>>> i selected Client(WDS) then the wireless config becomes like below: >>>>>>>>> >>>>>>>>> >>>>>>>>> why don't you try following the steps in the video that you posted. >>>>>>>>> >>>>>>>> >>>>>>>> first connect as a client, then add an additional interface and make >>>>>>>> the >>>>>>>> second interface the AP for things to connect to. >>>>>>>> >>>>>>>> the order may make a difference. >>>>>>>> >>>>>>>> David Lang >>>>>>>> >>>>>>>> >>>>>>>> config wifi-device 'wifi0' >>>>>>>> >>>>>>>> option type 'qcawifi' >>>>>>>> >>>>>>>>> option macaddr '00:01:11:00:01:00' >>>>>>>>> option hwmode '11ng' >>>>>>>>> option txpower '17' >>>>>>>>> option htmode 'HT20' >>>>>>>>> option disabled '0' >>>>>>>>> option channel '1' >>>>>>>>> >>>>>>>>> config wifi-iface >>>>>>>>> option network 'wwan' >>>>>>>>> option ssid 'D_Link_Router' >>>>>>>>> option encryption 'psk2' >>>>>>>>> option device 'wifi0' >>>>>>>>> option mode 'sta' >>>>>>>>> option key 'Dlink_Router' >>>>>>>>> option wds '1' >>>>>>>>> >>>>>>>>> Then i added one as shown in the video. Now its connected to >>>>>>>>> router >>>>>>>>> also >>>>>>>>> and this add one also showing so i can connect to this also. >>>>>>>>> >>>>>>>>> But i am not getting how to keep this in default wireless config. >>>>>>>>> >>>>>>>>> Because every time we cant add one to configure like this. It >>>>>>>>> should >>>>>>>>> be >>>>>>>>> like default should be in ap mode so any device we can connect, if >>>>>>>>> its >>>>>>>>> connected to another router also that SSID still should be visible >>>>>>>>> and >>>>>>>>> able >>>>>>>>> to connect to this. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> On Mon, Aug 10, 2015 at 2:57 PM, John kerry <[email protected]> >>>>>>>> wrote: >>>>>>>> >>>>>>>> >>>>>>>>> When i try to configure based on video, its shows 2 one as client >>>>>>>>> another >>>>>>>>> >>>>>>>>> one as Master but i am not able to enable it . I mean to say >>>>>>>>> wireless >>>>>>>>> >>>>>>>>>> becomes disable. If i enable it using GUI also its not happening. >>>>>>>>>> >>>>>>>>>> On Mon, Aug 10, 2015 at 2:55 PM, David Lang <[email protected]> >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>> What happens when you try to follow the video? >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Based on your comments, i'm guessing that things don't work when >>>>>>>>>>> you >>>>>>>>>>> try >>>>>>>>>>> and configure the second network and have it with a different >>>>>>>>>>> SSID >>>>>>>>>>> than >>>>>>>>>>> the >>>>>>>>>>> first network that you put in client mode. >>>>>>>>>>> >>>>>>>>>>> Is this correct? >>>>>>>>>>> >>>>>>>>>>> David Lang >>>>>>>>>>> >>>>>>>>>>> On Mon, 10 Aug 2015, John kerry wrote: >>>>>>>>>>> >>>>>>>>>>> Yes, When i am connecting to Another router its changed to Client >>>>>>>>>>> mode. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Can i configure this in repeater mode like its shows in below >>>>>>>>>>> link: >>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> https://www.youtube.com/watch?v=3rbsh2zxPnk >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> _______________________________________________ >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> openwrt-devel mailing list >>>>>>>>> >>>>>>>> [email protected] >>>>>>>> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>> >>> >>
_______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
