http://marcin-wiacek.fkn.pl/english/zips/mygnokii.tar.gz
[gnokii.git] / Docs / en_US / gnokii / config.htm
1 <html>\r
2 <head>\r
3    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">\r
4    <meta name="Author" content="Marcin Wiacek">\r
5    <title>Configuration</title>\r
6    <link REL=stylesheet HREF="../styl.css" TYPE="text/css">\r
7 </head>\r
8 <body>\r
9 \r
10 <a NAME="Top"></a>\r
11 <p align="RIGHT"><a class="autoremail" href="../index.htm">Main page</a></p>\r
12 <center><font color="#1F409F" size=+2 class="tytul">Configuration</font></center>\r
13 \r
14 <p><hr size="2" noshade width="60%" align="center" style="color: #004080">\r
15 \r
16 <p><font color="#1F409F" size=+2 class="dzial">How to install it from the source ?</font><br>\r
17 <hr align="LEFT" size="3" width="300" color="#60c0a0" noshade>\r
18 \r
19 <p>If you get the sources you need to create script \r
20 <i>configure</i>. You do it by typing:\r
21 <PRE>tfuj:~/gnokii-0.3.3pre5$ autoconf</PRE>\r
22 \r
23 <P>If you get the sources from the tarball you don't need to do \r
24 this - <TT>configure</TT> is already made for you. For quick install do simply:\r
25 <PRE>tfuj:~/gnokii-0.3.3pre5$ ./configure\r
26 tfuj:~/gnokii-0.3.3pre5$ make\r
27 tfuj:~/gnokii-0.3.3pre5$ make install\r
28 </PRE>\r
29 \r
30 <P>But <i>configure</i> has some options. Except obvious \r
31 parameters as <i>--prefix</i> which specifies a path to install GNOKII, you \r
32 can specify one of the following: \r
33 \r
34 <DL>\r
35   <dt><i>--help</i>\r
36   <dd>Shows you list of available options</dd></dl>\r
37 <dl>\r
38   <DT><i>--enable-debug</i> \r
39   <DD>Turns on debugging. It's usefull especially for developers. But if you \r
40   find a bug in GNOKII, please compile the sources with debugging enabled and \r
41   send this output to the GNOKII mailing list. This is used by <i>gnokii</i> \r
42   program. </DD></DL>\r
43 <DL>\r
44   <DT><i>--enable-xdebug</i> \r
45   <DD>The same as above but used by <i>xgnokii</i>. </DD></DL>\r
46 <DL>\r
47   <DT><i>--enable-rlpdebug</i> \r
48   <DD>This option turns on debugging specific to the RLP stuff. Note, that it's \r
49   very important at the moment as this part of GNOKII is under the hardest \r
50   development. </DD></DL>\r
51 <DL>\r
52   <DT><i>--without-x</i> \r
53   <DD>Don't include X Window system support - <i>xgnokii</i>. </DD></DL>\r
54 <DL>\r
55   <DT><i>--enable-security</i> \r
56   <DD>Turns on some security functions:.... Use them with caution. </DD></DL>\r
57 <DL>\r
58   <DT><i>--enable-win32</i> \r
59   <DD>Include MS Windows support. Yes, it really exists. ;-) </DD></DL>\r
60 <DL>\r
61   <DT><i>--with-model=MODEL</i>, <i>--with-port=PORT</i> \r
62   <DD>Specify the model of the phone (eg. 6150) and the port it is connected to \r
63   (eg. /dev/ttyS1). These values can be overwritten with ones from the config \r
64   files.\r
65   </DD>\r
66 </DL>\r
67 \r
68 <P>The sample usage:\r
69 <PRE>tfuj:~/gnokii-0.3.3pre5$ ./configure --prefix=/usr2 --enable-debug --without-x \\r
70 --enable-security --with-model=6130 --with-port=/dev/ttyS1\r
71 </PRE>\r
72 \r
73 <P>When the <i>configure</i> succeed, it shows options GNOKII \r
74 will be compiled with:\r
75 <PRE>    Host system:        linux-gnulibc1\r
76     Gnokii version:     0.3.3_pre5\r
77     Xgnokii version:    20000613\r
78     Phone model:        6130\r
79     Serial port:        /dev/ttyS1\r
80     X (GTK) support:    no\r
81     Debug:              yes\r
82     XDebug:             no\r
83     RLPDebug:           no\r
84     NLS:                yes\r
85     Security:           yes\r
86     Win32:               \r
87     Prefix:             /usr2\r
88 </PRE>\r
89 \r
90 <P>Now, the only thing left to do is just ro run:\r
91 <PRE>tfuj:~/gnokii-0.3.3pre5$ make\r
92 tfuj:~/gnokii-0.3.3pre5$ make install\r
93 </PRE>\r
94 \r
95 <P>Finally, you have GNOKII installed in your system. And now REAL \r
96 FUN begins. :-)\r
97 \r
98 <p><font color="#1F409F" size=+2 class="dzial">How to install it from binaries ?</font><br>\r
99 <hr align="LEFT" size="3" width="300" color="#60c0a0" noshade>\r
100 \r
101 <p>If you downloaded gnokii as a pre-built binary you should install\r
102 it in the conventional manner for the package type in question.\r
103 For example if you downloaded a .rpm file you can install it by\r
104 running the following as root.\r
105 \r
106 <p>rpm -i gnokii-0.3.2-i386.rpm\r
107 \r
108 <p>If you are using a Debian based system, you can use dpackage\r
109 to do the installation (FIXME - is this correct ?)\r
110 \r
111 <p><font color="#1F409F" size=+2 class="dzial">How to make connection with phone ?</font><br>\r
112 <hr align="LEFT" size="3" width="300" color="#60c0a0" noshade>\r
113 \r
114 <p>There are three ways to make it:\r
115 \r
116 <ul>\r
117 <li>connecting phone with computer using cable. All phones allow to make it\r
118 (even 3210 - connector is inside). If you want to know more\r
119 about creating your own cable, read <a href=../gsm/cables/cables.htm>cables faq</a>.</li>\r
120 <li>using IrDa port in phone and computer. Notice, that your computer\r
121 and phone must have it (only some series of Nokia phones has it - for example,\r
122 6110, 6150)</li>\r
123 <li>connecting to phone special device called "dongle" (it has IrDa port)\r
124 and making IrDa connection between it and phone. Current gnokii cas use\r
125 Tekram IRmate 210 - see patches</li>\r
126 </ul>\r
127 \r
128 <p><font color="#1F409F" size=+2 class="dzial">How to configure gnokii ?</font><br>\r
129 <hr align="LEFT" size="3" width="300" color="#60c0a0" noshade>\r
130 \r
131 <p>First it to use <i>--with-model</i> and <i>--with-port</i> options for\r
132 configure script. But I do not recommend this. In my opinion these should be\r
133 removed from configure. Second disadvantage is that you can't use it when\r
134 you are installing a binary package.\r
135 \r
136 <p>So, will use better method :-).\r
137 You should copy the <a href=../examples/gnokiirc>gnokiirc</a>\r
138 file from the Docs/examples directory to your\r
139 home directory and name it gnokiirc or copy it into /etc directory\r
140 and name gnokiirc.\r
141 \r
142 <p>Using your favorite\r
143 editor ensure that the settings are correct for your system,\r
144 the sample file has details of the various options available. The most\r
145 difficult problem could be discovering model of your phone - go into\r
146 our <a href=../gsm/firmware/firmware.htm>firmware page</a>\r
147 and try to use codes written in column\r
148 <b>Firmware version code</b>. If your phone will display something,\r
149 see model number on the third line, look on the\r
150 <a href=../gsm/firmware/firmware.htm>firmware page</a>\r
151 again (for it) and read phone model then.\r
152 \r
153 <p>Note that you will need read/write permissions on whatever\r
154 serial port you specify in gnokiirc.  You can now use gnokii\r
155 and xgnokii.\r
156 \r
157 <P>Of course, you don't have to make any config, if you will use\r
158 these config options. There are default:\r
159 \r
160 <p>\r
161 <pre>\r
162 [global]\r
163 port = /dev/ttyS0\r
164 model = 6110\r
165 connection = serial\r
166 initlength = default\r
167 bindir=/usr/local/sbin\r
168 </pre>\r
169 \r
170 <p><font color="#1F409F" size=+2 class="dzial">How to configure infrared connection ?</font><br>\r
171 <hr align="LEFT" size="3" width="300" color="#60c0a0" noshade>\r
172 \r
173 <p>\r
174 <ul>\r
175 \r
176 <li>Go into configuration of your IrDa port (the most often it's made in\r
177 BIOS, sometimes using program provided by computer's producer):\r
178 \r
179 <p>\r
180 <ul>\r
181 <li>Enable it</li>\r
182 <li>Setup the COM-Port on which it should work.\r
183 Here are addresses:\r
184 <br>ttyS0 (COM1): 3F8, IRQ: 4\r
185 <br>ttyS1 (COM2): 2F8, IRQ: 3\r
186 <br>ttyS2 (COM3): 3E8, IRQ: 4\r
187 <br>ttyS3 (COM4): 2E8, IRQ: 3\r
188 <br>&nbsp;\r
189 </li>\r
190 </ul>\r
191 </li>\r
192 \r
193 <li>Configure gnokii (see previous question)\r
194 setting type of connection to\r
195 infrared.</li>\r
196 \r
197 <li>If you are using linux, put linux-irda off (you can't use gnokii over infrared and\r
198 linux-irda at the same time - it means too, if you want use\r
199 linux-irda you must close all gnokii-applications what\r
200 use the infrared-port in moment).\r
201 </li>\r
202 </ul>\r
203 \r
204 <p><font color="#1F409F" size=+2 class="dzial">How to configure gnokii driver for data connection ?</font><br>\r
205 <hr align="LEFT" size="3" width="300" color="#60c0a0" noshade>\r
206 \r
207 <p>After installing and configuring gnokii you should make another group\r
208 and allow mgnokiidev (it our virtual modem driver)\r
209 to use it. For example (if you have installed gnokii\r
210 into /usr/local):\r
211 \r
212 <p>\r
213 <i>groupadd gnokii<br>\r
214 chown root:gnokii /usr/local/sbin/mgnokiidev<br>\r
215 chmod 4750 /usr/local/sbin/mgnokiidev</i>\r
216 \r
217 <p><b>And now connect (FIRST EXAMPLE):</b>\r
218 \r
219 <p>Then connect your phone to your PC and then run gnokiid:\r
220 \r
221 <PRE>[ first console ]\r
222 tfuj:/home/pawel/gnokii# ./gnokiid/gnokiid \r
223 </pre>\r
224 \r
225 <p>If successful, you should see a message saying that mgnokiidev has been\r
226 run to create /dev/gnokii.  If you're using a 5110/6110 series phone\r
227 you should hear a beep and see an "accessory connected" message on\r
228 the phone.  If you're using a 3810 series phone you won't see anything\r
229 on the phones LCD.\r
230 \r
231 <p>And now:\r
232 \r
233 <p>\r
234 <pre>\r
235 [ second console ]\r
236 [- running minicom -]\r
237 \r
238 [ third console ]\r
239 [- when connection is estabilished -]\r
240 tfuj:/etc/ppp# /usr/sbin/pppd -d -detach /dev/gnokii 115200\r
241 Using interface ppp0\r
242 Connect: ppp0 &lt;--&gt; /dev/gnokii\r
243 sent [LCP ConfReq id=0x1 <MRU 552> <ASYNCMAP 0x0> <MAGIC 0xc5c718fb> <PCOMP> <ACCOMP>]\r
244 rcvd [LCP ConfReq id=0x8e <ASYNCMAP 0xa0000> <MAGIC 0x56292222> <PCOMP> <ACCOMP> &lt; 11 04 05 f4&gt; &lt; 13 0d 01 70 69 65 6b 6e 61 2d 61 73 34&gt;]\r
245 sent [LCP ConfRej id=0x8e &lt; 11 04 05 f4&gt; &lt; 13 0d 01 70 69 65 6b 6e 61 2d 61 73 34&gt;]\r
246 rcvd [LCP ConfNak id=0x1 <MRU 1500>]\r
247 sent [LCP ConfReq id=0x2 <ASYNCMAP 0x0> <MAGIC 0xc5c718fb> <PCOMP> <ACCOMP>]\r
248 rcvd [LCP ConfReq id=0x8f <ASYNCMAP 0xa0000> <MAGIC 0x56292222> <PCOMP> <ACCOMP>]\r
249 sent [LCP ConfAck id=0x8f <ASYNCMAP 0xa0000> <MAGIC 0x56292222> <PCOMP> <ACCOMP>]\r
250 rcvd [LCP ConfAck id=0x2 <ASYNCMAP 0x0> <MAGIC 0xc5c718fb> <PCOMP> <ACCOMP>]\r
251 sent [IPCP ConfReq id=0x1 <ADDR 192.168.1.10> <COMPRESS 01 0f VJ>]\r
252 sent [CCP ConfReq id=0x1 <DEFLATE 15> <DEFLATE(OLD#) 15> <BSD 15 v1>]\r
253 rcvd [IPCP ConfReq id=0x16 <COMPRESS 0f VJ 00> <ADDR 157.25.75.129>]\r
254 sent [IPCP ConfAck id=0x16 <COMPRESS 0f VJ 00> <ADDR 157.25.75.129>]\r
255 rcvd [IPCP ConfNak id=0x1 <ADDR 157.25.94.141>]\r
256 sent [IPCP ConfReq id=0x2 <ADDR 157.25.94.141> <COMPRESS 01 0f VJ>]\r
257 rcvd [LCP ProtRej id=0x90 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]\r
258 rcvd [IPCP ConfAck id=0x2 <ADDR 157.25.94.141> <COMPRESS 01 0f VJ>]\r
259 local  IP address 157.25.94.141\r
260 remote IP address 157.25.75.129\r
261 Terminating on signal 2.\r
262 sent [LCP TermReq id=0x3 "User request"]\r
263 rcvd [LCP TermAck id=0x3]\r
264 Connection terminated.\r
265 Connect time 5.6 minutes.\r
266 Sent 30568 bytes, received 197133 bytes.\r
267 tfuj:/etc/ppp# \r
268 </PRE>\r
269 \r
270 <p><b>SECOND EXAMPLE (I used such scripts):</b>\r
271 \r
272 <PRE>/home/pawel/.gnokiirc\r
273 ---------------------\r
274 global]\r
275 port = /dev/ttyS1\r
276 model = 6110\r
277 connection = serial\r
278 initlength = 1\r
279 \r
280 /usr/sbin/ppp-gnokii\r
281 --------------------\r
282 #!/bin/sh\r
283 LOCAL_IP=0.0.0.0       \r
284 REMOTE_IP=0.0.0.0     \r
285 NETMASK=255.255.255.0   \r
286 DIALER_SCRIPT=/etc/ppp/ppp-gnokii\r
287 exec /usr/sbin/pppd debug /dev/gnokii 115200 \\r
288 $LOCAL_IP:$REMOTE_IP \\r
289 connect $DIALER_SCRIPT\r
290 \r
291 /etc/ppp/ppp-gnokii\r
292 -------------------\r
293 #!/bin/sh\r
294 /usr/sbin/chat -v                                       \\r
295         TIMEOUT         30                              \\r
296         ABORT           '\nBUSY\r'                      \\r
297         ABORT           '\nNO ANSWER\r'                 \\r
298         ABORT           '\nRINGING\r\n\r\nRINGING\r'    \\r
299         ABORT           '\nNO CARRIER\r'                \\r
300         ''              ATDT501808080                   \\r
301         CONNECT         ''\r
302 \r
303 /etc/ppp/options\r
304 ----------------\r
305 -detach\r
306 modem\r
307 crtscts\r
308 defaultroute\r
309 asyncmap 0\r
310 mtu 552\r
311 mru 552\r
312 \r
313 /etc/ppp/pap-secrets\r
314 --------------------\r
315 ppp * ppp\r
316 </PRE>\r
317 \r
318 <P>Number 501808080 is an Internet access number for all Idea \r
319 Centertel (Polish GSM operator) abonents. With these files the only thing to do \r
320 is to run <i>gnokiid</i> and <i>/usr/sbin/ppp-gnokii</i>. Note that both: \r
321 <i>/usr/sbin/ppp-gnokii</i> and <i>/etc/ppp/ppp-gnokii</i> must be \r
322 executable files. At the moment you have to run <i>ppp-gnokii</i> as the \r
323 superuser unless the simple user has a permission to write to a <I>pty</I> \r
324 device. <i>gnokiid</i> must be run as the user belinging to <I>gnokii</I> \r
325 group.\r
326 \r
327 <PRE>\r
328 [ first console ]\r
329 tfuj:~S /usr/sbin/gnokiid\r
330 Initialising GSM\r
331 Slave pty is /dev/ttyp9, calling /usr/sbin/mgnokiidev to create /dev/gnokii.\r
332 \r
333 [ second console ]\r
334 tfuj:~# /usr/sbin/ppp-gnokii\r
335 Serial connection established.\r
336 Using interface ppp0\r
337 Connect: ppp0 &lt;--&gt; /dev/gnokii\r
338 Warning - secret file /etc/ppp/pap-secrets has world and/or group access\r
339 sent [LCP ConfReq id=0x1     ]\r
340 rcvd [LCP ConfReq id=0xbb     ]\r
341 sent [LCP ConfAck id=0xbb     ]\r
342 rcvd [LCP ConfNak id=0x1 ]\r
343 sent [LCP ConfReq id=0x2    ]\r
344 rcvd [LCP ConfAck id=0x2    ]\r
345 Warning - secret file /etc/ppp/pap-secrets has world and/or group access\r
346 sent [PAP AuthReq id=0x1 user="ppp" password="ppp"]\r
347 rcvd [PAP AuthAck id=0x1 ""]\r
348 Remote message: ^F\r
349 sent [IPCP ConfReq id=0x1  ]\r
350 sent [CCP ConfReq id=0x1   ]\r
351 rcvd [IPCP ConfReq id=0x49  ]\r
352 sent [IPCP ConfAck id=0x49  ]\r
353 rcvd [IPCP ConfNak id=0x1 ]\r
354 sent [IPCP ConfReq id=0x2  ]\r
355 rcvd [IPCP ConfAck id=0x2  ]\r
356 local  IP address 192.168.23.55\r
357 remote IP address 192.168.9.2\r
358 </PRE>\r
359 \r
360 <p><b>THIRD EXAMPLE:</b>\r
361 \r
362 <p>Use /dev/gnokii as a modem:\r
363 \r
364 <p><i>e.g. ppp session<br>\r
365 --------------- /etc/ppp/peers/demon-gnokii ---------------------<br>\r
366 /dev/gnokii 115200<br>\r
367 modem crtscts defaultroute<br>\r
368 connect 'chat -v ABORT BUSY ABORT ERROR ABORT "NO CARRIER" "" AT OK-AT-OK ATD02083389666 CONNECT'<br>\r
369 user XXXX.demon.co.uk<br>\r
370 noauth<br>\r
371 mtu 296<br>\r
372 debug<br>\r
373 ----------------------------------------------------------------<br>\r
374 --------------- /etc/ppp/pap-secrets ---------------------------<br>\r
375 XXXX.demon.co.uk        demon-gnokii    <yourpassword><br>\r
376 ----------------------------------------------------------------<br>\r
377 </i>\r
378 \r
379 <p>Then "pppd call demon-gnokii" should connect\r
380 <br>('tail -f /var/log/messages' to see what is happening)\r
381 \r
382 <p>If a call terminates you should get 'NO CARRIER' and gnokiid should\r
383 continue to work, but this is early code and you may find you have to\r
384 Ctrl-C and restart gnokiid (especially if the phone says the terminal\r
385 connection has been lost)\r
386 \r
387 <p><b>AND ANOTHER EXAMPLE PPP SCRIPT FROM <a href="mailto:wikne@lynx.uio.no">Jon Wikne</a>:</b>\r
388 \r
389 <p>\r
390 <i>\r
391 #!/bin/sh<br>\r
392 #<br>\r
393 # Script to launch PPP over a Nokia 5110 / 6110 mobile phone<br>\r
394 # 20-06-2000 -- Jon Wikne<br>\r
395 #<br>\r
396 ### NOTE: "01234567" and "username" below must be replaced<br>\r
397 ### with your actual ISP's phone number and your user name.<br>\r
398 #<br>\r
399 ### NOTE 2: If you are calling an ISDN number or a digital<br>\r
400 ### line you may also need ATS35=0 in the chat sequence.<br>\r
401 &nbsp;<br>\r
402 # Launch gnokiid....<br>\r
403 echo "Launching gnokiid... "<br>\r
404 /usr/local/sbin/gnokiid &<br>\r
405 &nbsp;<br>\r
406 # Wait for gnokiid to find the phone.<br>\r
407 sleep 7<br>\r
408 &nbsp;<br>\r
409 # Now, down to business!<br>\r
410 echo "Calling and starting pppd... "<br>\r
411 pppd /dev/gnokii 115200 debug connect \<br>\r
412 'chat -v ECHO ON ABORT BUSY ABORT ERROR ABORT "NO CARRIER" \<br>\r
413 "" AT OK ATDT01234567 CONNECT ""' \<br>\r
414 noipdefault ipcp-accept-local ipcp-accept-remote \<br>\r
415 user username<br>\r
416 &nbsp;<br>\r
417 # Some cleaning up to do....<br>\r
418 <br>\r
419 echo -n "Stopping gnokiid... "<br>\r
420 ps ax | awk 'BEGIN { prog="/usr/local/sbin/gnokiid"; ARGC=1 } <br>\r
421 { if (prog == $5) { print $1 ; exit 0 } }' $1<br>\r
422 kill "$1"<br>\r
423 echo $1\r
424 </i>\r
425 \r
426 <p><font color="#1F409F" size=+2 class="dzial">Permission problem...</font><br>\r
427 <hr align="LEFT" size="3" width="300" color="#60c0a0" noshade>\r
428 \r
429 <pre>\r
430 > Now xgnokii want  to connecting.....  and some minutes later it's say:\r
431 >  Gnokii serial_open: open: Permission denied\r
432 > Couldn't open FB61 device: Permission denied\r
433 \r
434 you should set your /dev/ttySx to:\r
435 \r
436 crw-rw----    1 root     dialout    4,  65 Jul  5  2000 /dev/ttyS1\r
437 \r
438 and add yourself to the group dialout. or make a new group gnokii \r
439 and do the same thing for this group. see the gnokii doc about \r
440 this, especialy if you want to use gnokiid.\r
441 </pre>\r
442 \r
443 <p><font color="#1F409F" size=+2 class="dzial">Xgnokii files missed...</font><br>\r
444 <hr align="LEFT" size="3" width="300" color="#60c0a0" noshade>\r
445 \r
446 <pre>\r
447 > > I start to configure:\r
448 > > \r
449 > > elwinx:/usr/src/gnokii# ./configure  --prefix=/usr/local/\r
450 > > \r
451 > > checking for X... (cached) libraries /usr/X11R6/lib, headers\r
452 > > /usr/X11R6/include\r
453 > > checking for X11/xpm.h... (cached) no\r
454 > > configure: warning: Cannot find include X11/xpm.h\r
455 > > configure: warning: Disabling xgnokii.\r
456 </pre>\r
457 \r
458 <p>For Debian GNU/Linux 2.2 potato:\r
459 \r
460 <p>\r
461 <pre>\r
462 > Do:\r
463 > dpkg -S \*xpm.h\r
464 > and show the result. You can't use xgnokii without libxpm.\r
465 \r
466 After I installed the xpm4g-dev_3.4k-5.deb xgnokii found my X\r
467 \r
468 My next Problem was the Program didn't find the gtk.h\r
469 \r
470 I installed this lib's\r
471 libglib1.2-dev\r
472 libgtk1.2-dev_1.2.7-1.deb\r
473 \r
474 and xgnokii are start up\r
475 </pre>\r
476 \r
477 <p>For Redhat:\r
478 \r
479 <p>\r
480 <pre>\r
481 On Red Hat 6.2 (or derived?)\r
482 \r
483 sloth:danielm[12]% locate xpm.h\r
484 /usr/X11R6/include/X11/xpm.h\r
485 sloth:danielm[13]% rpm -qf /usr/X11R6/include/X11/xpm.h\r
486 xpm-devel-3.4k-2\r
487 \r
488 On Red Hat 7 (or derived?)\r
489 \r
490 mouth:danielm[4]% locate xpm.h\r
491 /usr/X11R6/include/X11/xpm.h\r
492 mouth:danielm[5]% rpm -qf /usr/X11R6/include/X11/xpm.h\r
493 XFree86-devel-4.0.1-1\r
494 </pre>\r
495 \r
496 <p><font color="#1F409F" size=+2 class="dzial">Infrared problem</font><br>\r
497 <hr align="LEFT" size="3" width="300" color="#60c0a0" noshade>\r
498 \r
499 <pre>\r
500 > I'm having trouble getting Gnokii to work with my Nokia 6110 using the\r
501 > infrared connection. It works perfectly with the cable. When I run gnokii\r
502 > as non-root I get the following output:\r
503\r
504 > Added new section global\r
505 > Adding key/value port//dev/ttyS3\r
506 > Adding key/value model/6110\r
507 > Adding key/value initlength/default\r
508 > Adding key/value connection/infrared\r
509 > Adding key/value bindir//usr/local/sbin/\r
510 > Entering monitor mode...\r
511 > Initialising GSM interface...\r
512 > Starting IR mode...!\r
513 > Couldn't open FB61 infrared device: Device or resource busy\r
514 > Hmmm... GSM_LinkOK never went true. Quitting.\r
515\r
516 > And if I run it as root it looks like this:\r
517\r
518 > Added new section global\r
519 > Adding key/value port//dev/ttyS3\r
520 > Adding key/value model/6110\r
521 > Adding key/value initlength/default\r
522 > Adding key/value connection/infrared\r
523 > Adding key/value bindir//usr/local/sbin/\r
524 > Entering monitor mode...\r
525 > Initialising GSM interface...\r
526 > Starting IR mode...!\r
527 > PC: 1c:00:0c:02:00:09:00:01:00:0d:00:00:02:01:40:00:52:06:\r
528 > Timeout in IR-mode\r
529 > PC: 1c:00:0c:02:00:09:00:01:00:0d:00:00:02:01:41:00:53:06:\r
530 > Timeout in IR-mode\r
531 > PC: 1c:00:0c:02:00:09:00:01:00:0d:00:00:02:01:42:00:50:06:\r
532 > Timeout in IR-mode\r
533 > PC: 1c:00:0c:02:00:09:00:01:00:0d:00:00:02:01:43:00:51:06:\r
534 > Timeout in IR-mode\r
535 > PC: 1c:00:0c:02:00:09:00:01:00:0d:00:00:02:01:44:00:56:06:\r
536 > Timeout in IR-mode\r
537 > Hmmm... GSM_LinkOK never went true. Quitting.\r
538\r
539 > It makes no difference if IR-reception is activated or not (well maybe the\r
540 > numbers are different, I haven't checked)\r
541\r
542 > I have followed the Alessandro's beta-HOWTO which was posted June 22 2000\r
543 > with the subject "Re: IR setup".\r
544\r
545 > In /var/log/messages I have found the following:\r
546\r
547 > Feb 18 23:34:16 bmw kernel: ircomm_tty: virtual tty driver for IrCOMM (\r
548 > revision:Wed May 26 00:49:11 1999 ) \r
549 > Feb 18 23:34:16 bmw kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A \r
550 > Feb 18 23:34:16 bmw kernel: ttyS03 at 0x02e8 (irq = 3) is a 16550A \r
551\r
552 > I have tried both with and without the irda-module loaded (insmod\r
553 > irda) but without luck.\r
554\r
555 > I'm using a Fujitsu C325 Lifebook (labtop) and my Nokia 6110 is version\r
556 > 4.33. Has anyone experienced problems like these and hopefully has found a\r
557 > solution, or maybe just have some ideas for what I should try next.\r
558 \r
559 "I also had removed the Ethernet PCcard.\r
560 That thing got assigned the _interrupt_ (irq 3) that the serial interface\r
561 for the IR port needs. Without it gnokii works."\r
562 \r
563 Now I've got contact to my Nokia 6110 using the infrared port.\r
564 </pre>\r
565 \r
566 <p><font color="#1F409F" size=+2 class="dzial">Answering data calls problem...</font><br>\r
567 <hr align="LEFT" size="3" width="300" color="#60c0a0" noshade>\r
568 \r
569 <pre>\r
570 > It seems like it's some sort of PacBell or Verizon thing, because I\r
571 > get a ring when I try to dial a voice call, but when I dial from\r
572 > minicom/gnokiid I get "NO CARRIER" ("Check Operator Services" on the\r
573 > phone), and dialing in from the Palm still gets no ring.\r
574 \r
575 First we should know how operators manage data call services,\r
576 is there any international standard (it would be, to make international data\r
577 calls possible). I described, how it works with my operator (Plusgsm/PL)\r
578 and I'm interesting if it's a worldwide standard for these services?\r
579 Did somebody tried to make a cellular-to-cellular international data transfer ?\r
580 \r
581 In Plusgsm there are three kinds of data calls :\r
582 1. OUTGOING CALLS. Service activation is free with no additional monthly charge.\r
583    For default this service is disabled, you have to call operator's helpdesk
584    to\r enable. With this service is possible to call:\r
585       a) any internet gate\r
586       b) WAP gate\r
587       c) any "private" computer with own transfer protocol\r
588       d) ?? send a fax ?? (with special fax software for cellular modem\r
589          included in NCDS)\r
590    1 minute charge is similar to voice calls. It's not allowed by the operator\r
591    to answer incoming data call.\r
592 2. INCOMING CALLS. You have to pay for service activation (5$) and additional\r
593    monthly charge (10$). Then you will get a new SIM card with 2 phone numbers:\r
594    one for voice/sms and second one - for incoming data calls only.\r
595    1 min charge depends on the network from the call was initiated,\r
596    generally 1...2 times x voice call.\r
597 3. FAX CALLS. Another payable service, not covered by above mentioned.\r
598    There is a special trick for incoming fax: it's stored in "FAX mailbox",\r
599    you can call this mailbox with standard fax machine\r
600    (or cellular modem connected to PC) to receive it.\r
601 \r
602 I guess your operator have similar restrictions for incoming data calls and\r
603 here is your problem. Incoming call is recognized as a data type and rejected.\r
604 It would be nice to know if it's rejected on the operator's software level or\r
605 by the phone software (acc. to informations stored in the SIM).\r
606 In the second case it's easier to omit these restrictions. But be careful !\r
607 You will be treated by the law in the same way as if you try to hack\r
608 Bill Gates credit card number ;-)  .\r
609 </pre>\r
610 \r
611 <p><font color="#1F409F" size=+2 class="dzial">Xgnokii works, gnokii not...</font><br>\r
612 <hr align="LEFT" size="3" width="300" color="#60c0a0" noshade>\r
613 \r
614 <pre>\r
615 > 1. Why is it that xgnokii communicates perfectly with my 3210, while the\r
616 > only thing that the command line gnokii does is:\r
617 > GSM/FBUS init failed! (Unknown model ?). Quitting.\r
618 > [cvd@sirius gnokii]$ ./gnokii --monitor\r
619 > Opened configuration file /home/cvd/.gnokiirc\r
620 > Added new section global\r
621 > Adding key/value port//dev/ttyS1\r
622 > Adding key/value model/3210\r
623 > Adding key/value initlength/default\r
624 > Adding key/value connection/serial\r
625 \r
626 Look into latest gnokiirc from /docs/default. "serial" setting for connection\r
627 is not used from long time. Change to other actual parameter ("fbus" ?)...\r
628 </pre>\r
629 \r
630 </div>\r
631 </body>\r
632 </html>\r