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!