[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 device on 2.6?


  • Subject: Re: [Openvpn-users] tun device on 2.6?
  • From: "Renato Salles" <rsalles@xxxxxxxxxxxxxxxxxxxx>
  • Date: Wed, 3 Mar 2004 21:46:16 -0300 (BRT)
  • Importance: Normal

So, the steps to follow - if you didn't already - are:

mkdir /dev/net
mknod /dev/net/tun c 10 200
chmod 0700 /dev/net/tun

( It's really impressive the quality & amount of documentation one can
find in the kernel-sources... :)

Enjoy,

RSalles


Bradley Alexander disse:
> In my particular case, I compiled it into the kernel, rather than being a
> module.
> Hence, it should work without a modprobe. It is the same in 2.4.24, and it
> works fine.
>
> I did add mktun to the config file on that side of the tunnel, and will
> try it later, when I have a chance to reboot onto 2.6.
>
> On Wed, 3 Mar 2004 04:11:14 -0300 (BRT)
> "Renato Salles" <rsalles@xxxxxxxxxxxxxxxxxxxx> wrote:
>
>> Patrick, Bradley,
>>
>> You can check also if this device is listed in /etc/modprobe.conf (or
>> equivalent in your distro):
>> alias char-major-10-200 tun (this is necessary for 2.6.x (here also,
>> 2.6.3).
>>
>> You better switch to runlevel 1 and back, to watch if the tun device is
>> created when the tun+ interface is called. Or "modprobe tun".
>>
>> HTH,
>>
>> RSalles
>>
>>
>> Patrick Lesslie disse:
>> > On Tue, Mar 02, 2004 at 11:08:26PM -0500, Bradley Alexander wrote:
>> >> [root@neghvar net]# ifconfig tun0 up
>> >> tun0: ERROR while getting interface flags: No such device
>> >>
>> >> When I boot 2.4.24, the device works fine. Am I missing some software
>> >> that
>> >> 2.6 requires or is it broken? I searched on google for anything
>> >> regarding
>> >> this issue, but the only thing I found was a two-message thread on
>> the
>> >> kernel list saying "tun is broken on 2.6.3" and "no its not, I'm
>> using
>> >> it"
>> >> with very few details. Any suggestions?
>> >
>> > Do you know if the tun device is being created?  You can make it with
>> >
>> > openvpn --mktun --dev tun0
>> >
>> >
>> > -------------------------------------------------------
>> > SF.Net is sponsored by: Speed Start Your Linux Apps Now.
>> > Build and deploy apps & Web services for Linux with
>> > a free DVD software kit from IBM. Click Now!
>> > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
>> > _______________________________________________
>> > Openvpn-users mailing list
>> > Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
>> > https://lists.sourceforge.net/lists/listinfo/openvpn-users
>> >
>>
>>
>> --
>> "A well-written program is its own heaven; a poorly-written program is
>> its
>> own hell."
>> TAO of Programming - Book 4
>>
>>
>> -------------------------------------------------------
>> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
>> Build and deploy apps & Web services for Linux with
>> a free DVD software kit from IBM. Click Now!
>> http://ads.osdn.com/?ad_id56&alloc_id438&opÌk
>> _______________________________________________
>> Openvpn-users mailing list
>> Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
>> https://lists.sourceforge.net/lists/listinfo/openvpn-users
>
>
> --
> --Brad
> =======================================================================Bradley
> M. Alexander                |
> gTLD SysAdmin, Security Engineer    |   storm [at] tux.org
> Debian/GNU Linux Developer          |   storm [at] debian.org
> =======================================================================Key
> fingerprints:
> DSA 0x54434E65: 37F6 BCA6 621D 920C E02E  E3C8 73B2 C019 5443 4E65
> RSA 0xC3BCBA91: 3F 0E 26 C1 90 14 AD 0A  C8 9C F0 93 75 A0 01 34
> =======================================================================Assault
> is a behavior, not a device.
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
> _______________________________________________
> Openvpn-users mailing list
> Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/openvpn-users
>


-- 
"A well-written program is its own heaven; a poorly-written program is its
own hell."
TAO of Programming - Book 4

____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users