home *** CD-ROM | disk | FTP | other *** search
/ BURKS 2 / BURKS_AUG97.ISO / BURKS / LINUX / HOWTO / mini / gtekbbs.txt < prev    next >
Text File  |  1997-07-07  |  4KB  |  122 lines

  1. GTEK BBS-550 with Linux mini-HOWTO
  2. by Wajihuddin Ahmed <wahmed@sdnpk.undp.org>
  3. v1.0, 20 November 1996
  4.  
  5.  
  6. GTEK's BBS-550 is a 8-port serial card with 16C550 UARTS.  Only one IRQ
  7. can be used for all 8 ports.  It does not require any driver on Linux
  8. therefore the kernel does not have to be recompiled but the kernel should
  9. have serial support.
  10.                       
  11.  
  12. ============================================================================
  13.  
  14. 1.  What I/O addresses to use?
  15. 2.  The rc.serial file and IRQ selection
  16. 3.  Setup of uugetty
  17. 4.  Final checking...
  18.  
  19. ============================================================================
  20.  
  21. 1.  For detailed information of configuring serial ports on Linux refer 
  22.     to the Serial-HOWTO.  Thats where I started from.
  23.  
  24.     I have setup the BBS-550 to use I/O address from 0x100 to 0x140 on my 
  25.     Linux box (Slackware 2.3, kernel 1.3.93).  The main reason being that the 
  26.     above address space was vacant in my computer. Page 4 of the manual gives 
  27.     the jumper settings.  Also this range of I/O addresses is seldom used by 
  28.     any other hardware.  Just to make sure that this space is available on 
  29.     your machine, use the IOMAP.EXE utility which is on the GTEK floppy disk.
  30.  
  31. 2.  After you have installed the card on your computer you need to configure 
  32.     the serial ports.  This is quite easy since the rc.serial file already 
  33.     has entries for BOCA 8 port card which i used for the GTEK.  Here is my 
  34.     rc.serial file.  Don't forget to execute it from the rc.S file by
  35.     uncommenting the line that executes it. 
  36.  
  37. --
  38.     #!/bin/sh
  39.     #
  40.     # /etc/rc.serial
  41.     #    Initializes the serial ports on your system
  42.     #
  43.     #    Version 2.01
  44.  
  45.     cd /dev
  46.  
  47.     SETSERIAL="/bin/setserial -a"
  48.     PORTS=`echo cua? cua??`
  49.  
  50.     echo -n "Configuring serial ports...."
  51.  
  52.     # Do wild interrupt detection
  53.     #
  54.     #${SETSERIAL} -W ${PORTS}
  55.  
  56.     # Do AUTOMATIC_IRQ probing
  57.     #
  58.     #AUTO_IRQ=auto_irq
  59.  
  60.     ${SETSERIAL} /dev/cua16 uart 16550A port 0x100 irq 5
  61.     ${SETSERIAL} /dev/cua17 uart 16550A port 0x108 irq 5
  62.     ${SETSERIAL} /dev/cua18 uart 16550A port 0x110 irq 5
  63.     ${SETSERIAL} /dev/cua19 uart 16550A port 0x118 irq 5
  64.     ${SETSERIAL} /dev/cua20 uart 16550A port 0x120 irq 5
  65.     #${SETSERIAL} /dev/cua21 uart 16550A port 0x128 irq 5
  66.     #${SETSERIAL} /dev/cua22 uart 16550A port 0x130 irq 5
  67.     #${SETSERIAL} /dev/cua23 uart 16550A port 0x138 irq 5
  68.  
  69.  
  70. echo "done."
  71.  
  72. ${SETSERIAL} -bg ${PORTS}
  73.  
  74. --
  75.  
  76. Notice that i have used IRQ 5.  Refer to page 6 of the GTEK manual on 
  77. howto set the IRQ.
  78.  
  79.  
  80. ============================================================================
  81.  
  82. 3. I am using uugetty for dial-in's.  Here is an extract from my 
  83.    /etc/inittab file (sys V).
  84.  
  85.     s1:45:respawn:/sbin/uugetty ttyS16 38400 vt100
  86.     s2:45:respawn:/sbin/uugetty ttyS17 38400 vt100
  87.     s3:45:respawn:/sbin/uugetty ttyS18 38400 vt100
  88.     s4:45:respawn:/sbin/uugetty ttyS19 38400 vt100
  89.     s5:45:respawn:/sbin/uugetty ttyS20 57600 vt100
  90.     #s6:45:respawn:/sbin/uugetty ttyS21 38400 vt100
  91.     #s7:45:respawn:/sbin/uugetty ttyS22 38400 vt100
  92.     #s8:45:respawn:/sbin/uugetty ttyS23 38400 vt100
  93.  
  94.  
  95. Make sure that you have the corresponding entries in the /etc/gettydefs file.  
  96.  
  97. Also don't forget to make new uugetty configuration files in the /etc/default
  98. directory.  
  99.  
  100. ============================================================================
  101.  
  102. 4.  At boot up the kernel will not report the new tty's.
  103.  
  104.     The serial ports are configured when the rc.serial script is run.  You
  105.     can see that on the screen during boot up.
  106.  
  107.     'ps' should show the uugetty connected.  Here is part of my ps output.
  108.  
  109.     18208  ?  S     0:00 /sbin/uugetty ttyS18 38400 vt100
  110.     18247  ?  S     0:00 /sbin/uugetty ttyS20 57600 vt100 
  111.     18254  ?  S     0:00 /sbin/uugetty ttyS19 38400 vt100 
  112.     18258  ?  S     0:00 /sbin/uugetty ttyS17 38400 vt100 
  113.     18260  ?  S     0:00 /sbin/uugetty ttyS16 38400 vt100 
  114.  
  115.     Finally test the board by dialing out (using cuaXX) and then dialing
  116.     in (ttySXX).
  117.  
  118.  
  119. Good Luck!
  120.  
  121.  
  122.