Found in "gnokii-working" directory, some November-patches version
[gnokii.git] / Docs / sample / gnokiirc
1 # This is a sample ~/.gnokiirc file.  Copy it into your
2 # home directory and name it .gnokiirc.
3 #
4
5 [global]
6
7 # Set port to the physical serial port used to connect to your phone
8 port = /dev/ttyS0
9
10 # Set model to the model number of your phone
11 model = 6110
12
13 # Initlength controls the number of characters sent to the
14 # phone during initialisation.  You can either set it to
15 # the word "default" or a positive integer.
16
17 # You can try setting this value if you want to connect
18 # to the phone quicker.  If you've never noticed the
19 # connection to be slow, it is suggested that you 
20 # leave this alone.  Read the initialisation code in fbus-xxxx
21 # to understand what this changes if you're curious.
22 initlength = default
23
24 # The type of the connection, for IR set this to infrared
25 connection = serial
26
27 # Set bindir to point to the location of the various gnokii binaries.
28 # In particular ensure that mgnokiidev is in this location, with
29 # permissions 4750, owned by root, group gnokii.  Ensure you
30 # are in the gnokii group and that the group exists...
31 bindir = /usr/local/sbin/
32
33 # Baudrate to use on serial port connections.
34 # Currently used only by models AT and BIP/CIMD. Defaults to 19200.
35 serial_baudrate = 19200
36
37 # Force waiting after each send character the specified usec time.
38 # Value -1 forces the fastest 'block' writing,
39 # value 0 writes each character separately without any explicite waiting,
40 # other positive values specify the appropriate 1/1000000 sec delaying.
41 # Siemens M20 requires at least "1"! FIXME: Autodetect
42 #serial_write_usleep = 10000
43
44 # Force serial port handshaking mode, useful primarily for "AT" model.
45 # Gnokii "AT" model uses software handshake by default.
46 # Possible values: hardware (RTS/CTS - 7 wires) or software (XON/XOFF - 3 wires)
47 #handshake = software
48
49 # If defined (not commented out by '#') it will quit Gnokii anytime
50 # when DCD line will drop.
51 require_dcd = 1
52
53 # Run the specified script(s) right after opening and initializing the device
54 # and before any communucation (right before closing for disconnect_script).
55 # You may find handy to use it to connect your modem to SMS Center
56 # when using BIP or CIMD protocols
57 connect_script = echo x
58 disconnect_script = echo y
59
60 # Any entries in the following two sections will be set as environment
61 # variables when running the scripts.
62 # Handy for use for $VAR substitutions in your chat(8) script.
63 [connect_script]
64 TELEPHONE = 01234567
65 [disconnect_script]
66
67
68 [CIMD]
69
70 # This section is used only if "model" is set to BIP or CIMD.
71 # Set here your authorization pair given you by the operator.
72 name = USERNAME
73 password = PASSWORD