Skip to contentSkip to conversation

problem with ssh based tunnel when primary name server down

DISCUSSION Bret Hughes 1 participant 1 message Nov 11, 2004 PPP protocol drivers and compressors

lore
Share & tools
lore
#0 lore 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