![]() |
Connect WIFI & 3G
I have low network knowledge but I know its possible to join 2 internet connections and I started to wonder if this would be possible with 3G and WIFI connections.
a) Is this possible on Maemo/Linux at all? b) What are the benefits? This is a spur of the moment post so sorry if its been asked/done already. JL |
Re: Connect WIFI & 3G
What do you mean by "join"?
Get faster download/upload using two pipes at the same time? Sharing Internet connection to other WLAN user (not so easy currently), or sharing Internet from PC via WLAN to mobile device ("easy" with PC connection manager and Linux-PC)? |
Re: Connect WIFI & 3G
Why ask what he means by join and not go further?
Ok, I'll answer. I would like to know if you could get faster download/upload using two pipes at the same time. |
Re: Connect WIFI & 3G
Quote:
Quote:
Disclaimer: there are a load sharing and an interface bonding in Linux but that has sense for NETWORKs (then Linux is a router) and it can be used for static devices, not with moving devices like N900. EDIT: there is one benefit - you may forward one server traffic via one interface (3G) and another one - via another interface (WiFi) and that could accelerate an overall transmission. Unfortunately it requires presentation your N900 in Internet as a full right Internet Autonomous Network and be presented in each core Internet router as a separate item. You have no money for that. |
Re: Connect WIFI & 3G
Quote:
Now for a single tcp-stream download (http, ftp, etc) this does not help at all, but browsers usually open at least two tcp streams per server to request data faster (why using multiple parallel streams is usually faster in practise even without simple connection balancing has to do with pecularities of TCP in the real world) and many sites load data from multiple servers. P2P applications abuse the proverbial ton of TCP-streams so they can practically fully utilize such setups. To get the N900 to do such things you will need custom kernel with some advanced routing features compiled in and a fair bit of knowledge. See http://lartc.org/ for some interesting stuff. |
Re: Connect WIFI & 3G
Quote:
I can imaginate 3 possibilities: 1) statically define and that is not a case for mobile device like N900. 2) don't care. That actually means that all your outcoming traffic goes to one interface which has 'default' route, and second interface is used as backup. It is not needed in case of N900 - it has autoconnection feature. 3) randomly split TCP via interfaces. It is an attempt of acceleration of your traffic on expense of both providers. It works in case of multiple TCP connections (see P2P case below). The 4th possibility - get routing info from both network providers - requires installation of BGP protocol handler AND (!) convincing both providers to accept your Autonomus System number. Quote:
Quote:
However, I don't consider P2P for N900 seriously. Moreover, the 3G provider network design effectively stops multiple TCP connections from a single N900 - N900 works behind NAT router with a restrictive resources. |
Re: Connect WIFI & 3G
Quote:
But the splitting does not need to be random, basically the kernel can be configured to use interface X until it's "bandwidth is reached" (you need make some educated guesses about the bandwidth) and then spill over to interface Y. Or to divide the streams randomly so that 90% got to X and 10% to Y (but then we have the problem that you might get the slow interface even if the fast one had free bandwidth for you). Of course this makes any sense whatsoever the situation is such that the place where the wifi connection is has (or allocates to you) really louse bandwidth and that your 3G provider has awesome coverage in the same place. But this all a bit academical, doing all this is just too much work for the relatively small benefit (basically for every wifi network one would want to augment with 3g one would need to have different setup scripts and do a fair bit of experimenting regarding the best way to route the streams). It will also totally mess your login sessions on sites that try to prevent session hijacking by tying the session to IP address. |
Re: Connect WIFI & 3G
Thanks for sharing interest in that,
Quote:
Quote:
Quote:
|
Re: Connect WIFI & 3G
Quote:
Did I understand the whole topic correct: if you use two modems on a 3g network , they also share the broadcasting cell most of the time and therefore bonding would not bring any benefit? So if I use the N900 as modem and a Huawei E220 as a modem, bonding does not make much sense in this case? |
All times are GMT. The time now is 08:27. |
vBulletin® Version 3.8.8