| 13 Sep 2021 |
ElvishJerricco | Didn't think that would be important... | 02:04:52 |
ElvishJerricco | Yea 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 changed their profile picture. | 11:59:23 |
hexa | if your machine does not have an RTC you are in for some fun with NTP/DNSSEC setups | 13:34:29 |
| 14 Sep 2021 |
| Las joined the room. | 08:04:46 |
Las | 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 |
Linux 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 | Thanks | 08:19:04 |
| zorro_infosec joined the room. | 13:50:40 |
| zorro_infosec left the room. | 13:51:34 |
| 15 Sep 2021 |
| eyJhb left the room. | 07:24:55 |
| eyJhb joined the room. | 07:34:10 |
| paultrial joined the room. | 19:27:05 |
| 18 Sep 2021 |
edrex | https://github.com/NixOS/nixpkgs/pull/138348 | 01:21:51 |
| Rev. CornWallace III (novus ordo seclorum) joined the room. | 20:43:36 |
| 20 Sep 2021 |
| Rev. CornWallace III (novus ordo seclorum) changed their display name from CornWallace to Rev. CornWallace III. | 06:45:20 |
| Rev. CornWallace III (novus ordo seclorum) changed their display name from Rev. CornWallace III to Rev. CornWallace III (tzu/tzi). | 15:22:28 |
| Rev. CornWallace III (novus ordo seclorum) changed their display name from Rev. CornWallace III (tzu/tzi) to Rev. CornWallace III (sun/tzu). | 15:24:48 |
| Emelie left the room. | 20:18:24 |
| 21 Sep 2021 |
| ErPepone joined the room. | 09:12:25 |
ErPepone | Hello everyone! I'm trying to build OpenWRT from NixOS. Does anyone have a working shell.nix? | 09:13:41 |
ErPepone | { 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 |
ErPepone | But it fails to compile perl on the target arch | 09:14:34 |
ErPepone | (the env is taken from Mic92, I believe) | 09:18:37 |
Mic92 | I have not touched this in ages. | 09:19:57 |
ErPepone | 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 | 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 | 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 | 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 | the WAN in this case is a PPPoE tunnel | 12:29:05 |