Re: Enabling tap interfaces in pfinet

Samuel Thibault <[email protected]> Thu, 30 Jul 2026 23:39:53 +0200
Newsgroups gmane.os.hurd.bugs
Organization I am not organized
Message-ID <amvEqVhxZikD2Buo@end>
Ralph Ronnquist, le mar. 28 juil. 2026 21:24:01 +1000, a ecrit:
> Setup for this is similar to /dev/eth0 setup, i.e. either using
> ifconfig or configuration in /etc/network/interfaces for ifupdown
> commands. In this patch, the taps must be named as /dev/tapX where X
> is a single character, typically a digit. Thus, a setup for a "tap0"
> tap would be a command like the following:
> 
>     # settrans -cap /dev/tap0 /hurd/devnode -M /dev/net tap0
>     # ifconfig tap0 192.168.8.2 netmask 255.255.255.0 broadcast 192.168.8.255
> 
> Note there must not be a running /hurd/devnode for the tap when it is
> configured.

Why setting a passive translator there at all then? You can just touch
/dev/tap0

> Significatly taps are named like "tap0" in commands and named by
> pathname "/dev/tap0" in user programs.

Probably we should somehow fix this, because this is confusing.

Samuel