LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-07-2003, 11:18 AM   #1
gooj
LQ Newbie
 
Registered: Sep 2003
Location: new york
Distribution: debian so far
Posts: 16

Rep: Reputation: 0
Modem not responding? wvdial


Hello newbie board and thanks;
Debian 2.1 - kernel 2.0.36
Getting same result with both
Zoom 56k Dualmode and USRobotics Sportster Faxmodem with x2

wvdial 1.20
-> Initializing modem
-> Sending: ATZ
-> Modem not responding

in both cases I get a blink on the modem before nothing ('Transmitting Data' on the Zoom)
Same result with
echo atdt5555555 > /dev/ttyS0

setserial /dev/ttyS0
ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4

Phone line is OK.
Any ideas?
Thanks
 
Old 09-07-2003, 11:29 AM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Did you do wvdialconf /etc/wvdial.conf and edit the resulting file first?
 
Old 09-07-2003, 12:23 PM   #3
gooj
LQ Newbie
 
Registered: Sep 2003
Location: new york
Distribution: debian so far
Posts: 16

Original Poster
Rep: Reputation: 0
wvdial?

Thanks for getting back.

I ran wvdialconf and edited wvdial.conf to as bellow

Phone = <isp #>
Username = me
Password = thepassword
New PPPD = yes
Modem = /dev/ttyS0
Baud = 57600
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0

I also tried editing a chat script but the modem didn't seem to respond.
Thanks for any info.
 
Old 09-07-2003, 12:35 PM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Hm.. you get a very different config file than I do:
Code:
[root@uilleann root]# wvdialconf /etc/wvdial.conf
Scanning your serial ports for a modem.

ttyS0<*1>: ATQ0 V1 E1 -- OK
ttyS0<*1>: ATQ0 V1 E1 Z -- OK
ttyS0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 -- OK
ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0 -- OK
ttyS0<*1>: Modem Identifier: ATI -- 56000
ttyS0<*1>: Speed 2400: AT -- OK
ttyS0<*1>: Speed 4800: AT -- OK
ttyS0<*1>: Speed 9600: AT -- OK
ttyS0<*1>: Speed 19200: AT -- OK
ttyS0<*1>: Speed 38400: AT -- OK
ttyS0<*1>: Speed 57600: AT -- OK
ttyS0<*1>: Speed 115200: AT -- OK
ttyS0<*1>: Max speed is 115200; that should be safe.
ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0 -- OK
ttyS1<*1>: ATQ0 V1 E1 -- ATQ0 V1 E1 -- ATQ0 V1 E1 -- nothing.
Port Scan<*1>: S2   S3   S4   S5   S6   S7   S8   S9   
Port Scan<*1>: S10  S11  S12  S13  S14  S15  S16  S17  
Port Scan<*1>: S18  S19  S20  S21  S22  S23  S24  S25  
Port Scan<*1>: S26  S27  S28  S29  S30  S31  SA0  SA1  
Port Scan<*1>: SA2  SC0  SC1  SC2  SC3  SI0  SI1  SI2  
Port Scan<*1>: SI3  SI4  SI5  SI6  SI7  SI8  SI9  SI10 
Port Scan<*1>: SI11 SI12 SI13 SI14 SI15 SR0  SR1  SR2  
Port Scan<*1>: SR3  SR4  SR5  SR6  SR7  SR8  SR9  SR10 
Port Scan<*1>: SR11 SR12 SR13 SR14 SR15 SR16 SR17 SR18 
Port Scan<*1>: SR19 SR20 SR21 SR22 SR23 SR24 SR25 SR26 
Port Scan<*1>: SR27 SR28 SR29 SR30 SR31 SR256 SR257 SR258 
Port Scan<*1>: SR259 SR260 SR261 SR262 SR263 SR264 SR265 SR266 
Port Scan<*1>: SR267 SR268 SR269 SR270 SR271 SR272 SR273 SR274 
Port Scan<*1>: SR275 SR276 SR277 SR278 SR279 SR280 SR281 SR282 
Port Scan<*1>: SR283 SR284 SR285 SR286 SR287 

Found a modem on /dev/ttyS0.
/etc/wvdial.conf<Warn>: Can't read config file /etc/wvdial.conf: No such file or directory
ttyS0<Info>: Speed 115200; init "ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0"
[root@uilleann root]#
Config file generated:
Code:
[Dialer Defaults]
Modem = /dev/ttyS0
Baud = 115200
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0
; Phone = <Target Phone Number>
; Username = <Your Login Name>
; Password = <Your Password>
 
Old 09-07-2003, 12:44 PM   #5
gooj
LQ Newbie
 
Registered: Sep 2003
Location: new york
Distribution: debian so far
Posts: 16

Original Poster
Rep: Reputation: 0
wvdial

Your Baud rate is faster and my phone username and password are first instead of last(?)

wvdialconf ran during the instilation process (debian 2.1 from a single disk)

I may run it again - or reinstall - but other than that I'm at a loss.

Thanks in advance
 
Old 09-07-2003, 12:51 PM   #6
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Did the probe detect the modem correctly? If so, try turning the modem off and back on.
 
Old 09-07-2003, 01:03 PM   #7
gooj
LQ Newbie
 
Registered: Sep 2003
Location: new york
Distribution: debian so far
Posts: 16

Original Poster
Rep: Reputation: 0
I ran wvdialconf and it **does not *** see the modem

Port Scan<*1> Ignoring ttyS0 because /dev/mouse is a link to it
?!
I'm going to try and edit /dev/mouse so it links elsewhere.
 
Old 09-07-2003, 01:35 PM   #8
gooj
LQ Newbie
 
Registered: Sep 2003
Location: new york
Distribution: debian so far
Posts: 16

Original Poster
Rep: Reputation: 0
I copied /dev/mouse elsewhere but wvdialconf sees nothing on ttyS0 - the modem blinks while wvdialconf looks:
ttyS0<*1>: AT -- AT -- AT -- nothing.

I can 'blink' the modem with
echo atdt5555555 > /dev/ttyS0
 
Old 09-07-2003, 01:48 PM   #9
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Is that modem a serial port modem attached to the first serial port?
 
Old 09-07-2003, 02:00 PM   #10
gooj
LQ Newbie
 
Registered: Sep 2003
Location: new york
Distribution: debian so far
Posts: 16

Original Poster
Rep: Reputation: 0
It's a serial port modem and as far as I can tell there is only one serial port that isn't involved in a media card.
wvdialconf saw the modem only while reloading linux, not from the command line (?)
 
Old 09-07-2003, 02:08 PM   #11
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Strange. If it is connected to any serial port, the probe should find it. You did reset the modem by powering it off and back on, I presume?
 
Old 09-07-2003, 02:22 PM   #12
gooj
LQ Newbie
 
Registered: Sep 2003
Location: new york
Distribution: debian so far
Posts: 16

Original Poster
Rep: Reputation: 0
I rebooted the modem and I've tried much of this with a USRobotics 56k in case the Zoom is bad.
(Though I'm a newbie) what's odd to me is that wvdial sees the modem for a moment (as the modem blinks) but wvdialconf doesn't see it.
Maybe change distros or start over on a different machine ;->
Thanks for your help so far. Any ideas always appreciated.
 
Old 09-07-2003, 02:26 PM   #13
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
You are configuring as root?

# System administration
To change to the full root account (system administrator), open an x terminal and use these commands from your user account. Note the change in the prompt.
Code:
[fancy@tinwhistle fancy]$ su -
Password: <give root password and press enter>
[root@tinwhistle root]#
 
Old 09-07-2003, 02:30 PM   #14
gooj
LQ Newbie
 
Registered: Sep 2003
Location: new york
Distribution: debian so far
Posts: 16

Original Poster
Rep: Reputation: 0
I'm logging in as root.
I don't have x up as I'm just getting started with this machine.
 
Old 09-07-2003, 02:37 PM   #15
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,862

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
You can debug this problem a lot easier using minicom. Install minicom and then try to communicate with the modem. The first test is to send ATZ to every device /dev/ttyS0 through /dev/ttyS7 and see which responds with OK.
 
  


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
wvdial: modem not responding skoot Linux - Software 3 10-10-2005 10:17 AM
modem not responding gpe Linux - Hardware 0 01-28-2005 02:59 AM
Intell 537 [5457 AC-Link Modem] Modem not Responding LoungeLizard Linux - Laptop and Netbook 0 06-16-2004 11:30 AM
External modem not responding Recirqie Linux - Software 2 10-04-2003 04:56 PM
wvdial - modem not responding checkchan Linux - Newbie 0 07-31-2003 09:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:32 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration