Hi Hermann,
try:
copy the file 30demand
from here /etc/e-smith/templates/etc/ppp/pppoe.conf/ to there /etc/e-smith/templates-custom/etc/ppp/pppoe.conf/
the comand could look like this:
cp /etc/e-smith/templates/etc/ppp/pppoe.conf/30demand /etc/e-smith/templates-custom/etc/ppp/pppoe.conf/
change the file 30demand
ORIGINAL
# Bring link up on demand? Default is to leave link up all the time.
# If you want the link to come up on demand, set DEMAND to a number indicating
# the idle time after which the link is brought down.
DEMAND={ db_get_prop(\%conf, 'pppoe', 'DemandIdleTime'); }
NEW AFTER CHANGE
# Bring link up on demand? Default is to leave link up all the time.
# If you want the link to come up on demand, set DEMAND to a number indicating
# the idle time after which the link is brought down.
# DEMAND={ db_get_prop(\%conf, 'pppoe', 'DemandIdleTime'); }
DEMAND = 120
I suspect (hope) that the demand time is in seconds
After that expand the just created custom template
/sbin/e-smith/expand-template /etc/ppp/pppoe.conf
Shutdown and restart to let the changes take effect.
Now the file /etc/ppp/pppoe.conf should be set correct
If you want to understand what you just did, look here:
http://www.e-smith.org/custom/Well, you probably could just change the variable "DemandIdleTime" with something like this:
/sbin/e-smith/config set DemandIdleTime 130
and set the changes with this
/sbin/e-smith/signal-event console-save
but it never worked for me. If anyone knows how to do this, I would appreacheate any help