kill -9 `ps x | grep "ppp" | awk '{print $1}'`
> J'ai honte, mais je fais tout simplement :
> ps axw|grep pppoa2|grep -v grep|awk '{print $1}'|xargs kill -9
> et �a marche bien pour ce que je connais d'openbsd... ;o)
Oui, j'ai fait kill -9 `ps x | grep "ppp" | awk '{print $1}'`
En fait, j'ignore le syntax pour awk '$6 =~ /"ppp"/' au lieu de grep "ppp"
- ca sera plus... efficace ;)
J'ai aussi ajouter
if [ ping av.com]; then
kill...
else
echo "already connected!"
fi
Ou qqchose comme ca pour tester si on est deja connecter.
[EMAIL PROTECTED]
Bon chance!
Moi, je peux meme pas fair marcher mon souris!!! ca c vraiment nulle pour
le x-windows :(
Poff
>
> >
> > Ca a marche en plus donc on verra avec open ;)
> >
> > --
> >
> > I'll have a go and let you know if I get a reconnection script to work
> > with openbsd.
> >
> > I think Francois was experimenting with a freebsd kernel with the
> > modem_run support in it or something that would tackle this whole dropped
> > line problem...
>
> Can anyone give me the mail address of Fran�ois, I lost it (sorry IRC guys...)
>
> --
> Nicolas Ecarnot
>
>
> Liste de diffusion modem ALCATEL SpeedTouch USB
> Pour se d�sinscrire : mailto:[EMAIL PROTECTED]?subject=unsubscribe
>
>
>
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org
Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se d�sinscrire : mailto:[EMAIL PROTECTED]?subject=unsubscribe