!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

857 Members
Declaratively manage your switching, routing, wireless, tunneling and more. | Don't rely on `networking.*` use systemd-networkd and NetworkManager instead. | Set `SYSTEMD_LOG_LEVEL=debug` to debug networking issues with networkd | No bad nft puns, please. | Room recommendations: #sysops:nixos.org245 Servers

Load older messages


SenderMessageTime
6 Sep 2025
@kraem:ne.bul.aekraem i just found out how to verify that it actually is mounted correctly:
  1. systemd-cgls --unit wg-netns-test0 (lists pids running in the container)

  2. nsenter -a -t $pid

  3. cat /etc/resolv.conf (inside the nsenter) gives me the correct contents (which is different than my hosts)


so for some reason the processes inside the service isn't using the nameserver specified in the resolv.conf ..
23:05:20
@kraem:ne.bul.aekraem interesting. dig actually uses the bind mounted /etc/resolv.conf in the service but the python script i was testing with used my hosts nameserver.
i was using this script (https://gist.github.com/Tugzrida/6fe83682157ead89875a76d065874973) which uses socket.socket(socket.AF_INET, socket.SOCK_DGRAM), which should be using glibc if i understand correctly, which in turn makes it very strange because glibc should be reading the resolv.conf mounted inside the service?
23:46:24
7 Sep 2025
@jassu:kumma.juttu.asiaJassukowhat does your nsswitch.conf look like?00:53:30
@hexa:lossy.networkhexa (clat on linux when)https://www.servethehome.com/qnap-qsw-m3216r-8s8t-16-port-10gbe-managed-marvell-switch-review/ 🤔01:02:15
@hexa:lossy.networkhexa (clat on linux when)8x10Gbase-T, 8xSFP+01:02:31
@hexa:lossy.networkhexa (clat on linux when)with fans, but apparently quiet01:02:46
@hexa:lossy.networkhexa (clat on linux when)L2+ web-managed 🥲01:03:00
@hexa:lossy.networkhexa (clat on linux when)oh, per another listing this one actually has a console01:03:20
@hexa:lossy.networkhexa (clat on linux when)what about ssh? 🤔01:03:38
@hexa:lossy.networkhexa (clat on linux when)

No, QNAP managed switches do not support SSH login for end users; however, users can access the managed switch graphical user interface (GUI)

01:04:00
@hexa:lossy.networkhexa (clat on linux when)uhh sure, go fuck your self if you are an enduser01:04:07
@hexa:lossy.networkhexa (clat on linux when)got it01:04:07
@hexa:lossy.networkhexa (clat on linux when)https://stevetech.me/posts/qnap-switch-serial-console implies they are running openwrt01:06:14
@hexa:lossy.networkhexa (clat on linux when)* https://stevetech.me/posts/qnap-switch-serial-console implies they are running something based on openwrt01:06:20
@hexa:lossy.networkhexa (clat on linux when)different switch though01:06:27
@raitobezarius:matrix.orgraitobezariusdoubtful it's not running openwrt01:07:11
@raitobezarius:matrix.orgraitobezariusit has management and shows HTTP server01:07:20
@hexa:lossy.networkhexa (clat on linux when)generally vendors might just base their sdk on openwrt01:08:20
@raitobezarius:matrix.orgraitobezarius https://patchwork.ozlabs.org/project/netdev/patch/20200225163025.9430-2-vadym.kochan@plvision.eu/ 01:08:27
@hexa:lossy.networkhexa (clat on linux when)I know qualcomm does this often01:08:29
@emilazy:matrix.orgemilyI thought most managed switches were not OpenWrt01:08:31
@emilazy:matrix.orgemilyor at least not anything remotely close to normal OpenWrt01:08:41
@raitobezarius:matrix.orgraitobezariusQNAP is not serious managed switch01:08:50
@raitobezarius:matrix.orgraitobezariusnon serious managed switch is OpenWRT01:08:58
@hexa:lossy.networkhexa (clat on linux when)serious managed switches cut down the resources much further 😄 01:09:11
@hexa:lossy.networkhexa (clat on linux when)and you get a stupid mips core01:09:19
@hexa:lossy.networkhexa (clat on linux when)* and you get a stupid mips core instead01:09:37
@emilazy:matrix.orgemilygrr, since when does amazon.com redirect to the local site01:09:53
@emilazy:matrix.orgemilywhat's the price of this thing?01:09:55
@raitobezarius:matrix.orgraitobezarius600+ bucks01:09:59

Show newer messages


Back to Room ListRoom Version: 6