Robikhun
1-PLEASE stop asking for delivery receipts when you write to this list.
I (and all of us) receive lots of mail messages and the trick to ask for
a confirmation is almost always used by hackers!
2-Please see a question inserted in your mail below, written in CAPITAL
CASE.
Jacques
Robikhun (robihun) wrote:
It is correct that hw:0,6
$ cat /proc/asound/pcm
00-06: Si3054 Modem : Si3054 Modem : playback 1 : capture 1
00-02: ALC883 Analog : ALC883 Analog : capture 2
00-00: ALC883 Analog : ALC883 Analog : playback 1 : capture 2
$ sudo slmodemd --alsa -c INDONESIA hw:0,6
SmartLink Soft Modem: version 2.9.11 Aug 6 2007 22:02:27
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.
Open other terminal and dial
BEFORE TRYING TO START WVDIAL, HAVE YOU FIRST DONE
sudo wvdialconf /etc/wvdial.conf ?
Indeed the line below: --> Cannot get information for serial port.
suggests that wvdialconf has not found a modem - or that you forgot to
apply wvdialconf in order to automatically insert the modem definition
in the file /etc/wvdial.conf
MAKE SURE that you sudo wvdialconf from any other terminal than the one
used for sudo slmodemd , which MUST be running when you sudo wvdialconf
(once for all) or sudo wvdial (each time you want to get connected.
@ sudo wvdial
--> WvDial: Internet dialer version 1.56
--> 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: ATDT92080989999
--> Waiting for carrier.
ATDT92080989999
NO CARRIER
ERROR
I also tried another commands
$ sudo wvdial --config wvtest
--> WvDial: Internet dialer version 1.56
--> 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.
--> Configuration does not specify a valid phone number.
--> Configuration does not specify a valid login name.
--> Configuration does not specify a valid password.
Although the wvdialconf is correct
$ sudo gedit /etc/wvdial.conf
[Dialer Defaults]
Modem = /dev/ttySL0
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
; Stupid Mode = yes
Modem Type = Analog Modem
Phone = 92080989999
New PPPD = yes
ISDN = 0
Username = telkomnet@instan
Carrier Check = no
Password = telkom
Baud = 460800
I also tried this command
$ pon
$ plog
pppd[7685]: pppd 2.4.4 started by robihun, uid 1000
chat[7687]: Can't get terminal parameters: Input/output error
pppd[7685]: Connect script failed
pppd[7685]: Exit.
-----Original Message-----
From: Marvin Stodolsky [mailto:marvin.stodolsky@xxxxxxxxx]
Sent: Monday, October 08, 2007 9:02 AM
To: Robikhun (robihun)
Cc: Linmodems
Subject: Re: slmodemd NO CARRIER error
Robikhun,
You never sent us the entire ModemData.txt
so we can't be sure your hardware (hw0,N) specification is correct.
There is clearly a problem with:
<275.674571> err: hw:0,6: modem start = -22: cannot start device.
If your
/proc/asound/pcm
is similar to:
00-06: Si3054 Modem : Si3054 Modem : playback 1 : capture 1
00-00: ALC268 Analog : ALC268 Analog : playback 1 : capture 2
then
$ sudo slmodemd -c USA --alsa hw:0,6
would be the correct modem setup command.
But if
$ cat /proc/asound/pcm
displays like:
00-01: Si3054 Modem : Si3054 Modem : playback 1 : capture 1
00-00: ALC268 Analog : ALC268 Analog : playback 1 : capture
then the proper setup command would be:
$ sudo slmodemd -c USA --alsa hw:0,1
The translation is like
00-01: --> hw:0,1
or generally
00-0N: --> hw:0,N
MarvS
On 10/7/07, Robikhun (robihun) <robihun@xxxxxxxxxxx> wrote:
Marvin
I have add the line
Carrier Check = no
But still got NO CARRIER ERROR
$ sudo wvdialconf /etc/wvdial.conf 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"
$ sudo wvdial
--> WvDial: Internet dialer version 1.56 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: ATDT92080989999
--> Waiting for carrier.
ATDT92080989999
NO CARRIER
Jacques
Some of my ModemData is
8086:27d8 is a High Definition Audio card, possibly hosting a soft
modem.
Bootup diagnostics lack ALSA data.
and a NEW HDA softmodem controller.
The HDA modem codec file is: /proc/asound/card0/codec#1
-----------------------------------
Codec: Motorola Si3054
Address: 1
Vendor Id: 0x10573055
Subsystem Id: 0x10573055
Revision Id: 0x100700
The audio card hosts a softmodem chip with Vendor ID: 0x10573055
HDAmodemChip=0x10573055
For candidate modem in PCI bus: 00:1b.0
Class 0403: 8086:27d8 Audio device: Intel Corporation 82801G
Primary PCI_id NEW_softmodem_8086:27d8
Support type needed or chipset: slmodemd
An ALSA (Advanced Linux Sound Architecture) modem driver:
snd-hda-intel
provides Low Level support enabling contact with the modem hardware.
For all BUT Conexant chip soft modems (using hsfmodem software)
complementary High Level support is through a Smartlink utility:
slmodemd
Download from
http://linmodems.technion.ac.il/packages/smartlink/SLMODEMD.gcc4.1.tar.g
z having a compiled slmodemd.
-----Original Message-----
From: Jacques Goldberg [mailto:Jacques.Goldberg@xxxxxxx]
Sent: Friday, October 05, 2007 5:26 PM
To: Robikhun (robihun)
Cc: discuss@xxxxxxxxxxxxx
Subject: Re: slmodemd NO CARRIER error
Robikhun,
2-Your log is not usable because it only shows one command, slmodemd.
slmodemd does not dial. Your log reports a dial. We cannot guess what
you did in between.
If you did not use wvdial to try to start the connection but something
else, read http://linmodems.technion.ac.il/wvdial.html because using
wvdial gives a complete report making it possible to locate where the
problem occurs.