YaK:: Archive https : //www.ka9q.net/code/ka9qnos/djdist.zip [Changes]   [Calendar]   [Search]   [Index]   [PhotoTags]   
[mega_changes]
[photos]

Archive https: //www.ka9q.net/code/ka9qnos/djdist.zip

The following file was linked from https://www.ka9q.net/code/ka9qnos/ and rescued via https://archive.org/ :

djdist.zip

Copyright 1991 Phil Karn, KA9Q

strick@nand:/tmp/djdist$ wc *
    163     439    3350 ahdlc.c
     28     145     945 ahdlc.h
    551    1883   12943 alloc.c
     45      82     769 arcdump.c
    118     302    2339 arcnet.c
     44     133    1021 arcnet.h
    303    1032    8678 arp.c
    232     575    4934 arpcmd.c
     76     206    1805 arpdump.c
    125     581    3991 arp.h
     59     162    1335 arphdr.c
    169     520    3963 asy.c
     56     154    1289 asy.h
    125     384    2789 audit.c
    414    1534   11462 ax25.c
    581    1409   12284 ax25cmd.c
    185     465    3964 ax25dump.c
    182     826    5768 ax25.h
    106     372    2520 ax25hdr.c
    113     282    2410 ax25mail.c
      3      15     137 ax25mail.h
    230     807    5239 ax25subr.c
    217     637    4898 ax25user.c
    221     647    4619 axheard.c
    519    1414   10994 axsock.c
     66     209    1545 bm.h
    967    3000   22567 bmutil.c
    356    1074    8682 bootp.c
    668    2010   15980 bootpcmd.c
    509    1542   11806 bootpd.c
     46     150    1378 bootpd.h
   1005    3657   30047 bootpdip.c
     82     293    2297 bootp.h
    375     989    7172 cmdparse.c
     26     134    1032 cmdparse.h
    267     952    7594 commands.h
   1126    3485   25991 config.c
     68     416    2633 config.h
     69     374    2913 crc.c
     11      63     431 crc.h
     29      62     528 daemon.h
     73     148    1272 devparam.c
     38      61     626 devparam.h
    450    1226   10287 dialer.c
     14      84     506 dialer.h
    417    1187    8619 dirutil.c
     17      39     331 dirutil.h
    778    2622   18617 display.c
     76     383    2479 display.h
    198     611    4608 dma.c
     27     152    1021 dma.h
   1817    4946   41108 domain.c
    152     690    4402 domain.h
    292     852    6453 domhdr.c
    127     342    2700 enet.c
     51     103     941 enetdump.c
     51     179    1320 enet.h
    428    1843   13302 files.c
     46     297    1982 files.h
     90     202    1907 finger.c
     86     204    1795 fingerd.c
    815    2978   19926 format.c
    852    3235   23754 forward.c
   1290    3532   28839 ftpcli.c
     39     154    1031 ftpcli.h
     25      98     726 ftp.h
    668    1762   16194 ftpserv.c
     60     154    1163 ftpserv.h
    198     522    3925 ftpsubr.c
    104     422    2712 getopt.c
    254     970    6827 global.h
    242    1050    8352 gopint.c
    196     915    7473 gormcb.c
      5      10      90 hardware.h
    444    1352   10927 hop.c
    265     746    6843 icmp.c
     76     180    1491 icmpcmd.c
     74     163    1718 icmpdump.c
    142     508    4596 icmp.h
     98     235    2137 icmphdr.c
     67     141    1139 icmpmsg.c
    603    1878   14102 iface.c
    147     742    5066 iface.h
     68     255    1753 internet.h
    616    2110   15427 ip.c
    348     882    7185 ipcmd.c
    117     285    2568 ipdump.c
    222    1000    7356 ip.h
    169     565    3783 iphdr.c
    767    2773   20032 iproute.c
    168     377    3078 ipsock.c
     15      47     289 kbraw.s
    557    1999   14143 kernel.c
    140     388    2803 kiss.c
     70     145    1315 kissdump.c
     20      55     473 kiss.h
    140     460    3463 ksubr.c
    694    2143   16988 lapb.c
    183     801    5639 lapb.h
    106     307    2562 lapbtime.c
    195     446    3907 locsock.c
    123     343    2925 lterm.c
     50     315    1815 lzw.h
   1737    5303   42090 mailbox.c
    114     660    4180 mailbox.h
    744    1799   14820 main.c
     16      43     324 main.h
    136     456    3325 makefile
    617    2121   13389 mbuf.c
     75     308    2338 mbuf.h
    549    2985   18342 md5c.c
     56     252    1927 md5.h
    277     947    5398 misc.c
    823    2448   18325 n8250.c
    188    1026    6473 n8250.h
    211     990    6617 netrom.h
     83     237    1588 netuser.c
     56     227    1484 netuser.h
    736    2481   19956 nntpcli.c
    100     332    2159 nospc.h
    985    3472   25324 nr3.c
    746    2974   21106 nr4.c
    271    1305    8317 nr4.h
    142     406    3501 nr4hdr.c
    184     478    4082 nr4mail.c
      3      15     136 nr4mail.h
    239     778    4791 nr4subr.c
    170     581    4003 nr4timer.c
    226     722    5154 nr4user.c
    975    3037   22207 nrcmd.c
    114     310    3009 nrdump.c
    137     348    2559 nrhdr.c
    256     839    5818 nrs.c
     55     270    1717 nrs.h
    446    1225    9282 nrsock.c
    122     480    2952 pathname.c
    681    2166   15283 pc.c
    286     778    6586 ping.c
     28     125     815 ping.h
    546    1588   13493 pktdrvr.c
    119     486    3375 pktdrvr.h
    475    1258   10245 popcli.c
     59     258    1783 pop.h
    722    1636   14815 popserv.c
    808    2776   21031 ppp.c
    541    1380   11540 pppcmd.c
    104     319    2585 pppdump.c
    841    1867   17655 pppfsm.c
    219     807    5879 pppfsm.h
     80     333    2449 ppp.h
   1128    3338   28416 pppipcp.c
     59     242    1703 pppipcp.h
   1112    3196   27261 ppplcp.c
     81     342    2415 ppplcp.h
    725    1962   16113 ppppap.c
     25     108     750 ppppap.h
    105     538    3529 proc.h
    110     360    2845 random.c
    159     570    3806 rewrite.c
    685    2197   17047 rip.c
    164     372    3068 ripcmd.c
     58     127    1079 ripdump.c
    121     507    3357 rip.h
    771    1984   16135 sb.c
     35      90     740 sb.h
     80     142    1517 secdump.c
    435    1078    8673 session.c
    100     342    2468 session.h
    111     332    3080 sim.c
    620    2310   16041 slhc.c
    120     325    2700 slhcdump.c
    188    1058    6871 slhc.h
    307     914    6744 slip.c
     60     266    1835 slip.h
    269     673    5633 smisc.c
    945    2793   22074 smtpcli.c
     84     408    2563 smtp.h
    992    2888   22861 smtpserv.c
     34     142     972 sockaddr.h
     64     147    1248 sockcmd.c
    663    2112   14240 socket.c
    122     457    3430 socket.h
     96     365    2477 sockuser.c
     98     279    1903 sockutil.c
    159     392    3114 sppp.c
     18     123     929 sppp.h
   1248    3392   24997 stdio.c
    140     541    4028 stdio.h
    375     973    8476 tcpcmd.c
     83     224    1979 tcpdump.c
    321    1531   10675 tcp.h
    180     598    4412 tcphdr.c
    939    3472   26273 tcpin.c
    219     991    6947 tcpout.c
    434    1327   10323 tcpsock.c
    331     933    7062 tcpsubr.c
     55     173    1273 tcptimer.c
    376    1117    8470 tcpuser.c
    423    1038    8763 telnet.c
     53     178    1348 telnet.h
    252     856    5770 timer.c
     60     283    1830 timer.h
     93     214    1750 tip.c
    330     868    7203 tipmail.c
      4      20     178 tipmail.h
     70     146    1474 tnserv.c
    351     950    7558 trace.c
     89     343    2666 trace.h
    107     341    2619 ttydriv.c
     15      27     218 tty.h
    116     289    2570 ttylink.c
    279     868    6382 udp.c
     65     141    1205 udpcmd.c
     58     132    1113 udpdump.c
     83     307    2325 udp.h
     66     214    1544 udphdr.c
    171     377    3089 udpsock.c
    223     781    6641 usock.h
      2      12      78 version.c
    327    1109    7483 view.c
    159     661    4324 wildmat.c
  63293  201568 1534763 total
strick@nand:/tmp/djdist$

And Phil's text from https://www.ka9q.net/code/ka9qnos/ for archival purposes ( since the code it links to vanished, the page itself could vanish ):

My KA9Q NOS TCP/IP package began life way back in late 1985 on a surplus Xerox 820 computer board running CP/M with a 4 MHz Zilog Z-80 CPU, 64KB of RAM and a 8" floppy drive holding all of 243KB. ("KB" stands for kilo bytes -- not mega or giga). Shortly after that, it moved to the IBM PC with the 8088 and 80286 CPUs running MS-DOS. KA9Q NOS was only the second known implementation of the Internet protocols for low-end computers; the first was MIT's PC/IP, which became the basis of the now-defunct company FTP Software, Inc. Unlike PC/IP, KA9Q NOS could simultaneously act as an Internet client, a server and an IP packet router, and it could handle multiple client and server sessions at once.

KA9Q NOS attracted many contributors and became very widely used throughout the late 1980s and early 1990s in amateur packet radio and in various educational projects. In a way, it was the Linux of its day, although Linux is now a far larger and more ambitious project.

KA9Q NOS became the basis for several low-end commercial dialup terminal servers and routers. It also influenced the development of the Internet protocols and certain implementations, including the Linux kernel. It was also incorporated in the imbedded software in Qualcomm CDMA cellular phones.

When I originally conceived NOS, affordable personal computers lacked the hardware support (especially memory management and a "protected" mode) needed to run a "real" operating system such as UNIX. The so-called "operating systems" then available for personal computers (e.g., MS-DOS and Windows 3.1) lacked any native support for the Internet protocols, so this package filled a real need.

But that was a different era. KA9Q NOS is now largely obsolete, and I have not maintained it since the mid 1990s when Linux took off. If you are looking simply to connect your PC to the Internet, I recommend just using the native Internet support in your operating system of choice.

If you need direct support for amateur (ham) packet radio, then Linux is your best bet. Much of the packet radio code from NOS, including the AX.25 implementation, is now a standard part of the Linux kernel. If you want to access packet radio from Windows, the most straightforward way is to set up a Linux system with AX.25 support and network the two with Ethernet.

KA9Q NOS still has some utility in small imbedded applications. But you should also check out any of the several imbedded versions of Linux, such as Hard Hat Linux.

For the diehards, and for historical interest, I'm still keeping my package here on the web. Two versions of my KA9Q NOS TCP/IP package available:

The traditional real-mode version for Borland C++ 3.1: source zip archive DOS executable, as a ZIP archive. A 32-bit protected-mode version for DJGPP version 2. source zip archive. Other flavors of my code contributed by other volunteers along with other Internet-on-ham-radio packages are available at UCSD's FTP site.

I am often asked questions about TCP/IP and amateur packet radio that entire books have been written to answer. So for those with a real interest in how TCP/IP works "under the hood", here is a list of books I can recommend. All but the last were written for the Internet as a whole and do not specifically cover amateur packet radio.

Comer, Douglas E., Internetworking with TCP/IP, ISBN 0-13-468505-9 (2nd ed, 1991. First volume of a three-volume set). This first volume, subtitled Principles, Protocols and Architecture is probably the classic text for the theory behind the core Internet protocols.

Lynch, Daniel C. and Rose, Marshall T., eds., Internet System Handbook, ISBN 0-201-56741-5 (1993, Addison-Wesley). A excellent collection of chapters on the various elements of the Internet's design by many of those who conceived them.

Stevens, W. Richard, TCP/IP Illustrated, ISBN 0-201-63346-9, (1994, first volume of a two-volume set). This book emphasizes the practical aspects of the Internet protocols, such as performance and scaling issues, with many operational examples. An excellent companion to the Comer book.

Wade, Ian, G3NRW, NOSintro: TCP/IP Over Packet Radio; An introduction to the KA9Q Network Operating System, ISBN 1-897649-00-2 (1992, Dowermain). This is the only book written specifically about TCP/IP in the amateur radio environment, and as the title implies it is primarily about using the KA9Q NOS in that environment. It's basically the exhaustive user's guide I never got around to writing myself. Last updated: 15 Mar 2002

(unless otherwise marked) Copyright 2002-2014 YakPeople. All rights reserved.
(last modified 2025-09-16)       [Login]
(No back references.)