Re: Bad modem?

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

 



Figured it out: somehow permissions somewhere are getting automatically reset, so 'sudo wvdial' is necessary. I'll just do it that way, instead of worrying about the rest, I'm behind time on this job.

J.E.B.

Jonathan,

If the modem responds after it says
/dev/ttySM0 resource busy,

then the modem was occupied by something, maybe a certain process,

before you try to
# wvdial

what does
# ls /dev/ttySM0 -l
show?

The modem appears to work, since it shows up.  What happens when you
try to dialout again?  You are using Fedora 13 right?  on an x86_64
bit machine?  Since from the beginning you first tried ltmodem, then
got martian working.  Now you believe that your modem might be bad?

BTW,
did you automate martian service?  if you did, you may try
# service martian stop
# service martian restart
then
# wvdial

Also does your wvdial.conf have a line Carrier Check = no?  in it?

Regards,

Antonio

On 9/12/10, Jonathan E. Brickman<jeb@xxxxxxxxxxxxxxxx>  wrote:
   Well, I might be trying a bad modem.  It was working for a few trial
calls (I was given the voice number for the ISP, not the data), and then
stopped working.  Now all I get is:

[scott@scottslinux ~]$ wvdial
-->  WvDial: Internet dialer version 1.61
-->  Cannot open /dev/ttySM0: Device or resource busy
-->  Cannot open /dev/ttySM0: Device or resource busy
-->  Cannot open /dev/ttySM0: Device or resource busy
[scott@scottslinux ~]$

wvdial.log is empty, /var/log/messages has nothing about it.  And yet
when I try to run 'wvdialconf' again it is successful (see below), and
does not modify my /etc/wvdial.conf.

Looks like bad hardware to me.  What do you all think?  I'll look for
another modem to use, buy one if I must -- any recommends?

J.E.B.

[root@scottslinux scott]# wvdialconf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: S1   S2   S3
WvModem<*1>: Cannot get information for serial port.
ttySM0<*1>: ATQ0 V1 E1 -- OK
ttySM0<*1>: ATQ0 V1 E1 Z -- OK
ttySM0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttySM0<*1>: ATQ0 V1 E1 S0=0&C1 -- OK
ttySM0<*1>: ATQ0 V1 E1 S0=0&C1&D2 -- OK
ttySM0<*1>: ATQ0 V1 E1 S0=0&C1&D2 +FCLASS=0 -- OK
ttySM0<*1>: Modem Identifier: ATI -- LT V.92 Data+Fax Modem Version 8.30
ttySM0<*1>: Speed 4800: AT -- OK
ttySM0<*1>: Speed 9600: AT -- OK
ttySM0<*1>: Speed 19200: AT -- OK
ttySM0<*1>: Speed 38400: AT -- OK
ttySM0<*1>: Speed 57600: AT -- OK
ttySM0<*1>: Speed 115200: AT -- OK
ttySM0<*1>: Speed 230400: AT -- OK
ttySM0<*1>: Speed 460800: AT -- OK
ttySM0<*1>: Max speed is 460800; that should be safe.
ttySM0<*1>: ATQ0 V1 E1 S0=0&C1&D2 +FCLASS=0 -- OK

Found a modem on /dev/ttySM0.
Modem configuration written to /etc/wvdial.conf.
ttySM0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0&C1&D2 +FCLASS=0"
[root@scottslinux scott]#





[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux