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
[2560]
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
[2597x2]
Kaj: A lot of errors. One of them is #error Unknown method to access 
raw Ethernet frames
Kaj Yes it seems so.
Kaj
15-Jan-2012
[2599]
I think raw sockets aren't implemented yet in the network stack, 
but some work may have been done on it
Evgeniy Philippov
15-Jan-2012
[2600]
I am currently not a specialist in TCP IP/ethernet internals...
Kaj
15-Jan-2012
[2601x2]
Me neither :-/
Someone was rewriting the network stack and implementing IPv6, but 
he never published what he had. It's very frustrating
Evgeniy Philippov
21-Jan-2012
[2603x7]
/me reading au techworld article
Very true: "[A] problem with it is that none of these competing [applications 
and non-integrated subsystems] choices have even matched the quality 
of the integrated systems that we admire."
This matches my large-scale expectations for a desktop environment 
of the future: deep integration at all aspects.
I have never touched Amiga OS though---never saw it.
But REBOL is outstanding.
I'll try to install Sy on a virtualbox...
Reported on a forum.