[hsflinux] error NO CARRIER on hsflinmodem (14F1:2F10)
Gianmario Tamagnone
gmario.tamagnone at libero.it
Wed Aug 28 15:31:07 EDT 2002
----- Original Message -----
From: Andy Cor
To: hsflinux at lists.mbsi.ca
Sent: Wednesday, August 28, 2002 6:21 AM
Subject: [hsflinux] error NO CARRIER on hsflinmodem (14F1:2F10)
===========================================
= RESULT OF MODEM QUERY =
===========================================
MODEM #1:
PCI CONFIGURATION INFORMATION READ:
Vendor Id : 14F1
Device Id : 2F10
Revision Id : 01
Sub Vendor Id : 16EC
Sub Device Id : 2013
DEDUCED INFORMATION:
Vendor Name : CONEXANT
Device Name : HSF US Data/Fax
Modem Type : HSF
Download Site : http://www.conexant.com/cnxt/customer/modem_support.htm
I'm trying to work in linux with this modem. But my connection fails.
When I try to use:
pppd /dev/ttySHSF0 57600 debug connect "chat -v '' AT OK ATD<mynumber> CONNECT ogin: <mylogin> assword: <mypassword>"
And monitoring ppp (/var/log/ppp) with:
tail -f /var/log/ppp
I obtain:
Aug 24 14:34:42 localhost chat[3413]: expect (CONNECT)
Aug 24 14:34:42 localhost chat[3413]: ^M
Aug 24 14:35:13 localhost chat[3413]: ATD<mynumber>^M^M
Aug 24 14:35:13 localhost chat[3413]: CONNECT
Aug 24 14:35:13 localhost chat[3413]: -- got it
Aug 24 14:35:13 localhost chat[3413]: send (ogin:^M)
Aug 24 14:35:13 localhost chat[3413]: expect (<mylogin>)
Aug 24 14:35:13 localhost chat[3413]: 57600 ^M
Aug 24 14:35:17 localhost chat[3413]: ^M
Aug 24 14:35:17 localhost chat[3413]: NO CARRIER^M
Aug 24 14:35:58 localhost chat[3413]: alarm
Aug 24 14:35:58 localhost chat[3413]: Failed
Aug 24 14:35:58 localhost pppd[3409]: Connect script failed
Aug 24 14:35:59 localhost pppd[3409]: Exit.
I can listen the modem sound, but the modem is disconnected in short time (a lot of seconds).
When I try to use wvdial, I obtain:
--> WvDial: Internet dialer version 1.41
--> Warning: section [Dialer Defaults] does not exist in wvdial.conf.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Modem initialized.
--> Configuration does not specify a valid phone number.
--> Configuration does not specify a valid login name.
--> Configuration does not specify a valid password.
But wvdial is already configured.
Internet configuration wizard generates similar errors
Questions:
1. ¿What is "NO CARRIER"?
2. ¿Do you have any init string for this modem?
3. ¿Do you have any example of pppd that works correctly?
4. ¿Do you have any example of wvdial.conf that works correctly?
5. ¿Where I find any complete guide to start a internet connection in text mode?
6. ¿How can I work within linux on this modem?
Thank you very much
Good Bye!!!
************************************************
1 - you get "no carrier" maybe because your modem has dial-out option fixed on X4.Do you have minicom on your box? To check where is the problem you have to login on your box as root and type # minicom -s this command will start minicom configuration program: only you have to set serial port on /dev/ttySHSF0 and set (only if you want) the speed on 115200 bps. So when you enter the command line let's type:
ATZ
OK #the modem responding
ATX3
OK #the modem responding
AT&K3 (set the hardware flow control RTS/CTS)
OK #the modem responding
ATDT any_telephone_number
now it should be work, if it's X4 the real problem!
and if you don't have minicom on your box, you have to find a good dial-out stuff like minicom or seyon too.
2- about pppd script it seems to be right, maybe too short: you have also to fill in "ATZ OK" this resetting your modem before dialing your ISP number, and give ATDT instead of ATD.
A good init string for your modem could be : ATZ ATX3 AT&K3 ATQ0 ATV1 ATE1 ATS0=0 AT&C1 AT&D2 ATS11=55 AT+FCLASS=0
3- about wvdial, type on your linux box #man wvdial there's in all you need to know about it.
4-for connecting you box to internet using ppp-scripts you have to download the document "PPP-HOWTO" from the ftp site:
ftp.tldp.org the access is anonymous, only you have to insert your complete e-mail address to login. The path maybe is /pub/linux/doc/HOWTO or only /pub/linux/HOWTO i don't rimember. That's all!
Greetings , Gianmario Tamagnone
PS: Do you know the difference between a phisycal serial port and a virtual serial port? Can you help me setting a virtual serial port? Have you ever heard anything like? Bye!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.linuxant.com/pipermail/hsflinux/attachments/20020828/d517b083/attachment.htm
More information about the hsflinux
mailing list