[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] tun on a small Linux-System


  • Subject: Re: [Openvpn-users] tun on a small Linux-System
  • From: Markus Wenke <M.Wenke@xxxxxx>
  • Date: Sat, 06 Dec 2003 09:32:44 +0100

Jeremy Apple wrote:

On Dec 5, 2003, at 5:27 PM, Markus Wenke wrote:

    Hi,

    I try to get openVPN on a small Linux-System (2.4.22)
    I compiled the tun-module and openvpn, and "insmod tun" worked fine.
    But if I try so set up the net-Device with ifconfig, ifconfig
    can't find the device:
    SIOCSIFADDR: No such device
    SIOCSIFNETMASK: No such device
    SIOCSIFMTU: No such device
    SIOCGIFFLAGS: No such device

    The Linux-System have no modules.conf, so how can I say ifconfig
    that it must use the tun module for the net-Device?


Thanks in advance

    Markus


Does the tun device exist in the /dev directory? It should either be in the root of /dev or /dev/net. If it does not exist, try the command below.


make device node: mknod /dev/net/tun c 10 200

Jeremy


I create it and it did not work.
I use this ifconig-command:
ifconfig tap 172.16.4.10 netmask 255.255.255.0 mtu 1300 up

it also failed if I use tap0, tun0 or tun


I created a new modules.conf: ------- alias char-major-10-200 tun alias tap0 tun --------

and now, If i do the ifconfig-command "ifconfig tap0 172.16.4.10 netmask 255.255.255.0 mtu 1300 up"
Linux loads automaticly the module tun, but the same error appears!



Markus




____________________________________________ 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/msg00033.html on line 209

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/msg00033.html on line 209