Article # 499, added by Geoworks, historical record
| first | previous | index | next | last |

Using modem with GEOS 2.0 SDK on Windows NT.



Using modem (NT or DOS SDK):

* adjust .ini file settings
* attach modem
* set up access point(s) under "settings"
* refer to access point of choice under "settings" for each app

------------------------------------------------------------
Setting up internet service (access points) 

If you need to use Internet appls except Terminal, you need to
configure access points. Access points are the configuration
infomration when dialing up your internet service provider.

The very basic things you need to know about your internet service
provider are:

Phone number. Make sure this is the PPP phone number, not just a
regular terminal phone number. We do not support manual PPP login
nor dial-back service.

Username to login 

Password. You can put it in when defining access point. It will be
saved to .INI file. If you do not want it to be saved, select "Prompt
password" to "Yes" and you will be prompted for password every time
you login to PPP.

Modem initialisation (optional). Some special modem settings in order
to connect to particular internet service providers. This field is
usually left blank.

IP address, Default gateway and Network mask (optional). They are not
really used. You can leave them blank.

Primary nameserver. If you want to resolve address like
"geoworks.com", you have to put this in. Bascially, this is the
address of the DNS server that looks up your unresolved address. (See
internet resources for more info)

Secondary nameserver (optional). This is used when primary nameserver
fails to resolve the address.

These access points are what you would choose from when prompted for
"Internet Access" from the individual internet application settings.

------------------------------------------------------------
Running Internet applications on PC Demo 

Equipment: 

      Modem. If you want to fax, you need a Class 1 compatible
      fax/modem (Class 2 is not good enough).
      Serial cable to connect modem and PC

Notes: 

    1. The port used by PC is determined by

      [faxout]
      comPort = 0

in .ini file. In the above example, it is using com port 1. To use com
port 2, substitute 0 with 2. The values are actually SerialPortNum
enum. Please be reminded com3 is usually used by IR, although you can
tweak IR to use another port.

    2. You may also need to set this in .INI file:

      [security]
      mediaAlwaysAvailable = true

If you add this setting after demo is booted up, please restart the
demo so that this INI setting is re-read in Security library.

    3. If your modem lights blink or if it gives dial sounds when you
       try to connect, that means you have successfully opened the port.

------------------------------------------------------------
Running Internet applications on prototypes in non-GSM environment 

Equipment: 

      Modem. If you want to fax, you need a Class 1 compatible
      fax/modem (Class 2 is not good enough).
      Serial cables to connect N9000C prototypes and modem 
      6-pin N9000C adaptor 
      9-25 pin adaptors (optional) 
      Gender changes (optional) 
      Null modem
      N9000C special modem dongle that uses DCE to DTE cable. (See
      attachment for a diagram of the wiring.)

      IMPORTANT: The order of the null modem and N9000C special modem
      dongle matters. Sometimes, if you randomly connect it, it may
      still work because of some changed states in the modem. The
      proven way of using them is to have DTE end of N9000C modem
      dongle connecting to the null modem and then to N9000C:

      Modem <-> (DCE) N9000C modem dongle (DTE) <-> null modem <-> N9000C

      The N9000C modem dongles should have been labelled which end to
      connect to N9000C. You can insert gender changers in between so
      long as no wiring is altered. Since both ends of the null modem
      are symmetrical, its direction does not matter.

Notes: 

    1. You need to make sure 

      [faxout]
      comPort = 0   ; or 2 (com port 2) if it does not connect.

is in .INI file.

    2. Make sure 

      [security]
      mediaAlwaysAvailable = true

is in the .INI file. Otherwise, you will get the error dialog box that
reads, "Phone turned off or not ready. Check phone and try again."
when you try to connect. Please reboot the machine if you add/change
this line using the Ini editor.

    3. If your modem lights blink or if it gives dial sounds when you
       try to connect, that means you have successfully opened the port.