Bonjour à tous,
voici enfin ma première question sur le forum… il en fallait bien une!
Après avoir à priori vaincu l’installation d’un vile firmware complètement pas du tout libre pour installer ma carte wifi, la configuration de la carte visiblement m’échappe! Après avoir écumé nombres de forums et autre sites internet tous très bien fait, je me tourne vers vous linuxien au grand coeur
Pour les heureux possesseur de cette carte wifi de
et qui aurait du mal à trouver le firmware je me suis aidé de ce lien:
wiki.debian.org/bcm43xx
Lorsque je tape
# iwlist scan
j’obtiens tous les réseaux à proximité.
voilà mon ifconfig
[code]# ifconfig
eth0 Link encap:Ethernet HWaddr --:–:--:–:--:–
inet adr:192.168.0.12 Bcast:192.168.0.255 Masque:255.255.255.0
adr inet6: ----::—:----:----:----/-- Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:48047 errors:558 dropped:0 overruns:556 frame:2
TX packets:33314 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:65712822 (62.6 MiB) TX bytes:3218430 (3.0 MiB)
Interruption:42 Adresse de base:0xa000
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:1812 errors:0 dropped:0 overruns:0 frame:0
TX packets:1812 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:138016 (134.7 KiB) TX bytes:138016 (134.7 KiB)
wlan0 Link encap:Ethernet HWaddr --:–:--:–:--:–
adr inet6: ----::—:----:----:----/-- Scope:Lien
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:293
TX packets:0 errors:85 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interruption:23
[/code]
Voilà mon fichier /etc/network/interfaces:
(à priori on ne met pas l’ESSID entre “”)
(clef wep…oui je sais…c’est un peu dépassé…mais c’est comme ça )
[code]# 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
The primary network interface
allow-hotplug eth0
#NetworkManager#iface eth0 inet dhcp
my wifi device
auto wlan0
iface wlan0 inet dhcp
wireless-mode managed
wireless-essid ------------
wireless-key ---------------------------
[/code]
Avant de tester une connection je tape:
ifconfig eth0 inet down
pour couper la connection ethernet
Ensuite je tape:
# ifconfig wlan0 inet up
la console ne me dit rien, mais ni ping ni connection via un navigateur web…
ou sinon je tape:
# ifup wlan0
et dans le deuxième cas la réponse de la console est:
[code]# ifup wlan0
Error for wireless request “Set Encode” (8B2A) :
SET failed on device wlan0 ; Invalid argument.
Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/wlan0/–:--:–:--:–:--
Sending on LPF/wlan0/–:--:–:--:–:--
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 17
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
No DHCPOFFERS received.
Unable to obtain a lease on first try. Exiting.
Failed to bring up wlan0.[/code]
J’ai donc sans doute mal renseigné mon /etc/network/interfaces
Voilà en remerciant ceux qui auront la patience de lire jusqu’au bout…sur un sujet déjà de nombreuses fois traité…sur le net.