|
|
# before starting the PPP daemon: | # before starting the PPP daemon: |
function preup() { | function preup() { |
if [[ "$1" = "ppp0" ]] ; then | if [[ "$1" = "ppp0" ]] ; then |
modprobe -q pppoatm |
local m |
modprobe -q speedtch |
for m in {pppoatm,speedtch} ; do |
|
[[ -z "$(modprobe -l ${m})" ]] || modprobe -q "${m}" |
|
done |
fi | fi |
} | } |
| |
|
|
} | } |
| |
| |
|
|
|
Configuration continued |
|
======================= |
|
|
Create a symlink for the new network interface, for it to be enabled by | Create a symlink for the new network interface, for it to be enabled by |
baselayout: | baselayout: |
cd /etc/init.d && ln -sfn net.lo net.ppp0 | cd /etc/init.d && ln -sfn net.lo net.ppp0 |
|
|
If the ADSL connection seems to have worked, but no websites can be | If the ADSL connection seems to have worked, but no websites can be |
contacted, then check that /etc/resolv.conf is populated, and possibly | contacted, then check that /etc/resolv.conf is populated, and possibly |
add the "usepeerdns" option to pppd_ppp0, along with running: | add the "usepeerdns" option to pppd_ppp0, along with running: |
ln -s /etc/resolv.conf /etc/ppp/resolv.conf |
ln -sfn /etc/ppp/resolv.conf /etc/resolv.conf |
| |
If the problem is still not resolved, then describe the problem in the | If the problem is still not resolved, then describe the problem in the |
"discussion and bugs" tab at: | "discussion and bugs" tab at: |