Networking Forums

Networking Forums > Computer Networking > Linux Networking > eth0 + ppp

Reply
 
 
Jaime Casanova
Guest
Posts: n/a

 
      09-03-2004, 12:43 AM
Hi all,

I have two linux machines there are data servers on different cities.

One of them have two ethernet cards: one for lan, one for internet.
The Internet connection is a permanent wireless connection with my isp
and this machine is also an internet server for my local lan.
Obviously, one of the ethernet card has a private ip the other one has
an static ip give it to me for my isp. I, also, have a modem in the
machine. I will call this machine diteca_gye.

The other machine has just one ethernet card for the lan with a
private ip.
It can connect with the internet via modem. Actually is the same isp.
I will call this machine diteca_uio.

This is my problem.

When i start to work in this company it was setted up a ppp connection
between diteca_gye and diteca_uio that trasnmit some data from the
database to the other machine and viceversa. But one day diteca_uio
died. I had to re-install the entire system but i couldn't
re-establish the ppp connection. When the machine died diteca_gye was
not connected to the internet that happened later (actually, in the
space of time diteca_uio was re-installed the internet connection in
diteca_gye was established and the second network card was added to
it.)

I have been trying to set this connection up again. Actually the
connection is established but just a few seconds it happens the modem
hangs up.

Any ideas?? Suggestions?? It is possible to get the transmission work
do via internet in a secure channel? if so, how? can you point me to
good howto?

Thanx in advance,
Jaime Casanova
 
Reply With Quote
 
 
 
 
James Knott
Guest
Posts: n/a

 
      09-03-2004, 02:13 AM
Jaime Casanova wrote:

> Any ideas?? Suggestions?? It is possible to get the transmission work
> do via internet in a secure channel? if so, how? can you point me to
> good howto?


Any VPN should work. I use OpenVPN, which works well.

--

(This space intentionally left blank)
 
Reply With Quote
 
Moe Trin
Guest
Posts: n/a

 
      09-03-2004, 06:36 PM
In article <(E-Mail Removed) >,
Jaime Casanova wrote:
>Obviously, one of the ethernet card has a private ip the other one has
>an static ip give it to me for my isp. I, also, have a modem in the
>machine. I will call this machine diteca_gye.
>
>The other machine has just one ethernet card for the lan with a
>private ip.
>It can connect with the internet via modem. Actually is the same isp.
>I will call this machine diteca_uio.


OK - that's fairly simple.

>But one day diteca_uio died. I had to re-install the entire system but
>i couldn't re-establish the ppp connection.


I'd be guessing the problem is here.

>I have been trying to set this connection up again. Actually the
>connection is established but just a few seconds it happens the modem
>hangs up.


http://axion.physics.ubc.ca/ppp-linux.html (or)
http://www.theory.physics.ubc.ca/ppp-linux.html

The _modem_ may establish a connection, but I doubt that pppd is doing
so. The most common reason for this is authentication, followed
closely by a routing problem. We need to look at the logs that the
web page will show you how to set up. I _suspect_ that you may have
a "default route" on 'diteca_uio' (look at the output of the command
'/sbin/route -n') and this is preventing pppd from connecting (the peer
would have to authenticate back to you). The 'noauth' option would
fix this, but let's see the logs.

Old guy
 
Reply With Quote
 
Jaime Casanova
Guest
Posts: n/a

 
      09-06-2004, 08:02 AM
(E-Mail Removed) (Moe Trin) wrote in message news:<(E-Mail Removed)> ...
> In article <(E-Mail Removed) >,
> Jaime Casanova wrote:
> >Obviously, one of the ethernet card has a private ip the other one has
> >an static ip give it to me for my isp. I, also, have a modem in the
> >machine. I will call this machine diteca_gye.
> >
> >The other machine has just one ethernet card for the lan with a
> >private ip.
> >It can connect with the internet via modem. Actually is the same isp.
> >I will call this machine diteca_uio.

>
> OK - that's fairly simple.
>
> >But one day diteca_uio died. I had to re-install the entire system but
> >i couldn't re-establish the ppp connection.

>
> I'd be guessing the problem is here.
>
> >I have been trying to set this connection up again. Actually the
> >connection is established but just a few seconds it happens the modem
> >hangs up.

>
> http://axion.physics.ubc.ca/ppp-linux.html (or)
> http://www.theory.physics.ubc.ca/ppp-linux.html
>
> The _modem_ may establish a connection, but I doubt that pppd is doing
> so. The most common reason for this is authentication, followed
> closely by a routing problem. We need to look at the logs that the
> web page will show you how to set up. I _suspect_ that you may have
> a "default route" on 'diteca_uio' (look at the output of the command
> '/sbin/route -n') and this is preventing pppd from connecting (the peer
> would have to authenticate back to you). The 'noauth' option would
> fix this, but let's see the logs.
>
> Old guy


Ok. you were right, with the noauth option the problem is gone.
I will study how to use the openVPN but until i'm ready for that i
have my connection back. thanx to you both for the help.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to know if eth0 is up? Linux Networking 6 05-08-2012 04:08 AM
Can't get eth0 up (wired) - e1000 device eth0 does not seem to be present, delaying initialization. OtisUsenet Linux Networking 2 06-06-2007 02:57 AM
Possible? eth0:1 ... eth0:50000 Toni Erdmann Linux Networking 15 03-22-2005 10:47 AM
how tho change source address of eth0/eth0:1 ? news Linux Networking 2 06-09-2004 03:25 PM
NFS vs eth0 Hactar Linux Networking 8 02-02-2004 12:59 AM



1 2 3 4 5 6 7 8 9 10 11