[PROBLEM] Trouble with PPTP or L2TP VPN connection - Printable Version +- Forum (http://forum.xbian.org) +-- Forum: Software (/forum-6.html) +--- Forum: Configuration (/forum-17.html) +--- Thread: [PROBLEM] Trouble with PPTP or L2TP VPN connection (/thread-1416.html) |
Trouble with PPTP or L2TP VPN connection - kraleksandr - 28th Sep, 2013 08:06 PM When I trying to set up pptp-VPN (pptp-linux) or l2tp-VPN (xl2tpd), my wireless network (usb-wifi) becomes offline. Is there any reason for that? If I use wired connection, l2tp connects successfully and network works. Code: xbian@xbian ~ $ sudo ifconfig Code: xbian@xbian ~ $ sudo cat /etc/network/interfaces Code: [global] Code: xbian@xbian ~ $ sudo cat /etc/ppp/options.xl2tpd RE: Trouble with PPTP or L2TP VPN connection - mk01 - 30th Sep, 2013 01:10 PM @kraleksandr i'm not really sure "hotplug and manual" is working combo or something the core debian scripts would expect to be. what I should imagine from this is that you want to provide WIFI as interface for incoming vpn tunnels ? if you plan to run wifi as wlan0 with no address at all still you need to do UP / DOWN in interface. below wlan manual put " pre-up ifconfig $IFACE up post-down ifconfig $IFACE down" if eth0 is used, put it also under auto stanza like "auto lo" is. in Wheezy with sysvinit it was due to some bugs allowed and working, with convert to upstart - or Beta2 later, it won't work as it is not correct and eth0 will be skipped during boot (configured lates with started networking). try with the pre-up down whether it helps. RE: Trouble with PPTP or L2TP VPN connection - kraleksandr - 1st Oct, 2013 02:14 AM I forgot about this topic, sorry. Now everything works, after changing /etc/network/interfaces to Code: auto lo RE: Trouble with PPTP or L2TP VPN connection - mk01 - 1st Oct, 2013 02:47 AM haven't seen it earlier. Thanks for feedback. |