Problem: Trouble with PPTP or L2TP VPN connection
|
28th Sep, 2013, 08:06 PM
Post: #1
|
|||
|
|||
Trouble with PPTP or L2TP VPN connection
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 |
|||
30th Sep, 2013, 01:10 PM
Post: #2
|
|||
|
|||
RE: Trouble with PPTP or L2TP VPN connection
@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. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
1st Oct, 2013, 02:14 AM
Post: #3
|
|||
|
|||
RE: Trouble with PPTP or L2TP VPN connection
I forgot about this topic, sorry.
Now everything works, after changing /etc/network/interfaces to Code: auto lo |
|||
1st Oct, 2013, 02:47 AM
Post: #4
|
|||
|
|||
RE: Trouble with PPTP or L2TP VPN connection
haven't seen it earlier. Thanks for feedback.
Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
« Next Oldest | Next Newest »
|