Announcement

Collapse
No announcement yet.

pppoe conection fails to run at boottime

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    pppoe conection fails to run at boottime

    Hello everyone.
    I installled Kubuntu 5.10 yesterday here, and I discovered that always when I reboot my computer, I must do pppoeconf to activate my connection. I do the configuration ok, saying that the conection must be put up at boottime, but it doesn't work.
    Have any of you got any solution for this?
    I would be glad if any of you could help me in any way.

    Oh, and sorry, my english is very bad, as you saw here. :lol:

    #2
    pppoe conection fails to run at boottime

    change /etc/init.d/ppp like this:

    case "$1" in
    start)
    log_begin_msg "Starting up PPP link..."
    if [ "$RUNFILE" = "1" ]; then
    ifconfig eth0 up
    /etc/ppp/ppp_on_boot
    else
    ifconfig eth0 up
    pppd call provider
    fi

    think it should work. If not posting plog would help.

    Comment


      #3
      pppoe conection fails to run at boottime


      Thanks, but it didn't work.

      Here is my actual /etc/init.d/ppp, with the changes you sugested:

      Code:
      #!/bin/sh -e
      #
      #   /etc/init.d/ppp: start or stop PPP link.
      #
      # This configuration method is deprecated, please use /etc/network/interfaces.
      
      [ -x /usr/sbin/pppd -a -f /etc/ppp/ppp_on_boot ] || exit 0
      if [ -x /etc/ppp/ppp_on_boot ]; then RUNFILE=1; fi
      . /lib/lsb/init-functions
      
      case "$1" in
      start)
          log_begin_msg "Starting up PPP link..."
          if [ "$RUNFILE" = "1" ]; then
              /etc/ppp/ppp_on_boot
          else
             ifconfig eth0 up
             pppd call provider
          fi
          log_end_msg $?
          ;;
      stop)
          log_begin_msg "Shutting down PPP link..."
          if [ "$RUNFILE" = "1" ]; then
              poff -a
          else
              poff provider
          fi
          log_end_msg $?
          ;;
      restart|force-reload)
          log_begin_msg "Restarting PPP link..."
          if [ "$RUNFILE" = "1" ]; then
              poff -a || true
              sleep 5
              /etc/ppp/ppp_on_boot
                                     
        else
              poff provider || true
              sleep 5
              pppd call provider
          fi
          log_end_msg $?
          ;;
      *)
          log_success_msg "Usage: /etc/init.d/ppp {start|stop|restart|force-reload}"
          exit 1
          ;;
      esac
      
      exit 0

      Another question: where I find plog to post it here to you?


      Thank you very much, hope you can help me again!

      Comment


        #4
        pppoe conection fails to run at boottime

        Have you checked that the kernel module pppoe is loaded?
        I had the same problem, and in fact the kernel module was loaded by pppoeconf, but not automaticaly at boot.

        If this helps ...

        Comment

        Users Viewing This Topic

        Collapse

        There are 0 users viewing this topic.

        Working...
        X