Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-19-2005, 03:49 PM   #1
LQ Newbie
Registered: Apr 2005
Posts: 2

Rep: Reputation: 0
How do I use /dev/net/tun

I am using Redhat 8 on x386 architecture and the /dev/net/tun device exists. How do I go from there to a /dev/tun0 , which, as of now, does not exist?
Old 04-19-2005, 06:30 PM   #2
Registered: Aug 2004
Location: .au
Distribution: debian, BSD
Posts: 104

Rep: Reputation: 16
2.4.x kernels and above use /dev/net/tun . Earlier kernels use /dev/tun . What are you trying to do, use OpenVPN or something similar?

The source for the Universal TUN/TAP Driver contains the appropriate mknod scripts for your kernel.

Last edited by angrybeaver; 04-19-2005 at 06:31 PM.
Old 04-19-2005, 09:01 PM   #3
LQ Newbie
Registered: Apr 2005
Posts: 2

Original Poster
Rep: Reputation: 0
/dev/tun etc.

Okay, in Redhat 9 a /dev/tun0 device exists and I use it to tunnel in from another network. I want a /dev/tun0 in RH8 so I can ifconfig it. No, it's not for VPN - I have a simulator app running under Linux in which I *have* to tunnel in.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Etch net install kernel panic no dev/console raku Debian 1 08-13-2005 06:28 PM
need help: /dev/net/tun boxyou Linux - Networking 1 04-29-2005 03:11 AM
read /proc/net/dev with sscanf? Thinking Linux - General 0 03-30-2005 10:14 AM
Apache for local dev - block access from net? phlyersphan Linux - Software 1 07-05-2004 05:14 PM
tun.o shollebeck Linux - Software 6 06-25-2001 06:38 PM

All times are GMT -5. The time now is 07:02 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration