Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[PROBLEM] no TUN device
Thank you for your donation

Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Problem: no TUN device
9th Mar, 2016, 10:28 AM
Post: #10
mborkp Offline
Registered
Posts: 14
Joined: Mar 2016
Reputation: 0
RE: no TUN device
(8th Mar, 2016 10:31 PM)Nachteule Wrote:  And yes, I forgot: You have to load tun module first

Simply add tun to /etc/modules so this module will loaded automatically when system starts, so your mkdir blah and mknod blah is not needed Smile

Thanks a lot for input. I spent few days on that and still having problems.
Basically, I like to use remote vpn server (torguard) to connect to.

I don't get tun error anymore but this:

Tue Mar 8 23:51:45 2016 OPTIONS IMPORT: timers and/or timeouts modified
Tue Mar 8 23:51:45 2016 OPTIONS IMPORT: --ifconfig/up options modified
Tue Mar 8 23:51:45 2016 OPTIONS IMPORT: route options modified
Tue Mar 8 23:51:45 2016 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Tue Mar 8 23:51:45 2016 ROUTE_GATEWAY 192.168.9.254/255.255.255.0 IFACE=eth0 HWADDR=b8:27:eb:6e:42:c9
Tue Mar 8 23:51:45 2016 TUN/TAP device tun7 opened
Tue Mar 8 23:51:45 2016 TUN/TAP TX queue length set to 100
Tue Mar 8 23:51:45 2016 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Tue Mar 8 23:51:45 2016 /sbin/ip link set dev tun7 up mtu 1500
Tue Mar 8 23:51:45 2016 /sbin/ip addr add dev tun7 local 10.9.0.10 peer 10.9.0.9
Tue Mar 8 23:51:47 2016 /sbin/ip route add 188.116.37.186/32 via 192.168.9.254
Tue Mar 8 23:51:47 2016 /sbin/ip route add 0.0.0.0/1 via 10.9.0.9
Tue Mar 8 23:51:47 2016 /sbin/ip route add 128.0.0.0/1 via 10.9.0.9
Tue Mar 8 23:51:47 2016 /sbin/ip route add 10.9.0.1/32 via 10.9.0.9
RTNETLINK answers: File exists
Tue Mar 8 23:51:47 2016 ERROR: Linux route add command failed: external program exited with error status: 2

my route command gives me this:

Destination Gateway Genmask Flags Metric Ref Use Iface
default 10.9.0.9 128.0.0.0 UG 0 0 0 tun7
default home 0.0.0.0 UG 0 0 0 eth0
10.9.0.1 10.9.0.5 255.255.255.255 UGH 0 0 0 tun0
10.9.0.5 * 255.255.255.255 UH 0 0 0 tun0
10.9.0.5 * 255.255.255.255 UH 0 0 0 tun3
10.9.0.9 * 255.255.255.255 UH 0 0 0 tun7
10.9.0.9 * 255.255.255.255 UH 0 0 0 tun6
10.9.0.25 * 255.255.255.255 UH 0 0 0 tun4
10.9.0.37 * 255.255.255.255 UH 0 0 0 tun2
10.9.0.45 * 255.255.255.255 UH 0 0 0 tun1
10.9.0.69 * 255.255.255.255 UH 0 0 0 tun5
104.129.28.210 home 255.255.255.255 UGH 0 0 0 eth0
104.223.94.122 home 255.255.255.255 UGH 0 0 0 eth0
128.0.0.0 10.9.0.9 128.0.0.0 UG 0 0 0 tun7
168.1.24.89 home 255.255.255.255 UGH 0 0 0 eth0
168.1.99.232 home 255.255.255.255 UGH 0 0 0 eth0
185.2.137.220 home 255.255.255.255 UGH 0 0 0 eth0
188.116.37.186 home 255.255.255.255 UGH 0 0 0 eth0
192.168.9.0 * 255.255.255.0 U 0 0 0 eth0
209.95.51.102 home 255.255.255.255 UGH 0 0 0 eth0

Don't know, did lot's of reading updates and that what I got now.
It all started when I tried to set up Openvpn plugin http://brianhornsby.com/blog/how-to-setup-your-vpn-client

Thanks again

EDIT: did the change you suggested it loads ok but the above problem still persists.
Find all posts by this user
« Next Oldest | Next Newest »
Thread Closed 


Messages In This Thread
no TUN device - supahfly - 9th Apr, 2015, 02:36 AM
RE: no TUN device - supahfly - 9th Apr, 2015, 03:37 AM
RE: no TUN device - supahfly - 9th Apr, 2015, 04:57 PM
RE: no TUN device - supahfly - 11th Apr, 2015, 06:23 AM
RE: no TUN device - supahfly - 11th Apr, 2015, 05:20 PM
RE: no TUN device - supahfly - 11th Apr, 2015, 10:43 PM
RE: no TUN device - mborkp - 8th Mar, 2016, 03:42 PM
RE: no TUN device - Nachteule - 8th Mar, 2016, 10:11 PM
RE: no TUN device - Nachteule - 8th Mar, 2016, 10:31 PM
RE: no TUN device - mborkp - 9th Mar, 2016 10:28 AM
RE: no TUN device - Nachteule - 9th Mar, 2016, 11:10 AM
RE: no TUN device - mborkp - 9th Mar, 2016, 01:16 PM
RE: no TUN device - mborkp - 9th Mar, 2016, 02:55 PM
RE: no TUN device - Nachteule - 10th Mar, 2016, 12:06 AM
RE: no TUN device - mborkp - 10th Mar, 2016, 08:27 AM
RE: no TUN device - Nachteule - 10th Mar, 2016, 12:31 PM
RE: no TUN device - mborkp - 10th Mar, 2016, 03:55 PM
RE: no TUN device - supahfly - 24th Jun, 2016, 07:10 PM
RE: no TUN device - ric372 - 9th Aug, 2018, 08:05 AM
RE: no TUN device - Nachteule - 9th Aug, 2018, 08:42 PM
RE: no TUN device - Nachteule - 10th Aug, 2018, 05:17 AM
RE: no TUN device - Nachteule - 3rd Sep, 2018, 02:15 AM
RE: no TUN device - pripankaj - 27th Sep, 2018, 06:52 PM
RE: no TUN device - williamken56 - 15th Apr, 2021, 07:00 PM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 28th Mar, 2023, 05:44 AM Powered By MyBB, © 2002-2023 MyBB Group.