tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: if_tun module doesn't autoload if opening /dev/tunN



On Wed, 7 Sep 2016, Michael van Elst wrote:

paul%whooppee.com@localhost (Paul Goyette) writes:

According to the tun(4) man page, you can create an interface "by using
the ifconfig(8) create command" and this works just fine.  The man page
goes on to say "An open() call on /dev/tunN, will also create a network
interface..." but this does not work.

You could create a dummy "tun" module that depends on "if_tun".

Hmmm, interesting possiblity.


+------------------+--------------------------+------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:      |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
+------------------+--------------------------+------------------------+


Home | Main Index | Thread Index | Old Index