chmod 666 /dev/net/tun

Discussions related to using VirtualBox on Linux hosts.
Post Reply
rgb96
Posts: 4
Joined: 19. Feb 2009, 16:59

chmod 666 /dev/net/tun

Post by rgb96 »

Every time I try to start my VirtualMachine I get an error that says I don't have the right permissions and I need to do a "chmod 666 /dev/net/tun".

I do this everytime and it works, but it's just annoying. Why won't it stick and how do I add myself to that group or whatever?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

Which VB version? Since 2.1.0, you don't need the TAP interfaces anymore. For earlier versions, you have to be a member of the vboxusers group (needed anyway) to access the VB virtual interfaces.
If you use UML-Utilities to create TAP interfaces with tunctl, see their documentation.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
rgb96
Posts: 4
Joined: 19. Feb 2009, 16:59

Post by rgb96 »

version 2.0.4

Thanks for pointing me in the right direction.
Post Reply