LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 11-11-2003, 05:58 AM   #16
Obscure
Member
 
Registered: Apr 2003
Location: Milan
Distribution: Slackware 10 / FreeBSD 5.3
Posts: 175

Original Poster
Rep: Reputation: 32

Someone knows a init string for this modem??
....or a suggestion??
TnxVM
 
Old 11-11-2003, 09:41 AM   #17
shepper
Member
 
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449

Rep: Reputation: 33
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.
 
Old 11-12-2003, 06:10 AM   #18
Obscure
Member
 
Registered: Apr 2003
Location: Milan
Distribution: Slackware 10 / FreeBSD 5.3
Posts: 175

Original Poster
Rep: Reputation: 32
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!

Last edited by Obscure; 11-12-2003 at 06:11 AM.
 
Old 11-12-2003, 09:17 PM   #19
speck
Member
 
Registered: Nov 2001
Location: California
Distribution: Slackware 14.1
Posts: 283

Rep: Reputation: 56
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
 
Old 11-14-2003, 04:50 AM   #20
Obscure
Member
 
Registered: Apr 2003
Location: Milan
Distribution: Slackware 10 / FreeBSD 5.3
Posts: 175

Original Poster
Rep: Reputation: 32
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

Last edited by Obscure; 11-14-2003 at 05:50 AM.
 
Old 11-15-2003, 08:36 AM   #21
Obscure
Member
 
Registered: Apr 2003
Location: Milan
Distribution: Slackware 10 / FreeBSD 5.3
Posts: 175

Original Poster
Rep: Reputation: 32
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

Last edited by Obscure; 11-15-2003 at 08:38 AM.
 
Old 11-17-2003, 03:32 PM   #22
Obscure
Member
 
Registered: Apr 2003
Location: Milan
Distribution: Slackware 10 / FreeBSD 5.3
Posts: 175

Original Poster
Rep: Reputation: 32
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...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dial-In PPP dial-in server/ Cable-modem & LAN / Setting up "dannyboyOnline" dannyboy259 Linux - Networking 2 01-12-2007 01:40 AM
modem does not dial marjolaine Linux - Networking 11 07-31-2005 05:03 PM
SUSE 9.2 detect my [B]ADSL USB-Ethernet Modem-Router [/B] as a [B]Dial up modem[/B]. myprecius Linux - Hardware 0 06-27-2005 10:21 AM
Modem to Modem connection to test dial-up webcam server dazz Linux - Newbie 2 06-01-2005 05:43 AM
Dial into modem dnorseman Linux - Networking 1 06-18-2004 03:48 AM


All times are GMT -5. The time now is 01:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration