Pages : 1
#1 Le 01/02/2009, à 23:29
- Gérard B4
[résolu] Wifi capricieux
Bonjour,
J'ai de façon aléatoire des problèmes de connexion wifi: la connexion initiale
échoue parfois (une fois sur 2 environ). Une fois connecté, (comme
l'ordinateur est fixe, et le routeur wifi aussi), ça reste OK aussi longtemps
que je veux.
Le premier problème c'est pour avoir la connexion initiale. Quand elle ne
marche pas, il me faut éteindre complètement le PC, le rallumer pour tenter
un nouvel essai. C'est très lourd.
J'ai bien essayé avec la commande "ifdown wlan0" suivie de "ifup wlan0", mais
je constate que ifdown n'éteind pas la led verte de la carte DWL-G510. Et le
ifup échoue systématiquement.
Que puis je faire pour solutionner mes problèmes: avoir à coup sûr le lien
wifi et pouvoir facilement réinitialiser ce lien si besoin?
Quand tout marche bien j'ai ceci:
gb4@dell-desktop:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu 8.04.2"
gb4@dell-desktop:~$ lsusb
Bus 008 Device 002: ID 0644:0200 TEAC Corp.
Bus 008 Device 001: ID 0000:0000
Bus 007 Device 001: ID 0000:0000
Bus 006 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 005: ID 413c:2105 Dell Computer Corp.
Bus 003 Device 004: ID 413c:3012 Dell Computer Corp.
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
gb4@dell-desktop:~$ lspci
00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 02)
00:01.0 PCI bridge: Intel Corporation 82G33/G31/P35/P31 Express PCI Express Root Port (rev 02)
00:19.0 Ethernet controller: Intel Corporation 82562V-2 10/100 Network Connection (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IR (ICH9R) LPC Interface Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc RV610 video device [Radeon HD 2400 PRO]
02:00.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 70)
02:01.0 Network controller: RaLink RT2561/RT61 rev B 802.11g
gb4@dell-desktop:~$ sudo lshw -C network
[sudo] password for gb4:
*-network
description: Ethernet interface
product: 82562V-2 10/100 Network Connection
vendor: Intel Corporation
physical id: 19
bus info: pci@0000:00:19.0
logical name: eth0
version: 02
serial: 00:21:9b:12:bf:1e
capacity: 100MB/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=0.2.0 firmware=1.1-2 latency=0 link=no module=e1000e multicast=yes port=twisted pair
*-network
description: Wireless interface
product: RT2561/RT61 rev B 802.11g
vendor: RaLink
physical id: 1
bus info: pci@0000:02:01.0
logical name: wmaster0
version: 00
serial: 00:21:91:23:2d:72
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list logical ethernet physical wireless
configuration: broadcast=yes driver=rt61pci ip=192.168.1.3 latency=64 module=rt61pci multicast=yes wireless=IEEE 802.11
gb4@dell-desktop:~$ lsmod
Module Size Used by
nls_iso8859_1 4992 0
nls_cp437 6656 0
vfat 14464 0
fat 54556 1 vfat
garmin_gps 19844 0
usbserial 35816 1 garmin_gps
ipt_REDIRECT 2944 1
ipt_owner 2944 1
rfcomm 41744 2
l2cap 25728 13 rfcomm
bluetooth 61156 4 rfcomm,l2cap
vboxnetflt 89736 0
vboxdrv 116008 1 vboxnetflt
ppdev 10372 0
acpi_cpufreq 10796 1
cpufreq_userspace 5284 0
cpufreq_powersave 2688 0
cpufreq_stats 7104 0
cpufreq_conservative 8712 0
cpufreq_ondemand 9740 2
freq_table 5536 3 acpi_cpufreq,cpufreq_stats,cpufreq_ondemand
container 5632 0
sbs 15112 0
dock 11280 0
sbshc 7680 1 sbs
video 19856 0
output 4736 1 video
battery 14212 0
ipv6 267780 10
xt_limit 3584 8
xt_tcpudp 4096 11
ipt_LOG 7296 8
ipt_MASQUERADE 4608 0
ipt_TOS 3200 0
ipt_REJECT 5632 1
nf_conntrack_irc 7576 0
nf_conntrack_ftp 10144 0
xt_state 3328 6
af_packet 23812 2
aes_i586 33536 0
dm_crypt 15364 0
dm_mod 62660 1 dm_crypt
ac 6916 0
sbp2 24072 0
parport_pc 36260 0
lp 12324 0
parport 37832 3 ppdev,parport_pc,lp
snd_hda_intel 353828 3
snd_pcm_oss 42144 0
snd_mixer_oss 17920 1 snd_pcm_oss
snd_pcm 78596 2 snd_hda_intel,snd_pcm_oss
snd_page_alloc 11400 2 snd_hda_intel,snd_pcm
snd_hwdep 10500 1 snd_hda_intel
arc4 2944 2
snd_seq_dummy 4868 0
ecb 4480 2
blkcipher 8324 1 ecb
snd_seq_oss 35584 0
rt61pci 24448 0
crc_itu_t 3072 1 rt61pci
snd_seq_midi 9376 0
rt2x00pci 11392 1 rt61pci
rt2x00lib 26752 2 rt61pci,rt2x00pci
rfkill 8592 1 rt2x00lib
snd_rawmidi 25760 1 snd_seq_midi
snd_seq_midi_event 8320 2 snd_seq_oss,snd_seq_midi
rt2x_mac80211 177944 2 rt2x00pci,rt2x00lib
usb_storage 73664 0
psmouse 40336 0
snd_seq 54224 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
input_polldev 5896 1 rt2x00lib
libusual 19108 1 usb_storage
evdev 13056 3
dcdbas 9504 0
serio_raw 7940 0
iTCO_wdt 13092 0
iTCO_vendor_support 4868 1 iTCO_wdt
pcspkr 4224 0
snd_timer 24836 2 snd_pcm,snd_seq
snd_seq_device 9612 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
rt2x_cfg80211 29704 2 rt2x00lib,rt2x_mac80211
fglrx 1548940 27
eeprom_93cx6 3200 1 rt61pci
e1000e 97828 0
usbhid 31872 0
snd 56996 17 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_hwdep,snd_seq_dummy,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
hid 38784 1 usbhid
soundcore 8800 1 snd
shpchp 34452 0
pci_hotplug 30880 1 shpchp
button 9232 0
intel_agp 25492 0
agpgart 34760 2 fglrx,intel_agp
iptable_nat 8324 1
nf_nat 20396 3 ipt_REDIRECT,ipt_MASQUERADE,iptable_nat
nf_conntrack_ipv4 19080 8 iptable_nat
nf_conntrack 66752 7 ipt_MASQUERADE,nf_conntrack_irc,nf_conntrack_ftp,xt_state,iptable_nat,nf_nat,nf_conntrack_ipv4
iptable_mangle 3712 0
iptable_filter 3840 1
ip_tables 14820 3 iptable_nat,iptable_mangle,iptable_filter
x_tables 16132 11 ipt_REDIRECT,ipt_owner,xt_limit,xt_tcpudp,ipt_LOG,ipt_MASQUERADE,ipt_TOS,ipt_REJECT,xt_state,iptable_nat,ip_tables
ext3 136712 2
jbd 48404 1 ext3
mbcache 9600 1 ext3
sg 36880 0
sr_mod 17956 0
cdrom 37408 1 sr_mod
sd_mod 30720 4
ata_piix 19588 0
ohci1394 33584 0
floppy 59588 0
ieee1394 93752 2 sbp2,ohci1394
pata_acpi 8320 0
ehci_hcd 37900 0
uhci_hcd 27024 0
usbcore 146028 8 garmin_gps,usbserial,usb_storage,libusual,usbhid,ehci_hcd,uhci_hcd
thermal 16796 0
processor 36872 2 acpi_cpufreq,thermal
fan 5636 0
fbcon 42912 0
tileblit 3456 1 fbcon
font 9472 1 fbcon
bitblit 6784 1 fbcon
softcursor 3072 1 bitblit
fuse 50580 3
ata_generic 8324 3
libata 159344 3 ata_piix,pata_acpi,ata_generic
scsi_mod 151436 6 sbp2,usb_storage,sg,sr_mod,sd_mod,libata
gb4@dell-desktop:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11 ESSID:"TECOM-AH4021-######"
Mode:Managed Frequency:2.447 GHz Access Point: 00:03:C9:AE:23:FD
Bit Rate=54 Mb/s Tx-Power=14 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Link Quality=90/100 Signal level=-58 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
gb4@dell-desktop:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:21:9b:12:bf:1e
UP BROADCAST MULTICAST MTU:1500 Metric:1
Packets reçus:0 erreurs:0 :0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
Octets reçus:0 (0.0 B) Octets transmis:0 (0.0 B)
Mémoire:fdfc0000-fdfe0000
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
Packets reçus:223102 erreurs:0 :0 overruns:0 frame:0
TX packets:223102 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
Octets reçus:165176454 (157.5 MB) Octets transmis:165176454 (157.5 MB)
wlan0 Link encap:Ethernet HWaddr 00:21:91:23:2d:72
inet adr:192.168.1.3 Bcast:192.168.1.255 Masque:255.255.255.0
adr inet6: fe80::221:91ff:fe23:2d72/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Packets reçus:153890 erreurs:0 :0 overruns:0 frame:0
TX packets:121880 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
Octets reçus:194735114 (185.7 MB) Octets transmis:13949083 (13.3 MB)
wmaster0 Link encap:UNSPEC HWaddr 00-21-91-23-2D-72-00-00-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Packets reçus:0 erreurs:0 :0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
Octets reçus:0 (0.0 B) Octets transmis:0 (0.0 B)
gb4@dell-desktop:~$ sudo iwlist scan
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
wmaster0 Interface doesn't support scanning.
wlan0 Scan completed :
Cell 01 - Address: 00:03:C9:AE:23:FD
ESSID:""
Mode:Master
Frequency:2.447 GHz (Channel 8)
Channel:8
Quality=70/100 Signal level=-58 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:tsf=0000013895ae018a
gb4@dell-desktop:~$ uname -r -m
2.6.24-16-generic i686
gb4@dell-desktop:~$
gb4@dell-desktop:~$ cat /etc/network/interfaces
auto lo wlan0
iface lo inet loopback
iface wlan0 inet dhcp
wireless-essid TECOM-AH4021-######
wireless-key 9DA#######################
gb4@dell-desktop:~$ nm-tool
NetworkManager Tool
State: connected
- Device: eth0 ----------------------------------------------------------------
NM Path: /org/freedesktop/NetworkManager/Devices/eth0
Type: Wired
Driver: e1000e
Active: no
HW Address: 00:21:9B:12:BF:1E
Capabilities:
Supported: yes
Carrier Detect: yes
Wired Settings
Hardware Link: no
gb4@dell-desktop:~$
Quand la connection ne marche pas, j'ai
gb4@dell-desktop:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11 ESSID:"TECOM-AH4021-######"
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=14 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Et si j'essaie de déplanter avec "ifdown wlan0" suivie de "ifup wlan0":
gb4@dell-desktop:~$ sudo ifdown wlan0
[sudo] password for gb4:
* Stopping the Firestarter firewall...
...done.
* Starting the Firestarter firewall...
...fail!
run-parts: /etc/network/if-down.d/50firestarter exited with return code 2
There is already a pid file /var/run/dhclient.wlan0.pid with pid 6857
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
wmaster0: unknown hardware address type 801
wmaster0: unknown hardware address type 801
Listening on LPF/wlan0/00:21:91:23:2d:72
Sending on LPF/wlan0/00:21:91:23:2d:72
Sending on Socket/fallback
DHCPRELEASE on wlan0 to 192.168.1.1 port 67
gb4@dell-desktop:~$ sudo ifup wlan0
There is already a pid file /var/run/dhclient.wlan0.pid with pid 134519072
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
wmaster0: unknown hardware address type 801
wmaster0: unknown hardware address type 801
Listening on LPF/wlan0/00:21:91:23:2d:72
Sending on LPF/wlan0/00:21:91:23:2d:72
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
* Stopping the Firestarter firewall...
...done.
* Starting the Firestarter firewall...
...fail!
run-parts: /etc/network/if-up.d/50firestarter exited with return code 2
gb4@dell-desktop:~$
Quelqu'un a une idée?
Dernière modification par Gérard B4 (Le 20/02/2009, à 10:57)
Hors ligne
#2 Le 17/02/2009, à 22:49
- Gérard B4
Re : [résolu] Wifi capricieux
La situation vient d'évoluer... dans le mauvais sens! La connexion wifi ne marche plus du tout.
Je crains que je n'aie un problème matériel, va falloir que je sollicite le SAV de DELL et D-Link.
Hors ligne
#3 Le 18/02/2009, à 00:41
- toutafai
Re : [résolu] Wifi capricieux
bonsoir,
1/ si c'est un portable, vérifier que le wifi est bien activé dès la mise sous tension du pc (voir si y a un bouton on/off, une combinaison de touche, ou dans le bios)
2/ Purger ton fichier interfaces (et ne plus y toucher, sauf exception) et du coup, permettre à network-manager de gerer tes connexions :
echo -e 'auto lo\niface lo inet loopback\n' | sudo tee /etc/network/interfaces
rebooter et te connecter avec network manager (voir 4)
3/ utilise plutot sudo ifconfig wlan0 up à la place de sudo ifup wlan0 (pareil pour le ifdown à remplacer par ifconfig wlan0 down)
4/ pour te connecter utilise uniquement network-manager (sinon le fichier interfaces est modifié, empechant network-manager de fonctionner correctement). Voici une doc :
http://doc.ubuntu-fr.org/networkmanager?redirect=1
bon courage..
Dernière modification par toutafai (Le 18/02/2009, à 00:42)
Tombé dans l'informatique étant petit, j'en ai fait mon métier. Utilisateur d'Ubuntu depuis novembre 2006, actuellement sous 20.04 x64 (Que d'évolution
depuis Dapper Drake ! Ça rajeunit pas ^^^).
Hors ligne
#4 Le 20/02/2009, à 10:08
- Gérard B4
Re : [résolu] Wifi capricieux
Merci toutafai pour avoir pris le temps de me proposer une solution.
Mon PC étant fixe, il n'y a pas de combinaison de touches pour allumer éteindre le wifi. Je peux cependant voir à l'arrière du PC que les deux led (power et activity) sont allumées. En passant, je remarque que "activity" l'est en permanence, et non pas par intermitence comme cela devrait normalement êter le cas. Cet indice particulier me fait pesner à une panne matérielle.
J'ai néanmoins purgé mon fichier interfaces rebooté et farfouillé dans NM pour tenter de reconnecter le wifi: echec.
En dernier ressort j'ai été jusqu'à déprogrammer toutes les protections du modem routeru wifi (ne plus masquer le SSID et enlever la sécurité WEP), mais NM ne detecte même pas mon réseau wifi (ni ceux des voisins). Si je lui demande de se connecter "à un autre réseau sans fil" en lui précisant mon SSID, toujours rien, c'est mort.
Je vais donc réactiver le SAV pour ceuser la piste de panne hardware...
Hors ligne
#5 Le 20/02/2009, à 10:56
- Gérard B4
Re : [résolu] Wifi capricieux
Ca y est,
Je viens de passer une bonne demi-heure au téléphone avec le SAV de DELL.
Sous les directives de mon interlocuteur, j'ai retiré la carte du PC pour l'y remettre, tout d'abord dans un autre slot (celui utilisé intialement par la carte IEEE1394) : et le wifi a remarché. Du coup j'avais un doute si la carte IEEE1394 allait marcher (je ne l'ai jamais encore essayée, il me faudra apprendre à importer de la vidéo de mon camescops pour pouvoir faire l'essai).
J'ai donce remis chaque carte (wifi et IEEE1394) dans leur slots d'origine, et en fait, le wifi continue à bien marcher.
J'ai donc probablement été victime d'un mauvais contact quelque part, que les connexions/deconnexions ont pu résoudre.
Hors ligne
Pages : 1