You are not logged in.
Hi,
As the title says, I would like to know if there's a simple way to make the full use of several internet connections.
I have a wired ethernet network (eth0) which is the main one, and always connected. I would like to sometimes lighten its burden by using at the same time a 3G+ connection using the "USB modem" mode of my phone.
The 3G+ modem (usb0) is fully recognized and I can access the Internet thru it if I plug it alone, however if both are plugged, usually the first plugged one gets all the burden while the other interface is left totally unused, so it's ruining the purpose of having two connections...
So I would like to know if there's a relatively _simple_ way to make use of these two connections at once. Either by randomly spreading the work over the two interfaces or force an app to use "this" connection specifically, the way doesn't matter, as long as the two are used at once.
I already have searched for solutions but well I'm not super experienced manipulating iptables and got scared seeing some very long and complex iptables scripts (that I fear would not work well if I was unplugging the 3G modem) so I'd not like being left without connection or break networkmanager if I did something wrong... Also I would like to know if there's an "dynamic" way. So if I plug the 3G modem, it automatically starts to use it (along with eth0) and if I unplug it well the situation gets back to normal...
Thanks in advance.
Last edited by Akuma (2012-02-04 22:43:56)
AMD Ryzen 3700X - ASUS ROG STRIX B550 - Sapphire RX 580 - KDE Plasma
Offline
So I would like to know if there's a relatively _simple_ way...
Simple.. Not really... This script I wrote might help, or at least point you in the right direction:
https://github.com/fukawi2/pb-route
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
There's also lartc.org - specifically this, but you should probably read the whole thing.
Offline
Thanks for your help ![]()
I read and did the configuration in the lartc.org link you provided. It did work but since the local IP of the 3G modem changes everytime and that I can't set it to a fixed IP I have to change the configuration everytime I replug the modem...
Well I guess I'll have to make a script for this.
It's just sad it seems there's no simpler or automated thing for this but anyways it's better than nothing.
I didn't carefully check your perl script yet but I will! It might help me to automate the things.
Anyways thanks again for the input.
Last edited by Akuma (2012-02-06 02:52:47)
AMD Ryzen 3700X - ASUS ROG STRIX B550 - Sapphire RX 580 - KDE Plasma
Offline
Akuma,
How'd you set it up? those instructions on lartc.org appear easy to follow...but they're not.
Offline