It is currently Sun Aug 25, 2019 10:52 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Installation
PostPosted: Fri Oct 01, 2010 1:37 pm 

Joined: Fri Oct 01, 2010 1:28 pm
Posts: 9
Hi,

Brand new to the software. I'm having an issue upon trying to install it.

I'm running a 2.6.27 kernel with Ubuntu 8.10 (Intrepid Ibex), vintage October, 2008.

Below is the error I'm receiving from the install. In the second line, the reference to 'replace' is due to my trying the install a second time. It seems that the l2tp server is installed. I can execute /etc/init.d/openl2tp start/stop/restart. And no errors appear. So, maybe it's an innocuous error?
Code:
(Reading database ... 154059 files and directories currently installed.)
Preparing to replace openl2tp 1.7-1 (using .../openl2tp_1.7-1_i386.deb) ...
* Stopping openl2tpd...                                                 [ OK ]
* Unloading L2TP kernel modules...                                      [ OK ]
Unpacking replacement openl2tp ...
Setting up openl2tp (1.7-1) ...
* Loading L2TP kernel modules...                                               invoke-rc.d: initscript openl2tp, action "start" failed.
dpkg: error processing openl2tp (--install):
subprocess post-installation script returned error exit status 1
Processing triggers for man-db ...

But, when I try to verify that all is working as below, I end with an error. Any ideas?

Code:
mike@mike-laptop:~$ sudo /etc/init.d/openl2tp stop
* Stopping openl2tpd...                                                                                                                             [ OK ]
* Unloading L2TP kernel modules...                                                                                                                  [ OK ]
mike@mike-laptop:~$ sudo /usr/sbin/openl2tpd
mike@mike-laptop:~$ sudo /usr/bin/l2tpconfig
l2tp> system show version
OpenL2TP V1.7, built Mar 19 2010 [14:17:46],
   (c) Copyright 2004-2010 Katalix Systems Ltd.
  Features: LAC LNS CONF
l2tp> tunnel create tunnel_name=one dest_ipaddr=127.0.0.1
Created tunnel 65533
l2tp> tunnel list
   TunId             Peer            Local  PeerTId ConfigId            State
*  46788        127.0.0.1        127.0.0.1    65533        2      ESTABLISHED
   65533        127.0.0.1        127.0.0.1    46788        1      ESTABLISHED
l2tp> ppp profile create profile_name=one local_ipaddr=10.3.1.1 remote_ipaddr=10.3.1.2
Created ppp profile one
l2tp> ppp profile modify profile_name=default auth_none=yes
Modified ppp profile default
l2tp> session create tunnel_name=one session_name=one ppp_profile_name=one
Created session 22820 on tunnel one
l2tp> session list tunnel_name=one
l2tp> session show tunnel_name=one session_name=one
Operation failed: Session not found
Error at or near 'show'
l2tp>


Top
 Profile  
 
 Post subject: Re: Installation
PostPosted: Fri Oct 01, 2010 3:36 pm 

Joined: Fri Oct 01, 2010 1:28 pm
Posts: 9
OK... looks like my kernel does not have L2TP support. Found this out when I tried to build the OpenL2TP source.

Mike


Top
 Profile  
 
 Post subject: Re: Installation
PostPosted: Fri Oct 01, 2010 8:22 pm 

Joined: Fri Oct 01, 2010 1:28 pm
Posts: 9
Sorry to take up your time. I believe I got it working. My mistake.

I had not loaded the kernel module, or rather I had but when I cycled the /etc/init.d/l2tp, it had removed the module. So, I believe I have the install completed, as I can now as I get the following output as the last step in the l2tpconfig session:


Code:
l2tp> session show tunnel_name=one session_name=one
Session 42283 on tunnel 53828:-
  type: LAC Incoming Call, state: ESTABLISHED
  created at:  Oct  1 15:16:53 2010
  administrative name: one
  created by admin: YES, peer session id: 27922
  ppp interface name: ppp1
  ppp profile name: one
  data sequencing required: OFF
  use data sequence numbers: OFF
  trace flags: NONE
  framing types: SYNC ASYNC
  bearer types: DIGITAL ANALOG
  call serial number: 1
  connect speed: 1000000
  use ppp proxy: NO

  Peer configuration data:-
    data sequencing required: OFF
    framing types:
    bearer types:
    call serial number: 1
  data rx packets: 8, rx bytes: 174, rx errors: 1
  data tx packets: 7, tx bytes: 204, tx errors: 0


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group