home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!elroy.jpl.nasa.gov!usc!cs.utexas.edu!rutgers!igor.rutgers.edu!dartagnan.rutgers.edu!hedrick
- From: hedrick@dartagnan.rutgers.edu (Charles Hedrick)
- Newsgroups: comp.os.linux
- Subject: Re: Slip and tcp/ip
- Keywords: help
- Message-ID: <Jul.30.05.00.55.1992.12651@dartagnan.rutgers.edu>
- Date: 30 Jul 92 09:00:56 GMT
- References: <f3I902r51b8R01@JUTS.ccc.amdahl.com> <84793@netnews.upenn.edu>
- Organization: Rutgers Univ., New Brunswick, N.J.
- Lines: 46
-
- mschruf@eniac.seas.upenn.edu (Michael M. Schruf) writes:
-
- > SLIP works fine with KA9Q, but I noticed that no more than one user
- >at a time can start up 'net'. Is that a peculiarity of my system? If not,
- >is there anything I can do to allow several users to 'telnet'?
-
- No. The problem is that multiplexing is being done at user level
- rather than in the kernel. That is, if you want several telnet
- sessions to go through one connection, somebody has to combine the
- connections into one stream, keeping track which bits are for which
- connection. In the normal BSD TCP/IP implementation, this is done in
- the kernel. This allows many users to run utilities that share one
- Ethernet or modem. (Indeed if you read an operating system text,
- you'll find that having multiple users share a device is one of the
- primary responsibilities of an operating system. It should not be
- surprising that if the OS doesn't support something, and we have to
- deal with the device in raw mode at user level, that the sorts of
- coordination normally provided by the OS would be missing.) Because
- we don't have kernel support (yet) for TCP/IP in Linux, KA9Q does it
- entirely at user level. Thus there is a single program -- net --
- which does both what the kernel does under BSD and what all the
- utlities like telnet and ftp do. It takes over the modem line just
- like Kermit or any other communications program. You can't have
- multiple users running KA9Q over the same modem line or Ethernet,
- because there would be no way for the multiple copies of KA9Q to
- coordinate which one gets which bits coming in the modem.
-
- If you have several modems, it would be possible for to have a
- different user running a copy of KA9Q on each one. In this case they
- would be completely separate -- each user would have to use a separate
- IP address. They would each have to connect separately to systems at
- the other end running SLIP.
-
- It would be possible to make KA9Q run as a server, such that multiple
- people can share it. I haven't done this because I keep hearing
- someone is coming along on the Berkeley networking code. If there is
- reliable information that the Berkeley networking code is not going to
- be installed, I would put some more time into KA9Q. But this stuff
- really belongs in the kernel, or at least in some special process with
- a special relationship with the kernel. Thus I'd hate to see much
- more work go into what should be a temporary implementation.
-
- I believe KA9Q is adequate for individuals who want to use it as end
- users, particularly over SLIP. If you've got a machine you want to
- use as a network server, particularly if it's on Ethernet, KA9Q is not
- likely to provide all the facilities you need.
-