tb@pemstgt.gtc.de (Tillmann Basien) (09/04/90)
Hy world, who tried to connect PCNFS to a SCO UNIX via SLIP. Does it work properly. Are all services possible? Thanks in advance Tillmann -- Dipl.Ing. Tillmann Basien Programmentwicklung fuer Microcomputer Vaihinger Str.49, PostBox 810165 +49-711-713047 FAX 7000 Stuttgart 80- West Germany +49-711-713045 PHONE
prc@erbe.se (Robert Claeson) (09/07/90)
In a recent article tb@pemstgt.gtc.de (Tillmann Basien) writes: >Hy world, > who tried to connect PCNFS to a SCO UNIX via SLIP. Does it work > properly. Are all services possible? I haven't tried it with SCO UNIX, but we use PC-NFS over SLIP with an Annex terminal server as the router. It works like a charm, but make sure ot use as high a speed as possible on the serial line. It is possible to increase the serial port speed on the PC to 38.4 Kbps with a small program (~10 lines of C code). -- Robert Claeson |Reasonable mailers: rclaeson@erbe.se ERBE DATA AB | Dumb mailers: rclaeson%erbe.se@sunet.se | Perverse mailers: rclaeson%erbe.se@encore.com These opinions reflect my personal views and not those of my employer (ask him).
asv@gaboon.UUCP (Stan Voket) (09/09/90)
In article <1764@hugo.erbe.se> prc@erbe.se (Robert Claeson) writes: >> who tried to connect PCNFS to a SCO UNIX via SLIP. Does it work >sure ot use as high a speed as possible on the serial line. It is >possible to increase the serial port speed on the PC to 38.4 Kbps >with a small program (~10 lines of C code). I, for one, would be interested in a posting of those 10 lines please. E-mail is fine, also. -- +----------------------------------------------------------------------+ | - Stan Voket, asv@gaboon - OR - ...uunet!hsi!stpstn!gaboon!asv - | | - Voice: (203) 746-4489 - FAX 746-9761 TELEX 4996516 - | +----------------------------------------------------------------------+
prc@erbe.se (Robert Claeson) (09/11/90)
On using PC-NFS over SLIP, I wrote: > It is possible to increase the serial port speed on the PC to 38.4 Kbps > with a small program (~10 lines of C code). And Stan Voket (asv@gaboon.UUCP) asked: > I, for one, would be interested in a posting of those 10 lines please. > E-mail is fine, also. Actually, there's a bit more than 10 lines with some cosmetic added. Here it is, raw C code for Microsoft C under messy-dos. No shar file, and no documentation. But as always, you get what you pay for :-) ---------- cut here ---------- /***************************************************************************** * * com38k.c * * Set the specified COM port to 38.4 Kbps. * * Written specifically for Microsoft C 4.0. * * Copyright 1989 Robert Claeson * * This software can be freely distributed and used, as long as * you don't sell it, claims its yours or otherwise attempts to * give credit and/or profit to anybody else than the original * author, Robert Claeson. * *****************************************************************************/ #include <stdio.h> #include <conio.h> /* * CPU port numbers to use for COM ports. */ #define COM1_PORT 0x03fb #define COM2_PORT 0x02fb /* * Main function. */ main(argc, argv) int argc; char **argv; { register int portadr; if (argc == 1) portadr = COM1_PORT; else switch (*argv[1]) { case '1': portadr = COM1_PORT; break; case '2': portadr = COM2_PORT; break; default: fprintf(stderr, "Only COM ports 1 and 2 can be specified."); exit(2); } /* * This does... ehr, it's too hard to explain. */ outp(portadr, inp(portadr) | 0x80); outp((portadr -= 3), 3); outp(++portadr, 0); portadr += 2; outp(portadr, inp(portadr) & 0x7f); exit(0); } ---------- cut here ---------- -- Robert Claeson |Reasonable mailers: rclaeson@erbe.se ERBE DATA AB | Dumb mailers: rclaeson%erbe.se@sunet.se | Perverse mailers: rclaeson%erbe.se@encore.com These opinions reflect my personal views and not those of my employer (ask him).