Nokia 9110 External Modem, Linux and LAN Connectivity Howto

---------

New Message Reply About this list Date view Thread view Subject view Author view

Subject: Nokia 9110 External Modem, Linux and LAN Connectivity Howto
From: Yusuf Kursat TUNCEL (kursat@prosoft.com.tr)
Date: Tue 06 Jul 1999 - 16:39:34 EET DST


------------------------------------------------------
Nokia 9110 External Modem, Linux and LAN Connectivity Howto

Author: Yusuf Kursat TUNCEL (E-mail: kursattuncel@hotmail.com)
                            (GSM: +90 542 571 98 48)
Date : 06/07/1999

With Specials Thanks For:
Marcus Groeber, <mgroeber@csi.com>, who made "Advanced PPP Settings"
and other cool things.

For:
Jan Kratochvil <short@ucw.cz>, Linux and LAN Connectivity Scripts,

For:
Dan Elgraad <elgaard@computer.dk>, great website for Communicator,

http://www.yaws.dk/communicator

BEGIN WARNING!

As usual, author neither gives warranty nor is responsible about
anything described here. Use it at your own risk !

END WARNING!

1) Aim of this Project

Some people (like me) has to pay strange phone bills for connecting to
internet over GSM. (Currently , in Turkey, it's about $2.8 / min) Like
all internet addicts, I can not be connected to internet in minutes. I
need hours. Just a local call would be perfect while I'm at home,
or somewhere with land line connectivity. ( 16c / hour)

2) Necessary Equipment

You need the cable that comes with your communicator. If you don't have
that, ask for PC Connection Cable for Nokia 9110 from your local store.
Also, you have to make a special converter which I have described below.
In addition, you have to download a software for your communicator to
achieve this task.

   a) Nokia 9110 PC Cable and Converter
     

This is a type of null modem cable (DTE<->DTE) one end is special input
for the phone, other end is a standart 9-pin female. So, we have to make
a cable from external modem to phone. This would be as follows:

[Modem]-->Converter------>Nokia Cable------->Phone
(DCE) (DCE-DCE) (DTE-DTE) (DTE)
(25-pin) (25-pin)(9-pin) (9-pin) (PhoneIn) (PhoneOut)
(female) (male) (male) (female)(PhoneIn) (PhonOut)

Appearently, What we need is a male 9-to-25 pin DCE-DCE converter.
So, the pin layouts is:

9-Pin 25-pin
(male) (male)
------- -------
  1 ............. 8
  2 ............. 2
  3 ............. 3
  4 ............. 6
  5 ............. 7
  6 ............. 20
  7 ............. 5
  8 ............. 4

You can make this at home, or you can order it to any
electric-electronical
equipment shop by giving these pin layouts.

Plug the 9-pin to phone cable, plug the other side to modem. Now, you
are
read to play.

   b)Software

There is one and a great software for this, which is called "Advanced
PPP
Settings". This program can be found at:

http://ourworld.compuserve.com/homepages/mgroeber/landline.zip

Read the text in:

http://ourworld.compuserve.com/homepages/mgroeber/nokia.htm

If you have started some Internet Application before installing this
software,
reboot your machine (by unloading the battery).

If you forget, the program will try to soft-reboot the machine. But, It
can
not do it, it fails. So you have to reboot it by hand twice. (Don't
panic if
you see a message as "Internal system Error ! Reboot your machine")

Now you are ready for the land line.

3) Coverage Problems

I could not test it deeply, but, somehow, to use this connection your
phone
must be turned on. Also, you must be in the coverage area. As I said, I
could
not test it but, phone first checks for the phone interface status,
coverage
status then dials. If you can make it work without having to turn on the
phone,
or without the coverage problem, please inform me.

4) Configuring Modem and Applications

If you have to dial 9, or 0, before the telephone number, it isn't
allowed
within your 9110 standart settings. However, with "Advanced PPP
Settings",
you can change the number whatever you like. The last option in the
AVPPP
exactly does this.

Choose a modem that support at least 38400 baud. The modem I tried was
an
e-tech E288MX modem and it worked fine. I believe, most of the new
modems
will connect properly. Don't forget the set the serial port speed to
38400
in the ADVPPP.

If you face connection problems, try lowering the speed.

Most of the applications requires their own setting. After doing that,
You can switch between the applications by pressing "Internet" button.

5) Nasty things about the connection

I tried but could not find a way to cancel a call, especially when it
can not
connect properly. So, either you'll wait for to phone to hangup itself,
or
reboot. But, don't worry, reboot takes 10 seconds :) (Total return to
dialing).
Not so bad, considering windoze :P.

6) Legend or Real, Evidence.

I'll try to take some photos of the system I made. But don't expect in
short
time. I have to take pictures, print, scan and put them on the Web.
Since,
I don't have a digital camera with a irTran-p port :), you have to wait.

7) Linux and LAN Connectivity

It is possible to connect 9110 to LAN (thus Internet), if Linux is used
as
a gateway. But you need to be familiar with linux to achieve this. I'm
putting
pppd start and chat script for this. You need to configure your linux
server
to forward ip packets also. Detailed information will be added into this
howto.

--- ppp9110 ---
#!/bin/sh
(trap "" HUP
  while true;do
# /usr/src/ppp-2.3.6/pppd/pppd debug auth login \
  pppd \
       /dev/ttyS1 38400 -crtscts xonxoff connect 'chat -vf
/etc/ppp/9110.chat' :nokia asyncmap 0 ms-dns 10.6.66.1 \
       -ccp nodefaultroute proxyarp lcp-echo-interval 30
lcp-echo-failure 4
lcp-max-configure 30 -detach $*
  sleep 10
  done)&
---------------

--- 9110.chat ---
TIMEOUT 86400
ATZ OK^M^J
AT&F OK^M^J
AT OK^M^J
ATD0 CONNECT^M^J
-------------------

Put these files in /etc/ppp, configure your 9110 to dial only 0 as an
access
point. Execute the "ppp9110" script.

For further questions, you can e-mail or SMS me !

Good Plays !
 
 Listeden cikmak icin:
          unsub linux
 mesajini listeci@bilkent.edu.tr'a gonderiniz.
   Lutfen Listeci icin MIME / HTML / Turkce Aksan kullanmayin.
  Liste arsivinin adresi: http://listweb.bilkent.edu.tr/


New Message Reply About this list Date view Thread view Subject view Author view

---------

Bu arsiv hypermail 2b25 tarafindan uretilmistir.