Bug 6982
Summary: | ppp demand mode does not work | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | csgordon |
Component: | ppp | Assignee: | Michael K. Johnson <johnsonm> |
Status: | CLOSED DUPLICATE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.1 | CC: | bswift, csgordon |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 1999-11-17 15:06:47 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
csgordon
1999-11-13 03:51:36 UTC
I have updated to ppp-2.3.10-3. I can now cause ppp to demand dial from the box running pppd, but no other system can force a connection to be made. Once pppd has connected, then all systems can route traffic over the interfaces. Stoping and staring pppd now works properly. The following are the pertinent files/commands: --------/etc/ppp/options-------------- # /etc/ppp/options demand # Set dial on demand ktune idle 600 # Disconnet when idle for 600 seconds ipcp-accept-remote # Set remote IP address ipcp-accept-local # Get IP from remote lock # Lock modem debug # Log debug info modem 115200 crtscts # Use modem control lines defaultroute # Make PPP setup defaule route name csgordon connect '/usr/sbin/chat -v -f /etc/ppp/visi.chat' -------/etc/ppp/visi.chat----------------- ABORT 'BUSY' ABORT 'ERROR' ABORT 'NO CARRIER' ABORT 'NO DIALTONE' REPORT CARRIER REPORT CONNECT "" AT&F1 OK ATDT8779538 CONNECT ---------command used to start pppd------------ /usr/sbin/pppd /dev/modem 57600 :204.71.248.1 NOTE: My ISP uses PAP for authentication. A chat script that connects via a terminal log in will NOT work. My pap-secrets file is set and functions properly. The output to syslog reveals nothing special (even with kdebug 1 set), but is attached for informational purposes. Nov 15 17:54:32 localhost modprobe: can't locate module char-major-108 Nov 15 17:54:32 localhost pppd[1349]: pppd 2.3.10 started by root, uid 0 Nov 15 17:54:32 localhost pppd[1349]: Using interface ppp0 Nov 15 17:54:32 localhost pppd[1349]: local IP address 10.64.64.64 Nov 15 17:54:32 localhost pppd[1349]: remote IP address 204.71.248.1 Nov 15 17:54:53 localhost pppd[1349]: Starting link Nov 15 17:54:54 localhost chat[1351]: abort on (BUSY) Nov 15 17:54:54 localhost chat[1351]: abort on (ERROR) Nov 15 17:54:54 localhost chat[1351]: abort on (NO CARRIER) Nov 15 17:54:54 localhost chat[1351]: abort on (NO DIALTONE) Nov 15 17:54:54 localhost chat[1351]: report (CARRIER) Nov 15 17:54:54 localhost chat[1351]: report (CONNECT) Nov 15 17:54:54 localhost chat[1351]: send (AT&F1^M) Nov 15 17:54:54 localhost chat[1351]: expect (OK) Nov 15 17:54:54 localhost chat[1351]: AT&F1^M^M Nov 15 17:54:54 localhost chat[1351]: OK Nov 15 17:54:54 localhost chat[1351]: -- got it Nov 15 17:54:54 localhost chat[1351]: send (ATDT8779538^M) Nov 15 17:54:54 localhost chat[1351]: expect (CONNECT) Nov 15 17:54:54 localhost chat[1351]: ^M Nov 15 17:55:19 localhost chat[1351]: ATDT8779538^M^M Nov 15 17:55:19 localhost chat[1351]: CONNECT Nov 15 17:55:19 localhost chat[1351]: -- got it Nov 15 17:55:19 localhost pppd[1349]: Serial connection established. Nov 15 17:55:19 localhost pppd[1349]: Connect: ppp0 <--> /dev/modem Nov 15 17:55:24 localhost pppd[1349]: Local IP address changed to 209.8.198.35 Nov 15 17:55:24 localhost pppd[1349]: Remote IP address changed to 206.246.195.71 |