Sorry for the length but I figured if someone could help me with this
then they would have all the information at hand, this e-mail is
organized into 3 parts,
1. General Description of problem,
2. output of /etc/ppp/options file, /usr/sbin/ppp-on, and
/usr/sbin/ppp-on-dialer scripts which set options and dials
the isp
3. output of /var/log/message file (which stores output from
the pppd options debug and kdebug 7) PPP 1st, V.120 second
1. General Description of Problem
=================================
Has anyone been successfully able to connect a motorola bitsurfer pro
to an ascend 1800 max using a single 64k Channel using either V.120 or
PPP on linux kernel 1.2.13 (redhat 3.03) with pppd 2.1.2
I know the modem works with my isp because I have used it with Win95
(it was almost plug and play) on the same machine using V.120
default setup (AT&F&C1&D2E0V1) tried this too didn't work (see debug
output V.120 at bottom)
have read PPP-HowTo, PPP-client, PPP over ISDN, NET2/3, ISP hookup,
MAN PPPD, MAN CHAT, etc, etc,
have set up all networking options, no ethernet (standalone machine)
same system was previously working with a dedicated 28800 modem
(just had to change router from .5 to .4, same gateway)
Do I need to upgrade to Kernel 2.20? (would it work with Apache.1.1.1)
Do I have to upgrade to ppp.2.2.0f? Can I upgrade without upgrading
the kernel
is there some magic switch that I am not aware of?
using PPP I can seem to connect then have problems with IPCP and LCP
negotiation, have tried all PPPD options in any number of various
formats finally settled on a simple setup a. because it works (sort of)
and b. I didnt think that this was that complicated (seems I was wrong)
if you have any info that might help me, you could post here or e-mail me
Thank you for any help
2. output of /etc/ppp/options file, /usr/sbin/ppp-on, and
/usr/sbin/ppp-on-dialer scripts which set options and dials
the isp
==============================================================
// options file found in /etc/ppp
38400 //cua1 speed set to spd_vhi by setserial on a 16550a serial port
debug
kdebug 7
user webserver
+pap
netmask 255.255.255.240
remotename isdn1
555.55.55.555:777.77.77.7
defaultroute
lock
//end options file
//start ppp-on script
#!/bin/sh
#
# Set up a PPP link
#
MODEMINIT="AT&F1&D2"
TELEPHONE=95551234
DIALERSCRIPT=/usr/sbin/ppp-on-dialer
export MODEMINIT TELEPHONE
exec /usr/sbin/pppd cua1 connect $DIALERSCRIPT
//end ppp-on script
//ppp-on-dialer script
#!/bin/sh
# ppp dialer script
exec chat -v \
TIMEOUT 3 \
ABORT '\nBUSY\r' \
ABORT '\nNO ANSWER\r' \
ABORT '\nRINGING\r\n\r\nRINGING\r' \
'' \rAT \
'OK-+++\c-OK' $MODEMINIT \
TIMEOUT 30 \
OK ATD$TELEPHONE \
CONNECT ''
//end ppp-on-dialer script
3. output of logs
===================
// /var/log/message output (debug and kdebug 7 specified as options to pppd)
// using AT&F1&D2 (ppp)
// first part same for both V.120 and PPP,
// V.120 Follows this script at end of message
Sep 16 22:38:06 webserver syslog: Warning - secret file /etc/ppp/pap-secrets has world and/or group
access
Sep 16 22:38:06 webserver pppd[1634]: pppd 2.1.2 started by root, uid 0
Sep 16 22:38:06 webserver pppd[1635]: Connecting with </usr/sbin/ppp-on-dialer>
Sep 16 22:38:06 webserver chat[1636]: timeout set to 3 seconds
Sep 16 22:38:06 webserver chat[1636]: abort on (\nBUSY\r)
Sep 16 22:38:06 webserver chat[1636]: abort on (\nNO ANSWER\r)
Sep 16 22:38:06 webserver chat[1636]: abort on (\nRINGING\r\n\r\nRINGING\r)
Sep 16 22:38:06 webserver chat[1636]: send (rAT^M)
Sep 16 22:38:06 webserver chat[1636]: expect (OK)
Sep 16 22:38:06 webserver chat[1636]: rAT^M^M
Sep 16 22:38:06 webserver chat[1636]: OK -- got it
Sep 16 22:38:06 webserver chat[1636]: send (AT&F1&D2^M)
Sep 16 22:38:06 webserver chat[1636]: timeout set to 30 seconds
Sep 16 22:38:06 webserver chat[1636]: expect (OK)
Sep 16 22:38:06 webserver chat[1636]: ^M
Sep 16 22:38:07 webserver chat[1636]: AT&F1&D2^M^M
Sep 16 22:38:07 webserver chat[1636]: OK -- got it
Sep 16 22:38:07 webserver chat[1636]: send (ATD95551234^M)
Sep 16 22:38:07 webserver chat[1636]: expect (CONNECT)
Sep 16 22:38:07 webserver chat[1636]: ^M
Sep 16 22:38:08 webserver chat[1636]: ATD95551234^M^M
Sep 16 22:38:08 webserver chat[1636]: CONNECT -- got it
Sep 16 22:38:08 webserver chat[1636]: send (^M)
Sep 16 22:38:08 webserver pppd[1635]: Connected...
Sep 16 22:38:09 webserver kernel: ppp: channel ppp0 mtu = 1500, mru = 1500
Sep 16 22:38:09 webserver kernel: ppp: channel ppp0 open
Sep 16 22:38:09 webserver kernel: ppp_ioctl: set debug level 7, netpacket 0
Sep 16 22:38:09 webserver kernel: ppp_ioctl: set xasyncmap
Sep 16 22:38:09 webserver kernel: ppp_ioctl: set xmit asyncmap ffffffff
Sep 16 22:38:09 webserver kernel: ppp_ioctl: set flags to 0
Sep 16 22:38:09 webserver kernel: ppp_ioctl: set mru to 1500
Sep 16 22:38:09 webserver kernel: ppp_ioctl: set recv asyncmap 0
Sep 16 22:38:09 webserver kernel: ppp_ioctl: set flags to 10
Sep 16 22:38:09 webserver pppd[1635]: set kernel debugging level to 7
Sep 16 22:38:09 webserver pppd[1635]: Using interface ppp0
Sep 16 22:38:09 webserver pppd[1635]: Connect: ppp0 <--> /dev/cua1
// PPP version using PAP to log and and is authenticated
// when i do an ifconfig I get following output
// 555.55.55.555 represents local computer address
// 777.77.77.7 represents ascend 1800 max routers address
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:2000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
TX packets:103 errors:0 dropped:0 overruns:0
ppp0 Link encap:Point-Point Protocol
inet addr:555.55.55.555 P-t-P:777.777.77.7 Mask:255.255.255.240
UP POINTOPOINT RUNNING MTU:1600 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
TX packets:0 errors:0 dropped:0 overruns:0
// only problem modem has dropped DTE, when I try any ops with the net both the
// RD and TD light light up but nothing happens
Sep 16 22:38:09 webserver pppd[1635]: fsm_sdata(LCP): Sent code 1, id 1.
Sep 16 22:38:09 webserver pppd[1635]: LCP: sending Configure-Request, id 1
Sep 16 22:38:09 webserver pppd[1635]: fsm_rconfnakrej(LCP): Rcvd id 1.
Sep 16 22:38:09 webserver pppd[1635]: lcp_rejci rejected long opt 5
Sep 16 22:38:09 webserver pppd[1635]: lcp_rejci rejected void opt 7
Sep 16 22:38:09 webserver pppd[1635]: lcp_rejci rejected void opt 8
Sep 16 22:38:09 webserver pppd[1635]: fsm_sdata(LCP): Sent code 1, id 2.
Sep 16 22:38:09 webserver pppd[1635]: LCP: sending Configure-Request, id 2
Sep 16 22:38:09 webserver kernel: ppp_check_fcs: got bfe want bfe
Sep 16 22:38:09 webserver kernel: ppp: successfully queued 18 bytes
Sep 16 22:38:09 webserver pppd[1635]: fsm_rconfack(LCP): Rcvd id 2.
Sep 16 22:38:09 webserver kernel: ppp_check_fcs: got bc12 want bc12
Sep 16 22:38:09 webserver kernel: ppp: successfully queued 16 bytes
Sep 16 22:38:11 webserver kernel: ppp_check_fcs: got 5db0 want 5db0
Sep 16 22:38:11 webserver kernel: ppp: successfully queued 22 bytes
Sep 16 22:38:11 webserver pppd[1635]: fsm_rconfreq(LCP): Rcvd id 22.
Sep 16 22:38:11 webserver pppd[1635]: lcp_reqci: rcvd MRU
Sep 16 22:38:11 webserver pppd[1635]: (1600)
Sep 16 22:38:11 webserver pppd[1635]: (ACK)
Sep 16 22:38:11 webserver pppd[1635]: lcp_reqci: rcvd ASYNCMAP
Sep 16 22:38:11 webserver pppd[1635]: (0)
Sep 16 22:38:11 webserver pppd[1635]: (ACK)
Sep 16 22:38:11 webserver pppd[1635]: lcp_reqci: rcvd AUTHTYPE
Sep 16 22:38:11 webserver pppd[1635]: (c023)
Sep 16 22:38:11 webserver pppd[1635]: (ACK)
Sep 16 22:38:11 webserver pppd[1635]: lcp_reqci: returning CONFACK.
Sep 16 22:38:11 webserver pppd[1635]: fsm_sdata(LCP): Sent code 2, id 22.
Sep 16 22:38:11 webserver kernel: ppp_ioctl: set xmit asyncmap 0
Sep 16 22:38:11 webserver kernel: ppp_ioctl: set flags to f000010
Sep 16 22:38:11 webserver kernel: ppp_ioctl: set mru to 1500
Sep 16 22:38:11 webserver kernel: ppp_ioctl: set recv asyncmap 0
Sep 16 22:38:11 webserver kernel: ppp_ioctl: set flags to f000010
Sep 16 22:38:11 webserver kernel: ppp: channel ppp0 mtu = 1600, mru = 1500
Sep 16 22:38:11 webserver pppd[1635]: upap_sauth: Sent id 1.
Sep 16 22:38:14 webserver pppd[1635]: upap_sauth: Sent id 2.
Sep 16 22:38:14 webserver kernel: ppp_check_fcs: got f0d8 want f0d8
Sep 16 22:38:14 webserver kernel: ppp: successfully queued 21 bytes
Sep 16 22:38:14 webserver pppd[1635]: upap_rauth: Rcvd id 2.
Sep 16 22:38:14 webserver pppd[1635]: Warning - secret file /etc/ppp/pap-secrets has world and/or
group access
Sep 16 22:38:14 webserver pppd[1635]: upap_sresp: Sent code 2, id 2.
Sep 16 22:38:14 webserver pppd[1635]: upap_rauthack: Rcvd id 2.
Sep 16 22:38:14 webserver pppd[1635]: Remote message: Login ok
Sep 16 22:38:14 webserver pppd[1635]: fsm_sdata(IPCP): Sent code 1, id 1.
Sep 16 22:38:14 webserver pppd[1635]: IPCP: sending Configure-Request, id 1
Sep 16 22:38:14 webserver pppd[1635]: fsm_rconfreq(IPCP): Rcvd id 1.
Sep 16 22:38:14 webserver pppd[1635]: ipcp: received ADDR
Sep 16 22:38:14 webserver pppd[1635]: (555.55.55.555)
Sep 16 22:38:14 webserver pppd[1635]: (NAK)
Sep 16 22:38:14 webserver pppd[1635]: ipcp: received COMPRESSTYPE
Sep 16 22:38:14 webserver pppd[1635]: (45)
Sep 16 22:38:14 webserver pppd[1635]: (ACK)
Sep 16 22:38:14 webserver pppd[1635]: ipcp: returning Configure-NAK
Sep 16 22:38:14 webserver pppd[1635]: fsm_sdata(IPCP): Sent code 3, id 1.
Sep 16 22:38:14 webserver pppd[1635]: fsm_rconfnakrej(IPCP): Rcvd id 1.
Sep 16 22:38:14 webserver kernel: ppp_check_fcs: got 59b8 want 59b8
Sep 16 22:38:14 webserver kernel: ppp: successfully queued 17 bytes
Sep 16 22:38:14 webserver pppd[1635]: fsm_sdata(IPCP): Sent code 1, id 2.
Sep 16 22:38:14 webserver pppd[1635]: IPCP: sending Configure-Request, id 2
Sep 16 22:38:14 webserver pppd[1635]: fsm_rconfreq(IPCP): Rcvd id 2.
Sep 16 22:38:14 webserver pppd[1635]: ipcp: received ADDR
Sep 16 22:38:14
...
read more »