From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa0-f49.google.com (mail-oa0-f49.google.com [209.85.219.49]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id 032A221F0BA for ; Wed, 20 Feb 2013 11:17:20 -0800 (PST) Received: by mail-oa0-f49.google.com with SMTP id j6so8533804oag.36 for ; Wed, 20 Feb 2013 11:17:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:x-originating-ip:in-reply-to:references :date:message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=q3mcnnflF/EXBvk30+v/5uVRU7XksBGRlU2D+iV1CUU=; b=BaAL9H40P/5AIqgFH2A8jIiGXnS2L4H/U5tYOYSYCKfUBUChIq+SW/Pe519IIS+ZIV coBRKYMUAnDDusoZF5oBRNQWOIVuSJ5jSesgeSeJRmMBkcITXRtrj8RrCIQWt/R9HB8r vmRxVRmMd8X/XUkAcdqog8KMVVQ7ipSEHDokhKNhy+O695vsi8Lhn8KCUjEqufnqM+QW hahfFS7uWfYmhv3its+4vNwt1kl/0RCMv2hZuUCjbN7CZpN9x6Zx2AxIIaxjEbPLYpjk A+C0/dFvGOyNO//9GbSYKP2hrk+Xp5pT8T1w4ZHIG3ojTxWUFSrMPnpEvb1m6LQYnIiC /CQA== MIME-Version: 1.0 X-Received: by 10.182.118.105 with SMTP id kl9mr9779856obb.52.1361387840055; Wed, 20 Feb 2013 11:17:20 -0800 (PST) Received: by 10.76.20.139 with HTTP; Wed, 20 Feb 2013 11:17:19 -0800 (PST) X-Originating-IP: [77.65.47.165] In-Reply-To: <8948C7F6-3F35-46D5-9367-02B79553E409@gmail.com> References: <8948C7F6-3F35-46D5-9367-02B79553E409@gmail.com> Date: Wed, 20 Feb 2013 20:17:19 +0100 Message-ID: From: Maciej Soltysiak To: William Katsak Content-Type: multipart/alternative; boundary=f46d0447a29f9ba8db04d62cce23 X-Gm-Message-State: ALoCoQmgVaPERKYQg78w/ipFMGA90c+Q33LBGBF6Ff/i6MnVQHGnfaRElyZoMQu+evLSANtqCQQy Cc: "cerowrt-devel@lists.bufferbloat.net" Subject: Re: [Cerowrt-devel] Switch Issue X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Feb 2013 19:17:21 -0000 --f46d0447a29f9ba8db04d62cce23 Content-Type: text/plain; charset=UTF-8 I recently played with VLANs and screwed up it's switching capability exactly as you say. I managed to fix it by restoring the default setup in /etc/config/network (Especially config switch_vlan and ports) Compare your /etc/config/network with what I have (and works): config switch option name rtl8366s option reset 1 option enable_vlan 0 # Blinkrate: 0=43ms; 1=84ms; 2=120ms; 3=170ms; 4=340ms; 5=670ms option blinkrate 2 option max_length 3 config switch_vlan option device rtl8366s option vlan 1 option ports "0 1 2 3 5t" config switch_port # Port 1 controls the GREEN configuration of LEDs for # the switch and the section does not correspond to a real # switch port. # # 0=LED off; 1=Collision/FDX; 2=Link/activity; 3=1000 Mb/s; # 4=100 Mb/s; 5=10 Mb/s; 6=1000 Mb/s+activity; 7=100 Mb/s+activity; # 8=10 Mb/s+activity; 9=10/100 Mb/s+activity; 10: Fiber; # 11: Fault; 12: Link/activity(tx); 13: Link/activity(rx); # 14: Link (master); 15: separate register option device rtl8366s option port 1 option led 6 config switch_port # Port 2 controls the ORANGE configuration of LEDs for # the switch and the section does not correspond to a real # switch port. # # See the key above for switch port 1 for the meaning of the # 'led' setting below. option device rtl8366s option port 2 option led 9 config switch_port # Port 5 controls the configuration of the WAN LED and the # section does not correspond to a real switch port. # # To toggle the use of green or orange LEDs for the WAN port, # see the LED setting for wndr3700:green:wan in /etc/config/system. # # See the key above for switch port 1 for the meaning of the # 'led' setting below. option device rtl8366s option port 5 option led 2 Best regards, Maciej Soltysiak On Wed, Feb 20, 2013 at 5:01 PM, William Katsak wrote: > Hello, > > Just wanted to see if anyone has seen an issue like this: > > I have a 3800 running Sugarland at a remote site. It was running nice and > reliably, connected to the local network by a VLAN trunked connection (I > have interfaces for the default VLAN, and VLANS 100 and 200 passing > through). Last night it suddenly stopped working. There seems to be no data > flowing through the switch at all, even though I can ssh to the router, > reboot, poke at it, etc. from over the Internet. > > I see no error messages regarding the switch in the logs or dmesg. Anyone > else see a 3800 switch crap out unceremoniously? > > Thanks, > Bill Katsak > > > > _______________________________________________ > Cerowrt-devel mailing list > Cerowrt-devel@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/cerowrt-devel > --f46d0447a29f9ba8db04d62cce23 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I recently played with VLANs and screwed up it's switching capability e= xactly as you say.
I managed to fix it by restoring the default setup i= n /etc/config/network (Especially config switch_vlan and ports)

Compare your /etc/config/network with what I have (and works= ):
config switch
=C2=A0 =C2=A0 =C2=A0 =C2=A0 optio= n name =C2=A0 =C2=A0 rtl8366s
=C2=A0 =C2=A0 =C2=A0 =C2=A0 option = reset =C2=A0 =C2=A01
=C2=A0 =C2=A0 =C2=A0 =C2=A0 option enable_vl= an 0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 # Blinkrate: 0=3D43ms; 1=3D84ms; 2=3D120ms= ; 3=3D170ms; 4=3D340ms; 5=3D670ms
=C2=A0 =C2=A0 =C2=A0 =C2=A0 opt= ion blinkrate =C2=A0 =C2=A0 =C2=A0 =C2=A02
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 option max_length 3

config switch_vlan
=C2=A0 =C2=A0 =C2=A0 =C2=A0 option device =C2=A0 rtl8366s
=C2=A0 =C2=A0 =C2=A0 =C2=A0 option vlan =C2=A0 =C2=A0 1
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 option ports =C2=A0 =C2=A0"0 1 2 3 5t"

config switch_port
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 # Port 1 controls the GREEN configuration of LEDs for
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 # the switch and the section does not correspond t= o a real
=C2=A0 =C2=A0 =C2=A0 =C2=A0 # switch port.
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 #
=C2=A0 =C2=A0 =C2=A0 =C2=A0 # 0=3DLED off; 1=3DColli= sion/FDX; 2=3DLink/activity; 3=3D1000 Mb/s;
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 # 4=3D100 Mb/s; 5=3D10 Mb/s; 6=3D1000 Mb/s+activity; 7=3D100 Mb/s+ac= tivity;
=C2=A0 =C2=A0 =C2=A0 =C2=A0 # 8=3D10 Mb/s+activity; 9=3D10/100 Mb/s+activit= y; 10: Fiber;
=C2=A0 =C2=A0 =C2=A0 =C2=A0 # 11: Fault; 12: Link/a= ctivity(tx); 13: Link/activity(rx);
=C2=A0 =C2=A0 =C2=A0 =C2=A0 #= 14: Link (master); 15: separate register

=C2=A0 =C2=A0 =C2=A0 =C2=A0 option device =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 rtl8366s
=C2=A0 =C2=A0 =C2=A0 =C2=A0 option port =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = option led =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A06

=
config switch_port
=C2=A0 =C2=A0 =C2=A0 =C2=A0 # Port = 2 controls the ORANGE configuration of LEDs for
=C2=A0 =C2=A0 =C2=A0 =C2=A0 # the switch and the section does not corr= espond to a real
=C2=A0 =C2=A0 =C2=A0 =C2=A0 # switch port.
=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 #
=C2=A0 =C2=A0 =C2=A0 =C2=A0 # = See the key above for switch port 1 for the meaning of the
=C2=A0= =C2=A0 =C2=A0 =C2=A0 # 'led' setting below.

=C2=A0 =C2=A0 =C2=A0 =C2=A0 option device =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 rtl8366s
=C2=A0 =C2=A0 =C2=A0 =C2=A0 option= port =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 2
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 option led =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A09<= /div>

config switch_port
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 # Port 5 controls the configuration of the WAN LED and the
=C2=A0 =C2=A0 =C2=A0 =C2=A0 # section does not correspond to a real sw= itch port.
=C2=A0 =C2=A0 =C2=A0 =C2=A0 #
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 # To toggle the use of green or orange LEDs for the WAN port,=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 # see the LED setting for wndr3700:g= reen:wan in /etc/config/system.
=C2=A0 =C2=A0 =C2=A0 =C2=A0 #
=C2=A0 =C2=A0 =C2=A0 =C2=A0 # = See the key above for switch port 1 for the meaning of the
=C2=A0= =C2=A0 =C2=A0 =C2=A0 # 'led' setting below.

=C2=A0 =C2=A0 =C2=A0 =C2=A0 option device =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 rtl8366s
=C2=A0 =C2=A0 =C2=A0 =C2=A0 option port =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 5
=C2=A0 =C2=A0 =C2=A0 =C2=A0 option led =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A02

Best regards,
Maciej = Soltysiak

On Wed, Feb 20, 2013 at 5:01 = PM, William Katsak <wkatsak@gmail.com> wrote:
Hello,

Just wanted to see if anyone has seen an issue like this:

I have a 3800 running Sugarland at a remote site. It was running nice and r= eliably, connected to the local network by a VLAN trunked connection (I hav= e interfaces for the default VLAN, and VLANS 100 and 200 passing through). = Last night it suddenly stopped working. There seems to be no data flowing t= hrough the switch at all, even though I can ssh to the router, reboot, poke= at it, etc. from over the Internet.

I see no error messages regarding the switch in the logs or dmesg. Anyone e= lse see a 3800 switch crap out unceremoniously?

Thanks,
Bill Katsak



_______________________________________________
Cerowrt-devel mailing list
Cerowrt-devel@lists.= bufferbloat.net
https://lists.bufferbloat.net/listinfo/cerowrt-devel

--f46d0447a29f9ba8db04d62cce23--