Re: in-kernel PPPoE and linkup-script

2005-09-26 Thread Mathieu Sauve-Frankel
On Wed, Sep 21, 2005 at 04:36:20PM +0200, Steffen Michalke wrote: > Alexander Farber writes: > > > Can't you put !stuff into /etc/hostname.pppoe0 ? > > Yes, but these commands are executed only when that interface is > created, not when it is brought up again afterwards. To be precise these comm

Re: in-kernel PPPoE and linkup-script

2005-09-21 Thread Steffen Michalke
Alexander Farber writes: > Can't you put !stuff into /etc/hostname.pppoe0 ? Yes, but these commands are executed only when that interface is created, not when it is brought up again afterwards.

Re: in-kernel PPPoE and linkup-script

2005-09-21 Thread Alexander Farber
Not the best solution - the ez-ipupdate.c doesn't look that clean. Example (what if recv() returns -1?): if(FD_ISSET(client_sockfd, &readfds)) { bread = recv(client_sockfd, buf, len-1, 0); dprintf((stderr, "bread: %d\n", bread)); buf[bread] = '\0'; dprintf((stderr,

Re: in-kernel PPPoE and linkup-script

2005-09-21 Thread Martin Dommermuth
Hello, * Alexander Farber wrote/schrieb: > Can't you put !stuff into /etc/hostname.pppoe0 ? nope, I tried that. Seems not to be executet on reconnect. I now got it working with the daemon mode of ez-ipupdate. If I need to call any other scripts on reconnect it also has this option: -e, --execut

Re: in-kernel PPPoE and linkup-script

2005-09-21 Thread Alexander Farber
Can't you put !stuff into /etc/hostname.pppoe0 ? On 9/21/05, Steffen Michalke <[EMAIL PROTECTED]> wrote: > No, really nothing else than /etc/hostname.pppoe0. If you need > something special (eg. dynamic DNS) you could create a process which > is observing this interface.

Re: in-kernel PPPoE and linkup-script

2005-09-20 Thread Steffen Michalke
Martin Dommermuth <[EMAIL PROTECTED]> writes: > Is it right that with the in-kernel PPPoE driver in OpenBSD 3.7 > the file /etc/ppp/ppp.linkup it not executed on reconnect? Yes, the files in /etc/ppp/ belong to the pppd. > Is there another file ? No, really nothing else than /etc/hostname.pppo

in-kernel PPPoE and linkup-script

2005-09-20 Thread Martin Dommermuth
Hello misc, hope I did'n miss anything here. Is it right that with the in-kernel PPPoE driver in OpenBSD 3.7 the file /etc/ppp/ppp.linkup it not executed on reconnect? Is there another file ? Thanks, MartinD: My file looks like this: (without the line break) MYADDR: !bg sh -c "/usr/local/bin/