Posted: Wed Feb 07, 2007 13:56 Post subject: chillispot and pppoe mtu
Some users are complaining about chillispot not working in dd-wrt. They get a dhcp ip but don't access the welcome page.
It seems that it is related to pppoe MTU size.
It seems that there is a known bug with dd-wrt and chillispot with MTU related ip packets.
Can someone confirm or not if chillispot is working with pppoe?
there seem to be some workarounds with iptables described in this post: http://www.chillispot.org/forum/viewtopic.php?t=1038
Can someone test? I have no pppoe.
Thanks _________________ Regards
http://worldspot.net , the definitive hotspot management system.
Chillispot and DD-WRT compatible.
Joined: 18 Nov 2006 Posts: 320 Location: Cali, Colombia
Posted: Sun Apr 22, 2007 21:51 Post subject:
nope...it doesnt work with pppoe...
i dunno about the ip tables since i havent had time to test it...
i did try to change the mtu value on my pc with no good results...
apparently, the only affective workaround is to "chain" the chilispot router to another router that manages the pppoe connection...
same happens with sputnik agent...:(
cheers
Last edited by moreins on Wed Jun 27, 2007 23:03; edited 1 time in total
It seems that the bug has been corrected in the coova chillispot svn version, but nobody confirmed it works (I can't test it...) _________________ Regards
http://worldspot.net , the definitive hotspot management system.
Chillispot and DD-WRT compatible.
to test the new coova chillispot version I think it will be simpler if you could install the coova firmware just for the test. Setup should be fast with the automatic configuration feature.
I don't know if the coova chillispot is compatible with dd-wrt. Maybe it is..
If you could try it, that would be nice. _________________ Regards
http://worldspot.net , the definitive hotspot management system.
Chillispot and DD-WRT compatible.
Posted: Mon Apr 23, 2007 21:36 Post subject: coova
I honestly never heard of coova. I will check it out tonight/tomorrow and see if it will work on the dd-wrt boxes. If I can try it out with the firmware you provided, I will let you know...
To test the MTU fix, please use the recent coova-chilli release (v5). I hope it works out for you... If you want a pkg built for a particular platform, let me know. _________________ David
Just saying: If someone figures this out for chillispot, it would be nice to get the info on how to insert the commands so that I could test it with Sputnik.
no need for a fix (altough it would be nice) as the above firewall code should work fine.
i just add this to admin > commands and save firewall (used with a default mtu of 1492):
Code:
# IF USING MTU OTHER THAN 1500 (PPPOE), use following line and change 1452 to your mtu minus forty
iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -m tcpmss --mss 1452:65535 -j TCPMSS --clamp-mss-to-pmtu
Posted: Thu Oct 25, 2007 19:19 Post subject: We use this a lot - HELP
We have 50 Libraries that are running WRT54GL with the DD-WRT software, and Chillispot.
Most of our sites are having dificulties accessing sites like hotmail.com and yahoo.com.
We've confirmed it's an MTU issue by manually setting the MTU size on the laptop and it works fine.
Would it be possible to have a fix built into a version of DD-WRT so we can upgrade easily?
Posted: Fri Apr 10, 2009 4:44 Post subject: MTU and Chillispot with certain websites.
Apparently, and I just ran into this bug and fix so I am continuing this thread:
The MTU of the TUN (virtual adapter) Chillispot sets up is 1500. This is obviously a problem where the maximum MTU is 1492. With DHCP on the WAN side, this is apparently not a problem. There comes the recommendation to use an upstream router.
However, for those of us with only one piece of equipment, and all our hardware set in place and otherwise working, there may not be an allowance for a 'hardware cludge', while considering similar VPN applications like OpenVPN can have the MTU set to whatever low number is necessary to 'clear' the upstream encapsulation & router limitations.
Code:
/usr/sbin/iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -m tcpmss --mss 1421:65535 -j TCPMSS --clamp-mss-to-pmtu