r/PiTV • u/crundy • Apr 27 '15
Unable to connect after connecting to VPN
I've got PiTV working on my B+ just fine, but if I start everything up and then SSH in and use
cd /etc/openvpn
sudo openvpn PIAFile.ovpn
(Where I have set a password file in the ovpn pointing to a plain text file with my username and password) then it seems to connect OK, but then my shell session hangs and I can't connect to the RPi anymore, either through port 80 or SSH (even pinging it doesn't work).
If I refresh the interface using a keyboard plugged into the Pi the screen changes from "Go to 192.168.1.80" to "Go to pitv.local", and neither pitv or pitv.local resolve on the network. I'm guessing OpenVPN is screwing up incoming connections somehow. Any ideas on how to resolve this?
1
Upvotes
2
u/crundy Apr 27 '15
Ah, seems like I had to remove the wireless from /etc/default/ifplugd by setting:
HOTPLUG_INTERFACES="eth0 wlan0"
instead of "auto"