Activar disposito tun0 en centos

Larry Letelier N. barbudone en gmail.com
Vie Ene 11 12:37:06 CLST 2008


2008/1/11, Eagle <eagletux en gmail.com>:
>
> al hacer esto ...
>
> [root@]# ifup tun0
> /sbin/ifup: configuration for tun0 not found.
> Usage: ifup <device name>
>
> en /var/log/message no muestra nada ... y en dmesg ... arroja esto
>
> divert: not allocating divert_blk for non-ethernet device tun0
> divert: no divert_blk to free, tun0 not ethernet
>
>
>
> 2008/1/11, Larry Letelier N. <barbudone en gmail.com>:
> >
> > 2008/1/11, Eagle <eagletux en gmail.com>:
> > >
> > > sip ... y no sucede nada ... no se levanta el dispositivo.
> > >
> > > 2008/1/11, Larry Letelier N. <barbudone en gmail.com>:
> > > >
> > > > El día 11/01/08, Eagle <eagletux en gmail.com> escribió:
> > > > >
> > > > > Estimados!
> > > > >
> > > > > necesito activar una interfaz tun0 para asociarla a un cliente vpn
> > > > (vpnc)
> > > > > ... todo esto en centos.
> > > > >
> > > > > Al hacer un modprobe esto es lo que me arroja ..
> > > > >
> > > > > [root@]# modprobe -l |grep tun
> > > > > /lib/modules/2.6.9-67.ELsmp/kernel/sound/i2c/other/snd-
> > > tea575x-tuner.ko
> > > > > /lib/modules/2.6.9-67.ELsmp/kernel/drivers/media/video/tuner.ko
> > > > > /lib/modules/2.6.9-67.ELsmp/kernel/drivers/net/tun.ko
> > > > > /lib/modules/2.6.9-67.ELsmp/kernel/net/ipv4/xfrm4_tunnel.ko
> > > > > /lib/modules/2.6.9-67.ELsmp/kernel/net/ipv6/xfrm6_tunnel.ko
> > > > > /lib/modules/2.6.9-67.ELsmp/kernel/net/ipv6/ip6_tunnel.ko
> > > > >
> > > > > y al lsmod
> > > > >
> > > > > [root@]# lsmod
> > > > > Module                  Size  Used by
> > > > > tun                    13249  0
> > > > >
> > > > > por lo que el modulo ya estaria cargado en el kernel ...
> > > > > pero ahora como creo la interfaz tun0?
> > > > >
> > > > >
> > > > > version de vpnc es la vpnc-0.3.3-1.2.el4.rf.i386
> > > > >
> > > > >
> > > > > si necesitan mas datos me consultan ... eso ... saludos!
> > > > >
> > > > >
> > > > > --
> > > > > Piensa por ti mismo, cuestiona la autoridad
> > > > >
> > > >
> > > >
> > > >
> > > > probaste ejecutando
> > > >
> > > > ifup tun0
> > > >
> > > > : B
> > > >
> > >
> > >
> > >
> > > --
> > > Piensa por ti mismo, cuestiona la autoridad
> > >
> >
> >
> > Que dicen los logs ?
> >
>
>
>
> --
> Piensa por ti mismo, cuestiona la autoridad
>


bien, ya tenemos algo...

yo nunca he configurado VPN ;)
pero lo que yo haria es
http://www.google.cl/search?q=divert%3A+not+allocating+divert_blk+for+non-ethernet+device+tun0&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:es-ES:official&client=firefox-a


Más información sobre la lista de distribución Linux