LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 04-19-2005, 02:49 PM   #1
mike8s2
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, 05:30 PM   #2
angrybeaver
Member
 
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 05:31 PM.
 
Old 04-19-2005, 08:01 PM   #3
mike8s2
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.
 
  


Reply


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 05:28 PM
need help: /dev/net/tun boxyou Linux - Networking 1 04-29-2005 02:11 AM
read /proc/net/dev with sscanf? Thinking Linux - General 0 03-30-2005 09:14 AM
Apache for local dev - block access from net? phlyersphan Linux - Software 1 07-05-2004 04:14 PM
tun.o shollebeck Linux - Software 6 06-25-2001 05:38 PM


All times are GMT -5. The time now is 10:08 PM.

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