LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 01-23-2004, 07:22 AM   #1
palanisaravanan
Member
 
Registered: Oct 2003
Location: India
Distribution: Debian
Posts: 95

Rep: Reputation: 15
Cool TUN device error


I tried to setup a UML in my PC.When i tried to setup the networking in my host machone i tried to create a tun/tap interface usning tunctl -u username.it gave a error message "Opening tun devices:no uch file or directory.Afer that i created a char dev file usinf mknod /dev/net/tun c 200 10.This time when i give tunctl -u username.,it says Opening tun device:No such device.
where it is going wrong?.
 
Old 11-24-2004, 12:17 AM   #2
eradman
LQ Newbie
 
Registered: Nov 2004
Distribution: Gentoo
Posts: 1

Rep: Reputation: 0
TUN device error

You have the device numbers switched. It should be:

Code:
mknod /dev/net/tun c 10 200
In order to use you're device you'll probably have to change permissions to -rw-rw---

Code:
chmod 660 /dev/net/tun
 
  


Reply



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
how to allow tun/tap device in firewall? efm Linux - Networking 12 07-22-2005 04:47 AM
Unable to open tun device after kernel upgrade. EOHooligan Linux - Software 4 02-06-2005 09:31 AM
Getting FD for an existing tun device alanwolfen Programming 1 10-18-2004 11:39 AM
Universal tun/tap device driver support giddyupman Linux - Networking 4 05-14-2004 10:04 AM
tun.o shollebeck Linux - Software 6 06-25-2001 05:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:49 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration