From patchwork Fri Jun 17 14:12:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?David_Pinilla_Caparr=C3=B3s?= X-Patchwork-Id: 637066 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (caladan.dune.hu [78.24.191.180]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rWMfJ4x3nz9t1v for ; Sat, 18 Jun 2016 00:12:56 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=XO4PeIz4; dkim-atps=neutral Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 57D11B80A30; Fri, 17 Jun 2016 16:12:51 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP; Fri, 17 Jun 2016 16:12:51 +0200 (CEST) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 124E3B80A24 for ; Fri, 17 Jun 2016 16:12:50 +0200 (CEST) X-policyd-weight: using cached result; rate: -7 Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Fri, 17 Jun 2016 16:12:49 +0200 (CEST) Received: by mail-wm0-f68.google.com with SMTP id k184so105315wme.2 for ; Fri, 17 Jun 2016 07:12:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=l2aaw6Mx1/boh2TZ19cn2lUgt/oSpgJ2ZRyzMrK48KY=; b=XO4PeIz4vTVHHUNB076AIKKTgI0eDnT8mGqNPky+X37KLv7a315x7eJAkBSvnItntb MbWCpUecJpv7Vzeu8fnmCpmIYiy2bMzINh7lxnpmSt3m95bv8dPuz1vTRIzyFHVkjE7P MhQB2dCm4fl3uj3uO7ElmzwcYIKdBgMtC4sJNHkZ50H2peUAn4aKEMfiw97plUHD8ofx FbeiJgpPxYoD2HkuvpPHOuHeXKIUUsUs9PINPWrTeY2wBNXS4eVUxjFMQNQdlPP0rSIT +Ub8D3/uJKwd7zYJ4cWq+TLVRcK598YzvyV9QdRCSRP1PCfNN5L48xJ9ffKcki8zs3dE /NlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=l2aaw6Mx1/boh2TZ19cn2lUgt/oSpgJ2ZRyzMrK48KY=; b=OWV5hLvBGRS1lpMw56xyQnFzf7gSYvN+f42bQ0yaDruf3gXRYOFMZ5HkJHHn/1Z19z cd787phUQCnlbYRMnx09k5gP5EY+q8rTSVv29Zn9B5n2xsQxl+0DGPb9WMd08q3yH2h6 Fs+Mv9Sx0dpproNpD6ALTi96WmI1O/sntkhahB4sVoMtOIvD9CfqGUJZ9RTQWA8DA1dQ vdf03NGV7QcUAV3vnskazgeOWPkHpfb0Q75Ujw2t4P4aFLjHu2O9v23envBQlPbKYIlu Ip+Cgw0DtyR5F/6w7LSxJmZ3V6z4H3VM0Wa7v1xtp4epQCAfxH6fGCQJZZv1PXMimS8m uGug== X-Gm-Message-State: ALyK8tI/FhhuQA7dhNOXTViXS0yl7cMef/Z/1SEDaeW/4Wi46hr07nR4mNiCAlgJTx7lhA== X-Received: by 10.194.95.74 with SMTP id di10mr2654744wjb.52.1466172769375; Fri, 17 Jun 2016 07:12:49 -0700 (PDT) Received: from [192.168.1.102] (107.199.135.37.dynamic.jazztel.es. [37.135.199.107]) by smtp.gmail.com with ESMTPSA id a191sm20353206wme.5.2016.06.17.07.12.48 for (version=TLSv1/SSLv3 cipher=OTHER); Fri, 17 Jun 2016 07:12:48 -0700 (PDT) To: openwrt-devel@lists.openwrt.org From: =?UTF-8?Q?David_Pinilla_Caparr=c3=b3s?= Message-ID: <6d2c39cd-638c-58e2-2b79-c43e47ae4cb9@gmail.com> Date: Fri, 17 Jun 2016 16:12:48 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 Subject: [OpenWrt-Devel] [PATCH] [ar71xx] wdr4300: Fixed default VLAN order X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" Reordered the VLANs so the LAN ports are set to VLAN 1 and the WAN port is set to VLAN 2, as in the other routers in the config file. Moreover, this model had this VLAN mapping in OpenWRT Chaos Calmer. It seems that the VLAN were switched when fixing a bug in the port mapping ( OpenWRT changeset 47799 ) Signed-off-by: David Pinilla Caparrós dpinitux@gmail.com diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network index 67adf33..04cb3be 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -200,7 +200,7 @@ tellstick-znet-lite) tl-wdr4300|\ tl-wr1041n-v2) ucidef_add_switch "switch0" \ - "0@eth0" "1:wan" "2:lan:1" "3:lan:2" "4:lan:3" "5:lan:4" + "0@eth0" "2:lan:1" "3:lan:2" "4:lan:3" "5:lan:4" "1:wan" ;; tl-wr1043nd)