Nie mogę skonfigurować połączenia VPN (pptp) "VPN service 'pptp' disappeared"
: 01 sty 2012, 11:23
Robiłem wg tego poradnika
viewtopic.php?f=150&t=140933
i tego
http://geekyprojects.com/ubuntu/ubuntu-vpn-connection/
oraz od dostawcy usługi VPN,
Jak to ruszyć?
tail -f /var/log/syslog
viewtopic.php?f=150&t=140933
i tego
http://geekyprojects.com/ubuntu/ubuntu-vpn-connection/
oraz od dostawcy usługi VPN,
Kod: Zaznacz cały
Start by browsing to System » Preferences » Network Connections » VPN.
If you have never setup a VPN connection before there is a good chance that all the buttons, like "Add", are grayed out. Fix this by opening a terminal and running this command:
sudo apt-get install pptp-linux network-manager-pptp
Now go back to the Network Connections window and the VPN tab inside of it; the Add button should now be clickable. Click it, select Point-to-Point Tunneling Protocol (PPTP) in the drop-down and click Create.
Type something like VPN in for Connection name. For Gateway, enter pptp.xxxxxx.com
Type in the VPN-provided password and then click Advanced.
In the Authentication section, uncheck all but MSCHAPv2.
In the Security and Compression section, check the box for Use Point-to-Point encryption (MPPE) and select 128-bit (most secure) in the drop-down below it. Then check the box for Allow stateful encryption and click OK and Apply.
If at any point during the VPN setup you see a keyring message like the one below, click Always Allow.
Restart the network manager by running this command in the terminal:
sudo /etc/init.d/network-manager restart
Now you are ready to take your new RaptorVPN connection for a test drive. Click the network icon in the taskbar and click on your new VPN connection.
A few seconds later you should be successfully connected!
tail -f /var/log/syslog
Kod: Zaznacz cały
Jan 1 11:37:08 linux NetworkManager[18954]: <info> Activation (eth0) Stage 4 of 5 (IP4 Configure Get) complete.
Jan 1 11:37:08 linux NetworkManager[18954]: <info> Activation (eth0) Stage 5 of 5 (IP Configure Commit) started...
Jan 1 11:37:08 linux avahi-daemon[1073]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.1.XX.
Jan 1 11:37:08 linux avahi-daemon[1073]: New relevant interface eth0.IPv4 for mDNS.
Jan 1 11:37:08 linux avahi-daemon[1073]: Registering new address record for 192.168.1.XX on eth0.IPv4.
Jan 1 11:37:09 linux NetworkManager[18954]: <info> (eth0): device state change: 7 -> 8 (reason 0)
Jan 1 11:37:09 linux NetworkManager[18954]: <info> Policy set 'Auto eth0' (eth0) as default for IPv4 routing and DNS.
Jan 1 11:37:09 linux NetworkManager[18954]: <info> Activation (eth0) successful, device activated.
Jan 1 11:37:09 linux NetworkManager[18954]: <info> Activation (eth0) Stage 5 of 5 (IP Configure Commit) complete.
Jan 1 11:37:10 linux ntpdate[19003]: adjust time server xxxxxxxxxxxxxx offset -0.000981 sec
Jan 1 11:37:28 linux NetworkManager[18954]: <info> VPN service 'pptp' disappeared