so there is some crazy how to but still , i think developer improve it :
yum install rp-pppoe
. adsl-setup - first login then other could be default then password and 0 at last
execute this command
db networks set ppp0 ethernet bootproto dialup NAME DSLppp0 DEVICE ppp0 TYPE xDSL ONBOOT yes PIDFILE /var/run/pppoe-adsl.pid FIREWALL NONE PING . PPPOE_TIMEOUT 80 LCP_FAILURE 3 LCP_INTERVAL 20 CLAMPMSS 1412 CONNECT_POLL 6 CONNECT_TIMEOUT 60 DEFROUTE yes SYNCHRONOUS no ETH eth0 PROVIDER DSLppp0 USER paste your user PEERDNS yes DEMAND no role red
signal-event interface-update
edit /etc/sysconfig/network-scripts/ifcfg-ppp0 and delete TYPE=Ethernet
using capitalized names/values is wrong; names are ALWAYS lowercase or CamelCase
you should pubblish in a different way:
db networks set ppp0 ethernet
bootproto dialup
name DSLppp0
device ppp0
type xDSL
onboot yes
pidfile /var/run/pppoe-adsl.pid
firewall none …
and so on…
moreover, you can store into db any set of data you want, but keys/values are used by fragments/actions/events, so, if a key/value is not present in the code, even if it is sTored, it will ignored
@zamboni , AFAIK ethernet entries from the networks db are special and all values are honoured.
I’ll ask @giacomo to confirm this and check this howto.
@Nas, really great work, thank you. I’ll sponsor integrating PPPoE in the base system.
so for making a template /etc/ppp/chap-secrets and pap-secrets must have :
Secrets for authentication using CHAP
client server secret IP addresses
"fedya" * “123456”
Yes, all values are copied as-is except for the type prop (as correctly reported by @Nas), but all props should be lowercase inside the db (but this haven’t any effect on the generated file).
The howto is good, I just have a couple of notes:
you don’t need a templates for pap/chap secretes files since there is no application that can override them
pppoe connection should be automatically standard at boot (via the network service)
We can add pppoe support inside the core, but creating a web interface will require at least a week of work.
If we want a text-only implementation we can have it in a couple of days.
Web interface must have PPPOe , crouds of people use pppoe. we could wait more then week but still we need it !Don’t forget that db entry make ethernet TYPE and we need xDSL