Help!

vpnc (tun) and hotplug - problems

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Installation RSS
Next:  redhat  
Author Message
Pegaz74
External


Since: Apr 27, 2007
Posts: 3



PostPosted: Thu Apr 26, 2007 9:08 am    Post subject: vpnc (tun) and hotplug - problems
Archived from groups: linux>redhat>install (more info?)

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
Back to top
Pegaz74
External


Since: Apr 27, 2007
Posts: 3



PostPosted: Fri Apr 27, 2007 3:21 pm    Post subject: Re: vpnc (tun) and hotplug - problems [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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

Regards
Adam

Użytkownik "Pegaz74" <pegaz74.RemoveThis@poczta.onet.pl> napisał w wiadomości
news:f0pje7$c2t$1@nemesis.news.tpi.pl...
> 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
>
>
>
>
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Installation All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum