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

Re: Dial-up modem 'No CARRIER'



On Mon, 17 Oct 2005 15:36:54 +0100
marc considered, crafted and sent:

>|---  John Hasler said...
>|---  > Marc writes:
>|---  > > Any suggestions on how to improve things?
>|---  > 
>|---  > Run pppconfig as root, answer the questions, and start ppp with
'pon' and
>|---  > stop it with 'poff'.  Post the results and the output of the
'plog'
>|---  > command.
>|---  
>|---  =====
>|---  chat script
>|---  
>|---  # This chatfile was generated by pppconfig 2.3.10.
>|---  # Please do not delete any of the comments.  Pppconfig needs
them.
>|---  # 
>|---  # ispauth PAP
>|---  # abortstring
>|---  ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE'
ABORT 'NO 
>|---  DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED
>|---  # modeminit
>|---  '' ATZ
>|---  # ispnumber
>|---  OK-AT-OK "ATDT08089916106"
>|---  # ispconnect
>|---  CONNECT \d\c
>|---  # prelogin
>|---  
>|---  # ispname
>|---  # isppassword
>|---  # postlogin
>|---  
>|---  # end of pppconfig stuff
>|---  
>|---  =====
>|---  ppp peers
>|---  
>|---  # This optionfile was generated by pppconfig 2.3.10. 
>|---  # 
>|---  #
>|---  hide-password 
>|---  noauth
>|---  connect "/usr/sbin/chat -v -f /etc/chatscripts/myisp"
>|---  debug
>|---  /dev/modem
>|---  115200
>|---  defaultroute
>|---  noipdefault 
>|---  user "me@myisp.com"
>|---  remotename myisp
>|---  ipparam myisp
>|---  
>|---  usepeerdns
>|---  =====
>|---  
>|---  # pon myisp
>|---  # tail /var/log/messages -n 25
>|---  
>|---  Oct 17 15:12:15 localhost pppd[22368]: pppd 2.4.3 started by
root, uid 0
>|---  Oct 17 15:12:16 localhost chat[22370]: abort on (BUSY)
>|---  Oct 17 15:12:16 localhost chat[22370]: abort on (NO CARRIER)
>|---  Oct 17 15:12:16 localhost chat[22370]: abort on (VOICE)
>|---  Oct 17 15:12:16 localhost chat[22370]: abort on (NO DIALTONE)
>|---  Oct 17 15:12:16 localhost chat[22370]: abort on (NO DIAL TONE)
>|---  Oct 17 15:12:16 localhost chat[22370]: abort on (NO ANSWER)
>|---  Oct 17 15:12:16 localhost chat[22370]: abort on (DELAYED)
>|---  Oct 17 15:12:16 localhost chat[22370]: send (ATZ^M)
>|---  Oct 17 15:12:16 localhost chat[22370]: expect (OK)
>|---  Oct 17 15:12:16 localhost chat[22370]: ATZ^M^M
>|---  Oct 17 15:12:16 localhost chat[22370]: OK
>|---  Oct 17 15:12:16 localhost chat[22370]:  -- got it
>|---  Oct 17 15:12:16 localhost chat[22370]: send (ATDT08089916106^M)
>|---  Oct 17 15:12:16 localhost chat[22370]: expect (CONNECT)
>|---  Oct 17 15:12:16 localhost chat[22370]: ^M
>|---  Oct 17 15:12:16 localhost chat[22370]: ATDT08089916106^M^M
>|---  Oct 17 15:12:34 localhost chat[22370]: NO CARRIER
>|---  Oct 17 15:12:34 localhost chat[22370]:  -- failed
>|---  Oct 17 15:12:34 localhost chat[22370]: Failed (NO CARRIER)
>|---  Oct 17 15:12:35 localhost pppd[22368]: Exit.
>|---  =====
>|---  
>|---  Listening in on the line, the modem dials, the ISP picks up and
attempts 
>|---  negotiation - which, clearly, doesn't happen.
>|---  
>|---  -- 
>|---  Best,
>|---  Marc

With pon it creates a file called /etc/ppp/peers/provider Like this
sample:-

# This optionfile was generated by pppconfig 2.3.10. 
# 
#
hide-password 
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/provider"
debug
/dev/ttyUSB0
115200
defaultroute
noipdefault 
user "name of user"
 
ipparam provider

usepeerdns

I use a RS232 USB to Serial cable, so take no notice of the dev/ttyUSB0.

If you don't have this file you might need to work with pon again?

HTH


>>>>>  
Registered Linux User:- 329524
+++++++++++++++++++++++++++++++++++
The notion that university is primarily about getting a qualification
that will generate cash to enable you to pay back your fees and loans
and spiralling debts is deeply insulting - but entirely consistent with
the crass, stupid, book-blind, culture-hating government of a crass,
stupid, culture-less, increasingly fractured society.
_______________________(Stephen Moss Guardian 27/1/04)

***********************************************
Debian Sarge 3.1.......... trying it
___________________________________________________________



Reply to: