LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Dial with modem... (https://www.linuxquestions.org/questions/slackware-14/dial-with-modem-112589/)

Obscure 11-11-2003 04:58 AM

Someone knows a init string for this modem??
....or a suggestion??
TnxVM

shepper 11-11-2003 08:41 AM

Some to try

Some Aztech strings

Also found several sites with generic strings when I googled.



Jay's modem site

Modemhelp.org

Also might try emailing support for the manufacture of your modem. Just tell
you want an init string for a Mac.

Obscure 11-12-2003 05:10 AM

I worked again on my modem this morning and I noticed:

- Using minicom the result is:

ATX3DTispphonenumber
CONNECT
Username: :)
Password: :)
~Entering PPP mode.}-}*Async interface address is unnumbered (Loopback0)}-}*Your IP address is 151.29.215.250. MR

If I change ISP I got:

ATX3DTisp2phonenumber
CONNECT 52000
~<FF>}#.!}!.} }8}"}&} }*} } }#}$.#}%}&<EB>.1};}'}"}(}"<EC>.~~<FF>}#.!}!.} }8}"}&} }*} } }#}$ESC[13;80H.

In both case after 24 seconds the connections falls!!
A friend of mine says that the init string should be correct and the connection with isp works but should fail the login! Should be??
The username and passwords are correct!!

With ppp-on or ppp-go the answer is always: Connect Script Failed
I notice that the modem doesn't hang-up!
My /etc/ppp/pppscript is:

Code:

TIMEOUT 60
ABORT ERROR
ABORT BUSY
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
"" "AT&FH0" OK
"AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0" OK
"atx3dtisp2phonenumber"
TIMEOUT 75
CONNECT



Now I suppose that the init sring is correct and something goes wrong with authentication
Suggestion??
Tnx VM for Yr help!

speck 11-12-2003 08:17 PM

One thing I see is you need to escape the ampersands (\&) in your init strings. You should also open an xterm/console (as root) and type "tail -f /var/log/messages". This will let you watch some debugging output while you run the ppp-on program and tell you exactly what commands/strings are being passed back and forth between your modem and your ISP.

Your connection through minicom will fail if the pppd daemon is not started right after you enter your login and password. You might even try typing "pppd" (as root) on the command line right after you get the "CONNECT" message in minicom.

This is a sample of a good connection (from /var/log/messages file):

Code:

Nov  9 08:25:32 mybox kernel: CSLIP: code copyright 1989 Regents of the University of California
Nov  9 08:25:32 mybox kernel: PPP generic driver version 2.4.2
Nov  9 08:25:32 mybox pppd[26005]: pppd 2.4.1 started by root, uid 0
Nov  9 08:25:33 mybox chat[26008]: timeout set to 60 seconds
Nov  9 08:25:33 mybox chat[26008]: abort on (ERROR)
Nov  9 08:25:33 mybox chat[26008]: abort on (BUSY)
Nov  9 08:25:33 mybox chat[26008]: abort on (NO CARRIER)
Nov  9 08:25:33 mybox chat[26008]: abort on (NO DIALTONE)
Nov  9 08:25:33 mybox chat[26008]: send (AT\&F^M)
Nov  9 08:25:33 mybox chat[26008]: expect (OK)
Nov  9 08:25:33 mybox chat[26008]: AT&F^M^M
Nov  9 08:25:33 mybox chat[26008]: OK
Nov  9 08:25:33 mybox chat[26008]:  -- got it
Nov  9 08:25:33 mybox chat[26008]: send (ATQ0 V1 E1 S0=0 \&C1 \&D2 S11=55^M)
Nov  9 08:25:34 mybox chat[26008]: expect (OK)
Nov  9 08:25:34 mybox chat[26008]: ^M
Nov  9 08:25:34 mybox chat[26008]: ATQ0 V1 E1 S0=0 &C1 &D2 S11=55^M^M
Nov  9 08:25:34 mybox chat[26008]: OK
Nov  9 08:25:34 mybox chat[26008]:  -- got it
Nov  9 08:25:34 mybox chat[26008]: send (atdt*70,5551212^M)
Nov  9 08:25:34 mybox chat[26008]: timeout set to 75 seconds
Nov  9 08:25:34 mybox chat[26008]: expect (CONNECT)
Nov  9 08:25:34 mybox chat[26008]: ^M
Nov  9 08:26:14 mybox chat[26008]: atdt*70,5551212^M^M
Nov  9 08:26:14 mybox chat[26008]: CONNECT
Nov  9 08:26:14 mybox chat[26008]:  -- got it
Nov  9 08:26:14 mybox pppd[26005]: Serial connection established.
Nov  9 08:26:14 mybox pppd[26005]: Using interface ppp0
Nov  9 08:26:14 mybox pppd[26005]: Connect: ppp0 <--> /dev/modem
Nov  9 08:26:18 mybox pppd[26005]: Remote message: Login Succeeded
Nov  9 08:26:18 mybox kernel: PPP BSD Compression module registered
Nov  9 08:26:18 mybox kernel: PPP Deflate Compression module registered
Nov  9 08:26:18 mybox pppd[26005]: local  IP address 209.100.100.99
Nov  9 08:26:18 mybox pppd[26005]: remote IP address 209.100.200.125

Speck

Obscure 11-14-2003 03:50 AM

TNX VM AGAIN...
Here something begins to works & I'm learning much more...

Quote:

Originally posted by speck
One thing I see is you need to escape the ampersands (\&) in your init strings.

I hadn't understand what you said...I'm doing it now!!(excuse my english)!!

Taking a look into /var/log/messages:
...
Nov 14 10:24:33 thor pppd[649]: pppd 2.4.1 started by root, uid 0
Nov 14 10:24:34 thor chat[650]: timeout set to 60 seconds
Nov 14 10:24:34 thor chat[650]: abort on (ERROR)
Nov 14 10:24:34 thor chat[650]: abort on (BUSY)
Nov 14 10:24:34 thor chat[650]: abort on (NO CARRIER)
Nov 14 10:24:34 thor chat[650]: abort on (NO DIALTONE)
Nov 14 10:24:34 thor chat[650]: send (AT&FH0^M)
Nov 14 10:24:34 thor chat[650]: expect (OK)
Nov 14 10:24:34 thor chat[650]: AT&FH0^M^M
Nov 14 10:24:34 thor chat[650]: ERROR
Nov 14 10:24:34 thor chat[650]: -- failed
Nov 14 10:24:34 thor chat[650]: Failed (ERROR)
Nov 14 10:24:35 thor pppd[649]: Exit.

Tnx Again

Obscure 11-15-2003 07:36 AM

Well..
Escape the ampersands...done
The strings now are:
Code:

"" "AT\&FH0" OK
"AT S7=45 S0=0 L1 V1 X4 \&c1 E1 Q0" OK

Control The /var/log/message...done
As in previous post...
I tried also "AT\&F" OK but the result is the same...

After minicom connection I can't launch pppd 'cause says that /dev/modem is useb by another device (minicom)

How can I correct error shows in /var/log/messages??
Tnx Very Much

Obscure 11-17-2003 02:32 PM

Finally I've resolved my problem!!!!Now the modem works!!!

The first init string must be ATZ instead AT&FH0

I've added an entries into Hardware Compatibilty List here on Linuxquestion

Tnx All For Help...


All times are GMT -5. The time now is 09:13 PM.