Re: [OpenWrt-Devel] Why STA wifi interface shutsdown AP interface?
Hi, It is a known issue, some descriptions you can find there - http://vonger.cn/?p=1778 I guess it is not depend on a driver or hw. 15.07.2015, 13:33, valent.turko...@gmail.com valent.turko...@gmail.com: Hi, Atheros hardware supports multiple wireless interfaces, and ath9k driver takes advantage of that. What is not clear to me is why if you have two interfaces, one in sta mode and other in ap mode then ap interface isn't available until sta interface is connected to upstream AP. Why? Is there any way to have multiple wifi intefaces and that they aren't linked together but that one can work independent of other? ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel -- Regards, Yaroslav ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Why STA wifi interface shutsdown AP interface?
The script is a bit ugly ... but the main idea is correct :) But i would prefer next behavior: if STA has lost the connection to upstream AP, then our AP must not fail and switch to the channel from our config file or to last used channel (aka STA channel) ... Maybe someone from OpenWRT developers can create a patch for that ? 15.07.2015, 14:28, valent.turko...@gmail.com valent.turko...@gmail.com: I don't understad how that script even works! Here is the script from that blog post - http://pastebin.com/ihNAfbcr Why use wifi-iface[99] ? Who has 100 wifi interfaces? When I manually run uci show wireless.@wifi-iface[99] I get uci: Entry not found as expected. -- Regards, Yaroslav ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] VoCore as wireless bridge
Hi, I am trying to use VoCore (RT5350 board) as wireless bridge with the following wpa_supplicant config: ctrl_interface=/var/run/wpa.sock update_config=1 fast_reauth=1 ap_scan=1 network={ ssid=home_wifi psk=915644af001df2afbcf02df60f3fc27f9f7d7b09f1ac3667bb84e0776ec25e08 } I do: # iw dev wlan0 interface add client0 type station # wpa_supplicant -i client0 -c ./wpa.conf -dd -t And got log: 1436168056.380440: Successfully initialized wpa_supplicant 1436168057.769320: client0: SME: Trying to authenticate with 00:21:91:8b:61:c4 (SSID='home_wifi' freq=2462 MHz) 1436168057.827220: client0: Trying to associate with 00:21:91:8b:61:c4 (SSID='home_wifi' freq=2462 MHz) 1436168057.874320: client0: Associated with 00:21:91:8b:61:c4 1436168057.989180: client0: WPA: Key negotiation completed with 00:21:91:8b:61:c4 [PTK=CCMP GTK=CCMP] 1436168057.990540: client0: CTRL-EVENT-CONNECTED - Connection to 00:21:91:8b:61:c4 completed [id=0 id_str=] Kernel side: Mon Jul 6 07:36:11 2015 kern.info kernel: [130154.44] client0: authenticate with 00:21:91:8b:61:c4 Mon Jul 6 07:36:11 2015 kern.info kernel: [130154.48] client0: send auth to 00:21:91:8b:61:c4 (try 1/3) Mon Jul 6 07:36:11 2015 kern.info kernel: [130154.49] client0: authenticated Mon Jul 6 07:36:11 2015 kern.info kernel: [130154.51] client0: associate with 00:21:91:8b:61:c4 (try 1/3) Mon Jul 6 07:36:11 2015 kern.info kernel: [130154.52] client0: RX AssocResp from 00:21:91:8b:61:c4 (capab=0x411 status=0 aid=1) Mon Jul 6 07:36:11 2015 kern.info kernel: [130154.54] client0: associated Looks like everything is fine: # iwinfo client0 ESSID: home_wifi Access Point: 00:21:91:8B:61:C4 Mode: Client Channel: 11 (2.462 GHz) Tx-Power: 20 dBm Link Quality: 42/70 Signal: -68 dBm Noise: unknown Bit Rate: 65.0 MBit/s Encryption: unknown Type: nl80211 HW Mode(s): 802.11bgn Hardware: unknown [Generic MAC80211] TX power offset: unknown Frequency offset: unknown Supports VAPs: yes PHY name: phy0 wlan0 ESSID: OpenWrt Access Point: 00:0C:43:30:50:F8 Mode: Master Channel: 11 (2.462 GHz) Tx-Power: 20 dBm Link Quality: unknown/70 Signal: unknown Noise: unknown Bit Rate: unknown Encryption: none Type: nl80211 HW Mode(s): 802.11bgn Hardware: unknown [Generic MAC80211] TX power offset: unknown Frequency offset: unknown Supports VAPs: yes PHY name: phy0 As next step, i run: ifconfig client0 172.16.0.31 netmask 255.255.240.0 up # ping 172.16.0.1 PING 172.16.0.1 (172.16.0.1): 56 data bytes 64 bytes from 172.16.0.1: seq=0 ttl=64 time=2.160 ms 64 bytes from 172.16.0.1: seq=1 ttl=64 time=2.740 ms ^C --- 172.16.0.1 ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max = 2.160/2.450/2.740 ms # route add default gw 172.16.0.1 dev client0 # echo 'nameserver 8.8.8.8' /etc/resolv.conf # opkg update opkg install iperf HW: GW) bcm63168 based router PC) connected to gw as 172.16.0.111 on gigabit ethernet port VoCore) connected to gw via WiFi (2.4 Ghz) And run test on VoCore: # iperf -c 172.16.0.111 -i 5 -t 999 Client connecting to 172.16.0.111, TCP port 5001 TCP window size: 43.8 KByte (default) [ 3] local 172.16.0.31 port 32956 connected with 172.16.0.111 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0- 5.0 sec 12.0 MBytes 20.1 Mbits/sec [ 3] 5.0-10.0 sec 11.6 MBytes 19.5 Mbits/sec [ 3] 10.0-15.0 sec 11.5 MBytes 19.3 Mbits/sec [ 3] 15.0-20.0 sec 11.4 MBytes 19.1 Mbits/sec [ 3] 20.0-25.0 sec 11.5 MBytes 19.3 Mbits/sec [ 3] 25.0-30.0 sec 11.6 MBytes 19.5 Mbits/sec [ 3] 30.0-35.0 sec 11.5 MBytes 19.3 Mbits/sec But sometimes i got this without *ANY* logs or warnings on kernel/wpa_supplicant, And in this moment ping also fails: [ 3] 205.0-210.0 sec 3.12 MBytes 5.24 Mbits/sec [ 3] 210.0-215.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 215.0-220.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 220.0-225.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 225.0-230.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 230.0-235.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 235.0-240.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 240.0-245.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 245.0-250.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 250.0-255.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 255.0-260.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 260.0-265.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 265.0-270.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 270.0-275.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 275.0-280.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 280.0-285.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 285.0-290.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 290.0-295.0 sec 7.00 MBytes 11.7 Mbits/sec [ 3] 295.0-300.0 sec 11.6 MBytes 19.5 Mbits/sec OpenWrt version is r46180 with default config. (I just use
[OpenWrt-Devel] VoCore as wireless bridge
Hi, I am trying to use VoCore (RT5350 board) as wireless bridge with the following wpa_supplicant config: ctrl_interface=/var/run/wpa.sock update_config=1 fast_reauth=1 ap_scan=1 network={ ssid=home_wifi psk=915644af001df2afbcf02df60f3fc27f9f7d7b09f1ac3667bb84e0776ec25e08 } I do: # iw dev wlan0 interface add client0 type station # wpa_supplicant -i client0 -c ./wpa.conf -dd -t And got log: 1436168056.380440: Successfully initialized wpa_supplicant 1436168057.769320: client0: SME: Trying to authenticate with 00:21:91:8b:61:c4 (SSID='home_wifi' freq=2462 MHz) 1436168057.827220: client0: Trying to associate with 00:21:91:8b:61:c4 (SSID='home_wifi' freq=2462 MHz) 1436168057.874320: client0: Associated with 00:21:91:8b:61:c4 1436168057.989180: client0: WPA: Key negotiation completed with 00:21:91:8b:61:c4 [PTK=CCMP GTK=CCMP] 1436168057.990540: client0: CTRL-EVENT-CONNECTED - Connection to 00:21:91:8b:61:c4 completed [id=0 id_str=] Kernel side: Mon Jul 6 07:36:11 2015 kern.info kernel: [130154.44] client0: authenticate with 00:21:91:8b:61:c4 Mon Jul 6 07:36:11 2015 kern.info kernel: [130154.48] client0: send auth to 00:21:91:8b:61:c4 (try 1/3) Mon Jul 6 07:36:11 2015 kern.info kernel: [130154.49] client0: authenticated Mon Jul 6 07:36:11 2015 kern.info kernel: [130154.51] client0: associate with 00:21:91:8b:61:c4 (try 1/3) Mon Jul 6 07:36:11 2015 kern.info kernel: [130154.52] client0: RX AssocResp from 00:21:91:8b:61:c4 (capab=0x411 status=0 aid=1) Mon Jul 6 07:36:11 2015 kern.info kernel: [130154.54] client0: associated Looks like everything is fine: # iwinfo client0 ESSID: home_wifi Access Point: 00:21:91:8B:61:C4 Mode: Client Channel: 11 (2.462 GHz) Tx-Power: 20 dBm Link Quality: 42/70 Signal: -68 dBm Noise: unknown Bit Rate: 65.0 MBit/s Encryption: unknown Type: nl80211 HW Mode(s): 802.11bgn Hardware: unknown [Generic MAC80211] TX power offset: unknown Frequency offset: unknown Supports VAPs: yes PHY name: phy0 wlan0 ESSID: OpenWrt Access Point: 00:0C:43:30:50:F8 Mode: Master Channel: 11 (2.462 GHz) Tx-Power: 20 dBm Link Quality: unknown/70 Signal: unknown Noise: unknown Bit Rate: unknown Encryption: none Type: nl80211 HW Mode(s): 802.11bgn Hardware: unknown [Generic MAC80211] TX power offset: unknown Frequency offset: unknown Supports VAPs: yes PHY name: phy0 As next step, i run: ifconfig client0 172.16.0.31 netmask 255.255.240.0 up # ping 172.16.0.1 PING 172.16.0.1 (172.16.0.1): 56 data bytes 64 bytes from 172.16.0.1: seq=0 ttl=64 time=2.160 ms 64 bytes from 172.16.0.1: seq=1 ttl=64 time=2.740 ms ^C --- 172.16.0.1 ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max = 2.160/2.450/2.740 ms # route add default gw 172.16.0.1 dev client0 # echo 'nameserver 8.8.8.8' /etc/resolv.conf # opkg update opkg install iperf HW: GW) bcm63168 based router PC) connected to gw as 172.16.0.111 on gigabit ethernet port VoCore) connected to gw via WiFi (2.4 Ghz) And run test on VoCore: # iperf -c 172.16.0.111 -i 5 -t 999 Client connecting to 172.16.0.111, TCP port 5001 TCP window size: 43.8 KByte (default) [ 3] local 172.16.0.31 port 32956 connected with 172.16.0.111 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0- 5.0 sec 12.0 MBytes 20.1 Mbits/sec [ 3] 5.0-10.0 sec 11.6 MBytes 19.5 Mbits/sec [ 3] 10.0-15.0 sec 11.5 MBytes 19.3 Mbits/sec [ 3] 15.0-20.0 sec 11.4 MBytes 19.1 Mbits/sec [ 3] 20.0-25.0 sec 11.5 MBytes 19.3 Mbits/sec [ 3] 25.0-30.0 sec 11.6 MBytes 19.5 Mbits/sec [ 3] 30.0-35.0 sec 11.5 MBytes 19.3 Mbits/sec But sometimes i got this without *ANY* logs or warnings on kernel/wpa_supplicant, And in this moment ping also fails: [ 3] 205.0-210.0 sec 3.12 MBytes 5.24 Mbits/sec [ 3] 210.0-215.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 215.0-220.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 220.0-225.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 225.0-230.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 230.0-235.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 235.0-240.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 240.0-245.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 245.0-250.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 250.0-255.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 255.0-260.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 260.0-265.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 265.0-270.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 270.0-275.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 275.0-280.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 280.0-285.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 285.0-290.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 290.0-295.0 sec 7.00 MBytes 11.7 Mbits/sec [ 3]
Re: [OpenWrt-Devel] [PATCH 1/5] image.mk: add Build step combined-image
Hi, I think, you can replace the following line: $(word 1,$^) By: $ 07.06.2015, 15:29, Alexander Couzens lyn...@fe80.eu: Signed-off-by: Alexander Couzens lyn...@fe80.eu --- include/image.mk | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/image.mk b/include/image.mk index 020418d..287c679 100644 --- a/include/image.mk +++ b/include/image.mk @@ -326,6 +326,13 @@ define Build/check-size } endef +define Build/combined-image + -sh $(TOPDIR)/scripts/combined-image.sh \ + $(word 1,$^) \ + $@ \ + $@.new + @mv $@.new $@ +endef define Device/Init PROFILES := $(PROFILE) -- 2.4.2 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel -- Regards, Yaroslav ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] AllWinner/sunxi platform support status
Hi, Have you looked to https://github.com/nekromant/openwrt-sunxi ? 30.07.2014, 13:28, Derek Vicky thewerth...@gmail.com: Anyone? On 07/26/2014 11:25 AM, Derek Werthmuller wrote: I'm looking at using one of the sunxi targets over the rpi for more ram and cpu power. The primary candidate is the Bannana Pi and the cubiboards. Using the A20 processor. For my application I need the Ethernet and USB features to be stable. ANyone use either of these platforms and can make a recommendation? Openwrt works well on?... quality of the hardware?.. Both cores recognized.? Potential longevity of the product/community behind them. I see both of these system in trunk http://downloads.openwrt.org/snapshots/trunk/sunxi/ So I assume that they both build, and boot to some level of functionality. Thanks Derek ___ 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