ansluta med L2TP oxå vanlig vpn anslutning=problem

Här behandlar vi program för Internet och kommunikation; webbläsare, chatt-program, filöverföring osv.
Användarvisningsbild
lasseroth
Inlägg: 1582
Blev medlem: 14 maj 2007, 19:37
OS: Ubuntu
Ort: frankrike

ansluta med L2TP oxå vanlig vpn anslutning=problem

Inlägg av lasseroth »

Eter uppgradering fungerar inte vanlig vpn anslutning (cannot connect)
inte heller L2TP
viktigast är dock att få den nanliga vpn att fungera
jag följer denna guide
Gömt innehåll: Visa!
Set up L2TP VPN on Ubuntu

Run the Terminal application.
Add the L2TP/IPSec application repository. Run:
$ sudo apt-add-repository ppa:werner-jaeger/ppa-werner-vpn
Update the repositories and install the l2tp-ipsec-vpn application:
$ sudo apt-get update
$ sudo apt-get install l2tp-ipsec-vpn
Select "No" if the program asks to install the certificate
Click on "Dash home", run the "L2TP Ipsec VPN Applet".
This will create an icon on your top panel with two computers. Click on that icon and choose "Edit Connections...".
Provide your Ubuntu user password and click "OK".
The "VPN Connections" window will appear. Click the "Add..." button.
Enter the desired "Connection name" (SeSvenskTV) and click "OK". (Please make sure you enter the Connection name exactly like this, with the same capitalization, or a later step in this instruction will fail!)
The connection is now created.
Select it and click "Edit...".
Select the "IPsec" tab. Enter the "Remote Server" address and the "pre-shared key for authentication".
Remote Server is your Server Address, and pre-shared key.
(See your welcome message for Server Address and Pre-Shared key)
Now choose the "PPP" tab.
Select "Allow these protocols", enter your "User name" and "Password".
(See your welcome message for User Name and Password)
Click the "IP Settings" button, and check the checkbox "Obtain DNS Server addresses automatically" and cClick "OK".
Click "OK" again
Click "Close".
Go back to, or re-start, the Terminal application.
Edit the config file for the connection, run:
$ sudo nano /etc/ppp/SeSvenskTV.options.xl2tpd
(Note! The first part of the file name after /etc/ppp/ is the Connection name you entered in step 8 above. If you entered something else than "SeSvenskTV" you must replace that part of the file name with the data you actually entered!)
Give your Ubuntu password when asked.
In the file, find the line:
plugin passprompt.so
and comment it out by adding a hash character in front, making it:
#plugin passprompt.so
Do the same, add hash character in the beginning of the lines beginning with:
promptprog
remotename
Find the line:
name "yourusername"
(where "yourusername" is your actual username for our system)
After this line, add the line:
password yourpassword
(where yourpassword is the actual password for our system)
Press Ctrl-X and choose to save the file.
Now click on the L2TP applet icon in your top panel once more and click on your connection in a dropdown list (SeSvenskTV in this case).
The information window will show up and notify you when the VPN is connected. Please also notice the absence of red cross on L2TP applet icon.
Done. You are connected.


Connecting L2TP VPN on Ubuntu

Click on the L2TP Ipsec VPN Applet icon on your desktop bar Notification Area. Select "SeSvenskTV".
Once VPN is connected, you'll see a message and red cross on the L2TP icon should disappear.


Disconnecting L2TP VPN on Ubuntu

Click on the L2TP Ipsec VPN Applet icon on your desktop bar Notification Area. Select "Disconnect".
Once VPN is disconnected, you'll see a message and red cross on the L2TP icon should appear.
ansluter och får detta felmeddelande
Gömt innehåll: Visa!
Sep 02 15:12:44.561 ipsec_setup: Stopping Openswan IPsec...
Sep 02 15:12:46.333 xl2tpd[5735]: death_handler: Fatal signal 15 received
Sep 02 15:12:46.333 Stopping xl2tpd: xl2tpd.
Sep 02 15:12:46.356 ipsec_setup: Starting Openswan IPsec U2.6.38/K3.13.0-35-generic...
Sep 02 15:12:46.641 ipsec__plutorun: Starting Pluto subsystem...
Sep 02 15:12:46.646 ipsec__plutorun: adjusting ipsec.d to /etc/ipsec.d
Sep 02 15:12:46.650 recvref[30]: Protocol not available
Sep 02 15:12:46.651 xl2tpd[6489]: This binary does not support kernel L2TP.
Sep 02 15:12:46.651 xl2tpd[6494]: xl2tpd version xl2tpd-1.3.6 started on lasse PID:6494
Sep 02 15:12:46.652 xl2tpd[6494]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
Sep 02 15:12:46.652 xl2tpd[6494]: Forked by Scott Balmos and David Stipp, (C) 2001
Sep 02 15:12:46.653 xl2tpd[6494]: Inherited by Jeff McAdams, (C) 2002
Sep 02 15:12:46.653 xl2tpd[6494]: Forked again by Xelerance (www.xelerance.com) (C) 2006
Sep 02 15:12:46.653 xl2tpd[6494]: Listening on IP address 0.0.0.0, port 1701
Sep 02 15:12:46.654 Starting xl2tpd: xl2tpd.
Sep 02 15:12:47.056 ipsec__plutorun: 002 added connection description "SeSvenskTV"
Sep 02 15:12:47.386 104 "SeSvenskTV" #1: STATE_MAIN_I1: initiate
Sep 02 15:12:47.387 003 "SeSvenskTV" #1: received Vendor ID payload [RFC 3947] method set to=115
Sep 02 15:12:47.387 003 "SeSvenskTV" #1: received Vendor ID payload [Dead Peer Detection]
Sep 02 15:12:47.387 106 "SeSvenskTV" #1: STATE_MAIN_I2: sent MI2, expecting MR2
Sep 02 15:12:47.387 003 "SeSvenskTV" #1: NAT-Traversal: Result using draft-ietf-ipsec-nat-t-ike (MacOS X): i am NATed
Sep 02 15:12:47.388 108 "SeSvenskTV" #1: STATE_MAIN_I3: sent MI3, expecting MR3
Sep 02 15:12:47.388 004 "SeSvenskTV" #1: STATE_MAIN_I4: ISAKMP SA established {auth=OAKLEY_PRESHARED_KEY cipher=aes_128 prf=oakley_sha group=modp1024}
Sep 02 15:12:47.388 117 "SeSvenskTV" #2: STATE_QUICK_I1: initiate
Sep 02 15:12:47.388 003 "SeSvenskTV" #2: NAT-Traversal: received 2 NAT-OA. ignored because peer is not NATed
Sep 02 15:12:47.389 004 "SeSvenskTV" #2: STATE_QUICK_I2: sent QI2, IPsec SA established transport mode {ESP=>0x02164d0c <0xf12d6024 xfrm=AES_128-HMAC_SHA1 NATOA=none NATD=none DPD=none}
Sep 02 15:12:48.394 xl2tpd[6494]: Connecting to host se.sstv.se, port 1701
Sep 02 15:12:48.465 xl2tpd[6494]: Connection established to 46.246.68.2, 1701. Local: 45682, Remote: 23968 (ref=0/0).
Sep 02 15:12:48.466 xl2tpd[6494]: Calling on tunnel 45682
Sep 02 15:12:48.538 xl2tpd[6494]: Call established with 46.246.68.2, Local: 9323, Remote: 54336, Serial: 1 (ref=0/0)
Sep 02 15:12:48.539 xl2tpd[6494]: start_pppd: I'm running:
Sep 02 15:12:48.539 xl2tpd[6494]: "/usr/sbin/pppd"
Sep 02 15:12:48.539 xl2tpd[6494]: "passive"
Sep 02 15:12:48.539 xl2tpd[6494]: "nodetach"
Sep 02 15:12:48.540 xl2tpd[6494]: ":"
Sep 02 15:12:48.540 xl2tpd[6494]: "file"
Sep 02 15:12:48.540 xl2tpd[6494]: "/etc/ppp/SeSvenskTV.options.xl2tpd"
Sep 02 15:12:48.541 xl2tpd[6494]: "/dev/pts/1"
Sep 02 15:12:48.541 xl2tpd[6549]: start_pppd: Exec of /usr/sbin/pppd failed!
Sep 02 15:12:48.541 xl2tpd[6494]: child_handler : pppd exited for call 54336 with code 1
Sep 02 15:12:48.542 xl2tpd[6494]: call_close: Call 9323 to 46.246.68.2 disconnected
Sep 02 15:12:48.609 xl2tpd[6494]: Terminating pppd: sending TERM signal to pid 6549
Sep 02 15:12:48.611 xl2tpd[6494]: get_call: can't find call 9323 in tunnel 45682#012 (ref=0/0)
Sep 02 15:13:48.537 xl2tpd[6494]: check_control: Received out of order control packet on tunnel 23968 (got 2, expected 3)
Sep 02 15:13:48.538 xl2tpd[6494]: handle_packet: bad control packet!
kanske jag gör något fel på vägen

Återgå till "Internet"