<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Maciej,<br>
    <br>
    Strangely, your config restores access to my default VLAN (1), which
    is where I can configure the big Dell switch that I am connected to
    (but the trunk port on the Dell has vlan 1 as the PVID in case we
    ever need to access it quickly in an emergency).<br>
    <br>
    I am trying to incrementally add the other stuff back, but it seems
    to crap out again as soon as I turn VLANs back on.<br>
    <br>
    I also get this from swconfig:<br>
    <br>
    EtherStatsDropEvents                : 4245175<br>
    Dot3StatsFCSErrors                  : 4245117<br>
    <br>
    which is almost all of the packets sent.<br>
    <br>
    -Bill<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 02/21/2013 08:53 AM, Maciej
      Soltysiak wrote:<br>
    </div>
    <blockquote
cite="mid:CAMZR1YBeuZv0n_pn-ZtUHvxKsAzEv66B-1i6PNykT2LGAYeaSg@mail.gmail.com"
      type="cite">
      <div>Hi David,</div>
      <div> </div>
      <div>Yup, I know, I'm not using vlans now. What I meant is that
        when I tinkered with it, I screwed wired connections.</div>
      <div>Hence I offered a working-ethernet config to William.</div>
      <div>William, did you have any luck fixing your issue?</div>
      <div> </div>
      <div>Regards,</div>
      <div>Maciej Soltysiak<br>
        <br>
      </div>
      <div class="gmail_quote">On Wed, Feb 20, 2013 at 8:29 PM, David
        Lang <span dir="ltr"><<a moz-do-not-send="true"
            href="mailto:david@lang.hm" target="_blank">david@lang.hm</a>></span>
        wrote:<br>
        <blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px
          0.8ex;PADDING-LEFT:1ex" class="gmail_quote">you have vlans
          disabled in this config "option enable_vlan 0"<br>
          <br>
          if you want to use vlans > 15 you need "option
          enable_vlan4k 1" as well<br>
          <br>
          David Lang<br>
          <br>
          On Wed, 20 Feb 2013, Maciej Soltysiak wrote:<br>
          <br>
          <blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px
            0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">Date: Wed,
            20 Feb 2013 20:17:19 +0100<br>
            From: Maciej Soltysiak <<a moz-do-not-send="true"
              href="mailto:maciej@soltysiak.com" target="_blank">maciej@soltysiak.com</a>><br>
            To: William Katsak <<a moz-do-not-send="true"
              href="mailto:wkatsak@gmail.com" target="_blank">wkatsak@gmail.com</a>><br>
            Cc: "<a moz-do-not-send="true"
              href="mailto:cerowrt-devel@lists.bufferbloat.net"
              target="_blank">cerowrt-devel@lists.bufferbloat.net</a>"<br>
                <<a moz-do-not-send="true"
              href="mailto:cerowrt-devel@lists.bufferbloat.net"
              target="_blank">cerowrt-devel@lists.bufferbloat.net</a>><br>
            Subject: Re: [Cerowrt-devel] Switch Issue
            <div>
              <div class="h5"><br>
                <br>
                I recently played with VLANs and screwed up it's
                switching capability<br>
                exactly as you say.<br>
                I managed to fix it by restoring the default setup in
                /etc/config/network<br>
                (Especially config switch_vlan and ports)<br>
                <br>
                Compare your /etc/config/network with what I have (and
                works):<br>
                config switch<br>
                       option name     rtl8366s<br>
                       option reset    1<br>
                       option enable_vlan 0<br>
                       # Blinkrate: 0=43ms; 1=84ms; 2=120ms; 3=170ms;
                4=340ms; 5=670ms<br>
                       option blinkrate        2<br>
                       option max_length 3<br>
                <br>
                config switch_vlan<br>
                       option device   rtl8366s<br>
                       option vlan     1<br>
                       option ports    "0 1 2 3 5t"<br>
                <br>
                config switch_port<br>
                       # Port 1 controls the GREEN configuration of LEDs
                for<br>
                       # the switch and the section does not correspond
                to a real<br>
                       # switch port.<br>
                       #<br>
                       # 0=LED off; 1=Collision/FDX; 2=Link/activity;
                3=1000 Mb/s;<br>
                       # 4=100 Mb/s; 5=10 Mb/s; 6=1000 Mb/s+activity;
                7=100 Mb/s+activity;<br>
                       # 8=10 Mb/s+activity; 9=10/100 Mb/s+activity; 10:
                Fiber;<br>
                       # 11: Fault; 12: Link/activity(tx); 13:
                Link/activity(rx);<br>
                       # 14: Link (master); 15: separate register<br>
                <br>
                       option device           rtl8366s<br>
                       option port             1<br>
                       option led              6<br>
                <br>
                config switch_port<br>
                       # Port 2 controls the ORANGE configuration of
                LEDs for<br>
                       # the switch and the section does not correspond
                to a real<br>
                       # switch port.<br>
                       #<br>
                       # See the key above for switch port 1 for the
                meaning of the<br>
                       # 'led' setting below.<br>
                <br>
                       option device           rtl8366s<br>
                       option port             2<br>
                       option led              9<br>
                <br>
                config switch_port<br>
                       # Port 5 controls the configuration of the WAN
                LED and the<br>
                       # section does not correspond to a real switch
                port.<br>
                       #<br>
                       # To toggle the use of green or orange LEDs for
                the WAN port,<br>
                       # see the LED setting for wndr3700:green:wan in
                /etc/config/system.<br>
                       #<br>
                       # See the key above for switch port 1 for the
                meaning of the<br>
                       # 'led' setting below.<br>
                <br>
                       option device           rtl8366s<br>
                       option port             5<br>
                       option led              2<br>
                <br>
                Best regards,<br>
                Maciej Soltysiak<br>
                <br>
                On Wed, Feb 20, 2013 at 5:01 PM, William Katsak <<a
                  moz-do-not-send="true" href="mailto:wkatsak@gmail.com"
                  target="_blank">wkatsak@gmail.com</a>> wrote:<br>
                <br>
                <blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px
                  0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">Hello,<br>
                  <br>
                  Just wanted to see if anyone has seen an issue like
                  this:<br>
                  <br>
                  I have a 3800 running Sugarland at a remote site. It
                  was running nice and<br>
                  reliably, connected to the local network by a VLAN
                  trunked connection (I<br>
                  have interfaces for the default VLAN, and VLANS 100
                  and 200 passing<br>
                  through). Last night it suddenly stopped working.
                  There seems to be no data<br>
                  flowing through the switch at all, even though I can
                  ssh to the router,<br>
                  reboot, poke at it, etc. from over the Internet.<br>
                  <br>
                  I see no error messages regarding the switch in the
                  logs or dmesg. Anyone<br>
                  else see a 3800 switch crap out unceremoniously?<br>
                  <br>
                  Thanks,<br>
                  Bill Katsak<br>
                  <br>
                  <br>
                  <br>
                  _______________________________________________<br>
                  Cerowrt-devel mailing list<br>
                  <a moz-do-not-send="true"
                    href="mailto:Cerowrt-devel@lists.bufferbloat.net"
                    target="_blank">Cerowrt-devel@lists.bufferbloat.net</a><br>
                  <a moz-do-not-send="true"
                    href="https://lists.bufferbloat.net/listinfo/cerowrt-devel"
                    target="_blank">https://lists.bufferbloat.net/listinfo/cerowrt-devel</a><br>
                  <br>
                </blockquote>
              </div>
            </div>
          </blockquote>
          <br>
          _______________________________________________<br>
          Cerowrt-devel mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:Cerowrt-devel@lists.bufferbloat.net">Cerowrt-devel@lists.bufferbloat.net</a><br>
          <a moz-do-not-send="true"
            href="https://lists.bufferbloat.net/listinfo/cerowrt-devel"
            target="_blank">https://lists.bufferbloat.net/listinfo/cerowrt-devel</a><br>
          <br>
        </blockquote>
      </div>
      <br>
    </blockquote>
    <br>
  </body>
</html>