home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / aux / 4709 < prev    next >
Encoding:
Text File  |  1993-01-24  |  2.9 KB  |  60 lines

  1. Newsgroups: comp.unix.aux
  2. Path: sparky!uunet!gatech!usenet.ins.cwru.edu!agate!dog.ee.lbl.gov!hellgate.utah.edu!csn!oldcolo!sterling
  3. From: sterling@oldcolo.com (Bruce Sterling Woodcock)
  4. Subject: SLIP, expect, cron, cu, and other questions
  5. Message-ID: <1993Jan23.005115.17739@oldcolo.com>
  6. Organization: Old Colorado City Communications (oldcolo.com - login "newuser")
  7. Date: Sat, 23 Jan 1993 00:51:15 GMT
  8. Lines: 50
  9.  
  10. Currrently, we are working on connectcing an A/UX 3.0 system via SLIP to our
  11. 386-40 running Dell's SVR4.  To automate the slip login, we have written
  12. a series of expect (TCL) scripts to handle the connection.  We run a direct
  13. connect serial line from the A/UX to one of the ports on our Digiboard.  Of
  14. course, with an apropriate adapter to 25-pin.
  15.  
  16. Now, SLIP seems to work fine.  I can run the script, and A/UX machine cu's
  17. over, logs in with a sliplogin shell, and so on.  The expect script is very
  18. similar to the one we use on our main server to establish our SLIP link to
  19. the rest of the Internet.
  20.  
  21. However, the SAME script, when run automatically from cron to start the
  22. connection, fails.  For no aparrent reason, it simply stops after sending
  23. the password.  And hangs.  Expect debugging shows that the password is sent,
  24. but the login is never completed on the SVR4 side.  However, this ONLY happens
  25. when run from cron.  The script seems to work fine otherwise.
  26.  
  27. At this point, I am lost.  The problem could be anywhere:
  28.  
  29. 1.  A bug in expect (and/or TCL) that only surfaces on an A/UX system.  Has
  30. anyone else ported this and experienced similar problems?
  31.  
  32. 2.  A bug in cu, which makes the connection.  I haven't installed the newer
  33. version yet... does this sound like possible behavior under the older
  34. version?
  35.  
  36. 3.  A bug in cron.  This seems somehow most probable to me, since the same
  37. script works fine when run by hand.  However, what I need is a workaround
  38. for such a problem.
  39.  
  40. 4.  An actual incompatibility with the serial ports.  I know that the
  41. apple serial port presents some unusual problems.  However, I don't see why
  42. running the program from cron would make any difference here.  The connection
  43. does work when started by hand, and SLIP operates correctly.
  44.  
  45. Any help at all in tracking this down would be appreciated.
  46.  
  47. Once we get this fixed, we are still left with some questions.  Exactly WHAT
  48. can someone do telnetting in to an A/UX box that they cannot otherwise?  If
  49. they connect from another Mac, can they run MacOS programs over TCP/IP?
  50. Access a desktop environment on the A/UX machine as if they were on the
  51. console?  Would it require a special client to do any of this?  Etc.  WHAT
  52. stuff can you do, Mac specific, that you couldn't do on another UNIX machine.
  53.  
  54. Bruce
  55.  
  56. -- 
  57. Bruce Sterling Woodcock                 Internet:  sterling@oldcolo.com
  58. Systems Programmer                      Alternate:  sterling@netcom.com
  59. Old Colorado City Communications        "Global Access From Any Micro"
  60.