| 14 Sep 2021 |
| 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 |
ErPepone | hexa: I encounter exactly this error https://github.com/openwrt/packages/issues/10598 | 12:29:26 |
hexa | can you disable parallel build for perl and retry? https://github.com/openwrt/packages/issues/8238#issuecomment-612504932 | 12:30:58 |
ErPepone | hexa, sure! I’ll reply back once I have news :-) | 12:37:28 |
eyJhb | In reply to @hexa:lossy.network In my personal setup I route over the address on my WAN link, that I receive with RAdv I discussed with TJ- over at #systemd, and I think we ended up as the same conclusion as andi- came to last time. That the IP I get from my ISP, doesn't seem to be globally routeable. However, it might be a issue with networkd, and how the prefix is derived from the PD. Or something like that. For the moment being, I am just going to set a static IPv6 for my WAN interface | 13:14:28 |
hexa | well, you don't neceessarily get a default route with your IA_PD delegation | 13:15:17 |
hexa | it really depends on your default route | 13:15:27 |
eyJhb | The dynamic IPs I get via. my ISP works, which has the same prefix works. It's just... A mess... | 13:16:36 |
eyJhb | There is also somehting fun with, that I can ping someone and they will see it. But I don't get the response back. Seems to not be routed back to me from my ISP | 13:17:14 |