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