home *** CD-ROM | disk | FTP | other *** search
/ Acorn User 1 / AU_CD1.iso / internet / starterpak / !TCPIP / TCPIP_Doc / Notes / Ethernet < prev    next >
Text File  |  1995-02-05  |  2KB  |  64 lines

  1. Setting up for Ethernet Use
  2. ---------------------------
  3.  
  4. Credits:
  5.  
  6. The DCI Driver module is a very slightly modified version of that
  7. included with !NetLite, and presumably written by, and copyright
  8. Jonathan Naylor.
  9.  
  10. The Ethernet driver code in !TCPIP is also based upon that in !Netlite.
  11.  
  12. So this means, give credit to Jonathan Naylor, but blame me if it doesnt
  13. work - I think ;-)
  14.  
  15. As I dont actually have an Ethernet or even an Ethernet card to try this
  16. out with, beyond checking that it seems to startup OK, this has not been
  17. tested at all in actual use, as all I can do is pray that it will work,
  18. so good luck ;-)
  19.  
  20. -------
  21.  
  22. To use Ethernet with !TCPIP, you will need to do two things:
  23.  
  24. 1. Add a suitable attach command to the !TCPIPUser.Config file along
  25.    with required route commands.
  26.  
  27. The attach command for ethernet is:
  28.  
  29. attach ether <unit number> <unit name> <mtu>
  30.  
  31. for eg:
  32.  
  33. attach ether 0 et0 1500
  34.  
  35. The unit name is tye name used in !TCPIP, and not the name that might
  36. actually be used by the specific Ethernet card. See below about this.
  37.  
  38.  
  39. 2. Edit the file !TCPIP.EtherInit which contains system commands to
  40.    load up !TCPIP's DCI driver.
  41.  
  42. Prior to loading !TCPIP's DCI driver, the system variable Inet$EtherType
  43. *MUST* be set to the generic id name for your ethernet card, for eg
  44. "ea", "et" etc.
  45.  
  46. This DCI driver is a little primative in that I think it can only cope
  47. with one card. Also, you should not have any other DCI drivers for
  48. Acorn's TCPIP or AUN loaded. Also it wont work if either of Acorn's
  49. internet modules are loaded, or at yhe very least, the internet modules
  50. wont work as both !TCPIP's DCI driver and the Acorn module will both
  51. want IP and ARP/RARP frames.
  52.  
  53. If your Ethernet cards driver does not set the Inet$EtherType variable,
  54. then you should set it.
  55.  
  56. Once set, then the DCIDriver can be loaded, and !TCPIP can be started.
  57.  
  58. This is not a complex as it looks. basically edit the !TCPIP.EtherInit
  59. file to your needs and all should be OK. I would appreciate feed back of
  60. Etherinit files for various ethernet cards if this seems appropriate.
  61.  
  62. Apparently this code does work with !NetLite, so it should work in
  63. !TCPIP.
  64.