r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Syllable] The free desktop and server operating system family

Evgeniy Philippov
15-Jan-2012
[2518]
Kaj where can I see the source code for pppd?
Kaj
15-Jan-2012
[2519]
Unfortunately, we never got the source code for the port, so all 
there is is the official source code of the PPP project. That's why 
it isn't included in Syllable
Evgeniy Philippov
15-Jan-2012
[2520x2]
ok
It seems that without docs or source code, one cannot set up PPPoE 
using this ppp-beta1.zip.
Kaj
15-Jan-2012
[2522]
Other Russians have done it in the past. :-) I have no experience 
with PPPoE, but the existing material should be enough
Evgeniy Philippov
15-Jan-2012
[2523]
pppd options syntax seems to be common between many Unices, but a 
eth0 option  is port-specific issue
Kaj
15-Jan-2012
[2524]
Is it even necessary to set any options?
Evgeniy Philippov
15-Jan-2012
[2525x2]
sure. One has to fill two config files.
One file specifies misc. connection parameters, and another file 
contains username/password pairs.
Kaj
15-Jan-2012
[2527x2]
Here's generic info:
http://www.linuxfromscratch.org/blfs/view/svn/basicnet/ppp.html
Evgeniy Philippov
15-Jan-2012
[2529x4]
Ubuntu 11.04 and gNewSense 2.3 "deltah" still have drastically bad 
handling of PPPoE.
Kaj: the main command is "plugin rp-pppoe.so eth0"
and rp-pppoe must be ported.
rp-pppoe.so
 is a separate file missing from ppp-beta1.zip.
Kaj
15-Jan-2012
[2533x3]
All I know is that this is enough for PPPoE
Here's the site for pppd:
http://ppp.samba.org
Evgeniy Philippov
15-Jan-2012
[2536x2]
Kaj: Maybe those Russians ported something.
Invisibly.
Kaj
15-Jan-2012
[2538x2]
No, this was ported by our German star programmer
If you look for documentation of a version around five years old, 
it should match this version
Evgeniy Philippov
15-Jan-2012
[2540x3]
Hmm. How one could find it... Hmm hmm hmm but anyway ultimately pppd/pppoe 
should be re-ported for Syllable, with full source code.
This seems to be a query: pppd 2007 manuals
Ahh. Google has options for date range.
Kaj
15-Jan-2012
[2543]
Yes, we need many re-ports, unfortunately. We've always tried to 
centralise development as much as possible, but there's still much 
chaos in a volunteer project
Evgeniy Philippov
15-Jan-2012
[2544]
Linux docs from 2006 still mention rp-pppoe.so which is hosted at 
http://www.roaringpenguin.com/products/pppoe
Kaj
15-Jan-2012
[2545x2]
In Linux, PPPoE support is a kernel module, separate from pppd. I 
don't know if that's the Roaring Penguin implementation, possibly 
not
The Syllable package also has a kernel module. I would guess it's 
a port from the Linux module
Evgeniy Philippov
15-Jan-2012
[2547]
Ubuntu has RP. I will now check gNewSense.
Kaj
15-Jan-2012
[2548]
Did you run the installation scriptlet?
Evgeniy Philippov
15-Jan-2012
[2549x2]
Ah. I got it. I will try to specify that "ppp/if" as a substitute 
for rp-pppoe.so.
Rebooting into Sy.
Kaj
15-Jan-2012
[2551]
It's a kernel module, not a user space library
Evgeniy Philippov
15-Jan-2012
[2552]
Kaj: Of course I ran it.
Kaj
15-Jan-2012
[2553]
As far as I know, it's not RP
Evgeniy Philippov
15-Jan-2012
[2554]
ok
Kaj
15-Jan-2012
[2555x2]
Just checking :-)
I think you're hampered by knowledge. :-) Our Russion users who got 
it to work were plain users
Evgeniy Philippov
15-Jan-2012
[2557x2]
gNewSense uses rp-pppoe.so
Just checked it.
Kaj
15-Jan-2012
[2559x2]
Syllable doesn't!
Note that there's no speed option used in the LFS instructions
Evgeniy Philippov
15-Jan-2012
[2561]
Kaj: there is a way to specify speed. When you pass a natural number 
as an option to pppd, it considers it as a speed (baud rate) setting.
Kaj
15-Jan-2012
[2562]
OK, but do you need it, if LFS doesn't?
Evgeniy Philippov
15-Jan-2012
[2563x5]
Syllable pppd complained about _pty_ having a 0 baud rate setting, 
which is invalid condition and pppd exits. Therefore I added a speed 
option.
But a virtual terminal pty0 is not what we want --- we need Ethernet 
card instead of pty. And to specify an Ethernet card, LFS instructions 
use "plugin rp-pppoe.so eth0"
pty, pseudo tty (terminal enulator).
Without this "plugin" line, pppd starts to send packets right into 
pty (i.e. to the screen).
I will try specifying "if" there, nevertheless. "man pppd" AFAIR 
says it's a privileged mode library