ralphy wrote: > Okay. I've add 'fab4-openvpn-2.4.10.zip' > (https://sourceforge.net/projects/lmsclients/files/squeezeos/fab4-openvpn-2.4.10.zip/download) > which only has the openssl version of openvpn and the tun kernel > driver. > > The openvpn client on the touch is not something I'm prepared to support > going forward, so hopefully this is enough to get you going. > > Upload fab4-openvpn-2.4.10.zip and your openvpn config/cert files to the > /dev folder on the touch. > > > Code: -------------------- > > > # Extract the zip file. > cd /dev > unzip fab4-openvpn-2.4.10.zip > > # Move openvpn to /usr/sbin and make it executable > mv /dev/openvpn /usr/sbin > chmod 755 /usr/sbin/openvpn > > # Move the tunnel kernel module > mv /dev/tun.ko /lib/modules/2.6.26.8-rt16-332-g5849bfa > > # Create /etc/openvpn for your config files. > mkdir -p /etc/openvpn > > # Copy/move your openvpn config files from /dev to /etc/openvpn > > -------------------- > > > > Then in /etc/init.d/rcS.local add > > > Code: -------------------- > > > #!/bin/sh > > # Load the tunnel kernel module. > insmod /lib/modules/2.6.26.8-rt16-332-g5849bfa/tun.ko > > # Start openvpn > /usr/sbin/openvpn --config /etc/openvpn/touch.ovpn --daemon > > # Make rcS.local executable > chmod 755 /etc/init.d/rcS.local > -------------------- > > > > You can add any additional command line options you need as well. > > Be careful as you can end up blocking ssh access when openvpn starts > and the only way to get it back is to factory reset the touch. > > I'd suggest you don't automatically start openvpn in rcS.local until > you're confident that you have a working VPN connection and can still > ssh into the touch. > > Also if you need openvpn to update /etc/resolv.conf then you'll also > need to upload/create a script that parses DHCP options from openvpn > to update resolv.conf > and add something like this to your openvpn config file. > > > Code: -------------------- > > up /etc/openvpn/update-resolv-conf > down /etc/openvpn/update-resolv-conf -------------------- > >
AMAZING!!!AWESOME!!! Its working here, i can confirm by connecting touch wireless via iphone hotspot to my home network. I confirm to 48khz 24bit flac The only problem i have: even with # Start openvpn /usr/sbin/openvpn --config /etc/openvpn/touch.ovpn --daemon in rcS.local it doesnt connect. Only after manually repeating this command via ssh, i can get that connection. I will try at work tomorrow with better wifi, might be a problem of iphone hotspot. But is s there a chance to delay rcS.local or rerun after for example 30 seconds after boot? Thank you SO MUCH! The Earth Has Music For Those Who Listen ------------------------------------------------------------------------ Pommes's Profile: http://forums.slimdevices.com/member.php?userid=67682 View this thread: http://forums.slimdevices.com/showthread.php?t=114055 _______________________________________________ Squeezecenter mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/squeezecenter
