From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1.merlins.org (magic.merlins.org [209.81.13.136]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by huchra.bufferbloat.net (Postfix) with ESMTPS id 277A321F107 for ; Mon, 19 Nov 2012 09:55:37 -0800 (PST) Received: from merlin by mail1.merlins.org with local (Exim 4.77 #2) id 1TaVZI-0001lZ-3Z for ; Mon, 19 Nov 2012 09:55:36 -0800 Date: Mon, 19 Nov 2012 09:55:36 -0800 From: Marc MERLIN To: cerowrt-users@lists.bufferbloat.net Message-ID: <20121119175536.GM27306@merlins.org> References: <20121117234437.GA5542@merlins.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20121117234437.GA5542@merlins.org> X-Sysadmin: BOFH X-URL: http://marc.merlins.org/ X-Operating-System: Proudly running Linux 3.1.5-core2-volpreempt-noide-hm64-20111218/Debian squeeze/sid X-Mailer: Some Outlooks can't quote properly without this header User-Agent: Mutt/1.5.13 (2006-08-11) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: marc@merlins.org Subject: Re: [Cerowrt-users] Setting up bridging and debugging problems with LAN ports with WNDR3800 X-BeenThere: cerowrt-users@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Support for user problems regarding cerowrt List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2012 17:55:37 -0000 On Sat, Nov 17, 2012 at 03:44:37PM -0800, Marc MERLIN wrote: > Ok, it's a bit long, sorry, I spent too many hours today trying to fix some > issues in cerowrt and get bridging working. > > This is cerowrt 3.3.8-26. > > Before I get to bridging, openwrt could get my ethernet LAN ports working if I > recall correcly, but it seems that cerowrt can't (the WAN port is ok, and so > is wireless, but none of my LAN ports seem to be able to send IP traffic > even though I see STP and other traffic from them). > > The first issue is while I had wireless working, wired just wasn't. > I never got an IP on wired ports, and for that matter when I forced the IP > on my laptop, I couldn't ping the interface Ok, after a full reset it worked again and I figured out what the problem is. If you enable VLAN functionality in network/switch, the LAN ports stop working even if they are marked as 'untagged' which is the default. When I used tcpdump, I did look for whether there was a tagging problem, but the packets didn't seem tagged. But it gets worse, even after turning vlan off in the GUI config switch option enable_vlan4k '1' stays and prevents the LAN ports from working. Actually, also option enable_vlan '0' needs to be restored and without that line, your LAN ports just will not work. That's a pretty bad GUI trap, 4H of my time down the drain :( > > Question #1: > What am I doing wrong or how do I debug further? There wasn't much to find, this required wiping everything, starting over, taking config diffs, finding the option that broke everything, and further finding that unchecking the GUI option didn't clean the config file enough to recover. > > Question #4: > how do I get debugging/logs from dnsmasq? Is it done through syslog? logread or logread -f > > Question #5: > Why can't I get the :81 web interface to respond on its outside IP (kind of > useful when I'm mucking on the internal one). > /etc/lighttpd/lighttpd.conf says: > ## bind to port (default: 80) > server.port = 81 81 is firewalled off on the ge00 interface. > > Question #6: > Why is the admin interface on :81 not using https? Seems that openwrt didn't seem to hink it was a good idea. Marc -- "A mouse is a device used to point at the xterm you want to type in" - A.S.R. Microsoft is to operating systems .... .... what McDonalds is to gourmet cooking Home page: http://marc.merlins.org/