gnokii-users
[Top][All Lists]
Advanced

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

Trying to connect to a 6250


From: Ian Stuart
Subject: Trying to connect to a 6250
Date: 29 Oct 2002 10:49:28 +0000

I have installed Gnokii (0.4.3) onto my i386 RedHat box, and plugged my
Nokia 6250 to COM1 with a Nokia DLR-3P cable.

The bottom connector works, as the handsfree kit responds, and the RS232
cable also comes up as a Handset

I installed the gnokii code as follows:

./configure --enable-debug --enable-xdebug --with-x
--enable-7110incoming

gmake
make install
make install-docs

I have a group, gnokii, with my normal user as a member of that group,
and I have re-logged in as that user.

I have edited the global gnokiirc file:
  [global]
  port = /dev/ttyS0
  model = 6250
  initlength = default
  connection = dlr3p
  bindir = /usr/local/sbin/
  use_locking = yes
  serial_baudrate = 19200
  #require_dcd = 1
  [connect_script]
  TELEPHONE = 12345678
  [disconnect_script]
  [sms]
  timeout = 10


To test the connection, I ran the command (as root): 
 gnokii --getdatetime

The program runs, but fails to actually connect
It does, however, dump lots of debug code:
---- start of debug output -----
GNOKII Version 0.4.3
CFG_ReadFile - open /root/.gnokiirc: No such file or directory
Opened configuration file /etc/gnokiirc
Added new section global
Adding key/value port//dev/ttyS0
Adding key/value model/6250
Adding key/value initlength/default
Adding key/value connection/dlr3p
Adding key/value bindir//usr/local/sbin/
Adding key/value use_locking/yes
Adding key/value serial_baudrate/19200
Added new section connect_script
Adding key/value TELEPHONE/12345678
Added new section disconnect_script
Added new section sms
Adding key/value timeout/10
Connecting
Serial device: opening device /dev/ttyS0
Serial device: setting RTS to low and DTR to low
Serial device: setting RTS to high and DTR to high
Serial device: setting speed to 19200
Serial device: setting speed to 115200
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 03 01 32                               |      2          
SM_Block Retry - 0
Message sent: 0x1b / 0x0006
00 01 00 03 01 32                               |      2          
SM_Block Retry - 1
Message sent: 0x1b / 0x0006
00 01 00 03 01 32                               |      2          
SM_Block Retry - 2
Serial device: opening device /dev/ttyS0
Serial device: setting speed to 115200
Serial device: setting RTS to low and DTR to low
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 03 01 32                               |      2          
SM_Block Retry - 0
Message sent: 0x1b / 0x0006
00 01 00 03 01 32                               |      2          
SM_Block Retry - 1
Message sent: 0x1b / 0x0006
00 01 00 03 01 32                               |      2
SM_Block Retry - 2
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 03 01 32                               |      2          
SM_Block Retry - 0
Message sent: 0x1b / 0x0006
00 01 00 03 01 32                               |      2          
SM_Block Retry - 1
Message sent: 0x1b / 0x0006
00 01 00 03 01 32                               |      2          
SM_Block Retry - 2
Message sent: 0x19 / 0x0004
00 01 00 62                                     |    b            
SM_Block Retry - 0
Message sent: 0x19 / 0x0004
00 01 00 62                                     |    b            
SM_Block Retry - 1
Message sent: 0x19 / 0x0004
00 01 00 62                                     |    b            
SM_Block Retry - 2
Error: Command timed out.
Serial device: closing device
---- end of debug output -----

What is going wrong? (and how do I fix it?)

I did look at installing the CVS tarball (gnokii-20021028), however this
has problems at the gettext configuration stage, and I can't work out
where it want's to put the various .m4 files... so that kinda stumped
that one :)

Many thanks...

-- 
--==++
Ian Stuart: Edinburgh University Data Library.

Information is not knowledge
Knowledge is not wisdom
Wisdom is not truth
Truth is not beauty
Beauty is not love
Love is not music
              -- Mary.

 Personal web site: http://lucas.ucs.ed.ac.uk/ 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]