Re: vpnc (tun) and hotplug - problems



Hi all
It is the bug in version 0.4.0. Solution -> downgrade to version 0.3.3.

Regards
Adam

U¿ytkownik "Pegaz74" <pegaz74@xxxxxxxxxxxxxx> napisa³ w wiadomo¶ci
news:f0pje7$c2t$1@xxxxxxxxxxxxxxxxxxxxxx
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






.