Bonsoir,
<BR>
<BR>voila, je possede un modem ethernet ac211 (b-focus), et comme les autres, ipcop ne se reconnecte pas a la fin des 24 H. J'ai essaye de voir comment remplacer ds /etc/ppp/ip-down, mais je ne trouve pas la ligne citée...
<BR>
<BR>Je ne trouve pas non plus la ligne ou il est question de "$reconnection"="persistent".
<BR>
<BR>J'ai ipcop 1.3 avec toutes les mises a jour d'installée. Désolé de mon ignorance
<BR>
<BR>Bubizard disait de faire cela :
<BR>
<BR>"J'ai une solution qui semble marcher chez moi, mais elle n'est pas très élégante. Le principe est de relancé la connexion lorsque le message déconnexion apparait.
<BR>Dans le fichier /etc/ppp/ip-down, j'ai rajouté à la fin :
<BR>sleep 1;
<BR>system ('/etc/rc.d/rc.red','start');
<BR>
<BR>Le "sleep 1;" n'est pas nécessaire, c'est juste au cas où (pppd pas bien mort ou d'autre truc). "
<BR>
<BR>Question : doit on le mettre en tout dernier ou juste apres le sleep ?
<BR>
<BR>Autrement, voici mes logs a la fin de la deconnection si jamais cela peut vous aider :
<BR>
<BR>Dec 27 21:54:50 ipcop pppd[170]: LCP terminated by peer
<BR>Dec 27 21:54:50 ipcop pppoe[171]: Session 4541 terminated -- received PADT from peer
<BR>Dec 27 21:54:50 ipcop pppoe[171]: Sent PADT
<BR>Dec 27 21:54:50 ipcop kernel: Unable to handle kernel paging request at virtual address 49572022
<BR>Dec 27 21:54:50 ipcop kernel: printing eip:
<BR>Dec 27 21:54:50 ipcop kernel: c0111ea7
<BR>Dec 27 21:54:50 ipcop kernel: *pde = 00000000
<BR>Dec 27 21:54:50 ipcop kernel: Oops: 0000
<BR>Dec 27 21:54:50 ipcop kernel: CPU: 0
<BR>Dec 27 21:54:50 ipcop kernel: EIP: 0010:[__wake_up+39/144] Not tainted
<BR>Dec 27 21:54:50 ipcop kernel: EFLAGS: 00010016
<BR>Dec 27 21:54:50 ipcop kernel: eax: c09f0f6c ebx: c1109de0 ecx: 49572022 edx: 00000001
<BR>Dec 27 21:54:50 ipcop kernel: esi: c1e85820 edi: 00000001 ebp: c0e01e60 esp: c0e01e48
<BR>Dec 27 21:54:50 ipcop kernel: ds: 0018 es: 0018 ss: 0018
<BR>Dec 27 21:54:50 ipcop kernel: Process pppd (pid: 170, stackpage=c0e01000)
<BR>Dec 27 21:54:50 ipcop kernel: Stack: 00000286 00000001 c09f0f6c c0ee3960 c1e85820 c147d600 00000002 c01c2f5a
<BR>Dec 27 21:54:50 ipcop kernel: c147d600 00000002 00000000 c01f4102 c0ee3960 c01fe0c0 c0ee3960 c0249474
<BR>Dec 27 21:54:50 ipcop kernel: c147d600 00000002 00000000 c011d699 c0249474 00000002 c147d600 c147d600
<BR>Dec 27 21:54:50 ipcop kernel: Call Trace: [sock_def_error_report+34/80] [arp_ifdown+14/17] [packet_notifier+120/228] [notifier_call_chain+29/52] [dev_close+120/152]
<BR>Dec 27 21:54:50 ipcop kernel: [dev_change_flags+78/248] [devinet_ioctl+871/1856] [dev_ioctl+304/1072] [do_page_fault+453/1108] [inet_ioctl+427/512] [sock_ioctl+28/32]
<BR>Dec 27 21:54:50 ipcop kernel: [sys_ioctl+374/396] [system_call+51/56]
<BR>Dec 27 21:54:50 ipcop kernel:
<BR>Dec 27 21:54:50 ipcop kernel: Code: 8b 01 85 45 ec 74 4d 31 c0 9c 5e fa c7 01 00 00 00 00 8b 51
<BR>Dec 27 22:01:32 ipcop dnsmasq[201]: reading /var/lib/dhcp/dhcpd.leases
<BR>Dec 27 22:02:04 ipcop last message repeated 4 times
<BR>Dec 27 22:03:07 ipcop last message repeated 2 times
<BR>Dec 27 22:04:22 ipcop last message repeated 10 times
<BR>Dec 27 22:05:23 ipcop last message repeated 11 times
<BR>Dec 27 22:06:58 ipcop last message repeated 7 times
<BR>Dec 27 22:07:05 ipcop last message repeated 3 times
<BR>Dec 27 22:07:22 ipcop ipcop: ERROR: Can't start RED when it's still active
<BR>Dec 27 22:07:22 ipcop ipcop: Dial failed: 256
<BR>Dec 27 22:07:23 ipcop ipcop: ERROR: Can't start RED when it's still active
<BR>Dec 27 22:07:23 ipcop ipcop: Dial failed: 256
<BR>Dec 27 22:07:24 ipcop dnsmasq[201]: reading /var/lib/dhcp/dhcpd.leases
<BR>Dec 27 22:07:56 ipcop last message repeated 6 times
<BR>Dec 27 22:08:28 ipcop last message repeated 5 times
<BR>Dec 27 22:08:32 ipcop squid[5161]: Squid Parent: child process 5164 exited with status 0
<BR>Dec 27 22:08:37 ipcop squid[8857]: Squid Parent: child process 8860 started
<BR>Dec 27 22:08:37 ipcop dnsmasq[201]: reading /var/lib/dhcp/dhcpd.leases
<BR>Dec 27 22:08:53 ipcop last message repeated 5 times
<BR>Dec 27 22:09:07 ipcop squid[8857]: Squid Parent: child process 8860 exited with status 0
<BR>Dec 27 22:09:10 ipcop dnsmasq[201]: reading /var/lib/dhcp/dhcpd.leases
<BR>Dec 27 22:09:12 ipcop squid[8878]: Squid Parent: child process 8881 started
<BR>Dec 27 22:09:13 ipcop dnsmasq[201]: reading /var/lib/dhcp/dhcpd.leases
<BR>Dec 27 22:09:17 ipcop last message repeated 3 times
<BR>Dec 27 22:09:19 ipcop ipcop: Redémarrage d'IPCop
<BR>Dec 27 22:09:19 ipcop dnsmasq[201]: reading /var/lib/dhcp/dhcpd.leases
<BR>Dec 27 22:09:20 ipcop init: Switching to runlevel: 6
<BR>Dec 27 22:09:26 ipcop exiting on signal 15
<BR>Dec 27 22:14:03 ipcop syslogd 1.4.1: restart.
<BR>Dec 27 22:14:03 ipcop kernel: klogd 1.4.1, log source = /proc/kmsg started.
<BR>Dec 27 22:14:04 ipcop kernel: Inspecting /boot/System.map-2.4.21
<BR>Dec 27 22:14:06 ipcop kernel: Loaded 15995 symbols from /boot/System.map-2.4.21.
<BR>Dec 27 22:14:06 ipcop kernel: Symbols match kernel version 2.4.21.
<BR>Dec 27 22:14:06 ipcop kernel: Loaded 297 symbols from 24 modules.
<BR>Dec 27 22:14:06 ipcop kernel: Linux version 2.4.21 (
root@server1.wormgoor.com) (gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)) #1 do jul 31 17:06:58 CEST 2003
<BR>Dec 27 22:14:06 ipcop kernel: BIOS-provided physical RAM map:
<BR>
<BR>Je l'ai redemarre en manuel. Autrement, il me désactive parfois certaines options, il m'avait désactivé snort. Pour le log, je n'y comprends pas grd chose a vré dire...
<BR>je suis debutant, j'ai parcouru le forum mais, je ne comprends pas tout. Du moins a quel endraoit mettre telle ou telle ligne.
<BR>
<BR>En esperant ne pas vous avoir trop opportuné, merci et bonne nuit! <IMG SRC="images/smiles/icon_smile.gif">