Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem with rp-pppoe service
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
eae
Apprentice
Apprentice


Joined: 28 Dec 2004
Posts: 211

PostPosted: Mon Aug 29, 2005 11:09 am    Post subject: problem with rp-pppoe service Reply with quote

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
View user's profile Send private message
eae
Apprentice
Apprentice


Joined: 28 Dec 2004
Posts: 211

PostPosted: Tue Aug 30, 2005 11:59 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum