Re: hello, help me with my modem

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

 



Hi

When i reboot i did the following:

daniel@daniel-laptop:~$ sudo su
[sudo] password for daniel:
root@daniel-laptop:/home/daniel# ls -l /dev/ttySL0 /dev/pt
ptmx  pts/
root@daniel-laptop:/home/daniel# ls -l /dev/ttySL0 /dev/pts/*
crw-rw---- 1 root   dialout 136, 0 2009-05-16 16:45 /dev/pts/0
crw--w---- 1 daniel tty     136, 1 2009-05-16 16:47 /dev/pts/1
lrwxrwxrwx 1 root   root        10 2009-05-16 16:45 /dev/ttySL0 -> /dev/pts/0
root@daniel-laptop:/home/daniel#
root@daniel-laptop:/home/daniel# slmodemd -c CANADA --alsa hw:0,6
error: alsa setup: cannot open playback device 'hw:0,6': Device or resource busy
error: cannot setup device `hw:0,6'
root@daniel-laptop:/home/daniel# wvdialconf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

Modem Port Scan<*1>: S0   S1   S2   S3
WvModem<*1>: Cannot get information for serial port.
ttySL0<*1>: ATQ0 V1 E1 -- OK
ttySL0<*1>: ATQ0 V1 E1 Z -- OK
ttySL0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttySL0<*1>: Modem Identifier: ATI -- SmartLink Soft Modem
ttySL0<*1>: Speed 4800: AT -- OK
ttySL0<*1>: Speed 9600: AT -- OK
ttySL0<*1>: Speed 19200: AT -- OK
ttySL0<*1>: Speed 38400: AT -- OK
ttySL0<*1>: Speed 57600: AT -- OK
ttySL0<*1>: Speed 115200: AT -- OK
ttySL0<*1>: Speed 230400: AT -- OK
ttySL0<*1>: Speed 460800: AT -- OK
ttySL0<*1>: Max speed is 460800; that should be safe.
ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Found a modem on /dev/ttySL0.
Modem configuration written to /etc/wvdial.conf.
ttySL0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
root@daniel-laptop:/home/daniel# nano /etc/wvdial.conf

---------------------------/etc/wvdial.conf-------------------------
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
ISDN = 0
Phone = a_phone_number
New PPPD = yes
Modem = /dev/ttySL0
Username = my_username
Password = my_password
Baud = 460800
Carrier Check=no
--------------------------------------------------------------------------

root@daniel-laptop:/home/daniel# wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT8314040
--> Waiting for carrier.
ATDT8314040
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT8314040
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
^CCaught signal 2:  Attempting to exit gracefully...
--> Disconnecting at Sat May 16 16:55:37 2009
root@daniel-laptop:/home/daniel# wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.
root@daniel-laptop:/home/daniel#

Daniel



On Sat, May 16, 2009 at 5:34 PM, Marvin Stodolsky
<marvin.stodolsky@xxxxxxxxx> wrote:
> Daniel,
>
> When you reboot, the first thing to do is:
> $  ls -l  /dev/ttySL0  /dev/pts/*
> which is not expected to as yet report  /dev/ttySL0
>
> $ sudo  slmodemd -c CANADA --alsa hw:0,6
> should set up the modem and create a  /dev/ttySL0 --> /dev/pts/SomeN
>
> Leave slmodemd running, and open another console or TAB on the same one.
> Therein:
> $ sudo wvdialconf
> should report finding the modem.
>
> If so:
> $ sudo gedit /etc/wvdial.conf
> removing the symbols ; < >
> adding in your personal info
> and adding two lines:
> Carrier Check = no
> # necessary with /dev/pts/N ports
>
> Then try a dialout with:
> $ sudo wvdial
> report back presently
>
> MarvS
> scanModem maintainer
>
>
> On Sat, May 16, 2009 at 4:58 PM, Daniel Miguel <danielmp84@xxxxxxxxx> wrote:
>> Hello:
>>
>> I have problems with my modem and i need help
>>
>> I have a toshiba A105 -S2101 with Ubuntu 9.04 and my modem does not work
>>
>> I ran the scanmodem and the information is in the attached file
>>
>>
>>
>>
>> when I write this does not connect and comes in an infinite loop
>>
>>
>>
>> root@daniel-laptop:/# wvdial
>> --> WvDial: Internet dialer version 1.60
>> --> Cannot get information for serial port.
>> --> Initializing modem.
>> --> Sending: ATZ
>> ATZ
>> OK
>> --> Modem initialized.
>> --> Sending: ATDT8314040
>> --> Waiting for carrier.
>> ATDT8314040
>> --> Timed out while dialing.  Trying again.
>> --> Sending: ATDT8314040
>> --> Waiting for carrier.
>> --> Timed out while dialing.  Trying again.
>> --> Sending: ATDT8314040
>> --> Waiting for carrier.
>> --> Timed out while dialing.  Trying again.
>> --> Sending: ATDT8314040
>> --> Waiting for carrier.
>> --> Timed out while dialing.  Trying again.
>> --> Sending: ATDT8314040
>> --> Waiting for carrier.
>> --> Timed out while dialing.  Trying again.
>> --> Sending: ATDT8314040
>> --> Waiting for carrier.
>> --> Timed out while dialing.  Trying again.
>> --> Sending: ATDT8314040
>> --> Waiting for carrier.
>> --> Timed out while dialing.  Trying again.
>> --> Sending: ATDT8314040
>> --> Waiting for carrier.
>> --> Timed out while dialing.  Trying again.
>> --> Sending: ATDT8314040
>> --> Waiting for carrier.
>> --> Timed out while dialing.  Trying again.
>> --> Sending: ATDT8314040
>> --> Waiting for carrier.
>> --> Timed out while dialing.  Trying again.
>> ^CCaught signal 2:  Attempting to exit gracefully...
>> --> Disconnecting at Sat May 16 12:25:31 2009
>> root@daniel-laptop:/# wvdial
>>
>>
>>
>> Then when i write again wvdial the modem does not respond never until
>> i restart the laptop and spends the same
>>
>> root@daniel-laptop:/# wvdial
>> --> WvDial: Internet dialer version 1.60
>> --> Cannot get information for serial port.
>> --> Initializing modem.
>> --> Sending: ATZ
>> --> Sending: ATQ0
>> --> Re-Sending: ATZ
>> --> Modem not responding.
>> root@daniel-laptop:/#
>>
>> More info
>>
>> root@daniel-laptop:/# slmodemd -c CANADA --alsa hw:0,6
>> error: alsa setup: cannot open playback device 'hw:0,6': Device or resource busy
>> error: cannot setup device `hw:0,6'
>> root@daniel-laptop:/#
>>
>>
>> root@daniel-laptop:/# ls -al /dev|grep ttyS ;ls -al /dev/pts
>> lrwxrwxrwx   1 root   root           6 2009-05-16 12:21 modem -> ttySL0
>> crw-rw----   1 root   dialout   4,  64 2009-05-16 08:21 ttyS0
>> crw-rw----   1 root   dialout   4,  65 2009-05-16 08:21 ttyS1
>> crw-rw----   1 root   dialout   4,  66 2009-05-16 08:21 ttyS2
>> crw-rw----   1 root   dialout   4,  67 2009-05-16 08:21 ttyS3
>> lrwxrwxrwx   1 root   root          10 2009-05-16 12:21 ttySL0 -> /dev/pts/0
>> total 0
>> drwxr-xr-x  2 root   root         0 2009-05-16 08:21 .
>> drwxr-xr-x 16 root   root      3880 2009-05-16 12:21 ..
>> crw-rw----  1 root   dialout 136, 0 2009-05-16 12:27 0
>> crw--w----  1 daniel tty     136, 1 2009-05-16 12:32 1
>> root@daniel-laptop:/#
>>
>> Thanks
>>
>


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

  Powered by Linux