Hello dear list.

According to the doc "support PPPoE NetBSD 2.0"
available in the main site, I am using pppoa2 in
bridging mode.

A last problem was the program being killed by a
signal 1. And the signal was originated from the
program itself; Looking at the source code, a HUP
signal is sent to the child process.

@@ -575,7 +576,7 @@
        /* In Linux, pppd kill us with a term signal !
*/
 #if defined(__FreeBSD__) || defined(__NetBSD__) ||
defined(__OpenBSD__) || defined(__DragonFly__)
        /* ppp is supposed to send SIGHUP to its pty
slave so trap SIGHUP */
-       signal(SIGHUP , sighandler);
+       /* signal(SIGHUP , sighandler); */
 #elif defined(__linux__)
        /* on linux it's supposed to be SIGTERM */
        signal(SIGTERM, sighandler);

Is the HUP needed? It breaks something in the pusb
interface?

According to the comments in the source code, killing
the child was neccesary but now it is running fine, I
don't have to kill and rerun, but with the same
problem if the USB plug is disconnected (missing
pusb_claim_interface, pusb_release_interface and
pusb_ioctl).

Please let me know if someone have some hints about
this.

Thanks

--
  César Catrián C.
  http://mioficina.cjc.cl

_________________________________________________________
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]

        

Reply via email to