!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

923 Members
Declaratively manage your switching, routing, wireless, tunneling and more.278 Servers

Load older messages


SenderMessageTime
13 Sep 2021
@elvishjerricco:matrix.orgElvishJerriccoDidn't think that would be important...02:04:52
@elvishjerricco:matrix.orgElvishJerriccoYea just noticed journalctl logs thought it was June 29. Probably because that's when I last booted this device...02:07:22
@disrupt_the_flow:matrix.orgdisrupt_the_flow changed their profile picture.11:59:23
@hexa:lossy.networkhexaif your machine does not have an RTC you are in for some fun with NTP/DNSSEC setups13:34:29
14 Sep 2021
@Las:matrix.orgLas joined the room.08:04:46
@Las:matrix.orgLas Does anyone know of a nix-y way of doing this in order to make upnpc work? Should I just use networking.firewall.extraCommands? 08:07:05
@linus.heckemann:matrix.mayflower.deLinux Hackerman
In reply to @Las:matrix.org
Does anyone know of a nix-y way of doing this in order to make upnpc work? Should I just use networking.firewall.extraCommands?
Yep pretty much. Put your rules in the nixos-fw chain so that they don't get duplicated every time firewall.service gets restarted
08:10:55
@Las:matrix.orgLasThanks08:19:04
@zorro_infosec:matrix.orgzorro_infosec joined the room.13:50:40
@zorro_infosec:matrix.orgzorro_infosec left the room.13:51:34
15 Sep 2021
@eyjhb:eyjhb.dkeyJhb left the room.07:24:55
@eyjhb:eyjhb.dkeyJhb joined the room.07:34:10
@paultrial:banditlair.compaultrial joined the room.19:27:05
18 Sep 2021
@edrex:matrix.orgedrexhttps://github.com/NixOS/nixpkgs/pull/13834801:21:51
@cw:kernelpanic.cafeRev. CornWallace III (novus ordo seclorum) joined the room.20:43:36
20 Sep 2021
@cw:kernelpanic.cafeRev. CornWallace III (novus ordo seclorum) changed their display name from CornWallace to Rev. CornWallace III.06:45:20
@cw:kernelpanic.cafeRev. CornWallace III (novus ordo seclorum) changed their display name from Rev. CornWallace III to Rev. CornWallace III (tzu/tzi).15:22:28
@cw:kernelpanic.cafeRev. CornWallace III (novus ordo seclorum) changed their display name from Rev. CornWallace III (tzu/tzi) to Rev. CornWallace III (sun/tzu).15:24:48
@em:queersin.spaceEmelie left the room.20:18:24
21 Sep 2021
@pepe:matrix.giugl.ioErPepone joined the room.09:12:25
@pepe:matrix.giugl.ioErPepone Hello everyone! I'm trying to build OpenWRT from NixOS. Does anyone have a working shell.nix? 09:13:41
@pepe:matrix.giugl.ioErPepone
{ pkgs ? import <nixpkgs> {} }:

let
  fixWrapper = pkgs.runCommand "fix-wrapper" {} ''
    mkdir -p $out/bin
    for i in ${pkgs.gcc.cc}/bin/*-gnu-gcc*; do
      ln -s ${pkgs.gcc}/bin/gcc $out/bin/$(basename "$i")
    done
    for i in ${pkgs.gcc.cc}/bin/*-gnu-{g++,c++}*; do
      ln -s ${pkgs.gcc}/bin/g++ $out/bin/$(basename "$i")
    done
  '';

  fhs = pkgs.buildFHSUserEnv {
    name = "openwrt-env";
    targetPkgs = pkgs: with pkgs;
      [ git
        perl
        gnumake
        gcc11
        unzip
        utillinux
        python3
        patch
        wget
        file
        subversion
        which
        pkgconfig
        openssl
        fixWrapper
        systemd
        binutils
        xclip
        quilt

        ncurses
        zlib
        zlib.static
        glibc.static
      ];
    multiPkgs = null;
    extraOutputsToInstall = [ "dev" ];
#    profile = ''
#      export hardeningDisable=all
#    '';
  };
in fhs.env

This is what I have as of now

09:14:19
@pepe:matrix.giugl.ioErPepone But it fails to compile perl on the target arch 09:14:34
@pepe:matrix.giugl.ioErPepone (the env is taken from Mic92, I believe) 09:18:37
@mic92:nixos.devMic92I have not touched this in ages.09:19:57
@pepe:matrix.giugl.ioErPepone Do you have any suggestions? It's my first time trying to build OpenWRT and I have little experience in tweaking shell.nix files 09:20:55
@eyjhb:eyjhb.dkeyJhb I have previously talked about this issue. But I have IPv6-PD working on my router. However, on my WAN (uplink) interface I have a IP 2a06:4000:..., and on the LAN side I have 2a06:4004:.... The default route is to use the WAN side, but that doesn't work after prefix delegation is setup. Is it normal that I have to use the IPv6 that is on the LAN interface? 09:34:23
@hexa:lossy.networkhexa
In reply to @pepe:matrix.giugl.io
But it fails to compile perl on the target arch
not enouugh context; I see perl failures regularly on high core counts, cf. https://github.com/openwrt/packages/issues/8238
12:27:39
@hexa:lossy.networkhexa
In reply to @eyjhb:eyjhb.dk
I have previously talked about this issue. But I have IPv6-PD working on my router. However, on my WAN (uplink) interface I have a IP 2a06:4000:..., and on the LAN side I have 2a06:4004:.... The default route is to use the WAN side, but that doesn't work after prefix delegation is setup. Is it normal that I have to use the IPv6 that is on the LAN interface?
In my personal setup I route over the address on my WAN link, that I receive with RAdv
12:28:50
@hexa:lossy.networkhexathe WAN in this case is a PPPoE tunnel12:29:05

Show newer messages


Back to Room ListRoom Version: 6