ip-up script of pppd no triggered

From: Jim Xochellis (dxoch_at_escape.gr)
Date: 11/14/03

  • Next message: Crist J. Clark: "Re: netgraph(4) divert(4) to UDP Tunnel"
    Date: Fri, 14 Nov 2003 16:02:29 +0200
    To: net@freebsd.org
    
    

    Hi list,

    I have also posted this mail to the freebsd-questions list a few days
    ago, but I had no luck. Hence, I decided to try this list too, which
    probably is the most appropriate for my problem.

    I need to persuade pppd to call its ip-up script in order to add a
    non-default route as soon as the link is up and running. Unfortunately
    it seems that my ip-up script is not being called. The mode of the file
    is rwxr-xr-x and the owner root:wheel. I am calling the pppd from
    inside a "/usr/local/etc/rc.d/ppp.sh" script by using the following
    command:
    "/usr/sbin/pppd /dev/cuaa0 115200 A.A.A.A:B.B.B.B noauth persist
    netmask 255.255.255.252"

    I have read all the chapter #18 of the handbook, but I haven't found
    anything about the ip-up script. On the contrary the PPPD(8) man page
    claims that the /etc/ppp/ip-up is executed when the link is available
    for sending and receiving IP packets. My link becomes available for
    sending/receiving IP packets, but ip-up is never executed. Any ideas
    why?
    By the way, I am using kernel PPP, (on ppp0) if it makes any difference.

    Am I doing something wrong?

    Thanks in advance
    Jim Xochellis

    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


  • Next message: Crist J. Clark: "Re: netgraph(4) divert(4) to UDP Tunnel"

    Relevant Pages

    • ip-up script of pppd no triggered
      ... I need persuade pppd to call its ip-up script in order to add a ... non-default route when the link is up and running. ... seems that my ip-up script is not being called. ... To unsubscribe, ...
      (freebsd-questions)
    • Re: [SLE] ifcfg-ppp0 config for dialin
      ... Hash: SHA1 ... > dialin. ... The ip-up script calls ... I had no luck with that variable in the past, ...
      (SuSE)
    • Re: ip-up script of pppd no triggered
      ... > I need persuade pppd to call its ip-up script in order to add a ... > non-default route when the link is up and running. ... > seems that my ip-up script is not being called. ... To unsubscribe, ...
      (freebsd-questions)