[lug] ppp dial up server with RH7.2

Hobbs: Nobuki Matsui nobuki at psych.colorado.edu
Tue Jan 29 19:29:40 MST 2002


Dear all,
	I am trying to set up a ppp dial-up server with RH7.2.  I had a
success with RH6.1 before, however it does not work with RH7.2 with the
same settings.  I searched the webs for a solution and I started wondering
if it is a 2.4 kernel issue...  There are some bugs as to ppp in the 2.4
kernel as far as I found, using google.  All the garbage in the log file
and LCP Timeout suggests the computers are having a hard time
negotiating.  Apending 'EXPECT ~' line to the chat.scr would give me a
normal login.
	I wonder if anybody has any suggestions.    

	I am using a USR56KSporster modem for the server and a Motolora
56K Modemsurfer for the client.
Thank you very much for your time.

N Matsui
CIRES/NOAA SRRB


Server Side ----------------------------------------------
/etc/mgetty+sendfax/login.conf
/AutoPPP/ - - /usr/sbin/pppd file /etc/ppp/options.server

/etc/inittab
S0:2345:respawn:/sbin/mgetty ttyS0 -D /dev/ttyS0

/etc/ppp/options.server
-detach
asyncmap 0
modem
crtscts
lock
proxyarp
require-pap
refuse-chap
10.0.0.1:10.0.0.2
/etc/ppp/pap-secrets
name	*	passwd	*

Client side --------------------------------------------------
chat.scr
"" ATDT9,303XXXXXXX CONNECT \d\c

/etc/ppp/ppp-on
#!/bin/sh 
exec /usr/sbin/pppd /dev/ttyS0 38400
  
/etc/ppp/options
connect '/usr/sbin/chat -e -v  -f /etc/ppp/chat.scr' 
lock
user gwn-tsi at srrb
modem
crtscts
#asyncmap 0
noauth
nodeflate
passive
noipdefault
10.0.0.2:10.0.0.1 
debug

# I was experimenting with these options below....
#mtu 256
#connect-delay 2000
#ipcp-max-configure 120
#kdebug 4
#local

/etc/ppp/pap-secrets
name	*	passwd	*

--------------------------------------------------------------------
/var/log/messages
Server Side
Jan 29 12:44:59 localhost mgetty[10630]: data dev=ttyS0, pid=10630,
caller='none', 
conn='31200/ARQ/V34/LAPM', name='', cmd='/usr/sbin/pppd', user='/AutoPPP/'
Jan 29 12:44:59 localhost pppd[10630]: pppd 2.4.1 started by LOGIN, uid 0
Jan 29 12:44:59 localhost chat[10667]: send (ATDT9,3033811270^M)
Jan 29 12:44:59 localhost chat[10667]: expect (CONNECT)
Jan 29 12:45:05 localhost chat[10667]: '*}'}"}(}"n|~~^?}#@!}!}!} }4}"}&} }
} } }%}&
aI'*}'}"}(}"n|~~^?}#@!}!}!} }4}"}&} } 
Jan 29 12:45:11 localhost chat[10667]: } } }%}&aI'*}'}"}(}"n|~~^?}#@!}!}!}
}4}"}&} 
} } } }%}&aI'*}'}"}(}"n|~~^?}#@!}!}!} 
Jan 29 12:45:17 localhost chat[10667]: }4}"}&} } } }
}%}&aI'*}'}"}(}"n|~~^?}#@!}!}!
} }4}"}&} } } } }%}&aI'*}'}"}(}"n|~~^?
Jan 29 12:45:20 localhost chat[10667]: }#@!}!}!} }4}"}&} } } }
}%}&aI'*}'}"}(}"n|~~
^?}#@!}!}!} }4}"}&} } } } }%}&aI'*}'}
Jan 29 12:45:27 localhost chat[10667]: "}(}"n|~~^?}#@!}!}!} }4}"}&} } } }
}%}&aI'*}
'}"}(}"n|~~^?}#@!}!}!} }4}"}&} } } } }
Jan 29 12:46:59 localhost chat[10667]: alarm
Jan 29 12:46:59 localhost chat[10667]: Failed
Jan 29 12:46:59 localhost pppd[10630]: Connect script failed
Jan 29 12:46:59 localhost pppd[10630]: Exit.

Cleint Side
Jan 29 10:11:09 hydra chat[17930]: CONNECT
Jan 29 10:11:09 hydra chat[17930]:  -- got it 
Jan 29 10:11:09 hydra chat[17930]: send (\d)
Jan 29 10:11:10 hydra pppd[17929]: Serial connection established.
Jan 29 10:11:10 hydra pppd[17929]: Using interface ppp0
Jan 29 10:11:10 hydra pppd[17929]: Connect: ppp0 <--> /dev/ttyS0
Jan 29 10:11:41 hydra pppd[17929]: LCP: timeout sending Config-Requests 




More information about the LUG mailing list