home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 14 Text / 14-Text.zip / homeaway.zip / homeaway.txt
Text File  |  1997-05-27  |  11KB  |  286 lines

  1.  
  2.  
  3. Setup of the IBM Home and Away Ethernet/14.4Kbps PCMCIA modem with OS/2:
  4. ========================================================================
  5.  
  6. This file describes the setup  of the IBM Home and Away
  7. Ethernet/14.4Kbps PCMCIA modem under IBM OS/2 Warp 4. Others have it
  8. working on OS/2 Warp Connect which in many respects is similar. I
  9. haven't had occasion to actually test the networking part of it even
  10. though I have it installed, but I read on Usenet that the networking
  11. part is the more straightforward part and since the drivers installed
  12. cleanly I assume it will be just fine.
  13.  
  14. The first step is finding the right drivers, the ones in the box are for
  15. M$-DOG and Windoze, and even some stuff for Windoze '95 is there, but
  16. the OS/2 part is a bit out of date. It seems that the latest  --- or at
  17. least a set of well working --- drivers for OS/2 and a few other systems
  18. live on
  19.  
  20.   ftp://ftp.raleigh.ibm.com/pub/products/lanprods/pcmcia/etccha.zip 
  21.   
  22. and maybe also on other sites. http://www.filez.com finds it at least.
  23. It is about 2551831 bytes large. Checking at hobbes:
  24.  
  25.  ftp://ftp-os2.nmsu.edu/pub/os2/system/drivers/network/etccha.zip
  26.  
  27. or Walnut Creek Archive:
  28.  
  29.  ftp://ftp-os2.cdrom.com/pub/hobbes/drivers/etccha.zip
  30.  
  31. is a good idea, too.
  32.  
  33. Once you unzip that you will find instructions which, when followed end
  34. in the creation of two floppies with a bunch of drivers. For modem and
  35. tcp/ip (real ethernet or using the Internet Access Kit via slip/ppp) the
  36. first disk is important, and in fact, the read.me file on it together
  37. with the AT command summary booklet which comes with the PCMCIA card
  38. contain all the essential information to get it running. However, given
  39. the time it took me and the numerous questions regarding this lately
  40. rather popular (since cheap) modem I thought a write-up might be a good
  41. idea.
  42.  
  43. First things first: It seems that a modem-only configuration is in
  44. principle possible (see page 23 of the read.me), but I haven't tried it.
  45. It may be interesting for systems still running OS/2 Warp 3, but for
  46. OS/2 Warp 3 Connect or OS/2 Warp 4 the following worked just fine.
  47.  
  48. I used the first option (p. 7): install the card as an ethernet card and
  49. get the modem functionality gratis.  Either way, you will have to have
  50. PCMCIA support installed on your machine. Mine is an IBM Thinkpad 365xd
  51. which apart from initially preloaded Winbloats '95 has shown no
  52. problems and I could install OS/2 Warp 4 with PCMCIA nicely.
  53.  
  54.  
  55. Next: Install the card as an ethernet adapter. To do so do the
  56. following.
  57.  
  58.  * Open "OS/2 System", "System Setup", "Install-Remove"
  59.  
  60.  * start "Selective Install for Networking"
  61.  
  62.  * Select "Add Lan Adapter", choose "other", and select floppy drive
  63.    "A:". (Alternatively, you could unpack etccha.zip onto virtual
  64.    floppies using the driver vfdisk.sys in case you don't have a floppy
  65.    drive attached or with you.)
  66.  
  67.  * Follow the instructions displayed, it will show the adapter for the
  68.    Home and Away modem/ethernet card and allow you to install them.
  69.  
  70.  * For what ever reason it chose not to copy the files with the messages
  71.    and error messages, so you will want to copy those by hand:
  72.  
  73.      copy a:\os2\*.msg c:\ibmcom
  74.  
  75.  * Now you can either run the install.exe from the a: drive which will
  76.    install a modified com.sys and edit the config.sys or do it by hand,
  77.    which is what I did:
  78.  
  79.      copy a:\os2\com.sys c:\ibmcom\macs\com.sys
  80.  
  81.    and open the config.sys file in an editor which can handle long
  82.    lines (like tedit, vi, or e.exe), find the line 
  83.  
  84.    DEVICE=C:\OS2\BOOT\COM.SYS
  85.  
  86.    and comment it out, then add the modified com.sys so that it now
  87.    reads:
  88.  
  89.    rem DEVICE=C:\OS2\BOOT\COM.SYS
  90.    DEVICE=C:\ibmcom\macs\COM.SYS
  91.  
  92.    This modified com.sys seems to be needed to handle PCMCIA modems
  93.    which may not be inserted at the time of boot-up and it dynamically
  94.    assigns / creates the next unused com port to the modem once
  95.    inserted. (In my case that is com3, since com1 is the external serial
  96.    port which I use for things like Kermit-95 for OS/2 file transfer and
  97.    the like, and com2 is the infrared port.) Ray Gwinns very popular
  98.    share-ware sio.sys has a PCMCIA option as well I was told.
  99.  
  100.    The com.sys that comes with the Home and Away card may well be
  101.    limited (and hence limiting also the other ports) to 57600 bauds
  102.    while the normal com.sys from the OS/2 Warp 4 shrink wrap as well as
  103.    sio.sys can go faster than that, at least 115200 bauds or even more.
  104.    If you often use another serial device this may be something to
  105.    consider: keep the original com.sys around or invest in sio.sys.
  106.  
  107.  
  108.  * Now edit the file c:\ibmcom\protocol.ini (after making a backup):
  109.    The last few lines should read something like
  110.  
  111.   [FME_ndis_nif]
  112.  
  113.    DriverName = FME_CS$
  114.    RAMADDRESS = 0x0
  115.    INTERRUPT  = 10
  116.    COMPORT    = 3
  117.    PCMCIA
  118.  
  119.    since according to the read.me file (p.20) the com.sys driver that
  120.    comes with the etccha.zip file does not tell the system which
  121.    interrupt it uses. I chose interrupt 10 since that one was still free
  122.    on my machine. You may want to check what is available on your system
  123.    using the "Actions"/"View Card Services Information" menu of the
  124.    "Plug and Play for PCMCIA" object (in the "OS/2 System" / "System
  125.    Setup" / "Plug and Play for PCMCIA" folder) which shows the available
  126.    resources. Double check with the command
  127.  
  128.      rmview -irq
  129.  
  130.    in an OS/2 Window, and you should see which interrupts are used and
  131.    which ones are free. Then adjust the INTERRUPT and COMPORT settings
  132.    to what you want the Home and Away card to use.
  133.  
  134.  
  135.  * This should finish the setup. Reboot, and watch the messages, the
  136.    new com port should show up, and the  PCMCIA object should recognize
  137.    the card once inserted and show it as 'ready'.
  138.  
  139.  * Once you are there you can get fancy and configure the "Plug and Play
  140.    for PCMCIA" such that it launches your favourite COMM programme (like
  141.    Kermit-95 for OS/2, HyperAccess, or, in my case, the IBM IAK Advantis
  142.    dialer) as soon as you insert the modem card and it is ready by doing
  143.    the following:
  144.  
  145.    Remove the Home and Away card from the PCMCIA socket.  In the "Plug
  146.    and Play for PCMCIA" object choose "Actions" / "View PC Card List"
  147.    click on the I/O entry for the card and choose "Setting ...". Click
  148.    on the "Launch" tab of the notebook that opens, and simply drag the
  149.    programme object to be launched on the upper frame titled "Launch
  150.    object". That's it.
  151.  
  152.    Of course then you can modify the "Actions" / "Status notice" to beep
  153.    and / or pop up when a card is removed / inserted / ready and finally
  154.    "Actions" / "Change View" to get a neat little icon view that fits
  155.    better on the screen. While that is cosmetics it is very nicely done.
  156.  
  157.  
  158. Next: Setting up communications and fax software:
  159.  
  160.  * Dial-up: Kermit-95 for OS/2
  161.  
  162.    I use exclusively Kermit-95 for OS/2 which is well worth its 49 US$
  163.    (including the 500+ pages thick manual), for more information see:
  164.  
  165.      http://www.columbia.edu/kermit/k95.html 
  166.  
  167.    The Home and Away card has a built-in modem saver feature which has
  168.    the side effect that it often reports 'No dialtone' where there is a
  169.    dial tone (like here in Knoxville, TN). So you have to tell the
  170.    modem to dial blind after going off the hook. The relevant AT modem
  171.    command is
  172.  
  173.      at x3
  174.  
  175.    and the time the modem waits before it starts dialing is set with
  176.    the
  177.  
  178.      at s6=n
  179.     
  180.    command, where n is the number of seconds to wait.
  181.  
  182.    My Kermit-95 for OS/2 modem initialization string hence reads:
  183.  
  184.      set modem command init-string atz&f0x3\13
  185.      set dial display on
  186.  
  187.    which you place best in your k2custom.ini file. The \13 is not
  188.    needed for the IAK dialer. Sometimes it needs three or four dial
  189.    attempts before the modem recognizes the line. What works most of
  190.    the time is manual dialing (using
  191.  
  192.      set carrier-watch off
  193.      connect
  194.  
  195.    and entering modem commands directly from there) but that is not
  196.    or every one.
  197.  
  198. * Dial-up: Hyperaccess/Lite (BonusPak of the OS/2 Warp 4 shrink wrap): 
  199.  
  200.   Works well using the 'Hayes compatible high speed modem' with its
  201.   default initialization string:
  202.  
  203.      at&fe1v1q0l0&c1&d2&k3s11=55s38=0s95=2
  204.  
  205.   and the following "extra modem setup command" ("Properties" /
  206.   "Communications" / "Modem setup")
  207.  
  208.      x3s6=6
  209.  
  210.   I still prefer Kermit-95 for OS/2, but at least HA/Lite works now.
  211.  
  212.  
  213. * Dial-up: Other terminal programmes
  214.  
  215.    It is very likely that this also works with other terminal
  216.    programmes, the default setting (x3) can be stored permanently in
  217.    non-volatile RAM using the at&w0 command, but for such details see
  218.    the AT command manual that came with the modem and the manual of the
  219.    terminal programme in question.
  220.  
  221. * IBM Internet Access Kit (Advantis dialer)
  222.  
  223.   Using the dialer version 1.66 from the OS/2 Warp 4 shrink wrap (which allows to download the as of now
  224.   most current version 1.67) and a custom modem with the following init
  225.   strings:  ("Settings" / "Modem")
  226.  
  227.   Modem name: IBM Home and Away (14.4 FaxModem + Ethernet)
  228.   First  command: ATZ&F0X3S6=6
  229.   Second command: ATX3&D2&C1V1Q0S6=6S7=70S11=55
  230.   Speed: 57600
  231.   Serial port: com3
  232.  
  233.   works. Sometimes it needs a few redial attempts until the modem shows 
  234.   a working line (green "OK" LED is on), but it works and is stable.
  235.  
  236. * IBM Internet Access Kit (Dial other internet provider)
  237.  
  238.   Works with the 'Hayes compatible' modem type, changing its modem
  239.   initialization string to
  240.  
  241.     ATE0Q0S0=0V1X3&C1&D2S6=6S11=55
  242.  
  243. * Faxworks (Pro, version 3.00.01), don't have FW/Lite anymore:
  244.  
  245.   Works when you put the Home and Away card in Fax modem mode of
  246.   operation:
  247.  
  248.   "Utilities" / "Settings" / "Modem"
  249.     BPS: 14400  (works for send but fails for receive, at least here)
  250.     BPS:  9600  (works for both send / receive)
  251.     Alt-COM (check that box!, otherwise FW complains about not finding
  252.              the com port)
  253.  
  254.   "Utilities" / "Settings" / "Modem Type"
  255.     Choose "Class 2"  (not class 2.0!)
  256.     Check the box "Use HW FIFO (16550A)"
  257.     Check the box "Special command" and enter: +fclass=2x3
  258.  
  259.   "Utilities" / "Settings" / "Ports"
  260.     I have set it to "com3 -- send/receive" 
  261.     When you see irq addresses and such here you forgot to tick the
  262.     "Alt-COM" box mentioned above.
  263.  
  264.  
  265.   Now both sending and receiving faxes works just fine.
  266.   
  267.  
  268. This is it. I hope it helps someone. This will be uploaded in zipped
  269. form to 
  270.  
  271.  hobbes: 
  272.      http://ftp-os2.nmsu.edu/pub/os2/apps/comm/homeaway.zip
  273.  Walnut Creek Archive:
  274.      http://ftp-os2.cdrom.com/pub/hobbes/comm/homeaway.zip
  275.  OS/2 Warp Pharmacy:
  276.      http://godzilla.eecs.berkeley.edu/os2/pharmacy/WarpPharmacy.html
  277.      in the section Hardware / LAN adapter 
  278.  
  279.  
  280. Of course, as always, no warranties, guarantees, explicit or implicit,
  281. if your fridge stops working while you follow these suggestions (which
  282. worked for me) you shall not blame me. Have fun!
  283.  
  284.   Stefan A. Deutscher  (sad@utk.edu / stefand@ibm.net)  27-May-1997
  285.  
  286.