Hi,
Seems you got your modem detected fine. You will have to set the pin
variable in your modem configuration. Please read the User's Guide about it.
BR,
Nikos
----- Original Message -----
From: "Elvis Manuel Jorge" <[email protected]>
To: <[email protected]>; <[email protected]>
Sent: Wednesday, October 07, 2009 5:24 PM
Subject: Re: problem with GSM Modem
Hello all ...
I did it all you told me but I'm having the same problem yet.
I used the command wvdialconf /etc/wvdial.conf for be sure if the modem
is on /dev/ttyS0 and I got the fallow:
****
Editing `/etc/wvdial.conf'.
Scanning your serial ports for a modem.
ttyS0<Info>: Device or resource busy
Modem Port Scan<*1>: S0
ttyS1<Info>: Device or resource busy
Modem Port Scan<*1>: S1
ttyS2<Info>: Device or resource busy
Modem Port Scan<*1>: S2
ttyS3<Info>: Device or resource busy
Modem Port Scan<*1>: S3
Sorry, no modem was detected! Is it in use by another program?
Did you configure it properly with setserial?
Please read the FAQ at http://open.nit.ca/wiki/?WvDial
If you still have problems, send mail to <[email protected]>.
*****
But using gnome-ppp it detected the modem, it's the output:
********
GNOME PPP: STDOUT: Scanning your serial ports for a modem.
GNOME PPP: STDOUT:
GNOME PPP: STDERR: ttyS0<*1>: ATQ0 V1 E1 -- οΏ½οΏ½UοΏ½οΏ½WοΏ½
GNOME PPP: STDERR: ttyS0<*1>: failed with 9600 baud, next try: 115200
baud
GNOME PPP: STDERR: ttyS0<*1>: ATQ0 V1 E1 -- OK
GNOME PPP: STDERR: ttyS0<*1>: ATQ0 V1 E1 Z -- OK
GNOME PPP: STDERR: ttyS0<*1>: ATQ0 V1 E1 S0=0 -- OK
GNOME PPP: STDERR: ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
GNOME PPP: STDERR: ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
GNOME PPP: STDERR: ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
GNOME PPP: STDERR: ttyS0<*1>: Modem Identifier: ATI -- WAVECOM WIRELESS
CPU
GNOME PPP: STDERR: ttyS0<*1>: Max speed is 115200; that should be safe.
GNOME PPP: STDERR: ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
GNOME PPP: STDERR: ttyS1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next
try: 9600 baud
GNOME PPP: STDERR: ttyS1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next
try: 115200 baud
GNOME PPP: STDERR: ttyS1<*1>: ATQ0 V1 E1 -- and failed too at 115200,
giving up.
GNOME PPP: STDOUT:
GNOME PPP: STDERR: Modem Port Scan<*1>: S2 S3
GNOME PPP: STDOUT: Found a modem on /dev/ttyS0.
GNOME PPP: STDOUT: Modem configuration written to /dev/null.
GNOME PPP: STDERR: ttyS0<Info>: Speed 115200; init "ATQ0 V1 E1 S0=0 &C1
&D2 +FCLASS=0"
**********************
So I think that the problem could be a PIN code, maybe I have to set it,
please check the error:
*********************
009-10-07 09:58:03 [3180] [6] DEBUG: AT2[mSmsc]: detecting modem speed.
2009-10-07 09:58:03 [3180] [6] INFO: AT2[mSmsc]: opening device
2009-10-07 09:58:03 [3180] [6] DEBUG: AT2[mSmsc]: device opened. Telnet
mode = 0
2009-10-07 09:58:03 [3180] [5] DEBUG: Thread 5
(gw/bb_boxc.c:smsboxc_run) maps to pid 3180.
2009-10-07 09:58:03 [3180] [0] DEBUG: Started thread 6
(gw/smsc/smsc_at.c:at2_device_thread)
2009-10-07 09:58:03 [3180] [0] DEBUG: Started thread 7
(gw/bb_smscconn.c:sms_router)
2009-10-07 09:58:03 [3180] [0] INFO:
----------------------------------------
2009-10-07 09:58:03 [3180] [0] INFO: Kannel bearerbox II version
starting
2009-10-07 09:58:03 [3180] [0] INFO: MAIN: Start-up done, entering
mainloop
2009-10-07 09:58:03 [3180] [0] DEBUG: AT2[mSmsc]: start called
2009-10-07 09:58:03 [3180] [7] DEBUG: Thread 7
(gw/bb_smscconn.c:sms_router) maps to pid 3180.
2009-10-07 09:58:04 [3180] [6] DEBUG: AT2[mSmsc]: device opened
2009-10-07 09:58:04 [3180] [6] INFO: AT2[mSmsc]: speed set to 115200
2009-10-07 09:58:04 [3180] [6] DEBUG: AT2[mSmsc]: --> ^M
2009-10-07 09:58:06 [3180] [6] DEBUG: AT2[mSmsc]: --> AT^M
2009-10-07 09:58:06 [3180] [6] DEBUG: AT2[mSmsc]: <-- OK
2009-10-07 09:58:06 [3180] [6] INFO: AT2[mSmsc]: Closing device
2009-10-07 09:58:06 [3180] [6] INFO: AT2[mSmsc]: detect speed is 115200
2009-10-07 09:58:06 [3180] [6] DEBUG: AT2[mSmsc]: detecting modem type
2009-10-07 09:58:06 [3180] [6] INFO: AT2[mSmsc]: opening device
2009-10-07 09:58:06 [3180] [6] DEBUG: AT2[mSmsc]: device opened. Telnet
mode = 0
2009-10-07 09:58:07 [3180] [6] DEBUG: AT2[mSmsc]: device opened
2009-10-07 09:58:07 [3180] [6] INFO: AT2[mSmsc]: speed set to 115200
2009-10-07 09:58:07 [3180] [6] DEBUG: AT2[mSmsc]: --> ^M
2009-10-07 09:58:09 [3180] [6] DEBUG: AT2[mSmsc]: --> AT^M
2009-10-07 09:58:09 [3180] [6] DEBUG: AT2[mSmsc]: <-- OK
2009-10-07 09:58:09 [3180] [6] DEBUG: AT2[mSmsc]: --> AT&F^M
2009-10-07 09:58:09 [3180] [6] DEBUG: AT2[mSmsc]: <-- OK
2009-10-07 09:58:09 [3180] [6] DEBUG: AT2[mSmsc]: --> ATE0^M
2009-10-07 09:58:09 [3180] [6] DEBUG: AT2[mSmsc]: <-- OK
2009-10-07 09:58:09 [3180] [6] DEBUG: AT2[mSmsc]: --> ATI^M
2009-10-07 09:58:09 [3180] [6] DEBUG: AT2[mSmsc]: <-- WAVECOM WIRELESS
CPU
2009-10-07 09:58:09 [3180] [6] DEBUG: AT2[mSmsc]: <-- MULTIBAND G850
1900
2009-10-07 09:58:09 [3180] [6] DEBUG: AT2[mSmsc]: <-- OK
2009-10-07 09:58:09 [3180] [6] DEBUG: AT2[mSmsc]: found string
<WAVECOM>, using modem definition <WAVECOM>
2009-10-07 09:58:09 [3180] [6] DEBUG: AT2[mSmsc]: --> AT+CSMS=?^M
2009-10-07 09:58:09 [3180] [6] DEBUG: AT2[mSmsc]: <-- ERROR
2009-10-07 09:58:09 [3180] [6] ERROR: AT2[mSmsc]: Generic error: ERROR
2009-10-07 09:58:09 [3180] [6] INFO: AT2[mSmsc]: Closing device
2009-10-07 09:58:09 [3180] [6] INFO: AT2[mSmsc]: opening device
2009-10-07 09:58:09 [3180] [6] DEBUG: AT2[mSmsc]: device opened. Telnet
mode = 0
2009-10-07 09:58:09 [3180] [6] DEBUG: AT2[mSmsc]: device opened
2009-10-07 09:58:09 [3180] [6] INFO: AT2[mSmsc]: Logging in
2009-10-07 09:58:10 [3180] [6] INFO: AT2[mSmsc]: init device
2009-10-07 09:58:10 [3180] [6] INFO: AT2[mSmsc]: speed set to 115200
2009-10-07 09:58:10 [3180] [6] DEBUG: AT2[mSmsc]: --> ATZ^M
2009-10-07 09:58:10 [3180] [6] DEBUG: AT2[mSmsc]: <-- OK
2009-10-07 09:58:10 [3180] [6] DEBUG: AT2[mSmsc]: --> AT^M
2009-10-07 09:58:10 [3180] [6] DEBUG: AT2[mSmsc]: <-- AT
2009-10-07 09:58:10 [3180] [6] DEBUG: AT2[mSmsc]: <-- OK
2009-10-07 09:58:10 [3180] [6] DEBUG: AT2[mSmsc]: --> AT&F^M
2009-10-07 09:58:10 [3180] [6] DEBUG: AT2[mSmsc]: <-- AT&F
2009-10-07 09:58:10 [3180] [6] DEBUG: AT2[mSmsc]: <-- OK
2009-10-07 09:58:10 [3180] [6] DEBUG: AT2[mSmsc]: --> ATE0^M
2009-10-07 09:58:10 [3180] [6] DEBUG: AT2[mSmsc]: <-- ATE0
2009-10-07 09:58:10 [3180] [6] DEBUG: AT2[mSmsc]: <-- OK
2009-10-07 09:58:10 [3180] [6] DEBUG: AT2[mSmsc]: --> AT+IFC=2,2^M
2009-10-07 09:58:10 [3180] [6] DEBUG: AT2[mSmsc]: <-- OK
2009-10-07 09:58:10 [3180] [6] DEBUG: AT2[mSmsc]: --> AT+CPIN?^M
2009-10-07 09:58:10 [3180] [6] DEBUG: AT2[mSmsc]: <-- ERROR
2009-10-07 09:58:10 [3180] [6] ERROR: AT2[mSmsc]: Generic error: ERROR
2009-10-07 09:58:10 [3180] [6] ERROR: AT2[mSmsc]: Initialization of
device failed.
2009-10-07 09:58:10 [3180] [6] INFO: AT2[mSmsc]: Closing device
2009-10-07 09:58:10 [3180] [6] ERROR: AT2[mSmsc]: Couldn't connect
(retrying in 10 seconds).
************************
Additionally, you need to be sure your modem is on /dev/ttyS0 . If you
are using Linux, run
# wvdialconf /etc/wvdial.conf
This will do a scan and give you a visual display of the
available modem and 'location'.
On Wed, 2009-10-07 at 10:10 -0400, Elvis Jorge wrote:
----- Original Message -----
From: Nikos Balkanas
To: [email protected] ; [email protected]
Cc: [email protected]
Sent: Wednesday, October 07, 2009 12:44 AM
Subject: Re: problem with GSM Modem
Hi,
Just a note to avoid confusion. In the cvs modems.conf id, wavecom is
in lower case:
group = modems
id = wavecom
name = Wavecom
detect-string = "WAVECOM"
Therefore if working with that, modemtype in group smsc should also
be:
modemtype = wavecom
as well.
BR,
Nikos
----- Original Message -----
From: Kenny Orisanaiye
To: [email protected]
Cc: [email protected]
Sent: Wednesday, October 07, 2009 1:08 AM
Subject: Re: problem with GSM Modem
Hi Elvis,
I also use Wavecom Fastrack Supreme and after much trial and
errors with the setting i discoved that the default settings
works just fine for us. Below is an extract from our config.
########################
group = modems
id = WAVECOM
name = "WAVECOM"
detect-string = "WAVECOM"
########################
########################
group = smsc
smsc = at
smsc-id = mSmsc
modemtype = WAVECOM
device = /dev/ttyS0
my-number = ************
connect-allow-ip = ******
log-level = 0
########################
Additionally, you need to be sure your modem is
on /dev/ttyS0 . If you are using Linux, run
# wvdialconf /etc/wvdial.conf
This will do a scan and give you a visual display of the
available modem and 'location'.
--
Kenny
e: [email protected]
w: www.nuObjects.com
Bulk SMS Solutions | Managed Hosting | Enterprise Application
Development
On Tue, Oct 6, 2009 at 2:50 PM, Elvis Manuel Jorge
<[email protected]> wrote:
I did that you told me Alejandro but It didn't work
I'm having the same
error, somebody that has worked with Wavecom modem
help me.
Thanks
On Mon, 2009-10-05 at 23:10 +0200, Alejandro Guerrieri
wrote:
> Try changing "wavecom" for "WAVECOM" on the
detect-string.
>
>
> Regards,
>
>
> Alex
>
> On Mon, Oct 5, 2009 at 10:58 PM, Elvis Manuel Jorge
> <[email protected]> wrote:
> Hello all...
>
> I had configured kannel to use my cellphone
(Sony Ericsson
> P1i) as
> modem, but know I bought a Wavecom Fastrack
Supreme 20 modem
> and I've
> couldn't configure correctly, here they are
the errors and my
> configuration file. Please I need you to
help me.
>
> 2009-10-05 16:49:18 [3143] [6] DEBUG:
AT2[gsm]: --> ATI^M
> 2009-10-05 16:49:18 [3143] [6] DEBUG:
AT2[gsm]: <-- WAVECOM
> WIRELESS CPU
> 2009-10-05 16:49:18 [3143] [6] DEBUG:
AT2[gsm]: <-- MULTIBAND
> G850
> 1900
> 2009-10-05 16:49:18 [3143] [6] DEBUG:
AT2[gsm]: <-- OK
> 2009-10-05 16:49:18 [3143] [6] DEBUG:
AT2[gsm]: Cannot detect
> modem,
> using generic
> 2009-10-05 16:49:18 [3143] [6] DEBUG:
AT2[gsm]: Reading modem
> definitions from <smskannel2.conf>
> 2009-10-05 16:49:18 [3143] [6] DEBUG:
AT2[gsm]: Found <1>
> modems in
> config
> 2009-10-05 16:49:18 [3143] [6] PANIC:
AT2[gsm]: Cannot detect
> modem and
> generic not found
> 2009-10-05 16:49:18 [3143] [6]
PANIC: ./bearerbox(gw_panic
> +0xc2)
> [0x80cbf72]
> 2009-10-05 16:49:18 [3143] [6]
PANIC: ./bearerbox [0x806ca22]
> 2009-10-05 16:49:18 [3143] [6]
PANIC: ./bearerbox [0x806d5b1]
> 2009-10-05 16:49:18 [3143] [6]
PANIC: ./bearerbox [0x80c2831]
> 2009-10-05 16:49:18 [3143] [6]
PANIC: /lib/libpthread.so.0
> [0x72b50b]
> 2009-10-05 16:49:18 [3143] [6]
PANIC: /lib/libc.so.6(clone
> +0x5e)
> [0x66cb2e]
>
> group = core
> admin-port = 13000
> smsbox-port = 13001
> admin-password = bar
> admin-allow-ip = "*.*.*.*"
> log-file = "/var/log/kannel/kannel.log"
> log-level = 0
> access-log = "/var/log/kannel/access.log"
>
> group = modems
> id = wavecom
> name = "wavecom"
> detect-string = "wavecom"
> init-string = "ATZ"
> init-string = "ATQ0 V1 E1 S0=0 &C1 &D2
+FCLASS=0"
>
> group = smsc
> smsc = at
> modemtype = auto
> smsc-id = gsm
> device = /dev/ttyS0
> my-number = +18298666697
> sms-center = +18098599999
> log-level = 0
>
> group = sendsms-user
> username = tester
> password = foobar
> user-allow-ip = "*.*.*.*"
>
> group = sms-service
> keyword = nop
> text = "You asked nothing and I did it!"
>
> group = sms-service
> keyword = default
> catch-all = yes
> accept-x-kannel-headers = true
> assume-plain-text = true
> text = "No service specified"
> -- INSERT --
>