Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MTU issue #5530

Closed
revk opened this issue Mar 26, 2019 · 5 comments
Closed

MTU issue #5530

revk opened this issue Mar 26, 2019 · 5 comments
Labels
duplicated Result - Duplicated Issue template missing/incomplete Action - Template Missing or incomplete (issue will be closed)

Comments

@revk
Copy link
Contributor

revk commented Mar 26, 2019

Web server not working via limited MTU remote link (i.e. my VPN).

This may be a library issue, or maybe it is something the tasmota s/w can set if we have a config option, but it seems that the MTU in the initial SYN from the client is ignored. I have tried prepping for 1460 and 1500 and MTU with no luck.

I have a dump showing TCP MSS in initial SYN of 1360 but first full packet from device is 1460 Tcp segment length, and oddly shows a TCP checksum error too.

Version 6.5.0 on a Sonoff basic.

Is there any way the Tasmota can have an MTU/MSS config?

@Jason2866
Copy link
Collaborator

Have you tried to compile a version by yourself with a different lwip setting?
Try lwip setting higher bandwidth. Which core do you use?
Without Status 0 it is hard....

@revk
Copy link
Contributor Author

revk commented Mar 26, 2019

Bandwidth is not the issue, but can you clarify where lwip settings are, thanks.
It looks like a faulty TCP stack, but trying to see if any workaround.

@Jason2866
Copy link
Collaborator

Jason2866 commented Mar 26, 2019

If you use Arduino IDE you find the infos here https://github.com/arendst/Sonoff-Tasmota/wiki/Arduino-IDE
When using platformio as IDE you have to change in platformio.ini Infos are here
https://github.com/arendst/Sonoff-Tasmota/wiki/PlatformIO
It is not just for more throughput other settings are changed too
If the TCP Stack is faulty it is out of Tasmota....

@ascillato2 ascillato2 added duplicated Result - Duplicated Issue template missing/incomplete Action - Template Missing or incomplete (issue will be closed) labels Mar 27, 2019
@Jason2866
Copy link
Collaborator

See esp8266/Arduino#5902

@revk
Copy link
Contributor Author

revk commented Mar 27, 2019

Thanks

@revk revk closed this as completed Mar 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicated Result - Duplicated Issue template missing/incomplete Action - Template Missing or incomplete (issue will be closed)
Projects
None yet
Development

No branches or pull requests

3 participants