Live data from Hacker News

Combine your Wi-Fi, Ethernet and 3G connections to increase your download speed

github.com

41–50 of 63 posts

Re: Combine your Wi-Fi, Ethernet and 3G connections to increase your download speed

#41
post #39

iPhone's Siri does something similar, but for a different reason: reliability. It multipaths each query.

Siri does this in a more systematical way. It uses Multipath TCP, which is in transport layer. This is an application layer hack. This one is actually less convenient and less efficient (tunnelling in proxy adds extra headers and reduces available data space in each packet).

EDIT: typos

Re: Combine your Wi-Fi, Ethernet and 3G connections to increase your download speed

#42
post #35

Why not just use Multipath TCP?

Ideally, in the future, yeah. But for now, two reasons I can think of: first, Multipath TCP doesn't cover the same use cases as dispatch. For example, having one proxy only route to low-latency connections (e.g. for gaming) and another to all connections (e.g. for downloads). Second, Multipath TCP isn't widely implemented and would require application developers to use it, whereas this can give many of the same benefits without waiting for your applications to support it.

Re: Combine your Wi-Fi, Ethernet and 3G connections to increase your download speed

#43

Earlier quoted context omitted.

"Bonding" at the kernel level: The Linux bonding driver provides a method for aggregating multiple network interfaces into a single logical "bonded" interface. The behavior of the bonded interfaces depends on the mode. Generally speaking, modes provide either hot standby or load balancing services. Additionally, link integrity monitoring may be performed. https://www.kernel.org/doc/Documentation/networking/bonding...…

People who are downvoting dgquintas, can you explain why? Or explain why this doesn't work? It seems to fulfill the problem?

Bonded Interfaces operate at a lower level. There are many different "bonding modes" in the Linux Kernel. None of them would allow you to present a single "bonded" interface across multiple independent network interfaces where each interface belongs to a separate network. Case in point: You cannot "bond" two interfaces where one is connected to a cable modem and the other a DSL modem. Typically (in most configurations) a bonded interface receives one IP.

Re: Combine your Wi-Fi, Ethernet and 3G connections to increase your download speed

#46
OP,

Great job. I am not too technical so pardon my question. Can multiple 3G connections be combined or have a 'random selector'/failover.

So where I live (you can make a guess), mobile connectivity is not the most reliable in the world. So for instance, POSs are not reliable since one network will always fail. With this, could we use multiple SIMs thereby making them more reliable?

BTW, have you seen BRCK http://www.brck.com/specifications/? Seems to have the sort of the same concept although I think yours is combining speed vs. having a fail-over system for internet access.

Re: Combine your Wi-Fi, Ethernet and 3G connections to increase your download speed

#47

OP, Great job. I am not too technical so pardon my question. Can multiple 3G connections be combined or have a 'random selector'/failover. So where I live (you can make a guess), mobile connectivity is not the most reliable in the world. So for instance, POSs are not reliable since one network will always fail. With this, could we use multiple SIMs thereby making them more reliable? BTW, have you seen BRCK http://www…

There is no built-in failover mechanism atm. However I guess you could use another program on top of dispatch to implement such a feature.

Re: Combine your Wi-Fi, Ethernet and 3G connections to increase your download speed

#48
post #45

So if I am in a residence where I can connect to 3 independant WiFi networks, and have 3 wireless network adapters, I can combine their bandwidth?! because that would be freaking awesome.

Yup.

You should totally add this use case to your README. That's the very first things my fellow student friends ask when I show them this.

Re: Combine your Wi-Fi, Ethernet and 3G connections to increase your download speed

#49
post #45

Earlier quoted context omitted.

Yup.

You should totally add this use case to your README. That's the very first things my fellow student friends ask when I show them this.

I just did, thanks :)

Re: Combine your Wi-Fi, Ethernet and 3G connections to increase your download speed

#50
post #26

Earlier quoted context omitted.

TL;DR just buy a faster internet connection. It is possible to do per-packet load sharing in Linux as the link above suggests. Both links need to be able to source traffic using the same IP address, i.e. you can't mix comcast and dsl. The way to get around this is to have an upstream router that will source your traffic from the same IP address: client - routerD --upstream1---routerU -- the internets |-------upstream…

> just spend more money Mmmhmm, that's the true hacker spirit right there...

Time > Money

I can always make more of one of those.

Post reply on HN