!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

914 Members
Declaratively manage your switching, routing, wireless, tunneling and more.265 Servers

Load older messages


SenderMessageTime
10 Jun 2025
@hexa:lossy.networkhexamodule for /etc/gai.conf https://github.com/NixOS/nixpkgs/pull/41398612:29:35
@weriomat:matrix.orgweriomat joined the room.17:39:25
@samemrecebi:matrix.redalder.orgsamemrecebi joined the room.20:20:26
11 Jun 2025
@samemrecebi:matrix.redalder.orgsamemrecebi changed their profile picture.10:33:41
@astodialo:matrix.orgelamon joined the room.15:14:20
@saiko:knifepoint.net@saiko:knifepoint.net changed their profile picture.16:12:16
@saiko:knifepoint.net@saiko:knifepoint.net changed their display name from Katalin 🔪 to Katalin ⚧︎.16:13:38
@donjoe:nanashi0x74.dev@donjoe:nanashi0x74.dev changed their display name from Rian to Rian (moved to @nanashi0x74:tchncs.de).18:01:05
@wriver4:matrix.orgwriver4My NixOS installation is stuck in the download buffer is full; consider increase download-buffers-size setting loop. Any advice on how to get out?19:11:27
@hexa:lossy.networkhexa #nix-dev:nixos.org 19:12:33
12 Jun 2025
@zenware:matrix.orgzenware joined the room.00:53:06
@emilazy:matrix.orgemily what networkd configuration do you have on enp1s0 for this? 14:11:59
@hexa:lossy.networkhexa
      "30-enp1s0" = {
        matchConfig.Name = "enp1s0";
        # Allow baby jumbo frames to theoretically allow
        # PPP-encapsulated packets with 1500 Bytes payload
        # to pass through here.
        linkConfig.MTUBytes = "1512";
        address = [
          "192.168.1.2/24"
        ];
      };
14:13:00
@hexa:lossy.networkhexa *
      "30-enp1s0" = {
        matchConfig.Name = "enp1s0";
        # Allow baby jumbo frames to theoretically allow
        # PPP-encapsulated packets with 1500 Bytes payload
        # to pass through here.
        linkConfig.MTUBytes = "1512";
        address = [
          "192.168.1.2/24"
        ];
      };
14:13:03
@hexa:lossy.networkhexathat's the subnet I share with my modem14:13:22
@hexa:lossy.networkhexafor management purposes14:13:39
@emilazy:matrix.orgemilyaha14:15:02
@emilazy:matrix.orgemilyyeah I think it fails to work for me because the port never comes up14:15:12
@emilazy:matrix.orgemilyso I guess I need configuration to tell networkd "no, trust me, put it up, even without IP or anything"14:15:23
@k900:0upti.meK900 ConfigureWithoutCarrier? 14:15:31
@emilazy:matrix.orgemilyright14:15:37
@emilazy:matrix.orgemilythat's what I was in the process of trying, just wanted to check I hadn't missed anything14:15:50
@adam:robins.wtfadamcstephensDoesn't systemd-networkd need access to secrets? 14:19:27
@emilazy:matrix.orgemily

the current state is that pppd succeeds and networkd considers the resulting device to have a carrier:

Dec 20 12:04:39 bpi-r4 pppd[2265]: Connect: ppp-wan <--> wan
Dec 20 12:04:39 bpi-r4 systemd-timesyncd[430]: Network configuration changed, trying to establish connection.
Dec 20 12:04:39 bpi-r4 systemd-networkd[471]: ppp-wan: Configuring with /etc/systemd/network/10-ppp-wan.network.
Dec 20 12:04:39 bpi-r4 systemd-networkd[471]: ppp-wan: Link UP
Dec 20 12:04:39 bpi-r4 systemd-networkd[471]: ppp-wan: Gained carrier

but it remains in the configuring state

19 ppp-wan ppp      carrier     configuring

and doesn't get any address

17: ppp-wan: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 3
    link/ppp
14:19:41
@emilazy:matrix.orgemily

(that's after I manually networkctl up wan and with

  systemd.network.networks."10-ppp-wan" = {
    matchConfig.Name = "ppp-wan";
    networkConfig.KeepConfiguration = true;
    linkConfig.RequiredForOnline = "routable";
  };

for the created interface)

14:20:00
@emilazy:matrix.orgemily(wait, in what context?)14:20:12
@adam:robins.wtfadamcstephensI know when working with networkd and wireguard, it's necessary to give systemd-networkd permissions to read the keys14:20:36
@emilazy:matrix.orgemily pppd is a separate daemon. networkd has no native support for PPPoE 14:20:58
@adam:robins.wtfadamcstephensahh14:21:01
@emilazy:matrix.orgemily(or this would be a lot less of a headache)14:21:05

Show newer messages


Back to Room ListRoom Version: 6