PPP(4)

πŸ“¦
version 11.0 Β· 2 versions
, in nixpkgs unstable

πŸ’… 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 in ppp. compression slay πŸ’…
  • options PPP_DEFLATE β€” turns on support for deflate compression in ppp. the other compression, also slay ✨
  • options PPP_FILTER β€” this one turns on pcap(3) based filtering for ppp connections πŸ¦‹. This option is used by pppd(8) which needs to be compiled with PPP_FILTER defined (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 the ip(4) and ip6(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
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms