Tun - no such device ??? - Networking

This is a discussion on Tun - no such device ??? - Networking ; Hi all I have problem with starting vpnc - package to vpn connection to Cisco router over vpn. I have installed vpnc in latest version - 0.4.0. Tun is as module in kernel. Kernel 2.6.9-42.0.10.ELsmp na x86_64 [root@station ~]# modprobe ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Tun - no such device ???

  1. Tun - no such device ???


    Hi all
    I have problem with starting vpnc - package to vpn connection to Cisco
    router over vpn.

    I have installed vpnc in latest version - 0.4.0.

    Tun is as module in kernel.

    Kernel 2.6.9-42.0.10.ELsmp na x86_64

    [root@station ~]# modprobe -l | grep tun
    /lib/modules/2.6.9-42.0.10.ELsmp/kernel/net/ipv6/ip6_tunnel.ko
    /lib/modules/2.6.9-42.0.10.ELsmp/kernel/net/ipv6/xfrm6_tunnel.ko
    /lib/modules/2.6.9-42.0.10.ELsmp/kernel/net/ipv4/xfrm4_tunnel.ko
    /lib/modules/2.6.9-42.0.10.ELsmp/kernel/sound/i2c/other/snd-tea575x-tuner.ko
    /lib/modules/2.6.9-42.0.10.ELsmp/kernel/drivers/net/tun.ko

    vpnc is starting ok
    (VPNC started in background (pid: 8584)...)

    but i haven't any interface tun

    [root@station ~]# ifconfig tun0
    tun0: error fetching interface information: Device not found

    Device tun is ok

    [root@station net]# ls -la /dev/net
    crw-r--r-- 1 root root 10, 200 Apr 25 22:46 tun

    Apr 26 08:03:57 station default.hotplug[8613]: arguments (net) env (OLDPWD=/
    DEVPATH=/class/net/tun0 ACTION=remove PWD=/etc/hotplug DEVNAME=tun0 SHLVL=1
    INTERFACE=tun0 DEBUG=yes SEQNUM=607 _=/bin/env)
    Apr 26 08:03:57 station default.hotplug[8613]: invoke /etc/hotplug/net.agent
    ()
    Apr 26 08:03:57 station net.agent[8613]: assuming tun0 is already down
    Apr 26 08:04:07 station hal.hotplug[8611]: timout(10000 ms) waiting for
    /class/net/tun0
    Apr 26 08:04:07 station default.hotplug[8627]: arguments (net) env (OLDPWD=/
    DEVPATH=/class/net/tun0 PATH=/bin:/sbin:/usr/sbin:/usr/bin ACTION=add
    PWD=/etc/hotplug HOME=/ SHLVL=2 INTERFACE=tun0 DEBUG=yes SEQNUM=606
    _=/bin/env)
    Apr 26 08:04:07 station default.hotplug[8627]: invoke /etc/hotplug/net.agent
    ()
    Apr 26 08:04:07 station net.agent[8627]: assuming tun0 is already up

    [root@station ~]# rpm -q hotplug
    hotplug-2004_04_01-7.7
    [root@station ~]# rpm -q udev
    udev-039-10.15.EL4

    I think is problem when hotplug is starting tun, but I don't know how that
    correct.
    Is any problem with this kernel version maybe?

    Please help...

    Adam





  2. Re: Tun - no such device ???

    On 2007-04-27, Pegaz74 wrote:
    > Hi all
    > [cut]
    > Please help...

    Why are you multiposting?! Go back to a.p.c.o.l.n and read my answer!

    --
    Damian Szuberski

+ Reply to Thread