Hii Guys,
I’m trying to connect my OSMC to my home network trough PPTP.
Yes I know, openVPN is more secure blablabla.
This is my /etc/ppp/ip-up.d/vpn-up file
#!/bin/bash
H=`ps aux | grep 'pppd pty' | grep -v grep | awk '{print $14}'`
DG=`route -n | grep UG | awk '{print $2}'`
DEV=`route -n | grep UG | awk '{print $8}'`
route add -host $H gw $DG dev $DEV
route del default $DEV
route add default dev ppp0
and when I run sudo pppd pty "pptp IP_FOR_SERVER --nolaunchpppd" file /etc/ppp/options.pptp user USERNAME password PASSWORD
It showsup nothing in the console, but when I look in /var/log/ppp-connect-errors it says: sh: 1: /bin/ip: not found
how can I fix this??
I’m not a linux guru so if you give a command I should try, explain what it does please
Well searching for PPTP on this forum will bring you a couple of threads that should give you some input. Nevertheless AFAIK there is still a potential conflict with connman. https://discourse.osmc.tv/search?q=pptp