From owner-freebsd-current@freebsd.org Sun Jul 16 20:48:49 2017 Return-Path: Delivered-To: freebsd-current@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 D3E5EC7994D for ; Sun, 16 Jul 2017 20:48:49 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3AB23662C2 for ; Sun, 16 Jul 2017 20:48:48 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from thor.intern.walstatt.dynvpn.de ([77.180.117.19]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MQiB3-1d538X2fin-00U38i for ; Sun, 16 Jul 2017 22:48:40 +0200 Date: Sun, 16 Jul 2017 22:48:34 +0200 From: "O. Hartmann" To: FreeBSD CURRENT Subject: netgraph: documentation issue? What kernel options? Where to find? Message-ID: <20170716224834.030e004b@thor.intern.walstatt.dynvpn.de> Organization: WALSTATT User-Agent: OutScare 3.1415926 X-Operating-System: ImNotAnOperatingSystem 3.141592527 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/jCUKN6pPgzU2BtZuu4XsnS3"; protocol="application/pgp-signature" X-Provags-ID: V03:K0:0XbdPgiLYCjot8Mnlkir4Be0kdfzl12F9s277WZA1pS4eJJMdor IDY7nhLTIiK0gPSasLk1tuTsLxrNqm8iD1SQ4PixGf2CMsqKRP5PqKS2Hvr9exBf5IA+W0b sEdg+9Tt7Lpi/pj4ytUDWAyE/WkYg/0c8noa9mFzhjtw/nRts0OssG/waNJKCx2oDUxlmUY GSVXSb+JcIW0gJv6j8dqQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:vBFNRsAIAoQ=:PThR3jjtkXn0xMAABcUhw6 DG10C1DJDr8oYL3n0O6U9eKKqfr2/k/2HXgrRYdpxbUS2aJfzlekYw/EOldqSO86QyR1vHeDv R5YeaOsW5RpmUyNuzFGg48+FECtNNXzsDVO1MiWSjGOSiSb1exA2pNgv918vzGzSNmn4SoWX7 8FMfC10Y+kMEgnG+PAW1oU3FFeaiyuC9er1cRWWy13Y0LNVt6Ay0Lx/Z/2pyZQtF63vb2zM6R 6AlswGl3Tx0srm9cQOCMHf+rXoK6rl0LJ7sbQiNQji+O/LES5FT54fc9qkuBz/3/7s2u3lXH2 puOeVtVX+nRNTB9jRoZBo6Byr8f5gtlrXSQJ9qXbXexIIfDBd5PUmX1gECv8ZYiTfjuXLmH8K DbqfQ7oGpO1uE9NXgWy7OQCtNg2wq1UzMEIqERJBDWgrYrCwY+93U4rwTNeNqNTYeknGO864D QgAyixm5rjASIl7nmpWoK3BSSOlz7/MuJPZVmK3K6u/QtUo+GoSDnFkut8s3ATX1WjYk8XQGK VATGOCmZPfc7dt693dZ2Zz3xtEPJecmeXiShpA/AB49cdyZYxZCOtbHZcQz8A0AAgN3PlY0+/ fybm+dW5ktqmGPI4U4vQgEFHlQ3XCXIYkJTMiY4qj+DVzUN9ubzugBSDVwV0iDDruI9haOslY 4bANkF8pEXcLuYIxWWIt5PF179eHZ7MNf1K+UpUsPbAgZjsooTc6HJNB69YqwqLLYa+Z4CtRf SA8dfOm3bYeGiFy4T8dDjq8zYwcvgrOOopqhniLgCxNhV8ITZgwJsoiH1xGkvEkEb/kI6sc/t JuHn6eBQ+v0x44LqF88iD6ZEkDg3Q== X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jul 2017 20:48:49 -0000 --Sig_/jCUKN6pPgzU2BtZuu4XsnS3 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable For a small SoC based system, I use a highly customised static kernel and b= uild the system via NanoBSD with no kernel modules. Tyring to track down some network issues with recent CURRENT I figured out,= that when using the ppp client to connect via modem to the ISP and there is no=20 options NETGRAPH_ETHER options NETGRAPH_PPPOE in the kernel configuration, the resulting system fails to establish a ppp = session. The man page states, that a netgraph node is established, but as hard as I look= , I can not find any(!) information in the man pages what options are necessary/optiona= l to provide the correct module statically. The same is for many other NETGRAPH_XXX features. Starting from man page "m= an 4 netgraph", section "SEE ALSO", I started tweaking the kernel with NETGRAPH_= XXX, i.e. ng_vlan -> NETGRAPH_VLAN until the compiler bails out with an error, for in= stance ng_car -> NETGRAPH_CAR. I tried to find out what options cover which netgraph module but there is -= right, nothing I can find on a direct route. Since netgraph isn't so brand new (I guess ~ 2000 from the PDFs I found on = the network), there must be some documentation other than "reading the source code". Please give me some hints where to find the entry point for the appropriate= documented options for netgraph modules. Obviously, some ng_xxx modules are prerequisite for some services to work p= roperly, as ppp - but I can't find any hints for "options NETGRAPH_ETHER" or "options N= ETGRAPH_PPPOE" in the manpages (looked at ppp, pppoed).=20 Thanks in advance, kind regards Oliver --Sig_/jCUKN6pPgzU2BtZuu4XsnS3 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iLUEARMKAB0WIQQZVZMzAtwC2T/86TrS528fyFhYlAUCWWvRIgAKCRDS528fyFhY lKVuAf9ttIIywpjg0Vnrj6Awh5DlAwLOnB54ovZ9PguWbDdq/iFqQTc6hx3Th02g dyn/9wFlvJ0kF7bCSG/qeuKCnmyZAf4otoEFsVPS4374Efq5wqQimilXas0+QVkb KiSfuL6gROt7KJ2ql08HkDTGTB6CmN7M8FU3Rjo9WgSC6aWchFjk =88Sv -----END PGP SIGNATURE----- --Sig_/jCUKN6pPgzU2BtZuu4XsnS3--