Bonjour
Contexte : Portable Lenovo avec carte Wifi Intel 3945BG. Pas d'emploi de NetworkManager (les homes directories sont en NFS).
à la mise en veille j'ai dans les logs :
Oct 19 23:12:47 portable-gg nm-system-settings: Loaded plugin ifcfg-rh: (c) 2007 - 2008 Red Hat, Inc. To report bugs please use the NetworkManager mailing list.
Oct 19 23:12:47 portable-gg nm-system-settings: ifcfg-rh: parsing /etc/sysconfig/network-scripts/ifcfg-eth1 ...
Oct 19 23:12:48 portable-gg nm-system-settings: ifcfg-rh: read connection 'System eth1'
Oct 19 23:12:48 portable-gg nm-system-settings: ifcfg-rh: parsing /etc/sysconfig/network-scripts/ifcfg-wlan0 ...
Oct 19 23:12:48 portable-gg nm-system-settings: ifcfg-rh: read connection 'System unmanaged (wlan0)'
Oct 19 23:12:48 portable-gg nm-system-settings: ifcfg-rh: Ignoring connection 'System unmanaged (wlan0)' and its device because NM_CONTROLLED was false.
Oct 19 23:12:48 portable-gg nm-system-settings: ifcfg-rh: parsing /etc/sysconfig/network-scripts/ifcfg-eth0 ...
Oct 19 23:12:48 portable-gg nm-system-settings: ifcfg-rh: read connection 'System eth0'
Oct 19 23:12:48 portable-gg nm-system-settings: ifcfg-rh: Ignoring connection 'System eth0' and its device because NM_CONTROLLED was false.
Oct 19 23:12:48 portable-gg nm-system-settings: ifcfg-rh: parsing /etc/sysconfig/network-scripts/ifcfg-lo ...
Oct 19 23:12:52 portable-gg nm-system-settings: Added default wired connection 'Auto vboxnet0' for /org/freedesktop/Hal/devices/net_0a_00_27_00_00_00
Oct 19 23:13:58 portable-gg ntpd[11809]: synchronized to 88.191.108.178, stratum 2
Oct 19 23:13:58 portable-gg ntpd[11809]: kernel time sync status change 2001
Oct 19 23:31:23 portable-gg ntpd[11809]: synchronized to 88.191.80.132, stratum 2
Oct 19 23:34:02 portable-gg ntpd[11809]: synchronized to 88.191.108.178, stratum 2
Oct 19 23:39:58 portable-gg ntpd[11809]: synchronized to 88.191.80.132, stratum 2
Oct 19 23:40:47 portable-gg ntpd[11809]: synchronized to 88.191.108.178, stratum 2
Oct 19 23:41:38 portable-gg yum: Installed: flash-plugin-10.0.32.18-release.i386
Oct 19 23:47:51 portable-gg ntpd[11809]: synchronized to 88.191.80.132, stratum 2
Oct 19 23:49:22 portable-gg dhclient: receive_packet failed on wlan0: Network is down
Oct 19 23:49:23 portable-gg kernel: PM: Syncing filesystems ... done.
Il semble que le client DHCP ait *déjà* des problèmes...
Au retour de la veille (en ram), ce matin
Oct 20 05:55:30 portable-gg kernel: Freezing user space processes ... (elapsed 0.00 seconds) done.
Oct 20 05:55:30 portable-gg kernel: Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
................................................................................................
Oct 20 05:55:31 portable-gg ntpd[11809]: sendto(95.130.11.111) (fd=22): Invalid argument
Oct 20 05:55:31 portable-gg ntpd[11809]: Deleting interface #3 wlan0, fe80::21b:77ff:fea4:6f74#123, interface stats: received=0, sent=0, dropped=0, active_time=24328 secs
Oct 20 05:55:31 portable-gg ntpd[11809]: Deleting interface #5 wlan0, 192.168.1.4#123, interface stats: received=228, sent=228, dropped=7, active_time=24299 secs
Oct 20 05:55:31 portable-gg dbus-daemon: Rejected send message, 3 matched rules; type="method_return", sender=":1.14" (uid=0 pid=12102 comm="/usr/libexec/devkit-power-daemon ") interface="(unset)" member="(unset)" error name="(unset)" requested_reply=0 destination=":1.33" (uid=500 pid=12333 comm="gnome-power-manager "
j'ai donc logiquement :
[georges@portable-gg ~]$ ifconfig
lo Link encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:Hôte
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:26 errors:0 dropped:0 overruns:0 frame:0
TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:2732 (2.6 KiB) TX bytes:2732 (2.6 KiB)
[georges@portable-gg ~]$
A ce moment si je fais :
[root@portable-gg ~]# dhclient -r
[root@portable-gg ~]# service wpa_supplicant stop
Arrêt de wpa_supplicant : [ OK ]
[root@portable-gg ~]# service wpa_supplicant start
Démarrage de wpa_supplicant: /etc/wpa_supplicant/wpa_suppli[ OK ]f, -iwlan0,
[root@portable-gg ~]# /etc/rc.local <------- le dhclient est fait ici
[root@portable-gg ~]# ifconfig
wlan0 Link encap:Ethernet HWaddr 00:1B:77:A4:6F:74
inet adr:192.168.1.4 Bcast:192.168.1.255 Masque:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:18120 errors:0 dropped:0 overruns:0 frame:0
TX packets:15606 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:17708265 (16.8 MiB) TX bytes:2508401 (2.3 MiB)
wmaster0 Link encap:UNSPEC HWaddr 00-1B-77-A4-6F-74-D0-F7-00-00-00-00-00-00-00-00
UP RUNNING MTU:0 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
[root@portable-gg ~]#
je récupère mon wlan0 *mais* j'ai perdu l'interface de loopback !
QuestionS :
1) comment améliorer le phénomène et ne pas perdre le réseau quand on met en veille ?
2) pourquoi perd t'on l'interface de loopback ?
Merci pour votre aide !!