Engineering:Econet

From HandWiki
Short description: Computer networking system
Econet
ANB22 BBC Econet Upgrade manuals.jpg
Econet upgrade manuals
DeveloperAcorn Computers
ManufacturerAcorn Computers
TypeComputer networking
Generation8-bit
Release date1981 (1981)
Operating systemMOS

Econet was Acorn Computers's low-cost local area network system, intended for use by schools and small businesses. It was widely used in those areas, and was supported by a large number of different computer and server systems produced both by Acorn and by other companies.

Econet software was later mostly superseded by Acorn Universal Networking (AUN), though some suppliers were still offering bridging kits to interconnect old and new networks.[1][2] AUN was in turn superseded by the Acorn Access+ software.[3]

Implementation history

Econet components installed on BBC Micro Model B motherboard


Econet was specified in 1980, and first developed for the Acorn Atom and Acorn System 2/3/4 computers in 1981.[4][5] Also in that year the BBC Micro was released, initially with provision for floppy disc and Econet interface ports, but without the necessary supporting ICs fitted, optionally to be added in a post sale upgrade.[6]

In 1982, the Tasmania Department of Education requested a tender for the supply of personal computers to their schools. Earlier that year Barson Computers, Acorn's Australian computer distributor, had released the BBC Microcomputer with floppy disc storage as part of a bundle. Acorn's Hermann Hauser and Chris Curry agreed to allow it to be also offered with Econet fitted, as they had previously done with the disc interface. As previously with the Disc Filing System, they stipulated that Barson would need to adapt the network filing system from the System 2 without assistance from Acorn. Barson's engineers applied a few modifications to fix bugs on the early BBC Micro motherboards, which were adopted by Acorn in later releases. With both floppy disc and networking available, the BBC Micro was approved for use in schools by all state and territory education authorities in Australia and New Zealand, and quickly overtook the Apple II as the computer of choice in private schools.

With no other supporting documentation available, the head of Barson's Acorn division, Rob Napier, published Networking with the BBC Microcomputer,[7] the first reference documentation for Econet.

Econet was officially released for the BBC Micro in the UK in 1984, and it later became popular as a networking system for the Acorn Archimedes. Econet was eventually officially supported on all post-Atom Acorn machines,[8][9] apart from the Electron (except in Australia and New Zealand where Barson Computers built their own Econet daughter board[10]), along with 3rd party ISA cards for the IBM PC. The "Ecolink" ISA interface card for IBM-compatible PCs was available.[11] It used Microsoft's MS-NET Redirector for MS-DOS to provide file and printer sharing via the NET USE command.

File, Print and Tape servers, for the architecture were also supplied by 3rd party vendors such as S J Research.[12]

Econet was supported by Acorn MOS, RISC OS, RISC iX, FreeBSD and Linux operating systems.[13]

Acorn once received an offer from Commodore International to license the technology, which it refused.[14]

Subsequent development

With the falling prices and widespread adoption of IP networking in the early 1990s, Acorn Universal Networking (AUN),[15] an implementation of Econet protocols and addressing over TCP/IP (in Acorn's words "an AUN network is a conformant TCP/IP network underneath the Econet-like veneer"[16]), was developed to provide legacy support for Econet on Ethernet-connected machines.[17]

Support for the Econet protocol and AUN was removed from the Linux kernel in 2012 from version 3.5, due to lack of use and privilege escalation vulnerabilities.[18][19]

Supported systems

Econet was supported by a large number of different computer and server systems, produced both by Acorn and by other companies. As well as Acorn's MOS and RISC OS these also used other operating systems such as CP/M, DR-DOS, Unix, Linux or Microsoft Windows.

The Econet API includes an Econet_MachinePeek command, which can be used by software to determine if a machine is present on the network and its hardware platform. The machine-type codes which can be returned by that command[20][21] are a useful indication of the range of hardware that offered Econet as their primary networking function or as an option:

Code Machine type
&0000 Reserved
&0001 Acorn BBC Micro Computer (OS 1 or OS 2)
&0002 Acorn Atom
&0003 Acorn System 3 or System 4
&0004 Acorn System 5
&0005 Acorn Master 128 (OS 3)
&0006 Acorn Electron (OS 0)
&0007 Acorn Archimedes (OS 6)
&0008 Reserved for Acorn
&0009 Acorn Communicator
&000A Acorn Master 128 Compact Econet Terminal
&000B Acorn Filestore
&000C Acorn Master 128 Compact (OS 5)
&000D Acorn Ecolink card for Personal Computers
&000E Acorn Unix Workstation
&000F to &FFF9 Reserved (see below for later allocations)
&FFFA SCSI Interface
&FFFB SJ Research IBM PC Econet interface
&FFFC Nascom 2
&FFFD Research Machines 480Z
&FFFE SJ Research File Server
&FFFF Z80 CP/M

The manual[21] includes an assembly language program to report a machine type, software version and release numbers.

An update to the list in volume 5A of the PRM[22] lists the following additions to the table above:

Code Machine type
&000F RISC PC architecture
&0010 to &FFF7 Reserved
&FFF8 SJ Research GP server
&FFF9 SJ Research 80386 UNIX

Physical and data-link layers

Econet DIN-5 pinout
DIN41524-5fp.svg
1 Data (+ve)
2 Ground
3 Clock (+ve)
4 Data (-ve)
5 Clock (-ve)

Econet is a five-wire bus network composed of one or more segments (up to 127), where each segment may be up to 500 m long.[23] One pair of wires is used for the clock signal to synchronise devices on the network, one pair for data, and one wire as a common ground. In many but not all implementations, a dedicated external board is required to supply the clock signal known as the "clock box",[24] usually positioned in the middle of the network. Some Econet devices have an internal capability to generate the clock signal. Signalling used the RS-422 5-volt differential standard, with one bit transferred per clock cycle. Unshielded cable was used for short lengths, and shielded cable for longer networks. The cable was terminated at each end to prevent reflections and to guarantee high logic levels when the bus was undriven.

The original connectors were five-pin circular 180° DIN types. On later 32-bit machines (notably the A3020 and A4000), the Econet connection was made via five of the pins on their 15-pin D-type Network port, which could also accept MAUs (Media Attachment Units) to allow other types of network to be connected via the same socket. This port looks similar to an AUI port, but is not compatible.[citation needed] The Acorn A4 laptop used another implementation, in the form of a 5 pin mini-DIN.[25]

Each Econet interface was controlled by a Motorola MC68B54 Advanced Data Link Controller (ADLC) chip, which handled electrical transmission/reception, frame checksumming and collision detection.[26]

Acorn A4 - ALA66 Econet module

Network and transport layers

Econet used a connectionless transmission model, similar to UDP, with no checksumming or error correction at this layer. Each packet had a four byte header consisting of:

  1. The destination station number
  2. The destination network number
  3. The source station number
  4. The source network number

A single data transmission consisted of four frames, each with a header as above:

  1. The sending station sends a scout packet with a port number and a flag byte
  2. The addressed receiving station returns a scout acknowledge to the sender
  3. The sending station sends the data
  4. The receiving station finishes with a final acknowledge, identical to the scout acknowledge

Each device on a network segment is identified by a "station ID" number which serves a similar purpose to a MAC address. The address is not set at time of manufacture but is set manually and a network administrator must ensure addresses do not collide when new machines are installed. In the BBC Micro the station ID is set using jumper pins on the motherboard. Conventionally a file server would be assigned station ID 254 but there is no specific requirement for this to be the case.

There was provision for broadcast transmissions, a single frame sent with its destination station and network numbers set to 255. There was also provision for promiscuous mode reception, termed wild receive in the PRM, requested by listening for station and network numbers both being zero.

Technical details of packets and frames, the Econet API, and worked examples in ARM assembler and BBC BASIC are given in the RISC OS Programmer's Reference Manual.[27]

Network services

At the time and in the markets for which Econet was developed, the main purpose of computer networking was to provide local area shared access to expensive hardware such as disc storage and printers. Acorn provided software for the BBC Micro to implement a file server, and optionally a printer server also. The original file server was very basic, essentially allowing limited access to a floppy disc over the network. The server software was further developed over many years, and Acorn and other manufacturers also produced dedicated Econet servers based on various technologies. So the servers available fell into roughly three categories:[28]

  • The Acorn Fileserver, from Level 1 through Level 4, running on a standard computer (BBC, Master or Archimedes) and providing simple file and print services.[29][30]
  • The dedicated Acorn Filestore units, running on dedicated hardware with higher capacity and more facilities.[31]
  • Third party units (notably from SJ Research), again running on dedicated hardware and with their own implementations of the server software. These were compatible with the Acorn implementations, but with additional enhancements. (Notably, Oak Solutions collaborated with Acorn to develop the Level 4 Fileserver solution.[30])

The machine type numbers listed in the "Supported systems" section above are an indication of the range of hardware that was available or planned.

Additional services could be implemented, using the network API provided. Short utilities such as network chat programs were often published in magazines or distributed by sharing among users; these made use of the Econet protocols to work alongside the basic file and print services. Larger software packages (some of them commercial) were available that provided services such as Teletext and modem drivers.[32]

Filestore

Acorn emphasised the Filestore in the late 1980s as a solution for small workgroups,[33] offering a base unit with optional hard disk storage modules.[31] The device was similar in concept to what is now termed Network Attached Storage, being a standalone unit dedicated to serving files over a network.

The Filestore was a 65C102-based machine with 64 KB of RAM, 64 KB of ROM, Econet connectivity, two 3.5" floppy drives, a parallel printer interface, expansion bus, Econet clock and termination circuits, a real-time clock, and a quantity of battery-backed RAM.[34] The battery-backed RAM was used to hold configuration and authentication details.[35]

Initially, hard disk expansion was offered in the form of the E20 module providing a 3.5" 20 MB Winchester disk drive (hard disk) for the E01 base unit;[34] later expansions in the form of the E40S and E60S provided 40 MB and 60 MB storage respectively for the E01S base unit.[31] The "S" suffix reportedly signifies that the units are "stacking".[35]

Fileserver

Acorn also offered the Level 1,[34] Level 2 and Level 3 Fileserver solutions running on sufficiently upgraded BBC Micro or BBC Master computers.[36]

The Level 1 product offered access to existing Acorn DFS discs via a BBC Model B with Econet, a disc interface and single or dual drives. Printer sharing was also possible. This was intended for small networks, typically in an educational setting, to solve a narrowly defined problem of sharing what were at the time expensive peripherals. An Econet upgrade originally cost significantly less than a disk drive. The only available access control mechanism was that files for each station (client) on the network could be isolated from each other but anyone with physical access to the relevant station could access the files. Typically each station would only be able to access a small number of files, with only 31 files being stored in total on a side of one floppy disk and split between all of the stations.

Level 2 delivered significant enhancements over level 1 but elevated the system requirements for the file server host machine to necessitate a 6502 second processor unit with 64K RAM. Hierarchical directories were possible with the number of files limited only by the amount of storage available, enhanced access controls, random access to data files, and authentication support.[29]

Level 3 introduced Winchester hard drive support.[34]

With the release of the Level 4 Fileserver software providing a means to "extend the life of existing Acorn computers, such as the A310",[30] allowing "any Archimedes computer to act as a fileserver",[37] the emphasis had evidently shifted away from the Filestore and towards the Level 4 product at the start of the 1990s.[38] A base Filestore E01S unit had a price inclusive of VAT of £1148.85 in February 1989, whereas an Archimedes 310 with 1 MB of RAM cost only £958.00 and an Econet module £56.35, illustrating the pricing considerations for potential buyers.[39] By 1991, the Filestore was apparently no longer offered in Acorn's pricing (nor was the A310), but the Level 4 software was priced at £233.83 and an Archimedes 410/1 with 1 MB of RAM at £1049.33.[40]

Unix system services

With the introduction of Acorn's Unix workstations running RISC iX, an envisaged application for Econet was the use of Master 128 computers acting as terminals to these Unix systems.[33](pp4) Such systems also offered the capability to act as bridges between Econet and Ethernet networks, offering routing facilities to any Unix machines attached to the Econet,[33](pp5) this being enabled by the IP-over-Econet support in RISC iX.[41]

X.25 network services

An Econet X.25 gateway product was offered by Acorn, providing access to X.25 networks for computers on an Econet, with the X25 Terminal ROM and the existing Acorn DNFS ROM needing to be fitted to computers to enable access to X.25 services, with the Terminal ROM providing terminal emulation and file transfer functionality.[42]

The gateway hardware consisted of the core functionality of a BBC Micro, this being the network service module connected to the Econet, combined with a Z80 second processor connected via the Tube interface, this acting as the gateway module and having 16 KB ROM and 32 KB of private RAM, augmented by another board with a Z80 processor with 32 KB of private RAM, this being the X25 module accessing the X.25 line. The gateway and X25 modules communicated via 16 KB of dual-ported shared RAM. The X25 module was designed by Symicron and ran the "proven" Symicron Telematics Software (STS).[43]

Econet users would send network service requests to the gateway that would be forwarded by the STS functionality of the gateway to the X.25 network. Incoming X.25 calls would be forwarded by the STS functionality to the network service functionality and on to the Econet. Network service requests could employ X.25, Yellow Book Transport Service, and X.29 protocols.[44]

Comparison with modern systems

While Econet was essentially specific to the Acorn range of computers, it does share common concepts with modern network file systems and protocols:

  • Remote Procedure Call – Almost all network operations were performed via a primitive remote procedure call system, either by passing a command line direct to the file server, or by passing an operating system call parameter block. The logon command *I AM was processed by passing the whole command line and reading back the result code.
  • Access Permissions – By the time of the Acorn Level 4 File Server and the SJ Research MDFS systems, Econet file servers had a full user name and password system with public and private attributes. These worked similar to Unix permissions without the group field. Files could be set to be readable and/or writable by everyone, just by the user, or both.
  • Subnetting – A basic Econet would be a single network segment, which is usually assumed to be network 0. With the use of one or more bridges, it is possible to have up to 127 Econet segments with up to 254 hosts each, for a maximum of 32,258 possible machines.
  • Broadcasting – By using host 255, an Econet host could send broadcast packets to all hosts on the network segment. Later implementations of the client software used this to automatically locate file and printer servers.
  • Printer Spooling – Later versions of the Econet printer server software used printer spooling to locally cache print jobs before sending to the remote printer. This ensured whole print jobs were sent to the printer in one go.
  • Ports – Because the various protocols (file and printer servers, bridge discovery, and so forth) used defined port numbers,[45][46][47] it was possible to for additional services such as BroadcastLoader, AppFS, a teletext server, and a range of chat programs and multiplayer games to coexist within the Econet system.

See also

References

  1. "CJEMicro Networking and Broadband". 2018. http://www.cjemicros.f2s.com/micros/prices/categories/networking.shtml. 
  2. "BeebMaster Beebshop". 2018. http://www.beebmaster.co.uk/Default.html. 
  3. "Acorn Access+ User Guide". Acorn Computers. 1994. http://chrisacorns.computinghistory.org.uk/docs/Acorn/Manuals/Acorn_Access%2B.pdf. 
  4. "Retro Isle - Acorn Econet". http://www.retroisle.com/general/acorn_econet.php. 
  5. "Chris's Acorns: Econet". http://chrisacorns.computinghistory.org.uk/Network/Econet.html. 
  6. "BBC Micro Model B Econet Interface". https://www.retro-kit.co.uk/page.cfm/content/BBC-Micro-Model-B-Econet-Interface/. 
  7. Napier, Robert G. (1984). Networking with the BBC Microcomputer. Prentice-Hall. ISBN 978-0-13-611468-0. https://archive.org/details/networking-with-the-bbc-microcomputer-rgnapier/mode/2up. 
  8. "Networking". http://www.apdl.org.uk/riscworld/volumes/volume3/issue6/networks/index.htm. 
  9. "BeebMaster - I Want an Econet!". https://www.beebmaster.co.uk/Econet/EconetInterfaces.html. 
  10. "Acorn Electron Econet Interface". BeebMaster. http://www.beebmaster.co.uk/Econet/ElkNet.html. 
  11. "PC Econet Interface". http://www.beebmaster.co.uk/Econet/PCEconet.html. Retrieved 25 November 2014. 
  12. "SJ Research MDFS - Econet File Server - Peripheral - Computing History". http://www.computinghistory.org.uk/det/39686/SJ-Research-MDFS-Econet-File-Server/. 
  13. "Acorn Unix Econet Device Driver and Network Device". Acorn Computers RISC iX Group. http://www.chiark.greenend.org.uk/~theom/riscos/docs/Acorn-Unix-Econet-Device-Driver-and-Network-Device.pdf. Retrieved 26 November 2014. 
  14. Athreye, Suma S. (18 July 2000). "Agglomeration and Growth: A Study of the Cambridge Hi-Tech Cluster". SIEPR Discussion Paper No. 00-42. Stanford Institute for Economic Policy Research. Archived from the original on 13 May 2003. https://web.archive.org/web/20030513143853/http://siepr.stanford.edu/papers/pdf/00-42.pdf. Retrieved 18 June 2012. 
  15. AUN - Acorn Universal Networking. Acorn Computers Limited. June 1995. http://chrisacorns.computinghistory.org.uk/docs/Acorn/Brochures/Acorn_APP859_AUN.pdf. Retrieved 26 November 2014. 
  16. Template:Cite tech report
  17. Template:Cite tech report
  18. Hemminger, Stephen (18 May 2012). "Econet: Remove Ancient Bug Ridden Protocol". Archived from the original on 9 July 2012. https://archive.today/20120709073930/http://git.kernel.org/?p=linux/kernel/git/davem/net-next.git;a=commit;h=349f29d841dbae854bd7367be7c250401f974f47. Retrieved 18 May 2012. 
  19. Corbet, Jonathan (23 May 2012). "The 3.5 Merge Window Opens". https://lwn.net/Articles/498116/. Retrieved 24 November 2014. 
  20. RISC OS 3 Programmer's Reference Manual. 2. Acorn Computers Ltd. 1992. pp. 2–635. ISBN 1-85250-110-3. 
  21. 21.0 21.1 "RISC OS Programmer's Reference Manual". RISCOS.com. http://www.riscos.com/support/developers/prm/econet.html#63502. Retrieved 24 November 2014. 
  22. "RISC OS Programmer's Reference Manual". http://www.riscos.com/support/developers/prm/medeco.html#marker-98360. Retrieved 24 November 2014. 
  23. Econet Installation Guide. Acorn. 1988. pp. 8. 
  24. "Acorn Type 2 Econet Clock Box - Peripheral - Computing History". http://www.computinghistory.org.uk/det/37490/Acorn-Type-2-Econet-Clock-Box/. 
  25. "Chris's Acorns: Acorn ALA66 Econet podule". http://chrisacorns.computinghistory.org.uk/32bit_UpgradesA2G/Acorn_ALA66_Econet.html. 
  26. "6854/68A54/68B54 Advanced Data Link Controller data sheet" (PDF). Motorola. http://www.datasheet-pdf.com/datasheetdownload.php?id=626942. Retrieved 25 November 2014. 
  27. "Chapter 47 - Econet". RISC OS 3 Programmer's Reference Manual. 2. Acorn Computers Ltd. 1992. pp. 2–609 et seq. ISBN 1-85250-110-3. 
  28. Murray, Rick. "Econet server software description". http://www.heyrick.co.uk/econet/intro/servers.html. Retrieved 26 November 2014. 
  29. 29.0 29.1 Introducing the Econet® Acorn Computer local area network. Acorn Computers Limited. February 1983. http://www.4corn.co.uk/archive/docs/AMPAPP/150/AMP009%20-%20Introducing%20the%20Econet%20Acorn%20Computer%20local%20area%20network%20(1983)-opt.pdf. Retrieved 9 February 2021. 
  30. 30.0 30.1 30.2 Archimedes Level 4 Fileserver Software. Acorn Computers Limited. January 1991. http://www.4corn.co.uk/archive/docs/AMPAPP/150/APP331%20(1st%20ed)%20-%20Archimedes%20Level%204%20Fileserver%20Software-opt.pdf. Retrieved 7 February 2021. 
  31. 31.0 31.1 31.2 Filestore. Acorn Computers Limited. September 1988. http://www.4corn.co.uk/archive/docs/AMPAPP/150/APP150%20-%20Filestore%20(1988)-opt.pdf. Retrieved 7 February 2021. 
  32. For example, see articles and mail-order advertisements in Acorn User magazines from the late 1980s onwards.
  33. 33.0 33.1 33.2 Connectivity from Acorn (1 ed.). Acorn Computers Limited. September 1989. http://www.4corn.co.uk/archive/docs/AMPAPP/150/APP240%20(1st%20ed)%20-%20Connectivity%20From%20Acorn%20(1989)-opt.pdf. Retrieved 7 February 2021. 
  34. 34.0 34.1 34.2 34.3 Local Area Networking - Econet (1 ed.). 1986. http://chrisacorns.computinghistory.org.uk/docs/Acorn/Brochures/Acorn_APP81_Econet.pdf. Retrieved 7 February 2021. 
  35. 35.0 35.1 "About FileStores". http://www.beebmaster.co.uk/Econet/FileStores.html. 
  36. Local Area Networking - Econet (2 ed.). February 1987. http://chrisacorns.computinghistory.org.uk/docs/Acorn/Brochures/Acorn_APP81_EconetWithFileStore.pdf. Retrieved 7 February 2021. 
  37. "Fileserver Ready". Acorn User: pp. 7. April 1991. https://archive.org/details/AcornUser105-Apr91/page/n8/mode/1up. 
  38. Connectivity from Acorn (2 ed.). Acorn Computers Limited. January 1991. http://www.4corn.co.uk/archive/docs/AMPAPP/150/APP240%20(2nd%20ed)%20-%20Connectivity%20From%20Acorn%20(1991)-opt.pdf. Retrieved 7 February 2021. 
  39. Acorn Retail Price List February 1989 (9 ed.). Acorn Computers Limited. January 1989. http://www.4corn.co.uk/archive/docs/AMPAPP/150/APP089%20(9th%20ed)%20-%20Acorn%20Retail%20Price%20List%20Feb%201989-opt.pdf. Retrieved 7 February 2021. 
  40. Acorn UK Retail Prices October 1991 (19 ed.). Acorn Computers Limited. October 1991. http://chrisacorns.computinghistory.org.uk/docs/Acorn/Brochures/Acorn_APP87_UKRetailPricesOct91.pdf. Retrieved 7 February 2021. 
  41. Template:Cite tech report
  42. Econet X25 Gateway (1 ed.). Acorn Computers Limited. August 1986. http://www.4corn.co.uk/archive/docs/AMPAPP/150/APP090%20(1st%20ed)%20-%20Econet%20X25%20Gateway%20(1986)-opt.pdf. Retrieved 7 February 2021. 
  43. Template:Cite tech report
  44. Template:Cite tech report
  45. Port numbers prior to RISC OS 3.5 are listed at "RISC OS Programmer's Reference Manual". RISCOS.com. http://www.riscos.com/support/developers/prm/econet.html#42083. Retrieved 26 November 2014. 
  46. Port numbers for RISC OS 3.5 and later are listed at "RISC OS Programmer's Reference Manual". RISCOS.com. http://www.riscos.com/support/developers/prm/medeco.html#idx-6039. Retrieved 26 November 2014. 
  47. Port numbers for RISC OS Open are defined in "Hdr.Econet". http://www.heyrick.co.uk/econet/rosource/hdreconet.html. Retrieved 26 November 2014. 

External links