Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to make IPTV work on linux router that i made. Here's my setup: Athlon XP 2400+, two realtek lan cards and dlink DWA-552 (atheros 5416). On this hardware i have running alpine linux (kernel 2.6.30.10-grsec). I'm using hostapd to configure wireless access point. I've setup IGMP Proxy for lan(eth1) and wlan(wlan0). IPTV works fine on lan, but if i try to watch IPTV on wlan the whole network breaks down. VLC displays first couple of frames and then routers times out. When i kill VLC everything goes back to normal. I would really appreciate any kind of help. I'll provide any additional info necessary.
If I understood you right you have:
Computer with 2 ethernet cards + wlan card.
One eth0 you use for uplink to internet, second eth1 for local network and wlan card for wireless network.
You can use IPTV from wired LAN, but can't from wireless.
If I understood you right you have:
Computer with 2 ethernet cards + wlan card.
One eth0 you use for uplink to internet, second eth1 for local network and wlan card for wireless network.
You can use IPTV from wired LAN, but can't from wireless.
Am I right?
Correct. I've tried to update to 2.6.32.2-grsec kernel - same thing. I've also tried compat-wireless-2.6.32.2 driver - no luck
alpine:~# brctl show
bridge name bridge id STP enabled interfaces
br0 8000.000e2e590648 no wlan0
eth1
And how can you explain it. Where is the bridge mode enabled where isn't?
And why do you need bridge at all. Packets from your wireless LAN should go directly to eth0.
And how can you explain it. Where is the bridge mode enabled where isn't?
And why do you need bridge at all. Packets from your wireless LAN should go directly to eth0.
I need bridge because I want to treat wlan0 and eth1 as one device. I don't really need separate ip addresses for those two interfaces. But the problem is not the bridge. I had same results without the bridge. Just to make sure I've removed the bridge, once again got same result. Here's my new route -n
Quote:
alpine:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.128 U 0 0 0 eth1
192.168.0.128 0.0.0.0 255.255.255.128 U 0 0 0 wlan0
88.222.24.0 0.0.0.0 255.255.252.0 U 202 0 0 eth0
0.0.0.0 88.222.27.254 0.0.0.0 UG 202 0 0 eth0
I don't know if this will help or introduce more confusion but here goes. M y eth1 (LAN card) is actually plugged in DIR-300 which acts as access point / switch. If i connect to DIR-300 using wireless IPTV woks fine. DIR-300 has a "Wireless Enhance Mode on/off" setting under multicast settings. If i turn "Wireless Enhance Mode" off then I get same result with DIR-300: VLC displays couple of frames and stops working meanwhile ping to DIR-300 increases and eventually times out. IPTV works on DIR-300 wired connection. So as far as I understand i need to turn on "Wireless Enhance Mode" (whatever that is) on my wlan0. Does anyone have an idea what "Wireless Enhance Mode" might be?
It looks like your DHCP can lease Ip from two ranges:
1. range 192.168.0.50 192.168.0.127
2. range 192.168.0.150 192.168.0.254
IPTV doesn't work for both IP ranges?
When i used bridge there was only one IP range. So i don't think what's the problem. Currently wlan0 range is 192.168.0.150-192.168.0.254 and eth1 192.168.0.50-192.168.0.127.
I suggest to find manual for DIR-300 and find out what is "Wireless Enhance Mode".
Because may be you need to do something similar on alpine-linux.
I'm guessing that "Wireless Enhance Mode" might be setting multicast rate to some value. On linksys routers and apple airport you must set multicast rate to 6mbps or something in order to make IPTV work. Unfortunately ath9k doesn't support iwpriv mcast_rate And i can't get madwifi driver to work (but that's a topic for another thread) Did anyone else encountered this problem?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.