From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa0-f50.google.com (mail-oa0-f50.google.com [209.85.219.50]) (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 6518B21F1A6 for ; Thu, 21 Feb 2013 05:53:08 -0800 (PST) Received: by mail-oa0-f50.google.com with SMTP id l20so9056460oag.23 for ; Thu, 21 Feb 2013 05:53:08 -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=SHOjIGEZmKlvDMHDa2EQNEQULkk74CfC/pDVJv+dyqo=; b=oWSI7T97avWnryq+liXICbIrRZ5IFBCM+vW0aPqLq4/IY9B1XEVKfdDWWRVVThSf5c qJX9PPISVlQz78LzkimofjLYr+YeoopTMBAmheuZt/XIHCkzFWO56O7+QCbkMItp5Yts O8aAvw5v5WT49sz4I8vklB05UxFfZK47aCS72c+BJm1oi1c3cU464IYwuuwUrUdCX/k3 mhICaaYMZ4dMoPeyWgdAtsZToyme8gIn8k8Q7d/4P5eZHa7pSTMLZ3eUfb+ak6EKa7kg vmBqIFM16FxbCRGG3ANF1imLhS2iFdt+w80VbYZ6spip3P+uHXogn9dk+HVY4D3lI/A4 mcCg== MIME-Version: 1.0 X-Received: by 10.60.19.228 with SMTP id i4mr452728oee.40.1361454787814; Thu, 21 Feb 2013 05:53:07 -0800 (PST) Received: by 10.76.20.139 with HTTP; Thu, 21 Feb 2013 05:53:07 -0800 (PST) X-Originating-IP: [213.189.36.98] In-Reply-To: References: <8948C7F6-3F35-46D5-9367-02B79553E409@gmail.com> Date: Thu, 21 Feb 2013 14:53:07 +0100 Message-ID: From: Maciej Soltysiak To: David Lang Content-Type: multipart/alternative; boundary=e89a8ff1c5c201668e04d63c6548 X-Gm-Message-State: ALoCoQlVVDN49UkPMj+pdHDvMK994tkwxUqT0iWYTYYcPQC3ooAW7Vly+vOe1wPc403cGoG14hQa 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: Thu, 21 Feb 2013 13:53:09 -0000 --e89a8ff1c5c201668e04d63c6548 Content-Type: text/plain; charset=UTF-8 Hi David, Yup, I know, I'm not using vlans now. What I meant is that when I tinkered with it, I screwed wired connections. Hence I offered a working-ethernet config to William. William, did you have any luck fixing your issue? Regards, Maciej Soltysiak On Wed, Feb 20, 2013 at 8:29 PM, David Lang wrote: > you have vlans disabled in this config "option enable_vlan 0" > > if you want to use vlans > 15 you need "option enable_vlan4k 1" as well > > David Lang > > On Wed, 20 Feb 2013, Maciej Soltysiak wrote: > > Date: Wed, 20 Feb 2013 20:17:19 +0100 >> From: Maciej Soltysiak >> To: William Katsak >> Cc: "cerowrt-devel@lists.**bufferbloat.net >> " >> >> > >> Subject: Re: [Cerowrt-devel] Switch Issue >> >> >> 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 >>> >>> > _______________________________________________ > Cerowrt-devel mailing list > Cerowrt-devel@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/cerowrt-devel > > --e89a8ff1c5c201668e04d63c6548 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi David,
=C2=A0
Yup, I know, I'm not using vlans now. What I meant is that when I = tinkered with it, I screwed wired connections.
Hence I offered a working-ethernet config to William.
William, did you have any luck fixing your issue?
=C2=A0
Regards,
Maciej Soltysiak

On Wed, Feb 20, 2013 at 8:29 PM, David Lang <david@= lang.hm> wrote:
you have vlans disabled in this confi= g "option enable_vlan 0"

if you want to use vlans > 15 = you need "option enable_vlan4k 1" as well

David Lang

On Wed, 20 Feb 2013, Maciej Soltysiak wrote:

Date: Wed, 20 Feb 2013 20:17:19 +0100=
From: Maciej Soltysiak <maciej@soltysiak.com>
To: William Katsak <wkatsak@gmail.com>
Cc: "cerowrt-devel@lists.bufferbl= oat.net"
=C2=A0 =C2=A0 <cerowrt-devel@lists.bufferbloat.net>
Subje= ct: Re: [Cerowrt-devel] Switch Issue=20


I recently played with VLANs and screwed up it= 9;s switching capability
exactly as you say.
I managed to fix it by r= estoring the default setup in /etc/config/network
(Especially config swi= tch_vlan and ports)

Compare your /etc/config/network with what I have (and works):
confi= g switch
=C2=A0 =C2=A0 =C2=A0 =C2=A0option name =C2=A0 =C2=A0 rtl8366s=C2=A0 =C2=A0 =C2=A0 =C2=A0option reset =C2=A0 =C2=A01
=C2=A0 =C2=A0 = =C2=A0 =C2=A0option enable_vlan 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=A0option blinkrate =C2=A0 =C2=A0 =C2=A0 =C2=A02=C2=A0 =C2=A0 =C2=A0 =C2=A0option max_length 3

config switch_vlan=C2=A0 =C2=A0 =C2=A0 =C2=A0option device =C2=A0 rtl8366s
=C2=A0 =C2=A0= =C2=A0 =C2=A0option vlan =C2=A0 =C2=A0 1
=C2=A0 =C2=A0 =C2=A0 =C2=A0opt= ion 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 LED= s for
=C2=A0 =C2=A0 =C2=A0 =C2=A0# the switch and the section does not c= orrespond 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# 0=3DLED off; 1=3DColl= ision/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+activ= ity; 7=3D100 Mb/s+activity;
=C2=A0 =C2=A0 =C2=A0 =C2=A0# 8=3D10 Mb/s+act= ivity; 9=3D10/100 Mb/s+activity; 10: Fiber;
=C2=A0 =C2=A0 =C2=A0 =C2=A0#= 11: Fault; 12: Link/activity(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=A0option device =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 rtl8366s
=C2=A0 =C2=A0 =C2=A0 =C2=A0option port =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 1
=C2=A0 =C2=A0 =C2=A0 =C2=A0option 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 cor= respond 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=A0option device =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 rtl8366s
=C2=A0 =C2=A0 =C2=A0 =C2=A0option port =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 2
=C2=A0 =C2=A0 =C2=A0 =C2=A0option led =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A09

config switch_port
=C2=A0 =C2=A0 =C2=A0 =C2=A0# Po= rt 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 switch 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:green: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=A0option device =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 rtl8366s
=C2=A0 =C2=A0 =C2=A0 =C2=A0option port =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 5
=C2=A0 =C2=A0 =C2=A0 =C2=A0option led =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A02

Best regards,
Maciej Soltysiak

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

Hello,

Just wanted to see if a= nyone has seen an issue like this:

I have a 3800 running Sugarland a= t a remote site. It was running nice and
reliably, connected to the local network by a VLAN trunked connection (Ihave interfaces for the default VLAN, and VLANS 100 and 200 passing
thr= ough). 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 mess= ages regarding the switch in the logs or dmesg. Anyone
else see a 3800 s= witch crap out unceremoniously?

Thanks,
Bill Katsak



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

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


--e89a8ff1c5c201668e04d63c6548--