(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
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.