Bret Hughes wrote:
> I keep getting the following errors when running ifup vpn0.  I am getting
> the ssh session but don't know what it the problem with this.  I suspect it
> is a configuration issue on my machin but I am stumped.
> 
> [root@bretdell_linux network-scripts]# ifup vpn0
> Failed to open /dev/ttyp0: Input/output error

Hmm.... When I saw that during testing, it was because the client wasn't
getting the ssh session up in time.

First, try to connect the ssh session yourself.  As root, excecute:

. /etc/sysconfig/network-scripts/ifcfg-vpn0
/usr/bin/ssh -q -t -e none -o 'Batchmode yes' -c blowfish \
  -l ${VPN_USER} -i ${IDENTITY_FILE} ${VPN_HOST}

That should simulate exactly the connection that will be brought up by
the scripts.  Pay attention to how long it takes to connect.  You should
log in, and get a bunch of ppp garbage.  pppd will time out after about
30 seconds, so just wait for the other end to stop transmitting.  Should
you not get ppp garbage, then determine whether or not you really are
logging in to the remote machine, and if so, why pppd is not running.

Let me know what happens.  (I'll be gone until Wed eve...)

MSG


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to