LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-11-2016, 04:34 AM   #1
oake10
LQ Newbie
 
Registered: Jul 2016
Location: Romania
Distribution: Slackware
Posts: 3

Rep: Reputation: Disabled
pppoe server bug in Slackware 14.2


I have a fresh install of slackware 14.2 and I found something strange when I give the following command:

root@darkstar:~# pppoe-server -k
pppoe-server: invalid option -- 'k'

I tried everything, to install older version of ppp and rp-pppoe, I tried to recompile by hand all packages, installed other kernel, but still the same error.

More interesting:

root@darkstar:~# pppoe-server -h
Usage: pppoe-server [options]
Options:
-I if_name -- Specify interface (default eth0.)
-T timeout -- Specify inactivity timeout in seconds.
-C name -- Set access concentrator name.
-m MSS -- Clamp incoming and outgoing MSS options.
-L ip -- Set local IP address.
-l -- Increment local IP address for each session.
-R ip -- Set start address of remote IP pool.
-S name -- Advertise specified service-name.
-O fname -- Use PPPD options from specified file
(default /etc/ppp/pppoe-server-options).
-p fname -- Optain IP address pool from specified file.
-N num -- Allow 'num' concurrent sessions.
-o offset -- Assign session numbers starting at offset+1.
-f disc:sess -- Set Ethernet frame types (hex).
-s -- Use synchronous PPP mode.
-X pidfile -- Write PID and lock pidfile.
-q /path/pppd -- Specify full path to pppd.
-Q /path/pppoe -- Specify full path to pppoe.
-u -- Pass 'unit' option to pppd.
-r -- Randomize session numbers.
-d -- Debug session creation.
-x n -- Limit to 'n' sessions/MAC address.
-P -- Check pool file for correctness and exit.
-i -- Ignore PADI if no free sessions.
-h -- Print usage information.

PPPoE-Server Version 3.12, Copyright (C) 2001-2009 Roaring Penguin Software Inc.
PPPoE-Server comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under the terms of the GNU General Public License, version 2
or (at your option) any later version.
http://www.roaringpenguin.com
root@darkstar:~#

something is wrong, is missing, :

-k -- Use kernel-mode PPPoE.

Any ideas!

Last edited by oake10; 07-12-2016 at 01:29 AM.
 
Old 07-12-2016, 01:44 AM   #2
oake10
LQ Newbie
 
Registered: Jul 2016
Location: Romania
Distribution: Slackware
Posts: 3

Original Poster
Rep: Reputation: Disabled
I found a solution, I recompiled rp-pppoe-3.12 on other slackware machine with Slackware 14.0, make the package rp-pppoe-3.12-x86_64-1.txz, transfer this package on my new Slackware 14.2 machine, installed, and voila:

root@darkstar:~# pppoe-server -h
Usage: pppoe-server [options]
Options:
-I if_name -- Specify interface (default eth0.)
-T timeout -- Specify inactivity timeout in seconds.
-C name -- Set access concentrator name.
-m MSS -- Clamp incoming and outgoing MSS options.
-L ip -- Set local IP address.
-l -- Increment local IP address for each session.
-R ip -- Set start address of remote IP pool.
-S name -- Advertise specified service-name.
-O fname -- Use PPPD options from specified file
(default /etc/ppp/pppoe-server-options).
-p fname -- Optain IP address pool from specified file.
-N num -- Allow 'num' concurrent sessions.
-o offset -- Assign session numbers starting at offset+1.
-f disc:sess -- Set Ethernet frame types (hex).
-s -- Use synchronous PPP mode.
-X pidfile -- Write PID and lock pidfile.
-q /path/pppd -- Specify full path to pppd.
-Q /path/pppoe -- Specify full path to pppoe.
-k -- Use kernel-mode PPPoE.
-u -- Pass 'unit' option to pppd.
-r -- Randomize session numbers.
-d -- Debug session creation.
-x n -- Limit to 'n' sessions/MAC address.
-P -- Check pool file for correctness and exit.
-i -- Ignore PADI if no free sessions.
-h -- Print usage information.

PPPoE-Server Version 3.12, Copyright (C) 2001-2009 Roaring Penguin Software Inc.
PPPoE-Server comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under the terms of the GNU General Public License, version 2
or (at your option) any later version.
http://www.roaringpenguin.com
root@darkstar:~#


There is something wrong with the compiler in slackware 14.2 ?
Something is missing?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Best bug tracker for Slackware 13.1 server? Gavin Harper Slackware 2 02-01-2011 09:25 AM
Missing /var/run/pppoe.conf-pppoe.pid.pppoe file acraig Debian 2 11-02-2010 07:24 PM
PPPoE server, FreeRADIUS, PPPoE plus oxid Linux - Server 1 02-19-2010 02:51 AM
rp-pppoe as PPPOE server with RADIUS hostmaster Linux - Networking 4 09-25-2009 02:59 AM
pppoe & pppoe-server warning (solved) ggalvan Slackware 0 02-04-2006 05:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration