| 13 Jun 2025 |
@magic_rb:numtide.com | right, so emily if youre on 6.16 you probably dont have the fix | 14:56:03 |
@magic_rb:numtide.com | so its silently dropping packets at the hardware level | 14:56:12 |
emily | can I convince you to share your pppd configuration and the network configuration of the underlying WAN interface and the PPP interface on top? I'm going kind of insane debugging this stuff | 14:56:33 |
emily | especially if you have working v6 | 14:56:37 |
@magic_rb:numtide.com | i dont have v6 | 14:56:42 |
@magic_rb:numtide.com | and sure | 14:56:50 |
@magic_rb:numtide.com | but like | 14:56:53 |
emily | fwiw if I set default-mru then it authenticates fine and I get v4 | 14:57:03 |
emily | and then v6 is still weird | 14:57:05 |
@magic_rb:numtide.com | i just create a vlan 6 interface on top of the normal one | 14:57:06 |
@magic_rb:numtide.com | then | 14:57:09 |
emily | so it's not that it's completely failing to exchange packets | 14:57:13 |
@magic_rb:numtide.com | mtu = {
sw = mkMtuOption 1544;
wan = mkMtuOption (mtu.sw - 8);
slan = mkMtuOption (mtu.sw - 8);
wan-vlan = mkMtuOption (mtu.wan - 8);
slan-vlan = mkMtuOption (mtu.slan - 8);
ppp-wan = mkMtuOption (mtu.wan-vlan - 24);
ppp-slan = mkMtuOption (mtu.slan-vlan - 24);
};
| 14:57:25 |
@magic_rb:numtide.com | then i have that shit to get the mtu right | 14:57:29 |
@magic_rb:numtide.com | services.pppd = {
enable = true;
peers.kpn = {
config = ''
plugin ${pkgs.rp-pppoe}/etc/ppp/plugins/rp-pppoe.so
nic-wan-vlan
name "freedom@freedomnet.nl"
password "1234"
noauth
hide-password
debug
+ipv6
ipv6cp-accept-local
noipdefault
defaultroute
defaultroute6
persist
maxfail 0
holdoff 5
mtu 1500
mru 1500
ifname ppp-wan
lcp-echo-failure 10
lcp-echo-interval 20
'';
};
};
| 14:57:49 |
@magic_rb:numtide.com | thats my pppd config | 14:57:52 |
@magic_rb:numtide.com | i may be getting ipv6 i have no clue | 14:58:05 |
K900 | It may be in the pre-rebase 6.15 tree | 14:58:21 |
K900 | I'm not entirely sure | 14:58:21 |
@magic_rb:numtide.com | how do i test ipv6 | 14:58:22 |
K900 | https://github.com/frank-w/BPI-Router-Linux/commit/1a6d1e12425127e5f9fe3012581d756500342856 | 14:58:21 |
emily | is the password actually 1234 lol | 14:58:23 |
K900 | This is the change I think | 14:58:21 |
emily | uh wow federation lag | 14:58:30 |
@magic_rb:numtide.com | it doesnt matter, they do it based on the port | 14:58:50 |
emily | how the hell did they release this hardware | 14:59:08 |
@magic_rb:numtide.com | yeah thats the patch | 14:59:17 |
@magic_rb:numtide.com | exactly as any other hardware, you just dont notice bugs on other things because they've been already worked around | 14:59:40 |
emily | hmm I see you're using upstream rp-ppoe.so whereas I'm using the pppoe.so fork that ships as part of pppd | 14:59:48 |
@magic_rb:numtide.com | 50% on Linux's job is workarounds, which is why osdev is so fucking hard | 14:59:58 |