[GH-ISSUE #164] [Bug] [SDXPINN] ttyd does not allow access to tailscale and LAN at the same time #24

Open
opened 2026-02-27 14:38:45 +03:00 by kerem · 16 comments
Owner

Originally created by @arpan-joardar on GitHub (Oct 14, 2024).
Original GitHub issue: https://github.com/iamromulan/quectel-rgmii-toolkit/issues/164

Is there any guide to make RM551E-GL to work with openwrt or GL.inet Flint 2 MT-6000 specifically?

Originally created by @arpan-joardar on GitHub (Oct 14, 2024). Original GitHub issue: https://github.com/iamromulan/quectel-rgmii-toolkit/issues/164 Is there any guide to make RM551E-GL to work with openwrt or GL.inet Flint 2 MT-6000 specifically?
Author
Owner

@iamromulan commented on GitHub (Oct 14, 2024):

Over Ethernet or ECM:

AT+QMAP="mpdn_rule",0,1,0,0,1

Connection seems the most stable with that rule set.

<!-- gh-comment-id:2882184437 --> @iamromulan commented on GitHub (Oct 14, 2024): Over Ethernet or ECM: AT+QMAP="mpdn_rule",0,1,0,0,1 Connection seems the most stable with that rule set.
Author
Owner

@arpan-joardar commented on GitHub (Oct 14, 2024):

i am using m.2 ro usb adapter

<!-- gh-comment-id:2882184441 --> @arpan-joardar commented on GitHub (Oct 14, 2024): i am using m.2 ro usb adapter
Author
Owner

@arpan-joardar commented on GitHub (Oct 14, 2024):

the thing is in mt6000 when its detected as mbim/qcm it provides all the options and config on the router itself but in ecm mode i am only able to use it as tethering mode and everything is handled by the module so i am not able to view and info or change and settings

<!-- gh-comment-id:2882184445 --> @arpan-joardar commented on GitHub (Oct 14, 2024): the thing is in mt6000 when its detected as mbim/qcm it provides all the options and config on the router itself but in ecm mode i am only able to use it as tethering mode and everything is handled by the module so i am not able to view and info or change and settings
Author
Owner

@iamromulan commented on GitHub (Oct 14, 2024):

I haven't tried to use it in modes other than ECM yet but I'll give that a try when I get home later.

You can install a management interface on the modem itself as the modem does run OpenWRT.

You'll be able to access it through the gateway address.

https://youtu.be/dh7dbEyHwiY?si=Va9qgxIvVP2MOSnu

<!-- gh-comment-id:2882184449 --> @iamromulan commented on GitHub (Oct 14, 2024): I haven't tried to use it in modes other than ECM yet but I'll give that a try when I get home later. You can install a management interface on the modem itself as the modem does run OpenWRT. You'll be able to access it through the gateway address. https://youtu.be/dh7dbEyHwiY?si=Va9qgxIvVP2MOSnu
Author
Owner

@arpan-joardar commented on GitHub (Oct 14, 2024):

does the inbuilt openwrt also work in rndis mode in windows?

<!-- gh-comment-id:2882184452 --> @arpan-joardar commented on GitHub (Oct 14, 2024): does the inbuilt openwrt also work in rndis mode in windows?
Author
Owner

@iamromulan commented on GitHub (Oct 14, 2024):

ECM and RNDIS should be super similar behavior. Yep 👍

<!-- gh-comment-id:2882184456 --> @iamromulan commented on GitHub (Oct 14, 2024): ECM and RNDIS should be super similar behavior. Yep 👍
Author
Owner

@arpan-joardar commented on GitHub (Oct 14, 2024):

but windows doesnt recognise the drivers even after installing everything when in rndis mode

do you have any idea about that?

<!-- gh-comment-id:2882184458 --> @arpan-joardar commented on GitHub (Oct 14, 2024): but windows doesnt recognise the drivers even after installing everything when in rndis mode do you have any idea about that?
Author
Owner

@d5aqoep commented on GitHub (Oct 17, 2024):

Got access to OpenWRT using your excellent youtube video. I Installed Tailscale on it too and could get access to OpenWRT web gui from some random pc with tailscale installed and authenticated. However, the Terminal errors out when connected through tailscale.

<!-- gh-comment-id:2882184460 --> @d5aqoep commented on GitHub (Oct 17, 2024): Got access to OpenWRT using your excellent youtube video. I Installed Tailscale on it too and could get access to OpenWRT web gui from some random pc with tailscale installed and authenticated. However, the Terminal errors out when connected through tailscale.
Author
Owner

@iamromulan commented on GitHub (Oct 17, 2024):

but windows doesnt recognise the drivers even after installing everything when in rndis mode

do you have any idea about that?

I don't use RNDIS mode on windows.

I use ECM on windows.

Install the NDIS driver and ECM driver from this repo or QuecDeploy only. Uninstall all other Quectel drivers.

Once done make sure the modem is in usbnet 1 and go to device manager. Right click on the ECM device with the missing driver and click update driver. Choose from list. Network Adapters, Quectel, ECM adapter.

<!-- gh-comment-id:2882184462 --> @iamromulan commented on GitHub (Oct 17, 2024): > but windows doesnt recognise the drivers even after installing everything when in rndis mode > > do you have any idea about that? I don't use RNDIS mode on windows. I use ECM on windows. Install the NDIS driver and ECM driver from this repo or QuecDeploy only. Uninstall all other Quectel drivers. Once done make sure the modem is in usbnet 1 and go to device manager. Right click on the ECM device with the missing driver and click update driver. Choose from list. Network Adapters, Quectel, ECM adapter.
Author
Owner

@iamromulan commented on GitHub (Oct 17, 2024):

Got access to OpenWRT using your excellent youtube video. I Installed Tailscale on it too and could get access to OpenWRT web gui from some random pc with tailscale installed and authenticated. However, the Terminal errors out when connected through tailscale.

Has to do with the ttyd settings on what interface it will listen for requests on.

When you go to terminal in Luci go to config and change the interface to unspecified or tailscale to get it to work over tailscale.

<!-- gh-comment-id:2882184464 --> @iamromulan commented on GitHub (Oct 17, 2024): > Got access to OpenWRT using your excellent youtube video. I Installed Tailscale on it too and could get access to OpenWRT web gui from some random pc with tailscale installed and authenticated. However, the Terminal errors out when connected through tailscale. Has to do with the ttyd settings on what interface it will listen for requests on. When you go to terminal in Luci go to config and change the interface to unspecified or tailscale to get it to work over tailscale.
Author
Owner

@d5aqoep commented on GitHub (Oct 19, 2024):

Got access to OpenWRT using your excellent youtube video. I Installed Tailscale on it too and could get access to OpenWRT web gui from some random pc with tailscale installed and authenticated. However, the Terminal errors out when connected through tailscale.

Has to do with the ttyd settings on what interface it will listen for requests on.

When you go to terminal in Luci go to config and change the interface to unspecified or tailscale to get it to work over tailscale.

Just did. Thanks. Is it possible to add both LAN and Tailscale interfaces?
I Added 2nd ttyd instance but only 1st instance works and I can only get either LAN or Tailscale to work. Not both together.

<!-- gh-comment-id:2882184465 --> @d5aqoep commented on GitHub (Oct 19, 2024): > > Got access to OpenWRT using your excellent youtube video. I Installed Tailscale on it too and could get access to OpenWRT web gui from some random pc with tailscale installed and authenticated. However, the Terminal errors out when connected through tailscale. > > Has to do with the ttyd settings on what interface it will listen for requests on. > > When you go to terminal in Luci go to config and change the interface to unspecified or tailscale to get it to work over tailscale. Just did. Thanks. Is it possible to add both LAN and Tailscale interfaces? I Added 2nd ttyd instance but only 1st instance works and I can only get either LAN or Tailscale to work. Not both together.
Author
Owner

@borfoo3 commented on GitHub (Jan 28, 2025):

Hello
Running Openwrt on the RM551 and 5g2phy I am noticing almost double the latency and ~30% speed drop vs the original device software.
Any tips or ideas how to improve this? I don't see an option for 'software offloading'
As a plan B - is it easy to go back to the device original software?

<!-- gh-comment-id:2882184467 --> @borfoo3 commented on GitHub (Jan 28, 2025): Hello Running Openwrt on the RM551 and 5g2phy I am noticing almost double the latency and ~30% speed drop vs the original device software. Any tips or ideas how to improve this? I don't see an option for 'software offloading' As a plan B - is it easy to go back to the device original software?
Author
Owner

@iamromulan commented on GitHub (Jan 29, 2025):

Got access to OpenWRT using your excellent youtube video. I Installed Tailscale on it too and could get access to OpenWRT web gui from some random pc with tailscale installed and authenticated. However, the Terminal errors out when connected through tailscale.

Has to do with the ttyd settings on what interface it will listen for requests on.

When you go to terminal in Luci go to config and change the interface to unspecified or tailscale to get it to work over tailscale.

Just did. Thanks. Is it possible to add both LAN and Tailscale interfaces?
I Added 2nd ttyd instance but only 1st instance works and I can only get either LAN or Tailscale to work. Not both together.

It's on the to do list to add something to the tailscale init that will create an alias interface with LAN + Tailscale for firewall rule purposes. Should be able to select it on the ttyd settings in Luci after I do that.

<!-- gh-comment-id:2882184470 --> @iamromulan commented on GitHub (Jan 29, 2025): > > > Got access to OpenWRT using your excellent youtube video. I Installed Tailscale on it too and could get access to OpenWRT web gui from some random pc with tailscale installed and authenticated. However, the Terminal errors out when connected through tailscale. > > > > Has to do with the ttyd settings on what interface it will listen for requests on. > > > > When you go to terminal in Luci go to config and change the interface to unspecified or tailscale to get it to work over tailscale. > > Just did. Thanks. Is it possible to add both LAN and Tailscale interfaces? > I Added 2nd ttyd instance but only 1st instance works and I can only get either LAN or Tailscale to work. Not both together. It's on the to do list to add something to the tailscale init that will create an alias interface with LAN + Tailscale for firewall rule purposes. Should be able to select it on the ttyd settings in Luci after I do that.
Author
Owner

@iamromulan commented on GitHub (Jan 29, 2025):

Hello
Running Openwrt on the RM551 and 5g2phy I am noticing almost double the latency and ~30% speed drop vs the original device software.
Any tips or ideas how to improve this? I don't see an option for 'software offloading'
As a plan B - is it easy to go back to the device original software?

Original device software? I'm not sure what you mean. The modem firmware is all stock and we tiptoe around not modifying the stock files as much as possible.

<!-- gh-comment-id:2882184472 --> @iamromulan commented on GitHub (Jan 29, 2025): > Hello > Running Openwrt on the RM551 and 5g2phy I am noticing almost double the latency and ~30% speed drop vs the original device software. > Any tips or ideas how to improve this? I don't see an option for 'software offloading' > As a plan B - is it easy to go back to the device original software? Original device software? I'm not sure what you mean. The modem firmware is all stock and we tiptoe around not modifying the stock files as much as possible.
Author
Owner

@d5aqoep commented on GitHub (Apr 15, 2025):

It's on the to do list to add something to the tailscale init that will create an alias interface with LAN + Tailscale for firewall rule purposes. Should be able to select it on the ttyd settings in Luci after I do that.

Any update on this?

<!-- gh-comment-id:2882184473 --> @d5aqoep commented on GitHub (Apr 15, 2025): > It's on the to do list to add something to the tailscale init that will create an alias interface with LAN + Tailscale for firewall rule purposes. Should be able to select it on the ttyd settings in Luci after I do that. Any update on this?
Author
Owner

@iamromulan commented on GitHub (May 14, 2025):

Yeah.....This will be visited next most likely. Cleaning the whole github account. Sorry been way busy ;p
Check out the new wiki instead. Lets build a knowledgebase and forum in a single repo :)

<!-- gh-comment-id:2882184476 --> @iamromulan commented on GitHub (May 14, 2025): Yeah.....This will be visited next most likely. Cleaning the whole github account. Sorry been way busy ;p Check out the new wiki instead. Lets build a knowledgebase and forum in a single repo :)
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/quectel-rgmii-toolkit#24
No description provided.