Ysurac / openmptcprouter

OpenMPTCProuter is an open source solution to aggregate multiple internet connections using Multipath TCP (MPTCP) on OpenWrt
https://www.openmptcprouter.com/
GNU General Public License v3.0
1.79k stars 259 forks source link

Teltonika image #2028

Closed 5UP3RR3D closed 9 months ago

5UP3RR3D commented 3 years ago

Has anyone tried OMR on a teltonika device? These network devices run on a modified version of openWRT. The RUTXR1 has two SIMs+ 5x RJ45 (1x SFP) - I think it would be a hardware device that fits perfectly with OMR

Ysurac commented 3 years ago

Slow CPU and small memory: Quad Core ARM Cortex A7 717 MHz and 256Mo RAM Can work, but for a more than 300€ product you can only get a really slow speed with OpenMPTCProuter.

dougle03 commented 3 years ago

Teltonica routers don't talk to their SIM cards simultaneously, they hardware switch (slowly) between the cards and only have one modem. They usually have a WAN input though.

highfreq commented 3 years ago

Depends on wich model, i think rutx12 has 2 modems, cpu are the real prob, very slow.

5UP3RR3D commented 3 years ago

Thanks! Looks like Teltonika builds expensive uncool hardware... So I give Supermicro a shot and run it on x86 64bit Intel Atom with 4GB Ram first test - 1x copper wired + 4x LTE = 400Mbit down/ 140Mbit up stable Hetzner Cloud VPS - should be enough for three 4Mbit streams!

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days

Keksstar commented 2 years ago

Any chance to have this on an RUTX12? This one looks very promising with it´s two independent modems.

oliver2221 commented 2 years ago

Rutx12 should work I think - S.A.NE (Simple Aggregation of NEtworks) by Bondix Intelligence <- uses RUTx12 .. I am very interested in getting this work and have hardware (rut) and server with bandwidth if any one want to help getting work - I would happy sponsor hardware and $ if needed. thanks

Ysurac commented 2 years ago

This can work but still same CPU, a "Quad-core ARM Cortex A7, 717 MHz" with "256MB" RAM, so you can't expect a good speed with that. Maybe same result as a RPI3 with some luck if there is hardware AES.

dougle03 commented 2 years ago

Maybe same result as a RPI3 with some luck if there is hardware AES.

No HW AES on a Raspberry Pi.

Ysurac commented 2 years ago

I know, but maybe on RUTx12, it's why I said that speed can be near RPI3 even if it's an ARM A7 717Mhz CPU...

oliver2221 commented 2 years ago

This can work but still same CPU, a "Quad-core ARM Cortex A7, 717 MHz" with "256MB" RAM, so you can't expect a good speed with that. Maybe same result as a RPI3 with some luck if there is hardware AES.

what do you need to find out? I have one in the office (rutx12)

Keksstar commented 2 years ago

Sure, I see the point that you say it´s slow... But isn´t it worth trying out? I see this one as a good lunch box with all needed features... two Sim Modems, multiple Ethernetports...

Ysurac commented 2 years ago

If someone send me one, or the money to buy one (really not cheap : https://www.amazon.fr/Teltonika-802-11ac-W125768412-Ethernet-Tabletop/dp/B08C56GGV2/ ), I can try to add official support.

oliver2221 commented 2 years ago

@Ysurac let me know how to send you funds. I am UK based, sending you electronics is more hassle then money (thanks Brexit ..) (have messaged you on LinkedIn).

highfreq commented 2 years ago

Have one here too, would be great to use it. It would substitute 1 x raspberry, 2 modems, a switch and a bec. Actually would cost less than my current raspberry implementation and would be more compact.

Ysurac commented 2 years ago

Thanks to @oliver2221, I'm now working on RUTX11 official support.

oliver2221 commented 2 years ago

Thanks to @oliver2221, I'm now working on RUTX11 official support.

..x12 ;)

highfreq commented 2 years ago

Great to hear, let us know if we can be of any help. We have an X11 here too if is needed.

highfreq commented 2 years ago

@Ysurac do you have any idea if it'll work on the RUTX14 too? It is same hardware as X12, just CAT12 modems. CPU, memory, is all the same.

EDIT just looked better and X14 has only 1 modem, so i guess is similar to X11, just faster.

oliver2221 commented 2 years ago

x12 looks best of the shelf balance for a cellular bonding option. as nice and compact as well. 2x modems both active.

oliver2221 commented 2 years ago

I am looking for a compact industrial single board cpu + 2x pci-e slots for 2x 3/4/5G modems.

Ysurac commented 2 years ago

@highfreq Resulting image will (at least should) support all RUTX devices. I'm working on it, now I need to receive the device, should be tomorrow...

highfreq commented 2 years ago

That is great!!! I'll use the rutx11 too. Any idea roughly if it'll take 1 months or 1 year for a beta?

Keksstar commented 2 years ago

This is awesome! Do you have an PayPal Account? Would like to step in with some Euros for your development. :-)

By the way: We should reopen is issue.

highfreq commented 2 years ago

@Ysurac wondering if the usb port on the RUTX series will support an external 4G dongle. It looks like there is a lot of interest for this porting.

Ysurac commented 2 years ago

@Keksstar https://www.paypal.com/donate/?business=HPXWV8QZE7KG6&no_recurring=0&currency_code=EUR

@highfreq no idea, I still don't received it. Wait a few days ;)

highfreq commented 2 years ago

@Ysurac didn't mean to put any pressure, was just wondering the amplitude of the job :)

Keksstar commented 2 years ago

Thanks! Donated ;-)

Thanks for your effort in this project!

@Keksstar https://www.paypal.com/donate/?business=HPXWV8QZE7KG6&no_recurring=0&currency_code=EUR

@highfreq no idea, I still don't received it. Wait a few days ;)

highfreq commented 2 years ago

@Ysurac will try to wait few days ;)

Thank you again for your great work.

Ysurac commented 2 years ago

Some news: I'm working on it, image is not working for now but teltonika reset button is working :) I hope to have a bootable image this week end, then I will need to test it and add other functions like GPS.

highfreq commented 2 years ago

Great!!! Are you working on porting latest dev version or latest stable?

oliver2221 commented 2 years ago

@Ysurac I have ordered 1 more RUTX12 (they are quite cheap in uk found it under £350). I will have it running in our setup so you / we can test. I have a leased line here 1gig fibre we can spin up VM for the server side as well.

Ysurac commented 2 years ago

This take more time than expected... I'm still working on it. I would like to have something clean, but it's not so easy without using a serial console, I may need to find a way to connect to internal serial port. @highfreq I work on dev branch, so this will be in next beta release and next release.

highfreq commented 2 years ago

Hope you don't give up :)

Thank you!!!!

Keksstar commented 2 years ago

Don't rush... development takes time... personally I've expected the first alpha-release in 2-3 months. It's nothing that is done in short time. Take your time... the more time it needs, the better it will get.

highfreq commented 2 years ago

@Ysurac did you make any progress? Just curious not rushing :)

Ysurac commented 2 years ago

@highfreq I can boot OpenMPTCProuter on RUTX12, now I try to make this clean and I will push on git. Then I will add modems/gps/... drivers and everything that is needed.

highfreq commented 2 years ago

That is great, do you have to write drivers or is an easier task to add modems, gps.......................? Any chance the USB port will support a usb modem?

Thank you for making this happen!!!

Ysurac commented 2 years ago

Should be easy to add, at least for modems. USB port will support USB modem and everything that OpenMPTCProuter already support on USB.

highfreq commented 2 years ago

Great thanks, i am not really interested in gps so i'll test it as soon as it'll support modems if you make a beta avail :)

Ysurac commented 2 years ago

There is now a first working image (should work if I didn't forget to commit a file): https://download.openmptcprouter.com/develop/5.4/rutx/targets/ipq40xx/generic/ Nothing is tested and there is some problems for now: can't be updated for now (I need to rename the image to factory and create the sysupgrade without teltonika metadata, not a problem), modem not yet tested, gps no idea if working or not, crypto not tested,... LAN port is the WAN port. The image is in fact not working correctly: problem with the overlayfs. I'm working on it

highfreq commented 2 years ago

@Ysurac thank you very much, will test tomorrow. Do we load image on teltonika trough the usual upsate page of teltonika router? Wich is the correct file to load, in case there is something special to do, would you care give little explanation?

thanks in advance,

Corrado

p.s. read your comment on it not working, will wait to install it until news.

Ysurac commented 2 years ago

@highfreq the issue is fixed now. I'm recompiling an image. *factory* image can be used via teltonika update page.

highfreq commented 2 years ago

Ok great, will load it tomorrow.

Thanks!!!

highfreq commented 2 years ago

@Ysurac what vps image is best to use with rutx release? Can you link it please?

Ysurac commented 2 years ago

Ad it's develop branch, it need develop VPS script: wget -O - http://www.openmptcprouter.com/server-test/debian10-x86_64.sh | sh

highfreq commented 2 years ago

Thank you!!!!

highfreq commented 2 years ago

Tried now flashing my RUTX11 with file openmptcprouter-v0.59beta3-5.4-r0+16328-f441be3921-ipq40xx-generic-teltonika_rutx-squashfs-sysupgrade.bin

RUTX11 told me it is not a supported format file after uploading it to the router.

Don't know if i am supposed to update to latest teltonika before loading your firmware.

Ysurac commented 2 years ago

You need to use latest firmware release, and no idea if this work on RUTX11. I also said that you need to use factory image, not sysupgrade.

highfreq commented 2 years ago

@Ysurac Sorry Ysurac but didn't see factory image......where is it?

Is it this file?

openmptcprouter-v0.59beta3-5.4-r0+16328-f441be3921-ipq40xx-generic-teltonika_rutx-initramfs-fit-uImage.itb

the only bin in there is the sysupgrade