OpenWrt Forum Archive

Topic: Problems multicasting to WLAN using Whiterussian rc2 on a WRT54GS

The content of this topic has been archived on 22 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

we're trying to do video streaming over WLAN using a Linksys WRT54GS w/ Whiterussian rc2 as access point; unfortunately it seems to drop a load of packets.

We're using vlc (http://www.videolan.org/) on both the client and server side, broadcasting a 512 kBit/s video stream along with a 64 kBit/s MP3 audio stream, to multicast IP 239.255.0.1.
(Command line on the server side:
vlc --intf dummy video.mpg --sout '#transcode{venc=ffmpeg,vcodec=mp4v,acodec=mp3,vb=512,ab=64,deinterlace,width=360,height=288}:standard{access=udp,mux=ts,url=239.255.0.1,sap,name="test"}'
Command line on the client side:
vlc udp:@239.255.0.1)

Our server and client setup is probably OK, the same configuration works perfectly if I replace the router with an old Zyxel Prestige 650HW-31.

"wl mrate 11" doesn't help.

Is there anything needed to support multicasts on openwrt that I'm overlooking?

I also noticed that video streaming does not work through openwrt wifi (haven't tested other routers or acces point...)
Even with unicast, this does not work, I think the only reason is that a lot of packets are dropped, and video streaming does not support at all packet drops because it uses udp.

I think there is a huge bug in the ethernet bridge, maybe the flow control does not work, something like that. This seems a difficult thing to debug.

The first step I think is to use a tool like iperf and test udp bandwidth  wlan <> router <> lan then test also with iperf lan<>wlan.
iperf can tell about bandwidth and packet drops. Have to find iperf for openwrt...

I'll give it a try when I have some time.

haven't had time to do any iperf tests yet. But there are probably packet drops problems even with tcp.
I use whiterussian rc2 as an access point (2 asus wl500gdeluxes).
When I watch a divx through samba and wifi, I have some freezes which I don't have through lan to lan.

I've read in the wl500g.info forums that packet drops bug have been corrected in the asus firmware.
Do you think openwrt suffers from the same bug the asus firmware had?

Any one experiencing packet drops? These are only visible with real time traffic...

root@OpenWrt:~# iperf
iperf: can't load library 'libstdc++.so.6'

what package did I forget?

ok I found libstdc++ on florian

it look like the wlan drops about 1 to 2% of packets between linux on lan and windows on wifi through openwrt.
I use iperf with udp at 1mbit/s. The windows box is connected to an asuswl500dg with original firmware in client mode.

there is no packet drop between lan and router.

still have to measure packet drops between router and wlan, and linux lan to windows lan.

the tcp performance is about 22 mbit/s unidirectionnal, 14+7 mbit/s bidirectionnal

Can't say if packet loss is a software bug or due to hardware.

The discussion might have continued from here.