Re: Maksym, New Zealand kernel 2.6.32-21-generic

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

 



Please reply to discuss@xxxxxxxxxxxxx, not to me.
I can see only one thing not yet clear but what you did should have worked.
Please look at this:
Use `/dev/ttySL0' as modem device, Ctrl+C for termination.

But still the problem is the same - No Carrier. I used my phone to
hear how the modem dials. It starts to dial correctly with all that
noises and sounds, but aborts in few seconds.
ezhik@ubuntu-laptop:~$ sudo wvdial
Are you SURE that you have left slmodemd running in one window and started wvdial in an other window? Could it be that you have stopped slmodemd using CTRL-C before or during starting wvdial ?

Jacques


----- Original Message ----- From: "max podolian" <max.podolian@xxxxxxxxx>
To: "Jacques Goldberg" <Jacques.Goldberg@xxxxxxx>
Sent: Friday, June 25, 2010 4:26 PM
Subject: Re: Maksym, New Zealand kernel 2.6.32-21-generic


I ran wvdialconf one more time, then followed advices.
Now my /etc/wvdial.conf looks like:

ezhik@ubuntu-laptop:~$ cat /etc/wvdial.conf

[Dialer Defaults]
Modem = /dev/ttySL0
Init1 = ATZ
#Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init2 = ATQ0 V1 E1 S0=0 X3 &C1 &D2 +MS=34
Stupid Mode = yes
Modem Type = Analog Modem
Phone = 087305656
ISDN = 0
Username = ********
Carrier Check = no
Password = *******
Baud = 460800
Carrier Check = no

My session with wvdial:

ezhik@ubuntu-laptop:~$ sudo 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 X3 &C1 &D2 +MS=34
ATQ0 V1 E1 S0=0 X3 &C1 &D2 +MS=34
OK
--> Modem initialized.
--> Sending: ATDT087305656
--> Waiting for carrier.
ATDT087305656
NO CARRIER
--> No Carrier!  Trying again.
--> Sending: ATDT087305656
--> Waiting for carrier.
ATDT087305656

Thanks,
Maksym




On 6/24/10, Jacques Goldberg <Jacques.Goldberg@xxxxxxx> wrote:
Max

Could we please see  your file /etc/wvdial.conf?
Please erase the value of the password when sending the file.
I suspect, if reading strictly  as it is your report, that you may have
missed something.
wvdial /etc/wvdial.conf is meaningless and incorrect.

The FIRST thing to do i to run  ONE TIME AT LEAST (more than one useless
unless you want to change the configuratin) the command
wvdialconf /etc/wvdial.conf        ,   not wvdial /etc/wvdial.conf
Next, everytime you connect, you need to run    wvdial    which BY
DEFAULT  uses /etc/wvdial.conf
If you want to explictly give the name of the configuration file the
syntax is
wvdial --config /etc/wvdial.conf        (or any other   file which you
might want to use.

With the driver which you use, there  MUST be a line
Carrier Check =   no
in the configuration file.
Are you sure that you have added such a line there after running
wvdialconf and before running wvdial?

Jacques

max podolian wrote:
Hello everyone!
Sorry for wrong output. When I tested that time, I dialed using
command "wvdial /etc/wvdial.conf" instead of "wvdial". Now I have read
"man wvdial" one more time and I understand my stupid mistake.

Version of slmodemd is:
ezhik@ubuntu-laptop:~$ sudo slmodemd --version
SmartLink Soft Modem: version 2.9.11 Jun 23 2010 23:15:35
I have compiled it myself from source slmodem-2.9.11-20100303.tar.gz.

I use unloading script before I initialize the modem:
ezhik@ubuntu-laptop:~$ sudo ./unloading
/* I've skipped output*/
ezhik@ubuntu-laptop:~$ sudo slmodemd -c NEW_ZEALAND --alsa hw:0,6
SmartLink Soft Modem: version 2.9.11 Jun 23 2010 23:15:35
symbolic link `/dev/ttySL0' -> `/dev/pts/2' created.
modem `hw:0,6' created. TTY is `/dev/pts/2'
Use `/dev/ttySL0' as modem device, Ctrl+C for termination.

But still the problem is the same - No Carrier. I used my phone to
hear how the modem dials. It starts to dial correctly with all that
noises and sounds, but aborts in few seconds.
ezhik@ubuntu-laptop:~$ sudo 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 X3 &C1 &D2 +MS=34
ATQ0 V1 E1 S0=0 X3 &C1 &D2 +MS=34
OK
--> Modem initialized.
--> Sending: ATDT087305656
--> Waiting for carrier.
ATDT087305656
NO CARRIER
--> No Carrier!  Trying again.
--> Sending: ATDT087305656
--> Waiting for carrier.
ATDT087305656


My /etc/wvdial.conf is:
ezhik@ubuntu-laptop:~$ cat /etc/wvdial.conf
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 X3 &C1 &D2 +MS=34
Modem Type = Analog Modem
Baud = 460800
Modem = /dev/ttySL0
ISDN = 0
Phone = 087305656
Password = igor1964
Username = igorpodolian

#Init3 = ATX3
Carrier Check = no
Stupid Mode = yes

When I dial, nothing happens in 3rd console:
ezhik@ubuntu-laptop:~$ sudo tail -f /var/log/messages
[sudo] password for ezhik:
Jun 25 01:29:20 ubuntu-laptop kernel: [  272.163312] Initializing USB
Mass Storage driver...
Jun 25 01:29:20 ubuntu-laptop kernel: [  272.163433] scsi5 : SCSI
emulation for USB Mass Storage devices
Jun 25 01:29:20 ubuntu-laptop kernel: [  272.163598] usbcore:
registered new interface driver usb-storage
Jun 25 01:29:20 ubuntu-laptop kernel: [  272.163601] USB Mass Storage
support registered.
Jun 25 01:29:25 ubuntu-laptop kernel: [  277.164841] scsi 5:0:0:0:
Direct-Access     MEM      Drive Mini Metal 0.00 PQ: 0 ANSI: 2
Jun 25 01:29:25 ubuntu-laptop kernel: [  277.166753] sd 5:0:0:0:
Attached scsi generic sg2 type 0
Jun 25 01:29:25 ubuntu-laptop kernel: [  277.167446] sd 5:0:0:0: [sdb]
2007040 512-byte logical blocks: (1.02 GB/980 MiB)
Jun 25 01:29:25 ubuntu-laptop kernel: [  277.167941] sd 5:0:0:0: [sdb]
Write Protect is off
Jun 25 01:29:25 ubuntu-laptop kernel: [  277.172949]  sdb: sdb1
Jun 25 01:29:25 ubuntu-laptop kernel: [  277.287825] sd 5:0:0:0: [sdb]
Attached SCSI removable disk
Jun 25 01:34:41 ubuntu-laptop kernel: [  593.895336] usb 2-4: USB
disconnect, address 3
Jun 25 01:35:23 ubuntu-laptop kernel: [  635.442005] usbcore:
deregistering interface driver usb-storage
Jun 25 01:35:24 ubuntu-laptop kernel: [  636.252318] ath5k
0000:04:00.0: PCI INT A disabled
Jun 25 01:35:24 ubuntu-laptop kernel: [  636.336835] sdhci-pci
0000:01:01.1: PCI INT C disabled
Jun 25 01:35:24 ubuntu-laptop kernel: [  636.350953] ricoh-mmc:
Controller is now re-enabled.
Jun 25 01:35:24 ubuntu-laptop kernel: [  636.472711] usbcore:
deregistering interface driver usbhid
Jun 25 01:35:24 ubuntu-laptop kernel: [  636.481127] usbcore:
deregistering interface driver hiddev
Jun 25 01:35:24 ubuntu-laptop kernel: [  636.752069] 8139too
0000:01:07.0: PCI INT A disabled
Jun 25 01:51:15 ubuntu-laptop rsyslogd: [origin software="rsyslogd"
swVersion="4.2.0" x-pid="744" x-info="http://www.rsyslog.com";]
rsyslogd was HUPed, type 'lightweight'.

I will try via liveCD on weekend and report back.

Thanks,
Maksym







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

  Powered by Linux