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

Re: [pppd] error: link not 8-bit clean



> Sudhakar Chandrasekharan wrote:
> 
> john@dhh.gt.org wrote:
> > This usually means that the chat script is exiting without having provided
> > the other end with everything it needs.  Dial in with minicom and work
> > through the login until you get the garbage that indicates that ppp has
> > started on the other end.  Then use your notes to answer pppconfig's
> > questions.
> >
> > Send me the error messages (they are in /var/log/ppp.log) and copies of
> > /etc/chatscripts/provider and /etc/ppp/peers/provider and I will try to
> > help you.
> 
> Attaching 3 files to this email.
> 
> 1. pap (the log and various scripts)
> 2. chat (the log and various scripts)
> 3. hyper-term (What happens when I actually dial in using hyperterminal)
> 
> So what is happening?  Help would be greatly appreciated.
> 
> S.
> 
>   ---------------------------PAP-------------------------------
> /var/log/messages
> -----------------
> Aug 24 18:58:54 cabrio pppd[1253]: pppd 2.3.5 started by root, uid 0
> Aug 24 18:58:55 cabrio chat[1254]: abort on (BUSY)
> Aug 24 18:58:55 cabrio chat[1254]: abort on (NO CARRIER)
> Aug 24 18:58:55 cabrio chat[1254]: abort on (VOICE)
> Aug 24 18:58:55 cabrio chat[1254]: abort on (NO DIALTONE)
> Aug 24 18:58:55 cabrio chat[1254]: abort on (NO ANSWER)
> Aug 24 18:58:55 cabrio chat[1254]: send (ATZ^M)
> Aug 24 18:58:55 cabrio chat[1254]: expect (OK)
> Aug 24 18:59:14 cabrio chat[1254]: ATZ^M^M
> Aug 24 18:59:14 cabrio chat[1254]: OK
> Aug 24 18:59:14 cabrio chat[1254]:  -- got it
> Aug 24 18:59:14 cabrio chat[1254]: send (ATDT5321000^M)
> Aug 24 18:59:14 cabrio chat[1254]: expect (CONNECT)
> Aug 24 18:59:14 cabrio chat[1254]: ^M
> Aug 24 18:59:44 cabrio chat[1254]: ATDT5321000^M
> Aug 24 18:59:44 cabrio chat[1254]: CONNECT
> Aug 24 18:59:44 cabrio chat[1254]:  -- got it
> Aug 24 18:59:44 cabrio chat[1254]: send (\d)
> Aug 24 18:59:45 cabrio pppd[1253]: Serial connection established.
> Aug 24 18:59:46 cabrio pppd[1253]: Using interface ppp0
> Aug 24 18:59:46 cabrio pppd[1253]: Connect: ppp0 <--> /dev/ttyS2
> Aug 24 19:00:16 cabrio pppd[1253]: LCP: timeout sending Config-Requests
> Aug 24 19:00:16 cabrio pppd[1253]: Connection terminated.
> Aug 24 19:00:16 cabrio pppd[1253]: Receive serial link is not 8-bit clean:
> Aug 24 19:00:16 cabrio pppd[1253]: Problem: all had bit 7 set to 0
> Aug 24 19:00:34 cabrio pppd[1253]: Hangup (SIGHUP)
> Aug 24 19:00:35 cabrio pppd[1253]: Exit.
> 
> /etc/ppp/peers/netcom
> ---------------------
> noauth         #pppconfig_noauth
> connect "/usr/sbin/chat -v -f /etc/chatscripts/netcom"  #pppconfig_connect
> debug          #pppconfig_debug
> /dev/ttyS2       #pppconfig_dev
> 115200      #pppconfig_speed
> defaultroute         #pppconfig_route
> noipdefault     #pppconfig_ipdefault
> user 'us,ppp,thaths'  #pppconfig_user
> 
> /etc/ppp/pap-secrets
> --------------------
> 'us,ppp,thaths' * password
> 
> /etc/chatscripts/netcom
> -----------------------
> ABORT BUSY
> ABORT "NO CARRIER"
> ABORT VOICE
> ABORT "NO DIALTONE"
> ABORT "NO ANSWER"
> "" ATZ
> OK ATDT5321000
> CONNECT \d\c
> 
>   ---------------------------Chat-----------------------------------
> /var/log/messeges
> -----------------
> Aug 24 19:09:05 cabrio pppd[1412]: pppd 2.3.5 started by root, uid 0
> Aug 24 19:09:06 cabrio chat[1413]: abort on (BUSY)
> Aug 24 19:09:06 cabrio chat[1413]: abort on (NO CARRIER)
> Aug 24 19:09:06 cabrio chat[1413]: abort on (VOICE)
> Aug 24 19:09:06 cabrio chat[1413]: abort on (NO DIALTONE)
> Aug 24 19:09:06 cabrio chat[1413]: abort on (NO ANSWER)
> Aug 24 19:09:06 cabrio chat[1413]: send (ATZ^M)
> Aug 24 19:09:06 cabrio chat[1413]: expect (OK)
> Aug 24 19:09:25 cabrio chat[1413]: ATZ^M^M
> Aug 24 19:09:25 cabrio chat[1413]: OK
> Aug 24 19:09:25 cabrio chat[1413]:  -- got it
> Aug 24 19:09:25 cabrio chat[1413]: send (ATDT2230101^M)
> Aug 24 19:09:25 cabrio chat[1413]: expect (CONNECT)
> Aug 24 19:09:25 cabrio chat[1413]: ^M
> Aug 24 19:10:05 cabrio chat[1413]: ATDT2230101^M
> Aug 24 19:10:05 cabrio chat[1413]: CONNECT
> Aug 24 19:10:05 cabrio chat[1413]:  -- got it
> Aug 24 19:10:05 cabrio chat[1413]: send (^M)
> Aug 24 19:10:05 cabrio chat[1413]: expect (ogin:)
> Aug 24 19:10:15 cabrio chat[1413]:  115200^M
> Aug 24 19:10:15 cabrio chat[1413]: netcom login:
> Aug 24 19:10:15 cabrio chat[1413]:  -- got it
> Aug 24 19:10:15 cabrio chat[1413]: send (??????)
> Aug 24 19:10:16 cabrio chat[1413]: expect (ssword:)
> Aug 24 19:10:25 cabrio chat[1413]:  ^M
> Aug 24 19:10:45 cabrio chat[1413]: netcom login: 'us,ppp,thaths'^M
> Aug 24 19:10:45 cabrio chat[1413]: Password:
> Aug 24 19:10:45 cabrio chat[1413]:  -- got it
> Aug 24 19:10:45 cabrio chat[1413]: send (??????)
> Aug 24 19:10:45 cabrio chat[1413]: send (\d)
> Aug 24 19:10:46 cabrio pppd[1412]: Serial connection established.
> Aug 24 19:10:55 cabrio pppd[1412]: Using interface ppp0
> Aug 24 19:10:55 cabrio pppd[1412]: Connect: ppp0 <--> /dev/ttyS2
> Aug 24 19:11:25 cabrio pppd[1412]: LCP: timeout sending Config-Requests
> Aug 24 19:11:25 cabrio pppd[1412]: Connection terminated.
> Aug 24 19:11:25 cabrio pppd[1412]: Receive serial link is not 8-bit clean:
> Aug 24 19:11:25 cabrio pppd[1412]: Problem: all had bit 7 set to 0
> Aug 24 19:11:45 cabrio pppd[1412]: Hangup (SIGHUP)
> Aug 24 19:11:46 cabrio pppd[1412]: Exit.
> 
> /etc/ppp/peers/isp
> ------------------
> noauth         #pppconfig_noauth
> connect "/usr/sbin/chat -v -f /etc/chatscripts/isp"  #pppconfig_connect
> debug          #pppconfig_debug
> /dev/ttyS2       #pppconfig_dev
> 115200      #pppconfig_speed
> defaultroute         #pppconfig_route
> noipdefault     #pppconfig_ipdefault
> user 'us,ppp,thaths'  #pppconfig_user
> 
> /etc/chatscripts/isp
> --------------------
> ABORT BUSY
> ABORT "NO CARRIER"
> ABORT VOICE
> ABORT "NO DIALTONE"
> ABORT "NO ANSWER"
> "" ATZ
> OK ATDT2230101
> CONNECT ''
> ogin: \d\q'us,ppp,thaths'
> ssword: \qpassword
> 
> "" \d\c
> 
>   --------------------------Hyper-term------------------------------
> netcom login: thaths
> Password:
> 
> Username or Password incorrect.
> 
> netcom login: us,ppp,thaths
> Password:
> PPP session from (165.236.178.6) to 209.110.225.22 beginning....~ }#À!}!}!} }8}!
> }$}%Ü}"}&} } } } }%}&@???}'}"}(}"á}$~~ }#À!}!}"} }8}!}$}%Ü}"}&} } } } }%}&@???}'
> }"}(}"«?~~ }#À!}!}#} }8}!}$}%Ü}"}&} } } } }%}&@???}'}"}(}"b}?~~ }#À!}!}$} }8}!}$
> }%Ü}"}&} } } } }%}&@???}'}"}(}".º~~ }#À!}!}%} }8}!}$}%Ü}"}&} } } } }%}&@???}'}"}
> (}"ç3~~ }#À!}!}&} }8}!}$}%Ü}"}&} } } } }%}&@???}'}"}(}"­¡~~ }#À!}!}'} }8}!}$}%Ü}
> "}&} } } } }%}&@???}'}"}(}"d(~


Reply to: