I'm really confused.... does anyone know what the COM1 port is called in Gentoo linux?
The modem refuses to respond and I know it works because when I use cygwin in windows it's fine.
I have added lines like:
device = /dev/ptys0
device = /dev/ttyS0 (doesn't exists in /dev/)
device = /dev/tty0
etc... in my config file
in my /dev/ directory I have 420 things, no directories, however I can't seem to see anything like /dev/modem etc...
do I have to install the modem somehow....? add it in some Gentoo config file?
I'm really lost here...
Thanks a lot for any help, config and error message is below, Jarl
2003-10-18 12:03:51 [0] DEBUG: AT2[wavecom_1]: Found <1> modems in config
2003-10-18 12:03:51 [0] INFO: AT2[wavecom_1]: read modem definition for <Wavecom>
2003-10-18 12:03:51 [0] DEBUG: Started thread 5 (gw/smsc/smsc_at2.c:at2_device_thread)
2003-10-18 12:03:51 [5] INFO: AT2[wavecom_1]: opening device
2003-10-18 12:03:51 [5] DEBUG: AT2[wavecom_1]: device opened
2003-10-18 12:03:51 [5] DEBUG: AT2[wavecom_1]: device opened
2003-10-18 12:03:51 [5] INFO: AT2[wavecom_1]: init device
2003-10-18 12:03:51 [5] INFO: AT2[wavecom_1]: speed set to 9600
2003-10-18 12:03:51 [5] DEBUG: AT2[wavecom_1]: --> AT^M
2003-10-18 12:03:51 [0] DEBUG: Started thread 6 (gw/bb_smscconn.c:sms_router)
2003-10-18 12:03:51 [0] INFO: ----------------------------------------
2003-10-18 12:03:51 [0] INFO: Kannel bearerbox II version 1.3.1 starting
2003-10-18 12:03:51 [0] INFO: MAIN: Start-up done, entering mainloop
2003-10-18 12:03:51 [0] DEBUG: AT2[wavecom_1]: start called
2003-10-18 12:03:51 [6] DEBUG: sms_router: time to sleep
2003-10-18 12:03:51 [6] DEBUG: sms_router: list_len = 0
2003-10-18 12:03:55 [5] DEBUG: AT2[wavecom_1]: --> AT^M
2003-10-18 12:03:59 [5] ERROR: AT2[wavecom_1]: no answer from modem
2003-10-18 12:03:59 [5] ERROR: AT2[wavecom_1]: Opening failed. Terminating
2003-10-18 12:03:59 [5] INFO: AT2[wavecom_1]: closing device
2003-10-18 12:03:59 [5] DEBUG: Thread 5 (gw/smsc/smsc_at2.c:at2_device_thread) terminates.
2003-10-18 12:04:35 [4] DEBUG: Started thread 7 (gw/bb_boxc.c:function)
2003-10-18 12:04:35 [7] INFO: Client connected from <127.0.0.1>
2003-10-18 12:04:35 [7] DEBUG: Started thread 8 (gw/bb_boxc.c:boxc_sender)
2003-10-18 12:04:35 [7] DEBUG: boxc_receiver: unlocking sender
2003-10-18 12:04:35 [8] DEBUG: boxc_sender: sender unlocked
--------------------------------------------------------------------- config: ---------------------------------------------------------------------- group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar #status-password = foo #admin-deny-ip = "" #admin-allow-ip = "" #log-file = "/tmp/kannel.log" #log-level = 0 box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1" #unified-prefix = "+358,00358,0;+,00" #access-log = "/tmp/access.log" #store-file = "/tmp/kannel.store" #ssl-server-cert-file = "cert.pem" #ssl-server-key-file = "key.pem" #ssl-certkey-file = "mycertandprivkeyfile.pem"
#include = "kannel.conf"
# SMSC CONNECTIONS
group = smsc smsc = at2 smsc-id = wavecom_1 allowed-smsc-id = wavecom_1 modemtype = wavecom device = /dev/ptys0 speed = 9600 #pin = <your pin code>
group = modems id = wavecom name = Wavecom detect-string = "WAVECOM"
# SMSBOX SETUP
group = smsbox bearerbox-host = localhost sendsms-port = 13013 global-sender = 13013 #sendsms-chars = "0123456789 +-" #log-file = "/tmp/smsbox.log" #log-level = 0 #access-log = "/tmp/access.log"
# SEND-SMS USERS
group = sendsms-user username = tester password = foobar #user-deny-ip = "" #user-allow-ip = ""
# SERVICES
group = sms-service keyword = nop text = "You asked nothing and I did it!"
# there should be default always
group = sms-service keyword = default text = "No service specified"
_________________________________________________________________
See when your friends are online with MSN Messenger 6.0. Download it now FREE! http://msnmessenger-download.com
