Advertisement
Kimarite

~/.config/gnokii/config

Nov 19th, 2012
400
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.81 KB | None | 0 0
  1. # This is a sample ~/.gnokiirc file. Copy it into your
  2. # home directory and name it .gnokiirc.
  3. # See http://wiki.gnokii.org/index.php/Config for working examples.
  4. #
  5.  
  6. [global]
  7.  
  8. # Set port to the physical port used to connect to your phone.
  9. # Linux version is:
  10. port = /dev/ttyS0
  11. #
  12. # For MacOSX you will need something like:
  13. # port = /dev/cu.USA28X1P1.1
  14. #
  15. # For Win32 you want to use:
  16. # port = com1:
  17. # or similiar.
  18. #
  19. # FreeBSD (probably NetBSD and OpenBSD too) use:
  20. # port = /dev/cuaa0
  21. #
  22. # With Linux-IrDA you will want to use
  23. # port = /dev/ircomm0
  24. # or similiar.
  25. #
  26. # Use this setting also for the Bluetooth connection:
  27. # port = aa:bb:cc:dd:ee:ff
  28. # when using it with AT driver set it to:
  29. # port = /dev/rfcomm0
  30. # or similiar.
  31. #
  32. # For the Linux USB cables you will need one of the following settings (or
  33. # similiar)
  34. # port = /dev/ttyUSB0
  35. # port = /dev/tts/USB0
  36. # port = /dev/ttyACM0
  37. # the last one will work only with AT driver. The correct setting should be
  38. # given in the dmesg output.
  39. #
  40. # If you use connection type dku2libusb use it to denote which use endpoint
  41. # you'd wish to use. It is useful when you have more than one phone connected
  42. # to your computer using DKU2 cable. Numbering goes from 1 upwards.
  43. # Default is 1.
  44. # port = 1
  45.  
  46. # Set model to the model number of your phone. For the
  47. # Symbian phones use:
  48. # model = symbian
  49. # For other non-Nokia phones and when you want to use AT
  50. # mode use:
  51. # model = AT
  52. # If you can't figure out what to put here read the FAQ.
  53. # If it still doesn't help, consult gnokii-ml or #gnokii at freenode.
  54. model = 6510
  55. # There are few main models that should make use of the certain drivers.
  56. # These are: 6110, 7110, 6510, 3110, 2110, 6160.
  57.  
  58. # Set IrDA device name.
  59. # If you use irda connection you may want gnokii to autodetect the irda
  60. # device it connects to. This is fine for most of the cases. if you have
  61. # more than one device in range you may want to give manually the device
  62. # name so gnokii correctly recognizes it. Use the name that you can see
  63. # in the discovery log when the phone with infrared is in the range of
  64. # your irda port.
  65. # Note that you need to set this for each phone_ section separately. It
  66. # isn't nested from the global section.
  67. # irda_string = Nokia 6610i
  68.  
  69. # Initlength controls the number of characters sent to the
  70. # phone during initialisation. You can either set it to
  71. # the word "default" or a positive integer.
  72. #
  73. # You can try setting this value if you want to connect
  74. # to the phone quicker. If you've never noticed the
  75. # connection to be slow, it is suggested that you
  76. # leave this alone. Read the initialisation code in fbus-xxxx
  77. # to understand what this changes if you're curious.
  78. initlength = default
  79.  
  80. # The type of the connection, for IR set this to infrared or irda.
  81. # For the nk6110 driver only infrared is valid for the IrDA connection.
  82. # See Docs/gnokii-ir-howto for more detailes on this.
  83. # If you have 6210/6250/7110 phone and dau9p cable (the one you can
  84. # use with 6100 series and cannot use hardware modem from the phone)
  85. # you may want to use 'dau9p' value to get faster initialization.
  86. # If you use dlr3 or dlr3p cable for nokia phones in FBUS mode (ie.
  87. # you don't use model = AT) you may want to use 'dlr3p' value here.
  88. # Note that it is recommended and currently the best way to use this
  89. # cable with nk6510 driver.
  90. connection = serial
  91. # With DKU-2 cable use the following setting if you want to libusb driver
  92. # (recommended):
  93. # connection = dku2libusb
  94. # or the following setting if you want to use Linux kernel driver
  95. # connection = dku2
  96. # With DKU-5 cable use the following setting
  97. # connection = dku5
  98. # For Bluetooth and AT driver use the following setting
  99. # connection = serial
  100. # For other Bluetooth settings use
  101. # connection = bluetooth
  102. # For infrared connection with phones other than Nokia 6110/6130/6150 use:
  103. # connection = irda
  104. # Don't forget to run: 'irattach irda0 -s' or similiar before running gnokii
  105. # For connection with a PC/SC compatible Smart Card reader use:
  106. # connection = pcsc
  107.  
  108. # Set this to 'yes' if you want gnokii to set and check the lock file in
  109. # /var/lock directory. It avoids potential conflicts with other serial
  110. # port software (eg. minicom). If you have wrong permissions for the
  111. # directory, a warning will be generated. If you don't want a lockfile, set
  112. # it to 'no'.
  113. use_locking = yes
  114.  
  115. # Baudrate to use on serial port connections.
  116. # Currently used only by models AT and BIP/CIMD. Defaults to 19200.
  117. serial_baudrate = 19200
  118.  
  119. # Force waiting after each send character the specified usec time.
  120. # Value -1 forces the fastest 'block' writing,
  121. # value 0 writes each character separately without any explicite waiting,
  122. # other positive values specify the appropriate 1/1000000 sec delaying.
  123. # Siemens M20 requires at least "1"! FIXME: Model-driven autodetection
  124. #serial_write_usleep = 10000
  125.  
  126. # Force serial port handshaking mode, useful primarily for "AT" model.
  127. # Gnokii "AT" model uses software handshake by default.
  128. # Possible values: hardware (RTS/CTS - 7 wires) or software (XON/XOFF - 3 wires)
  129. #handshake = software
  130.  
  131. # If defined (not commented out by '#') it will quit Gnokii anytime
  132. # when DCD line will drop.
  133. #require_dcd = 1
  134.  
  135. # If you are using a bluetooth connection, you can specify the rfcomm
  136. # channel number here. Default value is 1.
  137. #rfcomm_channel = 1
  138.  
  139. # There may happen various timeouts during the communication with the phone.
  140. # This parameter enables the retransmission policy. Ie. if the phone doesn't
  141. # respond, we send the frame again. This happened mainly with the older
  142. # phones. You may want to enable it when you see mysterious timeouts.
  143. # Be very careful with this option. It is suspected to cause phone breakage
  144. # with new DCT4 phones (like Nokia 6100). By default it is switched off
  145. # (sm_retry = 0)
  146. #sm_retry = 1
  147.  
  148. # Run the specified script(s) right after opening and initializing the device
  149. # and before any communication (right before closing for disconnect_script).
  150. # You may find handy to use it to connect your modem to SMS Center
  151. # when using BIP or CIMD protocols
  152. # Non-absolute path is relative to the specific directory where gnokii is run!
  153. #connect_script = /absolute/path/to/gnokii/Docs/sample/cimd-connect
  154. #disconnect_script =
  155.  
  156. # When sending SMS you can experience timeouts. This is the feature of the
  157. # overloaded SMSCs. The phones waits for the response from the SMSC confirming
  158. # that it received the short message. When the SMSC is DoSed with many requests
  159. # it will take more time to get the response. Adjust it to your needs. The
  160. # value is given in seconds to wait. Defaults to 10 seconds. Set to 0 to wait
  161. # forever.
  162. smsc_timeout = 10
  163.  
  164. # Set this to 1 if you want to break your phone with xgnokii. Works only
  165. # with few Nokia models and FBUS communication
  166. [xgnokii]
  167. allow_breakage = 0
  168.  
  169. # Set bindir to point to the location of the various gnokiid binaries.
  170. # In particular ensure that mgnokiidev is in this location, with
  171. # permissions 4750, owned by root, group gnokii. Ensure you
  172. # are in the gnokii group and that the group exists...
  173. [gnokiid]
  174. bindir = /usr/sbin/
  175.  
  176. # Any entries in the following two sections will be set as environment
  177. # variables when running the scripts.
  178. # Handy for use for $VAR substitutions in your chat(8) script.
  179. [connect_script]
  180. TELEPHONE = 12345678
  181. [disconnect_script]
  182.  
  183.  
  184. # The following parameters control how libgnokii handles the debugging messages.
  185. # Currently there are three categories: "debug" controls the libgnokii
  186. # normal debug output, "rlpdebug" controls the debug output of the RLP
  187. # subsystem, and "xdebug" is used by the xgnokii or smsd.
  188.  
  189. [logging]
  190.  
  191. # where to log the debug output (on: stderr, off: /dev/null)
  192. debug = off
  193.  
  194. # where to log the rlp debug output (on: stderr, off: /dev/null)
  195. rlpdebug = off
  196.  
  197. # where to log X debug output (on: stderr, off: /dev/null)
  198. xdebug = off
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement