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

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
Kaj
15-Jan-2012
[2568]
ppp_if is the kernel interface. It should be a virtual network interface. 
Could you check that it's installed in /system/drivers/net/if/ ?
Evgeniy Philippov
15-Jan-2012
[2569x2]
I will reboot and try. AFAIU it's installed.
There.
Kaj
15-Jan-2012
[2571]
If you didn't reboot yet, it's likely that the kernel module hasn't 
been loaded
Evgeniy Philippov
15-Jan-2012
[2572x2]
I rebooted.
I'm not at Syllable as I cannot set up internet there.
Kaj
15-Jan-2012
[2574]
Everything else is fully automatic. You shouldn't do anything with 
ppp_if
Evgeniy Philippov
15-Jan-2012
[2575]
I am away rebooting.
Kaj
15-Jan-2012
[2576x6]
Hm, the LFS example also uses RP. It's possible you can simply compile 
that on Syllable, but I never heard anyone did that
Ah, there seems to be an rp-pppoe.so plugin that emulates RP:
http://wiki.linuxfromscratch.org/blfs/wiki/PPP
Maybe it isn't in the Syllable package because that needs the Linux 
kernel module and it isn't ported
In that case, ppp_if is just the virtual network interface for PPP
And the next step would be to try to compile RP
Evgeniy Philippov
15-Jan-2012
[2582x4]
rp-pppoe.so plugin does not emulates RP. rp-pppoe.so plugin is *by* 
RP.
Yes...
From the RP site I mentioned: http://www.roaringpenguin.com/files/download/rp-pppoe-3.10.tar.gz
	GPG Signature: http://www.roaringpenguin.com/files/download/rp-pppoe-3.10.tar.gz.sig
Trying to compile.
Kaj
15-Jan-2012
[2586]
# The plugin comes from the "ppp" package
# there's no need to install rp-pppoe
plugin rp-pppoe.so
# Replace "eth0" with your network interface name
eth0
Evgeniy Philippov
15-Jan-2012
[2587x3]
It is bundled with ppp package.
That .so file.
/me reboots
Kaj
15-Jan-2012
[2590]
I vaguely remember two PPPoE implementations, and it seems you can 
choose between user space RP and a Linux kernel module, where pppd 
seems to have an emulation for the RP library using the kernel module
Evgeniy Philippov
15-Jan-2012
[2591]
I don't know about Linux kernel module.
Kaj
15-Jan-2012
[2592x2]
PPP support (CONFIG_PPP), the asynchronous line discipline (CONFIG_PPP_ASYNC), 
the driver for your serial port device and/or the PPP over Ethernet 
(PPPoE) protocol driver (CONGIG_PPPOE) must be compiled into the 
kernel or loaded as kernel modules. Udev doesn't load the ppp_generic 
and pppoe modules automatically. If you compiled them as modules 
they can be loaded by the modules bootscript if they are mentioned 
in /etc/sysconfig/modules file.
I'll be away for a short time to check if we have any notes in our 
Syllable AltME space
Evgeniy Philippov
15-Jan-2012
[2594]
Failed to compile rp-pppoe.
Kaj
15-Jan-2012
[2595x2]
What error?
We've always thought we had this PPPoE implementation, and there 
were supposed to be configuration instructions floating around, but 
I can find nothing but confusion about them. I'm starting to wonder 
if we ever had PPPoE. It seems more likely this is just a PPP virtual 
network module, without source
Evgeniy Philippov
15-Jan-2012
[2597]
Kaj: A lot of errors. One of them is #error Unknown method to access 
raw Ethernet frames