PPP(4)
π PPP(4) β like, the whole point-to-point situation
okay bestie, welcome to the ppp page from the Kernel Interfaces Manual β yes it's a section 4, yes it's a kernel thing, no you don't have to be scared π«Ά
β¨ NAME β¨
ppp β the point to point protocol network interface, aka the moment your serial line decides it wants main character energy and becomes a whole network interface π
β¨ SYNOPSIS β¨
Like all the good kernel-config stuff, it's giving "you gotta declare it first":
options PPP_BSDCOMP
options PPP_DEFLATE
options PPP_FILTER
pseudo-device ppp
periodt. that's the whole vibe check π
β¨ DESCRIPTION β¨
so here's the tea: the ppp interface lets you use serial lines as network interfaces using the Point-to-Point Protocol (PPP). literally turning a cable into a network. iconic behavior π
and it's not just basic either β the ppp interface can use various types of compression and has like so many features over the SLIP protocol used by the sl(4) interface. sl could never, ngl π
The supported options are, and yes you need to know all of them:
options PPP_BSDCOMPβ turns on support for BSD-compress (bsdcomp) compression inppp. compression slay πoptions PPP_DEFLATEβ turns on support for deflate compression inppp. the other compression, also slay β¨options PPP_FILTERβ this one turns onpcap(3)based filtering forpppconnections π¦. This option is used bypppd(8)which needs to be compiled withPPP_FILTERdefined (the current default). so like, it's already the default, but now you know why π
β¨ DIAGNOSTICS β¨
sometimes the kernel is dramatic and says:
ppp%d: af%d not supported .
(no I didn't add that space before the period, that's literally how it's written, don't come for me π)
what it means: the interface was handed a message with addresses formatted in an unsuitable address family, and the packet was dropped. rip packet, we hardly knew ye π
β¨ SEE ALSO β¨
the whole friend group:
and the absolute celebrity reference:
- The Point-to-Point Protocol (PPP), RFC 1661, July 1994. the original icon, respect the elders π
β¨ HISTORY β¨
the ppp device appeared in NetBSD 1.0. vintage. antique. still serving π
β¨ BUGS β¨
β οΈ Currently, only theip(4)andip6(4)protocols are supported.
that's it, that's the bug list. no cap, only ip and ip6 get to sit at the cool table π
πΈ okay that's the whole page, you're officially a ppp girlie now π
huge kiss goodbye from the Debian crew, dated January 10, 2005 β yeah, old page, but the info still hits πβ¨
π¦ where this page comes from
- nixpkgs unstable: netbsd-source 11.0
- Copyright (c) 1983, 1991, 1993 The Regents of the University of California. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms