Page 1 of 1

Streaming data by wifi

Posted: Sat Apr 18, 2015 9:34 pm
by valdemirs
Hi,

In my home I have a Mikrotik RB951G-2HnD (Webfig v6.27).
I have issues streaming data from a stb to my PC via wifi (~8mb/s).
Images haves pixelation.
Is there any way to fix this issue ?
My stb stays at 5 meters from my router.

Re: Streaming data by wifi

Posted: Mon Apr 20, 2015 12:56 pm
by troffasky
What sort of throughput do other wireless clients get? 8Mbps doesn't sound like much. What happens to ping times to your STB when it's streaming?

Re: Streaming data by wifi

Posted: Mon Apr 20, 2015 4:57 pm
by valdemirs
I don´t have packet loss in ping command when streaming is running:

Estatísticas do Ping para 192.168.88.100:
Pacotes: Enviados = 251, Recebidos = 251, Perdidos = 0 (0% de
perda),
Aproximar um número redondo de vezes em milissegundos:
Mínimo = 1ms, Máximo = 1992ms, Média = 28ms
Control-C
^C

Please look at this post to see more details about this problem:

http://www.vuplus-community.net/board/t ... -pc.22276/

Thanks.

Re: Streaming data by wifi

Posted: Mon Apr 20, 2015 11:21 pm
by troffasky
If the ping time isn't perturbed when you're streaming, then it doesn't sound like you're hitting a limit in the network bandwidth.

Re: Streaming data by wifi

Posted: Sat Apr 25, 2015 4:10 pm
by valdemirs
Hi,

I did a test , installing a network cable connecting my set top box with Mikrotik router, and images are perfect !

I can´t believe that my Mikrotik RB951G-2HnD router can´t manipulate 16Mbps data by wifi !

http://postimg.org/image/ltejyidy9/

Re: Streaming data by wifi

Posted: Sat Apr 25, 2015 5:25 pm
by DigitalBlueBiz
Hi,
seems that you have issues with your Wi-Fi settings, but it's quite hard to help you with data you gave us.
Can you connect using winbox (or ssh), run following commands in "new terminal" and paste results here?

This will print all your configuration hiding sensitive data (like passwords, WPA key ecc)
#1: /export hide-sensitive

Then during your issue:
#2: /interface wireless registration-table print
The above command will print the registration table which contains data about current associated clients

Once you provide info above I'll be able to help you further.

Re: Streaming data by wifi

Posted: Sun Apr 26, 2015 1:19 am
by deanMKD1
I streamed HD video from my external HDD via WiFi without problems. Im distanced from router ~20m with many walls between router and me. However, WiFi is not recomended in any way to stream too much data. If you want performances, and stability only cable is the answer. :)

Re: Streaming data by wifi

Posted: Sun Apr 26, 2015 4:22 am
by valdemirs
I streamed HD video from my external HDD via WiFi without problems. Im distanced from router ~20m with many walls between router and me. However, WiFi is not recomended in any way to stream too much data. If you want performances, and stability only cable is the answer. :)

Is there any config changes that I could apply in my router to improve it ?

Re: Streaming data by wifi

Posted: Sun Apr 26, 2015 4:22 am
by valdemirs
I streamed HD video from my external HDD via WiFi without problems. Im distanced from router ~20m with many walls between router and me. However, WiFi is not recomended in any way to stream too much data. If you want performances, and stability only cable is the answer. :)

Is there any config changes that I could apply in my router to improve it ?

Re: Streaming data by wifi

Posted: Sun Apr 26, 2015 5:18 pm
by deanMKD1
This is mine Wireless Configuration>

Image
Image
Image
Image

Re: Streaming data by wifi

Posted: Sun Apr 26, 2015 8:24 pm
by valdemirs
I did that changes in my router like yours, but unfortunately I continue with that issue...

http://postimg.org/image/3milsdflf/

Re: Streaming data by wifi

Posted: Mon Apr 27, 2015 3:26 pm
by valdemirs
Hi,
seems that you have issues with your Wi-Fi settings, but it's quite hard to help you with data you gave us.
Can you connect using winbox (or ssh), run following commands in "new terminal" and paste results here?

This will print all your configuration hiding sensitive data (like passwords, WPA key ecc)
#1: /export hide-sensitive

Then during your issue:
#2: /interface wireless registration-table print
The above command will print the registration table which contains data about current associated clients

Once you provide info above I'll be able to help you further.



Hi,


Follow below data that I got with that 2 commands :

[admin@MikroTik] > /export hide-sensitive
# apr/27/2015 08:14:55 by RouterOS 6.27
# software id = 716U-PLJV
#
/interface bridge
add admin-mac=4C:5E:0C:BA:5F:D9 auto-mac=no mtu=1500 name=bridge-local
/interface wireless
set [ find default-name=wlan1 ] adaptive-noise-immunity=ap-and-client-mode band=2ghz-b/g/n country=brazil \
default-authentication=no disabled=no distance=indoors frequency=2472 l2mtu=2290 mode=ap-bridge ssid=vjs_network \
wireless-protocol=802.11
/interface ethernet
set [ find default-name=ether1 ] name=ether1-gateway
set [ find default-name=ether2 ] name=ether2-master-local
set [ find default-name=ether3 ] master-port=ether2-master-local name=ether3-slave-local
set [ find default-name=ether4 ] master-port=ether2-master-local name=ether4-slave-local
set [ find default-name=ether5 ] master-port=ether2-master-local name=ether5-slave-local
/ip neighbor discovery
set ether1-gateway discover=no
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa2-psk mode=dynamic-keys
/ip pool
add name=dhcp ranges=192.168.88.10-192.168.88.254
add name=vpn ranges=192.168.89.2-192.168.89.255
/ip dhcp-server
add address-pool=dhcp disabled=no interface=bridge-local name=default
/ppp profile
set 1 local-address=192.168.89.1 remote-address=vpn
/queue simple
add name="VuDuo2 Priority" target=192.168.88.251/32
/interface bridge port
add bridge=bridge-local interface=ether2-master-local
add bridge=bridge-local interface=wlan1
/interface l2tp-server server
set use-ipsec=yes
/interface sstp-server server
set default-profile=default-encryption
/interface wireless access-list
add comment=VuDuo2-Wireless mac-address=78:44:76:B7:1A:84
add comment=Iphone mac-address=98:FE:94:27:94:B0
add comment=MacMini-Wireless mac-address=00:26:B0:F9:EC:1A
add comment=Notebook mac-address=24:0A:64:C6:21:F6
add comment="HP Printer" mac-address=38:EA:A7:C0:C6:66
add comment="tplink TL-WR702N" mac-address=C0:4A:00:68:BE:58
/ip address
add address=192.168.88.1/24 comment="default configuration" interface=ether2-master-local network=192.168.88.0
/ip cloud
set ddns-enabled=yes
/ip dhcp-client
add comment="default configuration" dhcp-options=hostname,clientid disabled=no interface=ether1-gateway
/ip dhcp-server network
add address=192.168.88.0/24 comment="default configuration" dns-server=192.168.88.1 gateway=192.168.88.1
/ip dns
set allow-remote-requests=yes
/ip dns static
add address=192.168.88.1 name=router
/ip firewall filter
add chain=input comment="default configuration" protocol=icmp
add chain=input comment="default configuration" connection-state=established
add chain=input comment="default configuration" connection-state=related
add chain=input comment="allow l2tp" dst-port=1701 protocol=udp
add chain=input comment="allow pptp" dst-port=1723 protocol=tcp
add chain=input comment="allow sstp" dst-port=443 protocol=tcp
add action=drop chain=input comment="default configuration" in-interface=ether1-gateway
add chain=forward comment="default configuration" connection-state=established
add chain=forward comment="default configuration" connection-state=related
add action=drop chain=forward comment="default configuration" connection-state=invalid
/ip firewall nat
add action=masquerade chain=srcnat comment="default configuration" out-interface=ether1-gateway to-addresses=0.0.0.0
add action=masquerade chain=srcnat comment="masq. vpn traffic" src-address=192.168.89.0/24
/ppp secret
add name=vpn
/snmp
set contact="MikroTik RB951G-2HnD" enabled=yes location="Sao Paulo"
/system clock
set time-zone-name=America/Cuiaba
/system leds
set 0 interface=wlan1
/system ntp client
set enabled=yes primary-ntp=200.160.7.186 secondary-ntp=201.49.148.135
/tool mac-server
set [ find default=yes ] disabled=yes
add interface=ether2-master-local
add interface=ether3-slave-local
add interface=ether4-slave-local
add interface=ether5-slave-local
add interface=wlan1
add interface=bridge-local
/tool mac-server mac-winbox
set [ find default=yes ] disabled=yes
add interface=ether2-master-local
add interface=ether3-slave-local
add interface=ether4-slave-local
add interface=ether5-slave-local
add interface=wlan1
add interface=bridge-local
[admin@MikroTik] >



[admin@MikroTik] > /interface wireless registration-table print
# INTERFACE RADIO-NAME MAC-ADDRESS AP SIGNAL-STRENGTH TX-RATE UPTIME
0 ;;; tplink TL-WR702N
wlan1 C0:4A:00:68:BE:58 no -65dBm@1Mbps 65.0... 6m4s
1 ;;; Iphone
wlan1 98:FE:94:27:94:B0 no -49dBm@1Mbps 11.0... 3m36s
[admin@MikroTik] >

Re: Streaming data by wifi

Posted: Mon Apr 27, 2015 8:49 pm
by DigitalBlueBiz
Hi valdemirs,

Is that simple queue targeting your set top box?
If yes that would be the issue since the default queue configuration is not enough for media streaming, therefore please try to disable it and let me know

Re: Streaming data by wifi

Posted: Tue Apr 28, 2015 1:36 pm
by valdemirs
Hi valdemirs,

Is that simple queue targeting your set top box?
If yes that would be the issue since the default queue configuration is not enough for media streaming, therefore please try to disable it and let me know

Hi,

I remove that queue from the router´s config , with no success. I have a lot of pixelation in images yet.

I´ll buy this device to try solve this issue:

http://www.dx.com/p/comfast-cf-wp500m-5 ... T9ggiFViko

Thanks.

Re: Streaming data by wifi

Posted: Tue Apr 28, 2015 4:14 pm
by DigitalBlueBiz
valdemirs,
that's really strange I have AP installations which support around 100mbit over Wi-fi.

Did you try changing frequency?

Try to download Btest from Mikrotik download page and run a TCP test to ensure that issue is outside our wireless config.

Re: Streaming data by wifi

Posted: Tue Apr 28, 2015 5:45 pm
by valdemirs
valdemirs,
that's really strange I have AP installations which support around 100mbit over Wi-fi.

Did you try changing frequency?

Try to download Btest from Mikrotik download page and run a TCP test to ensure that issue is outside our wireless config.
I changed frequencies in my Mikrotik router, but with no success.

I think that I have a lot of interference here,

Issuing a Scan I find 114 networks around me.

http://postimg.org/image/gszmgubjt/


I downloaded btest, but which IP address need I put in the tool ? My Set top box Ip ?

Re: Streaming data by wifi

Posted: Tue Apr 28, 2015 7:01 pm
by DigitalBlueBiz
valdemirs,
Interferences can be a problem but if signal is very low (below -90dbm) it's not a big deal, if it's strong (above -90dbm) then you need to avoid at least 3 frequencies around it.
If we will not able to find any suitable channel then we need to change the band (e.g. move to 5Ghz), change AP location or find the channel with lowest possible interference, unfortunately 801.11b/g/n has only 3 non overlapping frequencies and if all of them are busy then we are without solutions.

About btest you need to put your Mikrotik IP there, it's actually the PC version of the bandwidth test that you can find inside the RouterBOARD.
You need to disable all networking related software on your PC and then run the test, based on the results we will know where the problem is and how to fix it.

Re: Streaming data by wifi

Posted: Wed Apr 29, 2015 4:43 pm
by valdemirs
valdemirs,
Interferences can be a problem but if signal is very low (below -90dbm) it's not a big deal, if it's strong (above -90dbm) then you need to avoid at least 3 frequencies around it.
If we will not able to find any suitable channel then we need to change the band (e.g. move to 5Ghz), change AP location or find the channel with lowest possible interference, unfortunately 801.11b/g/n has only 3 non overlapping frequencies and if all of them are busy then we are without solutions.

About btest you need to put your Mikrotik IP there, it's actually the PC version of the bandwidth test that you can find inside the RouterBOARD.
You need to disable all networking related software on your PC and then run the test, based on the results we will know where the problem is and how to fix it.

How save data to show you ?

http://postimg.org/image/j87wgbb93/

Re: Streaming data by wifi

Posted: Wed Apr 29, 2015 5:21 pm
by DigitalBlueBiz
valdemirs,
from the output you sent me your router is able to create a total throughput of ~ 80Mbit (53Mbit towards your laptop and 26Mbit from your laptop to your router) therefore the wireless configuration is ok.

Now question is how the stb communicate with your PC?
if it uses wireless you will have the root cause of your issue because Wi-fi is not full-duplex.

Solutions:
#1: run a cable between your stb and RouterBOARD and use wifi only to communicate to laptop
#2: install another radio (if the RouterBOARD permits it) and use one radio to communicate to stb and the other to the laptop

Re: Streaming data by wifi

Posted: Wed Apr 29, 2015 5:47 pm
by valdemirs
valdemirs,
from the output you sent me your router is able to create a total throughput of ~ 80Mbit (53Mbit towards your laptop and 26Mbit from your laptop to your router) therefore the wireless configuration is ok.

Now question is how the stb communicate with your PC?
if it uses wireless you will have the root cause of your issue because Wi-fi is not full-duplex.

Solutions:
#1: run a cable between your stb and RouterBOARD and use wifi only to communicate to laptop
#2: install another radio (if the RouterBOARD permits it) and use one radio to communicate to stb and the other to the laptop


Hi Matteo,

I just want to tell you that the first btest test was made by my PC (connected to Mikrotik router by network cable).
Screenshot below is the btest test issued from my notebook (connected to Mikrotik router by wireless).

http://postimg.org/image/gnu6tnlbr/

Thanks

Re: Streaming data by wifi

Posted: Thu Apr 30, 2015 1:19 am
by deanMKD1
valdemirs i tested the speed from my laptop via wifi to my Mikrotik and i get the similar results like yours. 23/7 mbps, so i think that wireless connection is not the real problem.

Re: Streaming data by wifi

Posted: Thu Apr 30, 2015 4:28 am
by valdemirs
Can I install a 5ghz USB transmitter like this (below) in the Mikrotik´s USB connector ?


http://www.dx.com/p/cheerlink-ultra-fas ... UGBZZtdXUY

Re: Streaming data by wifi

Posted: Thu Apr 30, 2015 9:38 am
by troffasky
Short answer is 'no'. Long answer is, maybe if it is Atheros chipset, but there aren't any 5GHz USB adaptors on the compatibility list, so no.

Re: Streaming data by wifi

Posted: Thu May 14, 2015 4:09 pm
by valdemirs
Hi,

I just want to tell you that I´m using this device:

http://www.tp-link.com/en/products/deta ... A4010.html

And now I get perfect images !!

Thanks

Re: Streaming data by wifi

Posted: Thu May 14, 2015 9:24 pm
by ZeroByte
[admin@MikroTik] > /interface wireless registration-table print
# INTERFACE RADIO-NAME MAC-ADDRESS AP SIGNAL-STRENGTH TX-RATE UPTIME
0 ;;; tplink TL-WR702N
wlan1 C0:4A:00:68:BE:58 no -65dBm@1Mbps 65.0... 6m4s
1 ;;; Iphone
wlan1 98:FE:94:27:94:B0 no -49dBm@1Mbps 11.0... 3m36s
[admin@MikroTik] >
This host looks bad - it also appears to be running an 802.11b bitrate. . .
If any host is using B then it really screws up the whole sector...
Try G/n only.

Re: Streaming data by wifi

Posted: Thu May 14, 2015 10:35 pm
by chechito
[admin@MikroTik] > /interface wireless registration-table print
# INTERFACE RADIO-NAME MAC-ADDRESS AP SIGNAL-STRENGTH TX-RATE UPTIME
0 ;;; tplink TL-WR702N
wlan1 C0:4A:00:68:BE:58 no -65dBm@1Mbps 65.0... 6m4s

1 ;;; Iphone
wlan1 98:FE:94:27:94:B0 no -49dBm@1Mbps 11.0... 3m36s
[admin@MikroTik] >
looks like you are using this tplink device as a repeater

thats the cause of the problem