J'arrive toujours pas � savoir pourquoi le pc plante de facon intempestive 
(1 � 2 fois par jour environ)

J'ai donc mis tout ce qu'il m'a sembl� util (log et dump) pour diagnostiquer 
quelques choses ... mais l� je ne vois pas....

je rappelle que je suis sous une mdk 7.2

uname -r => 2.4.18 (kernel non patch�)
pppd --version => pppd version 2.4.1
modem_run version CVS_03_03_2002
pppoa3 version CVS_03_03_2002


Quand je d�branche brutalement le modem � la mano... ca me fait � peu pr�s 
le m�me chose ... boum! le pc ne repond plus sur eth0.

y a t il des options � faire gaffe ??? j'ai d�sactiver tout ce qui est 
�conomie d'�nergie & Co ... je n'ai pas mis le hotplug dans le noyau ... 
apr�s je ne sais plus quoi faire ....


***********************
Mathieu Ruellan
6i�me Ann�e ESIEA-Ouest I2M Ingenierie/ASCOM-Elsydel
***********************


_________________________________________________________________
Rejoignez le plus grand service de messagerie au monde avec MSN Hotmail. 
http://www.hotmail.com/fr


-- Attached file included as plaintext by Listar --
-- File: syslog

Mar 13 08:01:00 localhost CROND[6522]: (root) CMD (run-parts 
/etc/cron.hourly)
Mar 13 08:05:19 localhost pppd[6007]: rcvd [LCP EchoReq id=0xc 
magic=0xf7598c6]
Mar 13 08:05:19 localhost pppd[6007]: sent [LCP EchoRep id=0xc 
magic=0xae8607ae]
Mar 13 08:10:19 localhost pppd[6007]: rcvd [LCP EchoReq id=0xd 
magic=0xf7598c6]
Mar 13 08:10:19 localhost pppd[6007]: sent [LCP EchoRep id=0xd 
magic=0xae8607ae]
Mar 13 08:15:19 localhost pppd[6007]: rcvd [LCP EchoReq id=0xe 
magic=0xf7598c6]
Mar 13 08:15:19 localhost pppd[6007]: sent [LCP EchoRep id=0xe 
magic=0xae8607ae]
Mar 13 08:20:19 localhost pppd[6007]: rcvd [LCP EchoReq id=0xf 
magic=0xf7598c6]
Mar 13 08:20:19 localhost pppd[6007]: sent [LCP EchoRep id=0xf 
magic=0xae8607ae]
Mar 13 08:25:19 localhost pppd[6007]: rcvd [LCP EchoReq id=0x10 
magic=0xf7598c6]
Mar 13 08:25:19 localhost pppd[6007]: sent [LCP EchoRep id=0x10 
magic=0xae8607ae]
Mar 13 08:30:20 localhost pppd[6007]: rcvd [LCP EchoReq id=0x11 
magic=0xf7598c6]
Mar 13 08:30:20 localhost pppd[6007]: sent [LCP EchoRep id=0x11 
magic=0xae8607ae]
Mar 13 08:35:20 localhost pppd[6007]: rcvd [LCP EchoReq id=0x12 
magic=0xf7598c6]
Mar 13 08:35:20 localhost pppd[6007]: sent [LCP EchoRep id=0x12 
magic=0xae8607ae]
Mar 13 08:40:20 localhost pppd[6007]: rcvd [LCP EchoReq id=0x13 
magic=0xf7598c6]
Mar 13 08:40:20 localhost pppd[6007]: sent [LCP EchoRep id=0x13 
magic=0xae8607ae]
Mar 13 08:45:20 localhost pppd[6007]: rcvd [LCP EchoReq id=0x14 
magic=0xf7598c6]
Mar 13 08:45:20 localhost pppd[6007]: sent [LCP EchoRep id=0x14 
magic=0xae8607ae]
Mar 13 08:50:20 localhost pppd[6007]: rcvd [LCP EchoReq id=0x15 
magic=0xf7598c6]
Mar 13 08:50:20 localhost pppd[6007]: sent [LCP EchoRep id=0x15 
magic=0xae8607ae]
Mar 13 08:55:20 localhost pppd[6007]: rcvd [LCP EchoReq id=0x16 
magic=0xf7598c6]
Mar 13 08:55:20 localhost pppd[6007]: sent [LCP EchoRep id=0x16 
magic=0xae8607ae]
Mar 13 09:00:20 localhost pppd[6007]: rcvd [LCP EchoReq id=0x17 
magic=0xf7598c6]
Mar 13 09:00:20 localhost pppd[6007]: sent [LCP EchoRep id=0x17 
magic=0xae8607ae]
Mar 13 09:01:00 localhost CROND[7151]: (root) CMD (run-parts 
/etc/cron.hourly)
Mar 13 09:05:20 localhost pppd[6007]: rcvd [LCP EchoReq id=0x18 
magic=0xf7598c6]
Mar 13 09:05:20 localhost pppd[6007]: sent [LCP EchoRep id=0x18 
magic=0xae8607ae]
Mar 13 09:10:20 localhost pppd[6007]: rcvd [LCP EchoReq id=0x19 
magic=0xf7598c6]
Mar 13 09:10:20 localhost pppd[6007]: sent [LCP EchoRep id=0x19 
magic=0xae8607ae]
Mar 13 09:15:21 localhost pppd[6007]: rcvd [LCP EchoReq id=0x1a 
magic=0xf7598c6]
Mar 13 09:15:21 localhost pppd[6007]: sent [LCP EchoRep id=0x1a 
magic=0xae8607ae]
Mar 13 09:20:21 localhost pppd[6007]: rcvd [LCP EchoReq id=0x1b 
magic=0xf7598c6]
Mar 13 09:20:21 localhost pppd[6007]: sent [LCP EchoRep id=0x1b 
magic=0xae8607ae]
Mar 13 09:25:21 localhost pppd[6007]: rcvd [LCP EchoReq id=0x1c 
magic=0xf7598c6]
Mar 13 09:25:21 localhost pppd[6007]: sent [LCP EchoRep id=0x1c 
magic=0xae8607ae]
Mar 13 09:30:21 localhost pppd[6007]: rcvd [LCP EchoReq id=0x1d 
magic=0xf7598c6]
Mar 13 09:30:21 localhost pppd[6007]: sent [LCP EchoRep id=0x1d 
magic=0xae8607ae]
Mar 13 09:35:21 localhost pppd[6007]: rcvd [LCP EchoReq id=0x1e 
magic=0xf7598c6]
Mar 13 09:35:21 localhost pppd[6007]: sent [LCP EchoRep id=0x1e 
magic=0xae8607ae]
Mar 13 09:40:21 localhost pppd[6007]: rcvd [LCP EchoReq id=0x1f 
magic=0xf7598c6]
Mar 13 09:40:21 localhost pppd[6007]: sent [LCP EchoRep id=0x1f 
magic=0xae8607ae]
Mar 13 09:45:22 localhost pppd[6007]: rcvd [LCP EchoReq id=0x20 
magic=0xf7598c6]
Mar 13 09:45:22 localhost pppd[6007]: sent [LCP EchoRep id=0x20 
magic=0xae8607ae]
Mar 13 09:50:22 localhost pppd[6007]: rcvd [LCP EchoReq id=0x21 
magic=0xf7598c6]
Mar 13 09:50:22 localhost pppd[6007]: sent [LCP EchoRep id=0x21 
magic=0xae8607ae]
Mar 13 09:55:22 localhost pppd[6007]: rcvd [LCP EchoReq id=0x22 
magic=0xf7598c6]
Mar 13 09:55:22 localhost pppd[6007]: sent [LCP EchoRep id=0x22 
magic=0xae8607ae]
Mar 13 10:00:22 localhost pppd[6007]: rcvd [LCP EchoReq id=0x23 
magic=0xf7598c6]
Mar 13 10:00:22 localhost pppd[6007]: sent [LCP EchoRep id=0x23 
magic=0xae8607ae]
Mar 13 10:01:00 localhost CROND[7755]: (root) CMD (run-parts 
/etc/cron.hourly)
Mar 13 10:05:22 localhost pppd[6007]: rcvd [LCP EchoReq id=0x24 
magic=0xf7598c6]
Mar 13 10:05:22 localhost pppd[6007]: sent [LCP EchoRep id=0x24 
magic=0xae8607ae]
Mar 13 10:10:22 localhost pppd[6007]: rcvd [LCP EchoReq id=0x25 
magic=0xf7598c6]
Mar 13 10:10:22 localhost pppd[6007]: sent [LCP EchoRep id=0x25 
magic=0xae8607ae]
Mar 13 10:15:23 localhost pppd[6007]: rcvd [LCP EchoReq id=0x26 
magic=0xf7598c6]
Mar 13 10:15:23 localhost pppd[6007]: sent [LCP EchoRep id=0x26 
magic=0xae8607ae]
Mar 13 10:20:23 localhost pppd[6007]: rcvd [LCP EchoReq id=0x27 
magic=0xf7598c6]
Mar 13 10:20:23 localhost pppd[6007]: sent [LCP EchoRep id=0x27 
magic=0xae8607ae]
Mar 13 10:25:23 localhost pppd[6007]: rcvd [LCP EchoReq id=0x28 
magic=0xf7598c6]
Mar 13 10:25:23 localhost pppd[6007]: sent [LCP EchoRep id=0x28 
magic=0xae8607ae]
Mar 13 10:30:23 localhost pppd[6007]: rcvd [LCP EchoReq id=0x29 
magic=0xf7598c6]
Mar 13 10:30:23 localhost pppd[6007]: sent [LCP EchoRep id=0x29 
magic=0xae8607ae]
Mar 13 10:35:23 localhost pppd[6007]: rcvd [LCP EchoReq id=0x2a 
magic=0xf7598c6]
Mar 13 10:35:23 localhost pppd[6007]: sent [LCP EchoRep id=0x2a 
magic=0xae8607ae]
Mar 13 10:40:23 localhost pppd[6007]: rcvd [LCP EchoReq id=0x2b 
magic=0xf7598c6]
Mar 13 10:40:23 localhost pppd[6007]: sent [LCP EchoRep id=0x2b 
magic=0xae8607ae]
Mar 13 10:45:23 localhost pppd[6007]: rcvd [LCP EchoReq id=0x2c 
magic=0xf7598c6]
Mar 13 10:45:23 localhost pppd[6007]: sent [LCP EchoRep id=0x2c 
magic=0xae8607ae]
Mar 13 10:50:24 localhost pppd[6007]: rcvd [LCP EchoReq id=0x2d 
magic=0xf7598c6]
Mar 13 10:50:24 localhost pppd[6007]: sent [LCP EchoRep id=0x2d 
magic=0xae8607ae]
Mar 13 10:55:24 localhost pppd[6007]: rcvd [LCP EchoReq id=0x2e 
magic=0xf7598c6]
Mar 13 10:55:24 localhost pppd[6007]: sent [LCP EchoRep id=0x2e 
magic=0xae8607ae]
Mar 13 11:00:24 localhost pppd[6007]: rcvd [LCP EchoReq id=0x2f 
magic=0xf7598c6]
Mar 13 11:00:24 localhost pppd[6007]: sent [LCP EchoRep id=0x2f 
magic=0xae8607ae]
Mar 13 11:01:00 localhost CROND[8310]: (root) CMD (run-parts 
/etc/cron.hourly)
Mar 13 11:05:24 localhost pppd[6007]: rcvd [LCP EchoReq id=0x30 
magic=0xf7598c6]
Mar 13 11:05:24 localhost pppd[6007]: sent [LCP EchoRep id=0x30 
magic=0xae8607ae]
Mar 13 11:10:24 localhost pppd[6007]: rcvd [LCP EchoReq id=0x31 
magic=0xf7598c6]
Mar 13 11:10:24 localhost pppd[6007]: sent [LCP EchoRep id=0x31 
magic=0xae8607ae]
Mar 13 11:15:24 localhost pppd[6007]: rcvd [LCP EchoReq id=0x32 
magic=0xf7598c6]
Mar 13 11:15:24 localhost pppd[6007]: sent [LCP EchoRep id=0x32 
magic=0xae8607ae]
Mar 13 11:20:25 localhost pppd[6007]: rcvd [LCP EchoReq id=0x33 
magic=0xf7598c6]
Mar 13 11:20:25 localhost pppd[6007]: sent [LCP EchoRep id=0x33 
magic=0xae8607ae]
Mar 13 11:25:25 localhost pppd[6007]: rcvd [LCP EchoReq id=0x34 
magic=0xf7598c6]
Mar 13 11:25:25 localhost pppd[6007]: sent [LCP EchoRep id=0x34 
magic=0xae8607ae]
Mar 13 11:30:25 localhost pppd[6007]: rcvd [LCP EchoReq id=0x35 
magic=0xf7598c6]
Mar 13 11:30:25 localhost pppd[6007]: sent [LCP EchoRep id=0x35 
magic=0xae8607ae]
Mar 13 11:35:25 localhost pppd[6007]: rcvd [LCP EchoReq id=0x36 
magic=0xf7598c6]
Mar 13 11:35:25 localhost pppd[6007]: sent [LCP EchoRep id=0x36 
magic=0xae8607ae]
Mar 13 11:40:25 localhost pppd[6007]: rcvd [LCP EchoReq id=0x37 
magic=0xf7598c6]
Mar 13 11:40:25 localhost pppd[6007]: sent [LCP EchoRep id=0x37 
magic=0xae8607ae]
Mar 13 18:57:17 localhost syslogd 1.4-0: restart.



-- Attached file included as plaintext by Listar --
-- File: kernel-errors

Mar 10 14:26:27 BINIOU kernel: hub.c: already running port 2 disabled by hub 
(EMI?), re-enabling...
Mar 10 20:56:03 breizh-biniou kernel: pci_pool_destroy 00:12.0/ohci_td, 
c270c000 busy
Mar 10 20:56:03 breizh-biniou kernel: pci_pool_destroy 00:12.0/ohci_dev, 
c0c42000 busy
Mar 12 00:37:16 localhost kernel: hub.c: already running port 2 disabled by 
hub (EMI?), re-enabling...
Mar 13 06:59:19 localhost kernel: hub.c: already running port 2 disabled by 
hub (EMI?), re-enabling...



-- Attached file included as plaintext by Listar --
-- File: messages

Mar 13 07:00:02 localhost pppd[5899]: no device specified and stdin is not a 
tty
Mar 13 07:00:57 localhost modprobe: modprobe: Can't locate module ppp0
Mar 13 07:00:57 localhost pppd[5906]: no device specified and stdin is not a 
tty
Mar 13 07:01:00 localhost CROND[5908]: (root) CMD (run-parts 
/etc/cron.hourly)
Mar 13 07:01:57 localhost modprobe: modprobe: Can't locate module ppp0
Mar 13 07:01:57 localhost pppd[5915]: no device specified and stdin is not a 
tty
Mar 13 07:03:02 localhost modprobe: modprobe: Can't locate module ppp0
Mar 13 07:03:02 localhost pppd[5922]: no device specified and stdin is not a 
tty
Mar 13 07:04:12 localhost modprobe: modprobe: Can't locate module ppp0
Mar 13 07:04:13 localhost pppd[5929]: no device specified and stdin is not a 
tty
Mar 13 07:04:35 localhost kernel: N_HDLC: line discipline unregistered
Mar 13 07:04:37 localhost kernel: usb.c: USB disconnect on device 1
Mar 13 07:04:37 localhost kernel: usb.c: USB disconnect on device 3
Mar 13 07:04:37 localhost kernel: usb.c: USB bus 1 deregistered
Mar 13 07:04:41 localhost kernel: usb.c: deregistering driver usbdevfs
Mar 13 07:04:41 localhost kernel: usb.c: deregistering driver hub
Mar 13 07:04:42 localhost kernel: usb.c: registered new driver usbdevfs
Mar 13 07:04:42 localhost kernel: usb.c: registered new driver hub
Mar 13 07:04:46 localhost kernel: usb-ohci.c: USB OHCI at membase 
0xc4839000, IRQ 9
Mar 13 07:04:46 localhost kernel: usb-ohci.c: usb-00:12.0, OPTi Inc. 82C861
Mar 13 07:04:46 localhost kernel: usb.c: new USB bus registered, assigned 
bus number 1
Mar 13 07:04:46 localhost kernel: hub.c: USB hub found
Mar 13 07:04:46 localhost kernel: hub.c: 2 ports detected
Mar 13 07:04:46 localhost kernel: hub.c: USB new device connect on bus1/2, 
assigned device number 2
Mar 13 07:04:46 localhost kernel: usb.c: USB device 2 (vend/prod 
0x6b9/0x4061) is not claimed by any active driver.
Mar 13 07:04:49 localhost modem_run[6000]: modem_run version CVS_03_03_2002 
started by root uid 0
Mar 13 07:04:49 localhost modem_run[6000]: Found ALCATEL SpeedTouch USB 
modem
Mar 13 07:04:49 localhost modem_run[6000]: Best offset   6463 with 
probability  87%
Mar 13 07:04:49 localhost modem_run[6000]: Best offset 532634 with 
probability 100%
Mar 13 07:04:50 localhost kernel: usb_control/bulk_msg: timeout
Mar 13 07:04:50 localhost kernel: usbdevfs: USBDEVFS_BULK failed dev 2 ep 
0x85 len 512 ret -110
Mar 13 07:04:50 localhost modem_run[6000]: BLOCK1 :    991 bytes   uploaded 
: OK
Mar 13 07:04:51 localhost modem_run[6000]: BLOCK2 :    511 bytes downloaded 
: OK
Mar 13 07:04:52 localhost modem_run[6000]: BLOCK3 : 526187 bytes downloaded 
: OK
Mar 13 07:04:52 localhost modem_run[6000]: BLOCK4 :    511 bytes downloaded 
: OK
Mar 13 07:04:53 localhost modem_run[6000]: Modem reference : 3EC18607CAAA08
Mar 13 07:04:53 localhost kernel: usb_control/bulk_msg: timeout
Mar 13 07:04:53 localhost modem_run[6000]: ADSL line is blocked?
Mar 13 07:04:54 localhost modem_run[6000]: ADSL line is synchronising
Mar 13 07:04:55 localhost modem_run[6000]: ADSL line is synchronising
Mar 13 07:05:01 localhost kernel: usb_control/bulk_msg: timeout
Mar 13 07:05:08 localhost kernel: usb_control/bulk_msg: timeout
Mar 13 07:05:12 localhost modem_run[6001]: Received interrupt, len = 6
Mar 13 07:05:13 localhost modem_run[6000]: ADSL line is up (608 kbit/s down 
| 160 kbit/s up)
Mar 13 07:05:13 localhost modem_run[6000]: ADSL link goes UP
Mar 13 07:05:16 localhost kernel: HDLC line discipline: version $Revision: 
3.3 $, maxframe=4096
Mar 13 07:05:16 localhost kernel: N_HDLC line discipline registered.
Mar 13 07:05:16 localhost pppd[6007]: pppd 2.4.1 started by root, uid 0
Mar 13 07:05:16 localhost pppd[6007]: Using interface ppp0
Mar 13 07:05:16 localhost pppd[6007]: Connect: ppp0 <--> /dev/pts/0
Mar 13 07:05:16 localhost pppoa3[6011]: PPPoA3 version CVS_03_03_2002 
started by root (uid 0)
Mar 13 07:05:16 localhost pppoa3[6011]: Control thread ready
Mar 13 07:05:16 localhost pppoa3[6014]: ppp(d) --> pppoa3 --> modem  stream 
ready
Mar 13 07:05:16 localhost pppoa3[6015]: modem  --> pppoa3 --> ppp(d) stream 
ready
Mar 13 07:05:18 localhost pppd[6007]: Remote message: CHAP authentication 
success, unit 66
Mar 13 07:05:18 localhost pppd[6007]: local  IP address 80.11.116.246
Mar 13 07:05:18 localhost pppd[6007]: remote IP address 80.11.116.1
Mar 13 07:05:18 localhost pppd[6007]: primary   DNS address 193.252.19.3
Mar 13 07:05:18 localhost pppd[6007]: secondary DNS address 193.252.19.4
Mar 13 07:05:18 localhost pppd[6007]: Can't execute /etc/ppp/ip-up: Invalid 
argument
Mar 13 08:00:00 localhost CROND[6507]: (httpd) CMD (cd /home/httpd;rm -f 
`find |grep .bak`)
Mar 13 08:01:00 localhost CROND[6522]: (root) CMD (run-parts 
/etc/cron.hourly)
Mar 13 08:25:49 localhost pam_rhosts_auth[6776]: allowed to 
[EMAIL PROTECTED] as mathieu
Mar 13 08:25:49 localhost PAM_unix[6776]: (system-auth) session opened for 
user mathieu by (uid=0)
mar 13 08:25:54 localhost PAM_unix[6789]: (system-auth) session opened for 
user root by (uid=500)
mar 13 08:28:52 localhost PAM_unix[6789]: (system-auth) session closed for 
user root
Mar 13 09:01:00 localhost CROND[7151]: (root) CMD (run-parts 
/etc/cron.hourly)
Mar 13 10:01:00 localhost CROND[7755]: (root) CMD (run-parts 
/etc/cron.hourly)
Mar 13 11:01:00 localhost CROND[8310]: (root) CMD (run-parts 
/etc/cron.hourly)


-- Attached file included as plaintext by Listar --
-- File: adsl

debug
kdebug 1
noipdefault
defaultroute
pty "/usr/local/sbin/pppoa3 -v 1 -m 1 -c -vpi 8 -vci 35"
#pty "/usr/local/sbin/pppoa2  -vpi 8 -vci 35"
sync
user "fti/ceupcxt@fti"
noauth
noaccomp
nopcomp
noccp
novj
holdoff 4
persist
maxfail 25
usepeerdns





-- Attached file included as plaintext by Listar --
-- File: checkpeer.pl

#!/usr/bin/perl
#use strict;
use Net::Ping;

my $line;my $dummy;my $peer;my $ip1;my $ip2;my $ip3;my $ip4;my $p;my $field;
my $status="OK";
my $sleep=60;
my $peermissing=0;
my $peerunreach=0;
my $oldrecvpack=0;
my $recvpackets=0;

# sub performing restart of pppd and relevant process
##
sub restartppp {
        system("killall pppd;pppd");
        sleep 20;
        system("/root/ipcheck/dyndnsupd.sh");
        system("/etc/rc.d/init.d/snortd restart");
}

# sub performing restart of usb and relevant process
##
sub restartusb {
        system("/etc/rc.d/init.d/adsl restart");
}

# sub to update number of packets received on ppp0
##
sub updatepackets {
        my $inpackets=0;
        my $line;
        my $dummy;
        $line=`ifconfig ppp0 | grep  "Paquets Re"`;
        chomp $line;
        ($dummy,$inpackets)=split(":",$line);
        $line=$inpackets;
        ($inpackets,$dummy)=split(" ",$line);
        return $inpackets;
}

# Start of script
##

#Update number of packets the first time
$recvpackets=updatepackets();
$oldrecvpack=$recvpackets;
open(LOG,">>/var/log/checkpeer.log");
print "Starting to monitor ppp0 link\n";
while ($status ne "quit"){
        #Testing if the ppp interface is OK by fetching the peer IP address
        $line=`ifconfig ppp0 | grep inet `;
        chomp $line;
        ($dummy,$dummy,$field)=split (":",$line);
        ($peer,$dummy)=split (" ",$field);
        ($ip1,$ip2,$ip3,$ip4)=split ("\\.",$peer);
        if ($ip1<=0 || $ip1>255 || $ip2<=0 || $ip2>255 || $ip3<=0 || $ip3>255 || 
$ip4<=0 || $ip4>255){
                $status="peer missing";
        }
        else{
                #Test if we have received new packets on ppp0 to save pinging peer
                $recvpackets=updatepackets();
                if ($recvpackets > $oldrecvpack){
                        $oldrecvpack=$recvpackets;
                        $status="packets detected";
                }
                elsif ($recvpackets < $oldrecvpack){
                        $oldrecvpack=$recvpackets;
                        $status="interface reset";
                }
                else {# No packets received lately.Checking peer by pinging it ...
                        $p = Net::Ping->new("icmp");
                        if ($p->ping($peer,1)){
                                $status="peer reacheable";
                        }
                        else{
                                $status="peer unreacheable";
                        }
                        $p->close();
                        #Update packets count so next comparison takes the ping into 
account
                        $recvpackets=updatepackets();
                        $oldrecvpack=$recvpackets;
                }
        }

#From here, we take different actions depending on the previous results
        if ($status eq "peer missing"){
                $peermissing++;
                print  scalar(localtime()).": PPPD is being started (peer missing)\n";
                restartppp();
                #Increase sleep time each time in case pppd needs more time
                $sleep=30+$peermissing*5;
                if ($peermissing >= 5){
                        print  scalar(localtime()).": USB is being restarted\n";
                        restartusb();
                        $peerunreach=0;
                        $sleep=120;
                }
        }
        elsif ($status eq "peer unreacheable"){
                $peerunreach++;
                $sleep=5;
                print  scalar(localtime()).": PEER $peer is down ($peerunreach 
time(s))"."\n";
                if ($peerunreach >= 5){
                        print  scalar(localtime()).": PPPD is being restarted (peer 
unreacheable)\n";
                        restartppp();
                        $peerunreach=0;
                        #Increase sleep time each time in case pppd needs more time
                        $sleep=15+$peerunreach;
                }
        }
        elsif ($status eq "packets detected"){
                $sleep=30;
                print  scalar(localtime()).": PPP0 traffic increased to $recvpackets 
packets. Skipping ping"."\n";
                $peerunreach=0;
        }
        elsif ($status eq "interface reset"){
                $sleep=20;
                $peerunreach=0;
                print  scalar(localtime()).": PPP0 interface reset $recvpackets 
packets. 
Skipping ping"."\n";
        }
        elsif ($status eq "peer reacheable"){
                print  scalar(localtime()).": PEER $peer is alive"."\n";
                $sleep=60;
                $peermissing=0;
                $peerunreach=0;
        }
        print  scalar(localtime()).": SLEEP for $sleep seconds\n";
        sleep $sleep;
}



-- Attached file included as plaintext by Listar --
-- File: lsmod.dump

Module                  Size  Used by
n_hdlc                  6064   1  (autoclean)
usb-ohci               18432   0  (autoclean) (unused)
usbcore                48896   1  (autoclean) [usb-ohci]
ipt_MASQUERADE          1328   1  (autoclean)
iptable_nat            13776   1  (autoclean) [ipt_MASQUERADE]
ip_conntrack           14272   1  (autoclean) [ipt_MASQUERADE iptable_nat]
iptable_filter          1696   1  (autoclean)
ip_tables              10880   5  [ipt_MASQUERADE iptable_nat 
iptable_filter]
ppp_synctty             4992   1  (autoclean)
ppp_generic            16656   3  (autoclean) [ppp_synctty]
slhc                    4432   0  (autoclean) [ppp_generic]
autofs                  9440   2  (autoclean)
via-rhine              12144   1  (autoclean)



-- Attached file included as plaintext by Listar --
-- File: mount.dump

/dev/hda2 on / type ext2 (rw)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw,mode=0620)
/dev/hda7 on /home type ext2 (rw,usrquota)
/dev/hda6 on /var type ext2 (rw)
automount(pid406) on /misc type autofs 
(rw,fd=8,pgrp=406,minproto=2,maxproto=4)
automount(pid429) on /net type autofs 
(rw,fd=8,pgrp=429,minproto=2,maxproto=4)
none on /proc/bus/usb type usbdevfs (rw)



-- Attached file included as plaintext by Listar --
-- File: options

usepeerdns
noauth
lock
noipdefault




-- Attached file included as plaintext by Listar --
-- File: ps-edf.dump

UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 18:55 ?        00:00:05 init [3]
root         2     1  0 18:55 ?        00:00:00 [keventd]
root         3     0  0 18:55 ?        00:00:00 [ksoftirqd_CPU0]
root         4     0  0 18:55 ?        00:00:01 [kswapd]
root         5     0  0 18:55 ?        00:00:00 [bdflush]
root         6     0  0 18:55 ?        00:00:00 [kupdated]
bin        366     1  0 18:57 ?        00:00:00 portmap
root       406     1  0 18:57 ?        00:00:00 /usr/sbin/automount 
--timeout 60
root       429     1  0 18:57 ?        00:00:00 /usr/sbin/automount 
--timeout 60
root       477     1  0 18:57 ?        00:00:00 syslogd -m 0
root       487     1  0 18:57 ?        00:00:00 klogd -k /boot/System.map
nobody     500     1  0 18:57 ?        00:00:00 identd -e -o
nobody     506   500  0 18:57 ?        00:00:00 identd -e -o
nobody     510   506  0 18:57 ?        00:00:00 identd -e -o
nobody     511   506  0 18:57 ?        00:00:00 identd -e -o
nobody     512   506  0 18:57 ?        00:00:00 identd -e -o
daemon     517     1  0 18:57 ?        00:00:00 /usr/sbin/atd
root       530     1  0 18:57 ?        00:00:00 crond
root       538     1  0 18:57 ?        00:00:00 /usr/sbin/sshd
root       552     1  0 18:57 ?        00:00:00 xinetd -reuse -pidfile 
/var/run/
root       629     1  0 18:57 ?        00:00:00 /bin/sh /usr/bin/safe_mysqld 
--d
mysql      656   629  0 18:57 ?        00:00:00 /usr/sbin/mysqld --basedir=/ 
--d
xfs        672     1  0 18:57 ?        00:00:00 xfs -port -1 -daemon
mysql      677   656  0 18:57 ?        00:00:00 /usr/sbin/mysqld --basedir=/ 
--d
mysql      678   677  0 18:57 ?        00:00:00 /usr/sbin/mysqld --basedir=/ 
--d
root       709     1  0 18:57 ?        00:00:00 [khubd]
root       714     1  0 18:57 ?        00:00:01 /usr/bin/perl 
/usr/share/webmin/
root       724     1  0 18:57 ?        00:00:00 /usr/local/sbin/modem_run -v 
1 -
root       731     1  0 18:58 ?        00:00:00 /usr/sbin/pppd call adsl
root       734   731  0 18:58 ?        00:00:00 /usr/local/sbin/pppoa3 -m 1 
-c -
root       738   734  0 18:58 ?        00:00:00 /usr/local/sbin/pppoa3 -m 1 
-c -
root       739   738  0 18:58 ?        00:00:00 /usr/local/sbin/pppoa3 -m 1 
-c -
root       740   738  0 18:58 ?        00:00:00 /usr/local/sbin/pppoa3 -m 1 
-c -
root       798     1  0 18:58 ?        00:00:01 /usr/bin/perl 
/usr/local/adsl/ch
root       802     1  0 18:58 ?        00:00:00 /bin/bash 
/usr/local/rw/run_rwbs
root       807   802  0 18:58 ?        00:00:00 ./rwbs
root       811   807  0 18:58 ?        00:00:00 ./rwbs
root       813   811  0 18:58 ?        00:00:00 ./rwbs
root       815   811  0 18:58 ?        00:00:00 ./rwbs
root       816   811  0 18:58 ?        00:00:00 ./rwbs
root       817     1  0 18:58 ?        00:00:00 smbd -D
root       819     1  0 18:58 ?        00:00:00 nmbd -D
root       822     1  0 18:58 tty1     00:00:00 /sbin/mingetty tty1
root       823     1  0 18:58 tty2     00:00:00 /sbin/mingetty tty2
root       824     1  0 18:58 tty3     00:00:00 /sbin/mingetty tty3
root       827     1  0 18:58 tty4     00:00:00 /sbin/mingetty tty4
root       828     1  0 18:58 tty5     00:00:00 /sbin/mingetty tty5
root       829     1  0 18:58 tty6     00:00:00 /sbin/mingetty tty6
mathieu   1066   552  0 19:09 ?        00:00:00 /usr/X11R6/bin/xterm -ls 
-displa
mathieu   1083   552  0 19:10 ?        00:00:00 /usr/X11R6/bin/xterm -ls 
-displa
root      1093   552  0 19:11 ?        00:00:00 in.rshd
root      1212   552  0 19:13 ?        00:00:00 in.rshd
root      1213   817  0 19:13 ?        00:00:00 smbd -D
root      1214   817  0 19:13 ?        00:00:00 smbd -D
mathieu   1224  1066  0 19:13 pts/1    00:00:00 -bash
root      1242  1224  0 19:14 pts/1    00:00:00 su
root      1244  1242  0 19:14 pts/1    00:00:00 bash
root      1262  1244  0 19:14 pts/1    00:00:00 /bin/sh 
/usr/local/adsl/uddns
root      1263  1262  0 19:14 pts/1    00:00:00 sleep 30
mathieu   1273  1083  1 19:14 pts/2    00:00:00 -bash
mathieu   1285  1273  0 19:14 pts/2    00:00:00 ps -edf



Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se d�sinscrire : mailto:[EMAIL PROTECTED]?subject=unsubscribe

        

Reply via email to