On Fri, May 26, 2023 at 8:19 PM Janneke Nieuwenhuizen <jann...@gnu.org> wrote: > Hi!
Hi, > I'm trying to get netdde to work in Guix without much success. > Here is what I've added for netdde and what Guix looks like: > > --8<---------------cut here---------------start------------->8--- > # showtrans /dev/eth0 > /hurd/devnode --master-device=/dev/net eth0 > # showtrans /dev/net > /hurd/symlink /dev/netdde > # showtrans /dev/netdde > /hurd/netdee > # showtrans /servers/socket/2 > <nothing> > --8<---------------cut here---------------end--------------->8--- > > Then, networking is started doing > > --8<---------------cut here---------------start------------->8--- > # settrans --active --create --keep-active /servers/socket/2 /hurd/pfinet \ > --ipv6=/servers/socket/26 --interface=eth0 --address=10.0.2.15 \ > --netmask=255.255.255.0 --gateway=10.0.2.2 > --8<---------------cut here---------------end--------------->8--- > > which gives > > --8<---------------cut here---------------start------------->8--- > /hurd/pfinet: file_name_lookup eth0: No such file or directory See, you're telling it to open "eth0", which is not a thing. /dev/eth0 (which you are setting up yourself just a few lines above) is. So pass --interface=/dev/eth0 instead of --interface=eth0. This is different from Linux, where (apparently) network interfaces exist in their own little namespace and not in the file system. On Debian, "/dev/eth0" is configured in /etc/network/interfaces, and then 'ifup -a' brings it up automatically. So the issue is not with your build of netdde, it's with how pfinet gets configured. Sergey