|
|
Markus Wenke <M.Wenke@xxxxxx> said: > Hi, > > I have on basically Question: > > I have a linux system, and I want to install openVPN(tap) on it. > - this is my modules.conf: > ---------------- > alias char-major-10-200 tun > ---------------- > - I created /dev/net/tun > mknod /dev/net/tun c 10 200 > - I do a "insmod tun" > > how does ifconfig knows that it must use the module tun as device for tap0 ? > (openvpn makes a "ifconfig tap0......." in the tap.up-script) > I have no /dev/tap[0-9] On Linux 2.4, OpenVPN opens /dev/net/tun (for either tun or tap) then ioctls it to be something like tun0 or tap4. So only /dev/net/tun needs to refer to the tun module which handles both tun and tap virtual interfaces. At this point the tun/tap device symbol will show up in the ifconfig list. See tun.c in the OpenVPN source for more info. James ____________________________________________ Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openvpn-users Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2003-12/msg00045.html on line 203 Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2003-12/msg00045.html on line 203 |