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 <da...@lang.hm> wrote:

On Mon, 10 Aug 2015, John kerry wrote:

Date: Mon, 10 Aug 2015 18:10:14 +0800
From: John kerry <kerry9...@gmail.com>
To: Alex Weedy <weedy2...@gmail.com>,
    OpenWrt Development List <openwrt-devel@lists.openwrt.org>
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 <kerry9...@gmail.com> 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 <da...@lang.hm> 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
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to