Pages : 1
#1 Le 25/01/2008, à 08:18
- yd290276
[RESOLU] Wifi non fonctionnel au demarrage
Bonjour,
j'ai un DV9000 et une carte wifi integrée de type broadcom4312. Le wifi est configuré avec ndiswrapper et fonctionne correctement quand je le lance manuellement.
Par contre, j'ai un probleme au demarrage :
La carte wifi est bien reconnue mais la connexion ne fonctionne pas, j'ai le message :
ADDRCONF (NETDEV_UP) : eth0 link is not ready
Je suis obligé à chaque démarrage en mode console de taper :
sudo ifdown eth0, puis sudo ifup eth0
Comment résoudre ce probleme ?
Merci !
Pour infos :
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=7.10
DISTRIB_CODENAME=gutsy
DISTRIB_DESCRIPTION="Ubuntu 7.10"
lsusb
Bus 002 Device 002: ID 05ca:1810 Ricoh Co., Ltd
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 004: ID 046d:c51b Logitech, Inc.
Bus 001 Device 001: ID 0000:0000
lspci
00:00.0 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.1 RAM memory: nVidia Corporation C51 Memory Controller 0 (rev a2)
00:00.2 RAM memory: nVidia Corporation C51 Memory Controller 1 (rev a2)
00:00.3 RAM memory: nVidia Corporation C51 Memory Controller 5 (rev a2)
00:00.4 RAM memory: nVidia Corporation C51 Memory Controller 4 (rev a2)
00:00.5 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.6 RAM memory: nVidia Corporation C51 Memory Controller 3 (rev a2)
00:00.7 RAM memory: nVidia Corporation C51 Memory Controller 2 (rev a2)
00:02.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:03.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:04.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:09.0 RAM memory: nVidia Corporation MCP51 Host Bridge (rev a2)
00:0a.0 ISA bridge: nVidia Corporation MCP51 LPC Bridge (rev a3)
00:0a.1 SMBus: nVidia Corporation MCP51 SMBus (rev a3)
00:0a.3 Co-processor: nVidia Corporation MCP51 PMU (rev a3)
00:0b.0 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
00:0b.1 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
00:0d.0 IDE interface: nVidia Corporation MCP51 IDE (rev f1)
00:0e.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev f1)
00:10.0 PCI bridge: nVidia Corporation MCP51 PCI Bridge (rev a2)
00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)
00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a3)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
03:00.0 Network controller: Broadcom Corporation BCM4312 802.11a/b/g (rev 01)
05:00.0 VGA compatible controller: nVidia Corporation G70 [GeForce Go 7600] (rev a1)
07:05.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller
07:05.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
07:05.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 01)
07:05.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a)
07:05.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05)
sudo lshw -C network
*-network
description: Wireless interface
product: BCM4312 802.11a/b/g
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:03:00.0
logical name: eth0
version: 01
serial: 00:1a:73:33:97:21
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ndiswrapper+bcmwl5 driverversion=1.45+Broadcom,10/12/2006, 4.100. ip=192.168.1.9 latency=0 link=no module=ndiswrapper multicast=yes wireless=IEEE 802.11g
lsmod
Module Size Used by
powernow_k8 16960 1
cpufreq_conservative 8072 0
cpufreq_ondemand 9612 1
cpufreq_userspace 5280 0
cpufreq_stats 7232 0
freq_table 5792 3 powernow_k8,cpufreq_ondemand,cpufreq_stats
cpufreq_powersave 2688 0
battery 11012 0
ac 6148 0
container 5504 0
sbs 19592 0
video 18060 11
dock 10656 0
button 8976 0
ipv6 273892 10
af_packet 24840 2
sbp2 24072 0
parport_pc 37412 0
lp 12580 0
parport 37448 2 parport_pc,lp
loop 19076 0
ndiswrapper 185240 0
snd_hda_intel 263712 1
snd_pcm_oss 44672 0
snd_mixer_oss 17664 1 snd_pcm_oss
snd_pcm 80388 2 snd_hda_intel,snd_pcm_oss
joydev 11328 0
snd_seq_dummy 4740 0
snd_seq_oss 33152 0
snd_seq_midi 9600 0
snd_rawmidi 25728 1 snd_seq_midi
snd_seq_midi_event 8448 2 snd_seq_oss,snd_seq_midi
snd_seq 53232 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 24324 2 snd_pcm,snd_seq
uvcvideo 48644 0
snd_seq_device 9228 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
xpad 9988 0
sdhci 18828 0
compat_ioctl32 2304 1 uvcvideo
nvidia 6221648 36
snd 54660 11 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
mmc_core 28420 1 sdhci
soundcore 8800 1 snd
snd_page_alloc 11400 2 snd_hda_intel,snd_pcm
videodev 29312 1 uvcvideo
v4l1_compat 15364 2 uvcvideo,videodev
v4l2_common 18432 2 uvcvideo,videodev
serio_raw 8068 0
agpgart 35016 1 nvidia
pcspkr 4224 0
k8temp 6656 0
psmouse 39952 0
i2c_nforce2 7040 0
i2c_core 26112 2 nvidia,i2c_nforce2
shpchp 34580 0
pci_hotplug 32704 1 shpchp
evdev 11136 6
ext3 133896 1
jbd 60456 1 ext3
mbcache 9732 1 ext3
sg 36764 0
sd_mod 30336 5
sata_nv 20612 4
ide_cd 32672 0
cdrom 37536 1 ide_cd
usbhid 29536 0
hid 28928 1 usbhid
ehci_hcd 36492 0
ohci1394 36528 0
ieee1394 96312 2 sbp2,ohci1394
forcedeth 51592 0
ata_generic 8452 0
libata 125168 2 sata_nv,ata_generic
scsi_mod 147084 4 sbp2,sg,sd_mod,libata
amd74xx 15260 0 [permanent]
ide_core 116804 2 ide_cd,amd74xx
ohci_hcd 22916 0
usbcore 138632 7 ndiswrapper,uvcvideo,xpad,usbhid,ehci_hcd,ohci_hcd
thermal 14344 0
processor 32072 2 powernow_k8,thermal
fan 5764 0
fuse 47124 5
apparmor 40728 0
commoncap 8320 1 apparmor
iwconfig
lo no wireless extensions.
eth1 no wireless extensions.
eth0 IEEE 802.11g ESSID:off/any
Mode:Managed Frequency:2.462 GHz Access Point: Not-Associated
Bit Rate:54 Mb/s Tx-Power:32 dBm
RTS thr:2347 B Fragment thr:2346 B
Power Management:off
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
ifconfig
eth0 Lien encap:Ethernet HWaddr 00:1A:73:33:97:21
inet adr:192.168.1.9 Bcast:192.168.1.255 Masque:255.255.255.0
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)
Interruption:10 Mémoire:c8000000-c8004000
eth1 Lien encap:Ethernet HWaddr 00:1B:24:01:E0:4D
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)
Interruption:10 Adresse de base:0xe000
lo Lien 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:6 erreurs:0 :0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
Octets reçus:452 (452.0 b) Octets transmis:452 (452.0 b)
iwlist scan
eth0 Scan completed :
Cell 01 - Address: 00:07:CB:54:59:26
ESSID:"FREEBOXWIFI"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality:54/100 Signal level:-61 dBm Noise level:-96 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:bcn_int=100
Extra:atim=0
Cell 02 - Address: 00:16:38:CE:A4:54
ESSID:"ALICE-CEA449"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality:21/100 Signal level:-82 dBm Noise level:-96 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:bcn_int=100
Extra:atim=0
Cell 03 - Address: 00:18:02:45:C3:26
ESSID:"DartyBox_017d"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality:17/100 Signal level:-85 dBm Noise level:-96 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
12 Mb/s; 24 Mb/s; 36 Mb/s; 9 Mb/s; 18 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:atim=0
Cell 04 - Address: 00:10:C6:CA:0B:31
ESSID:"Wanadoo_7b51"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.457 GHz (Channel 10)
Quality:21/100 Signal level:-82 dBm Noise level:-96 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:atim=0
Cell 05 - Address: 00:17:9A:C3:51:28
ESSID:"dlink"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality:12/100 Signal level:-88 dBm Noise level:-96 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
12 Mb/s; 24 Mb/s; 36 Mb/s; 9 Mb/s; 18 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:atim=0
Cell 06 - Address: 00:17:9A:C4:6E:F4
ESSID:"dlink"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality:25/100 Signal level:-80 dBm Noise level:-96 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
12 Mb/s; 24 Mb/s; 36 Mb/s; 9 Mb/s; 18 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:atim=0
Cell 07 - Address: 00:18:4D:8F:30:FC
ESSID:"Thehomenetwork"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:85/100 Signal level:-41 dBm Noise level:-96 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
12 Mb/s; 24 Mb/s; 36 Mb/s; 9 Mb/s; 18 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:atim=0
IE: WPA Version 1
Group Cipher : WEP-40
Pairwise Ciphers (1) : WEP-40
Authentication Suites (1) : PSK
Cell 08 - Address: 00:17:33:22:D4:45
ESSID:"NEUF_D444"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:12/100 Signal level:-88 dBm Noise level:-96 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:bcn_int=100
Extra:atim=0
IE: WPA Version 1
Group Cipher : WEP-40
Pairwise Ciphers (2) : TKIP WEP-40
Authentication Suites (1) : PSK
Cell 09 - Address: 00:16:41:A0:43:B7
ESSID:"Alice-9b5a"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.442 GHz (Channel 7)
Quality:7/100 Signal level:-91 dBm Noise level:-96 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:atim=0
Cell 10 - Address: 00:1D:60:51:33:03
ESSID:"NUMERICABLE-FF0C"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:4/100 Signal level:-93 dBm Noise level:-96 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:bcn_int=100
Extra:atim=0
Cell 11 - Address: 00:17:33:22:D4:4C
ESSID:"Neuf WiFi"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:15/100 Signal level:-86 dBm Noise level:-96 dBm
Encryption key:off
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:bcn_int=100
Extra:atim=0
Cell 12 - Address: 00:16:41:8D:F1:5F
ESSID:"Alice-9ef5"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.442 GHz (Channel 7)
Quality:15/100 Signal level:-86 dBm Noise level:-96 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:atim=0
uname -r -m
2.6.22-14-generic i686
cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
wpa-proto WPA
wpa-ssid Thehomenetwork
wpa-psk $!yann2902
wpa-key-mgmt WPA-PSK
address 192.168.1.9
netmask 255.255.255.0
gateway 192.168.1.1
#wpa-driver wext
Dernière modification par yd290276 (Le 26/01/2008, à 18:31)
Hors ligne
#2 Le 26/01/2008, à 18:26
- yd290276
Re : [RESOLU] Wifi non fonctionnel au demarrage
Re-Bonjour,
je m'auto reponds, donc pour ceux que ca peut interesser :
Sous Gnome, avec Network manager pour une connexion securisée en WPA en IP fixe(wpa_supplicant), mon probleme etait que la carte wifi broadcom 4312 (bcm43xx) etait bien configurée, mais que la connexion à mon routeur wifi n'etait pas operationnelle. Je devais par conséquent à chaque demarrage executer successivement (eth0 est mon interface wifi):
sudo ifdown eth0
sudo ifup eth0
ou
sudo /etc/init.d/networking restart
Après des recherches sur les forums et aucun résultat avec WICD (instable, connexion réussie au démarrage mais pas de résolution de noms...), j'ai trouvé la manip ci dessous pour qu'au démarrage ma connexion fonctionne (avec wpa_supplicant) :
1 - Créer un fichier wpa_supplicant.conf dans /etc
2 - Y placer (et adapter selon votre configuration) :
ctrl_interface=/var/run/wpa_supplicant
ap_scan=1
network={
ssid="<votre_SSID"
scan_ssid=1
proto=WPA
key_mgmt=WPA-PSK
#psk="<Ma_clef_en_ascii>"
priority=5
}
2 - Dans /etc/network/interfaces, en admettant que votre interface WIFI est eth0 :
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
wpa-conf /etc/wpa_supplicant.conf
address 192.168.1.9
netmask 255.255.255.0
gateway 192.168.1.1
et voilà... Maintenant en bootant ubuntu (sous gnome), ma connexion wifi est configurée et directement associée au SSID de mon routeur wifi.
pour ma part, j'ai l'impression que c'est wpa_supplicant qui ne devait pas être lancé avant la configuration reseau et du coup, l'association ne se faisait pas (ou etait rejetée...)
Bref, cette configuration à l'air de fonctionner parfaitement pour une carte broadcom 43xx associée à un routeur en WPA et une configuration ip fixe.
N'hesitez pas à me poser des questions ou a expliquer vos probleme du meme type dans ce post.
La prochaine etape est de savoir pourquoi j'ai des deconnexions intempestives (mais là, je seche...). si quelqu'un à la réponse ;-)
Hors ligne
#3 Le 26/01/2008, à 18:33
- willy78
Re : [RESOLU] Wifi non fonctionnel au demarrage
ndiswrapper ou pilotes proprio?
a noter que networkmanager ne supporte pas les ip fixe!
Quelques tutos pour le wifi sous Ubuntu:
http://wlety.free.fr/forum
Hors ligne
#4 Le 27/01/2008, à 01:17
- yd290276
Re : [RESOLU] Wifi non fonctionnel au demarrage
Salut,
c'est avec ndiswrapper. Par contre j'ai toujours des problemes au demarrage :
Tout parait ok apres un
iwconfig
. je vois bien la connexion active, mais un
ping www.google.com
est non résolu... un simple
sudo /etc/init.d/networking restart
permet d'avoir une connexion OK.
Hors ligne
Pages : 1