[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ppp sloop



greetings,
I'm trying to create a ppp over ssh session. I just read a ton
of semi-relivant Linux ppp/ssh dox, then discovered the OpenBSD
has gotten rid of the need for magic scripts, and put a ssh
feature righ into ppp.conf... mine looks like this:

sloop:
 load loop
 set openmode passive
 set device "!ssh -o 'Batchmode yes' -l gelbardn 10.0.3.2 sudo 
	/usr/sbin/ppp loop-in"

I already have a working set of pub/priv DSA keys between the 2 hosts,
(10.0.3.2 10.0.3.1) and I can ssh between without a passwd prompt.

I've setup the ppploop damon w/ inetd, and ppp loop works (I can connect
to myself). Now when I run ppp sloop, I get the following attached below.

Any help?
thanx
natez



Sep 29 12:04:32 rm209 ppp[25832]: Phase: Using interface: tun0 
Sep 29 12:04:33 rm209 ppp[25832]: Phase: deflink: Created in closed state 
Sep 29 12:04:33 rm209 ppp[25832]: tun0: Command: default: set device
/dev/cua01 
Sep 29 12:04:33 rm209 ppp[25832]: tun0: Command: default: set speed 115200 
Sep 29 12:04:33 rm209 ppp[25832]: tun0: Command: default: set dial ABORT
BUSY AB
ORT NO\sCARRIER TIMEOUT 5 "" AT OK-AT-OK ATE1Q0 OK \dATDT\T TIMEOUT 40
CONNECT 
Sep 29 12:04:33 rm209 ppp[25832]: tun0: Phase: PPP Started (interactive
mode). 
Sep 29 12:04:34 rm209 ppp[25832]: tun0: Command: /dev/tty: dial sloop 
Sep 29 12:04:35 rm209 ppp[25832]: tun0: Command: sloop: load loop 
Sep 29 12:04:35 rm209 ppp[25832]: tun0: Command: loop: set timeout 0 
Sep 29 12:04:35 rm209 ppp[25832]: tun0: Command: loop: set log phase chat
connec
t lcp ipcp command 
Sep 29 12:04:35 rm209 ppp[25832]: Command: loop: set device
localhost:ppploop 
Sep 29 12:04:35 rm209 ppp[25832]: Command: loop: set dial 
Sep 29 12:04:35 rm209 ppp[25832]: Command: loop: set login 
Sep 29 12:04:35 rm209 ppp[25832]: Command: loop: set ifaddr 127.0.0.2
127.0.0.3 
Sep 29 12:04:35 rm209 ppp[25832]: Command: loop: set server /var/tmp/loop
******
** 0177 
Sep 29 12:04:35 rm209 ppp[25832]: Phase: Listening at local socket
/var/tmp/loop
. 
Sep 29 12:04:35 rm209 ppp[25832]: Command: sloop: set openmode passive 
Sep 29 12:04:35 rm209 ppp[25832]: Command: sloop: set device !ssh -l
gelbardn 10
.0.0.10 /usr/sbin/ppp -direct loop-in 
Sep 29 12:04:35 rm209 ppp[25832]: Phase: bundle: Establish 
Sep 29 12:04:35 rm209 ppp[25832]: Phase: deflink: closed -> opening 
Sep 29 12:04:35 rm209 ppp[25832]: Phase: deflink: Connected! 
Sep 29 12:04:35 rm209 ppp[25832]: Phase: deflink: opening -> dial 
Sep 29 12:04:35 rm209 ppp[25832]: Chat: deflink: Dial attempt 1 of 1 
Sep 29 12:04:35 rm209 ppp[25832]: Phase: deflink: dial -> carrier 
Sep 29 12:04:35 rm209 ppp[25832]: Phase: deflink: carrier -> login 
Sep 29 12:04:35 rm209 ppp[25832]: Phase: deflink: login -> lcp 
Sep 29 12:04:35 rm209 ppp[25832]: LCP: FSM: Using "deflink" as a transport 
Sep 29 12:04:35 rm209 ppp[25832]: LCP: deflink: State change Initial -->
Closed 
Sep 29 12:04:35 rm209 ppp[25832]: LCP: deflink: State change Closed -->
Stopped 


	         Nate Gelbard  
   plug it in turn it on let the grawk flow			 
-=@@ vox: 503.230.7124 801.650.0612 :fax  @@=-