View previous topic :: View next topic |
Author |
Message |
eae Apprentice
Joined: 28 Dec 2004 Posts: 211
|
Posted: Mon Aug 29, 2005 11:09 am Post subject: problem with rp-pppoe service |
|
|
Hi, after making an emerge -u world the rp-pppoe service doesn't work anymore. Here's the content of /etc/init.d/rp-pppoe:
Code: | #!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/rp-pppoe/files/rp-pppoe.rc,v 1.7 2004/10/07 22:06:53 eradicator Exp $
depend() {
use net
after domainname
}
start() {
ebegin "Starting adsl"
start-stop-daemon --start --quiet --exec /usr/sbin/adsl-start
eend $?
}
stop() {
ebegin "Stopping adsl"
start-stop-daemon --start --quiet --exec /usr/sbin/adsl-stop
eend $?
}
|
and the result of running it:
Code: | # /etc/init.d/rp-pppoe start
* Starting adsl ...
........... Connected!
adsl-stop: No ADSL connection appears to be running [ !! ] |
after that, adsl is not up and the services that depend on rp-pppoe do not get started. How can I fix this? Thanks. |
|
Back to top |
|
|
eae Apprentice
Joined: 28 Dec 2004 Posts: 211
|
Posted: Tue Aug 30, 2005 11:59 am Post subject: |
|
|
Whatever. I changed the service to this:
Code: | #!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/rp-pppoe/files/rp-pppoe.rc,v 1.7 2004/10/07 22:06:53 eradicator Exp $
depend() {
use net
after domainname
}
start() {
ebegin "Starting adsl"
/usr/sbin/adsl-start
eend $?
}
stop() {
ebegin "Stopping adsl"
/usr/sbin/adsl-stop
eend $?
} |
|
|
Back to top |
|
|
|