linux-ppp.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* problem with ssh based tunnel when primary name server down
@ 2004-11-11 16:36 Bret Hughes
  0 siblings, 0 replies; only message in thread
From: Bret Hughes @ 2004-11-11 16:36 UTC (permalink / raw)
  To: linux-ppp

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-11-11 16:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-11 16:36 problem with ssh based tunnel when primary name server down Bret Hughes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).