From owner-freebsd-net@freebsd.org Wed Jan 6 22:29:11 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B387BA66C46 for ; Wed, 6 Jan 2016 22:29:11 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-lf0-x232.google.com (mail-lf0-x232.google.com [IPv6:2a00:1450:4010:c07::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3B36010C0 for ; Wed, 6 Jan 2016 22:29:11 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by mail-lf0-x232.google.com with SMTP id z124so316609413lfa.3 for ; Wed, 06 Jan 2016 14:29:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=KoUzIBcSfBZfVKn0vV2TiMOtxjJWWT7fnggSrtpnaig=; b=tPNsPVcIueY/97Y37vUlslfkLxkT8mGPSg4/zKxRcf1V54VqYg6CtMZZ7nt6mawQbk EsQ5nFZdWrRlj9O+QX43gmvyqqKbhh5pHm/5XYL/RoLfpcyeTCfav+8pyGTlEWDtv7c6 drvfbTIW8wQuJEBY+rIoI3Z2QNdskk7xHT4VXoUxHTr9UTcQxIFySo32x4Tl7qmT9KXH CGazY9HcDPiVNt+uNYER4+6t6EQD2IicfOXcpZMehcQmtxEXHKijcJaKuxu/RnLqWxZE FcWxv+dt3lq7Iw+DvAMf3uxgRpZK1Td4ys6Ls0UgiNjTdu7ozUUG6eAn5eEGqrLJm51Z ISKg== MIME-Version: 1.0 X-Received: by 10.25.148.141 with SMTP id w135mr12561252lfd.137.1452119349261; Wed, 06 Jan 2016 14:29:09 -0800 (PST) Received: by 10.25.89.10 with HTTP; Wed, 6 Jan 2016 14:29:09 -0800 (PST) Date: Wed, 6 Jan 2016 23:29:09 +0100 Message-ID: Subject: ppp(8) PPPoE fails when ifname contains "." From: Ben Woods To: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2016 22:29:11 -0000 Hey everyone, I was recently trying to set up PPPoE to my ISP, over my network interface which is configured with 802.1q VLAN tagging using vlan(4). I utilised the vlans_= feature described in rc.conf(5), which creates a cloned interface named .. In /etc/ppp.conf I used the syntax PPPoE:. and this exposed an interesting issue - ppp(8) would not set up the PPPoE interface correctly when the interface contains a period. When I manually created the vlan clone interface with a name not containing a period, ppp(8) worked fine. Has anyone seen this before? A quick review of the ppp(8) code, and I am struggling to see the exact point where this syntax problem is. Regards, Ben -- From: Benjamin Woods woodsb02@gmail.com