Linux PPP protocol development
 help / color / mirror / Atom feed
From: Bret Hughes <bhughes@elevating.com>
To: linux-ppp@vger.kernel.org
Subject: problem with ssh based tunnel when primary name server down
Date: Thu, 11 Nov 2004 16:36:47 +0000	[thread overview]
Message-ID: <1100191007.2753.133.camel@bretsony> (raw)

I worked for several hours yesterday trying to track down what was
causing  LCP timeouts on initiating a ssh based ppp connection.  Turns
out the problem was due to the initiating machine's primary name server
provided by bell canada being down.  

Initial connection is made and the ssh connection completed ok using the
secondary server as defined in /etc/resolv.conf.  pppd is started on the
remote box but then the connection never gets established due to LCP
time out errors.  Is there something during this process that does not
properly fall back to the secondary name server?

This is using pppd as distributed in Fedora Core 1 on both boxes.

# pppd --version
pppd version 2.4.1

the command line that runs via a script on the client is:

/usr/sbin/pppd updetach lock connect-delay 15000 lcp-echo-interval 30
lcp-echo-failure 4 	noipdefault noauth debug  	ipparam zpn1 linkname
zpn1 	pty "/usr/bin/ssh -q -t -t -e none -o 'StrictHostKeyChecking no'
-o 'Batchmode yes' -i /root/.ssh/vpnkey -l vpnuser remotename.dyndns.org
"


both initiating pppd and remote pppd exit with rc= 10

Is this a bug?

Bret



                 reply	other threads:[~2004-11-11 16:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1100191007.2753.133.camel@bretsony \
    --to=bhughes@elevating.com \
    --cc=linux-ppp@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox