Skip to content

Commit

Permalink
Better description of how to setup the tun.
Browse files Browse the repository at this point in the history
  • Loading branch information
Caleb James DeLisle committed May 20, 2012
1 parent 8f51715 commit b744bc9
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,19 +152,6 @@ Run cjdroute without options for HELP:
0: Make sure you've got the stuff.
----------------------------------

# sudo modprobe tun

If it says nothing, good.

If it says: `FATAL: Module tun not found.` Bad.

In this case, look up how to get the tun module installed for your platform.
How to get TUN working is beyond the scope of this document, look up how to install
openvpn on your particular platform.

NOTE: TonidoPlug2 ships with a kernel which does not include TUN and does not
offer the source code to build it yourself.

# cat /dev/net/tun

If it says: `cat: /dev/net/tun: File descriptor in bad state` Good!
Expand All @@ -173,10 +160,15 @@ If it says: `cat: /dev/net/tun: No such file or directory`

Create it using:

# mkdir /dev/net ; mknod /dev/net/tun c 10 200 ; chmod 0666 /dev/net/tun
# sudo mkdir /dev/net ; sudo mknod /dev/net/tun c 10 200 && sudo chmod 0666 /dev/net/tun

Then `cat /dev/net/tun` again.

If it says: `cat: /dev/net/tun: Permission denied` You're probably using a VPS based on the OpenVZ
virtualization platform. Ask your provider to enable the TUN/TAP device, this is standard protocol
so they should know exactly what you need.


1: Generate a new configuration file.
-------------------------------------

Expand Down

0 comments on commit b744bc9

Please sign in to comment.