LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 05-05-2010, 02:07 AM   #1
tauro_kpo
Member
 
Registered: Feb 2007
Distribution: Debian
Posts: 81

Rep: Reputation: 15
Question How to "redirect" the connection and use telephone as proxy, wvdial issues?


Hi, please forgive my lack of terminology as I'm just a beginner. First, I explain my situation:

What I want to do is to share the internet connected to a computer with a telephone, over another telephone which is permanently connected to the pc.

The thing is, that some guys found a way of making this on windows, in fact, I already set it up on xp and works like a charm, it involves configuring in a certain way the telephone, and to use 2 programs. One is CCProxy, which redirects the internet connection to the telephone, and another one, which updates the IP adress of the telephone connection to dyndns, so that I can put that adress on my second telephone as proxy, and this way, surf on the net through my home internet on the telephone anywhere. Tricky right?

Now, the thing is I don't like at all booting windows only for sharing internet with my telephone. So I want to do it in linux. I use Ubuntu and Puppy linux home.

I tried setting up the connection to the modem with wvdial, and... I got connected! But hey, when I connect to the telephone, I lost my internet connection (main, cable based, the pc connection) :-S. I mean, somehow, the "active" connection for the browsers and all the internet programs is now the connection I have made with my telephone, which is plugged to the computer.

Now my objective here is that NO CHANGE of active connections get done when I start the connection to the phone, and then, get a program like CCProxy, and a dyndns updater for sharing the internet connection on the pc, to the connection made on the telephone-modem wired to the computer.

Am I clear? I know it is confusing, and it took me weeks to understand how it works and get it done in windows. But now... Ubuntu is what I want.

Any ideas?

Thank you all very much,

Mauricio
 
Old 05-05-2010, 12:48 PM   #2
tauro_kpo
Member
 
Registered: Feb 2007
Distribution: Debian
Posts: 81

Original Poster
Rep: Reputation: 15
The situation is this:

The computer is connected to a hub, which is also connected to a modem/router, which manages the connection to internet (ADSL).

Now I plug a telephone through USB to the computer, and I start using it as a modem, I mean, not to use internet, but to share through that connection the connection I'm using on the computer (ADSL)

Is it clearer? If I had money enough and didn't have the ADSL, through the phone you are able to connect to the internet, but here, costs much...
So what I did is, I found a way of configuring the telephone (using as APN the mms server), and with the same configuration on a second phone, plus some programs (CCProxy), I'm able to use the connection of the computer (ADSL) that passes to the telephone which is being used as a modem that sends the info to the mms server of the company, so, when I connect to the mms server on the second phone, I can use the ADSL in the telephone.

Tricky, I know but saves money.

Please, anybody, what I'm asking here, is how to route (I think that is the correct word) the connection I get from the router/modem (ADSL), to the PPPoE connection, that is made to the telephone which is being used as modem.

Am I clearer?

Thank you for pitching in, really appreciated!
 
  


Reply

Tags
proxy, route, wvdial


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
anybody familiar with this error "Xlib: connection to ":0.0" refused by server" ? rajnivanza Linux - Newbie 3 03-22-2009 05:10 PM
net working eth0 eth1 wlan0 "no connection" "no LAN" "no wi-fi" Cayitano Linux - Newbie 5 12-09-2007 07:11 PM
Wvdial conects, browser gets stuck at "resolving host" caesius_01 Linux - General 7 06-04-2004 02:04 AM
"Anaconda" and "mini-wm" lost connection to display :1.0;??? cbrittain Fedora - Installation 2 03-14-2004 11:22 AM
"Anaconda" and "mini-wm" lost connection to display :1.0;??? cbrittain Linux - General 0 02-24-2004 05:04 PM


All times are GMT -5. The time now is 02:59 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration