[Ilugc] Multiplexing Reliance dialup connections using multiple"pppd"

  • From: sudhakar+ilugc@xxxxxxxxxxxxxxxx (sudhakar+ilugc@xxxxxxxxxxxxxxxx)
  • Date: Mon Apr 4 17:26:54 2005


Hi there

I am "stuck" in my hometown in rural India on a vacation. So the only way 
for me access internet is to use my Reliance cell phone, which obviously 
is very very slow.  I need to download a 400MB Fedora ISO, for which the 
approxiimate expected time is 24-40 hours to download.  I was thinking of 
multiplexing my connection to achieve better speed.

The idea it so split the ISO into file1 and file2, store them on server1
and server2.  Currently, the phone is using USB port 1 (/dev/usb/ttyUSB0).
I want to use the usb port 2 (should be /dev/usb/ttyUSB1) to connect to
another cell phone. Run two PPPD daemons, one for each cell phone.  Play
with the routing table to send connections to server1 through
/dev/usb/ttyUSB0 and server2 through /dev/usb/ttyUSB1. Does anyone have
any idea how I can run two pppd daemons in parallel?  Or can one pppd
support two modems simultaneously?


The thing is that I can access the server over a slow connection and play
with huge file on the server. It is the transfer from server to client
which is slow. I am currently living on a max of 7KB per sec and min of
0.5KB per second.  I am glad to be using Linux. Worst case, I can hack
things up.  I am having an expected time of 24 hours right now. I am tryng
to cut it to 12 hours using 2 cell phones or may 6 be hours by using four
cell phones.


I did not try searching over the internet for this. Nor did I try reading
the 50-page manual in "man pppd". I prefer not reading man pages on
vacation, unless I am forced to. :-)

regards,
Sudhakar.

PS: Failure of regulation/government in providing the right
incentives for ISPs to provide good internet.  I guess it will take
sometime for us to fix these things. :-)

2) The cell phone provider supports 144 Kbps on the network. The phone
supports 115Kbps.  I am told that the encoding of a byte over serial
connection is about 11 bits. So theoretical maximum is around 10KBps.
So, I guess my best bet is to increase the number of phones and multiplex
etc.

3)  A standard modem suports 56Kbps.  Since I am getting 7KBps, I guess, I
am already better off than a usual modem solution. Thankfully, with USB
modems, it is easier to multiplex connections on a laptop etc.

4) Driving to nearest internet cafe etc are non-solutions.


Sudhakar Govindavajhala                   Department of Computer Science
Graduate Student,                         Princeton University
Ph : (lab) +1 609 258 1763                   (office) +1 609 258 1798
                http://www.cs.princeton.edu/~sudhakar

Other related posts: