AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  GSM Modem (Wavecom M1306B) on AIX 5.3

    Posted Fri January 12, 2007 01:46 AM

    Originally posted by: SystemAdmin


    Hi,

    I'm developing a Java Application which is able send out SMS

    Right now, this application needs to be deployed into AIX 5.3

    Previously I was using RXTX Serial Comm for Sun Solaris, RH Linux and Win2k
    When it comes to AIX, I'd discovered not much info can be found in the web

    Anyhow, I'm trying to setup the GSM Modem in AIX 5.3 first

    What i'd done here is
    1. connect the Machine with the Modem
    2. smitty tty -> add tty -> tty rs232 asyn terminal
    -> sa2 available 01-S3 standard I/O serial port
    3. Baudrate 115200, Parity None, Bits 8, Stop Bits 1, Flow Control RTS(Hardware)

    This is the parameter after set, tty=/dev/tty2, paranet adapter=sa2

    Finally, when i insert the command "stty < /dev/tty2"
    Suppose i can get a "OK" response from GSM modem, but anyhow i didnt get any of it
    I'd follow the parameter setting provided by Wavecom M1306B technical spec

    Please help

    Thanks


  • 2.  Re: GSM Modem (Wavecom M1306B) on AIX 5.3

    Posted Sun January 14, 2007 08:37 PM

    Originally posted by: dukessd


    If you have a power 5 machine (p5xx - 91xx-5xx) the built in serial ports are not fully functional "serial ports" they DO NOT SUPPORT RS232, they are limited to console or console over modem connections, so don't bother until you have a proper RS232 card installed.

    lsconf | head
    should tell you if it is a 91xx-5xx machine.

    You can also only configure p5xx serial ports via the ASM inretface, the smit screens do not work properly.



  • 3.  Re: GSM Modem (Wavecom M1306B) on AIX 5.3

    Posted Sun January 14, 2007 10:13 PM

    Originally posted by: SystemAdmin


    Hi,

    Thanks for the reply

    The System Model is 7028-6E4

    How am i gonna know that is the machine support RS232 or not?
    Is there anyway i can get the technical spec?

    Thanks


  • 4.  Re: GSM Modem (Wavecom M1306B) on AIX 5.3

    Posted Sun January 14, 2007 10:25 PM

    Originally posted by: SystemAdmin


    Hi,

    I'd checked with the IBM spec
    http://www.openbase.co.kr/customer/pds_files/IBM_spac_031125.pdf

    IBM eServe pSeries 630 (7028-6E4)
    According to the document, it shows that this machine support EIA RS232D connection

    Regard


  • 5.  Re: GSM Modem (Wavecom M1306B) on AIX 5.3

    Posted Mon January 15, 2007 08:52 PM

    Originally posted by: SystemAdmin


    Hi,

    This is what i'd tried

    The IBM machine model 7028-6E4 consist 3 physical serial port (sa0 - S1, sa1 - S2, sa2 - S3)

    To make life easy, I only create a tty0 point to sa0 using smitty

    smitty tty
    -> tty rs232 asynchronous terminal
    -> sa0 Available 01-S1 Standard I/O Serial Port

    I'd followed the parameter setup given by technical spec of WaveCom M1306B.
    http://www.jandrew-elec.com/m1306b.pdf where

    baudrate - 115200
    parity - None
    data bit - 8
    stop bit - 1
    flow ctrl - rts (hardware)
    Initially we suspect it could be the modem problem, but it works in Window 2000 server

    Anyway, let's move to the next part

    I'd vi /usr/lib/uucp/Devices file and uncomment the line below
    Direct tty0 - 115200 direct

    PS: I even tried this
    Direct tty0 - Any direct

    After that, I try to connect to the modem using this command
    cu -ml tty0

    and this is the response the machine gave
    cu: 0835-028 The connection failed. CAN'T ACCESS DEVICE.

    Well, so I tried to chmod the /dev/tty0 to 666
    But once i did it, and cu again, it just hung there and no "connected" message prompt out

    Have i miss up some steps?

    Please help


  • 6.  Re: GSM Modem (Wavecom M1306B) on AIX 5.3

    Posted Tue January 16, 2007 03:58 AM

    Originally posted by: SystemAdmin


    Hi,

    The problem solved,
    I think it's because of the machine's driver problem
    When i change to another AIX machine,
    Connection success
    Anyhow, will further investigate if it's really because of physical machine problem

    Regard


  • 7.  Re: GSM Modem (Wavecom M1306B) on AIX 5.3

    Posted Tue January 16, 2007 09:23 AM

    Originally posted by: SystemAdmin


    Suggest you get a serial breakout box to make sure the signals on both ends are right. With a modem you should not need a crossover cable.