salut les amis
j’ai installer debian5 et dans l’onglet réseau j’ai vu qu’il a reconnu mes 2 carte carte réseau eth0 et wlan0 alors j’ai configuré wlan0 ( ip et le masque) mais j’ai remarqué qu’il y a pas un champ ou mettre le nom réseau (SSID) après avoir terminer avec ça j’ai fai la commande ifconfig mais j’ai pas trouvé le wlan0 !!!
et j’ai fait /etc/init.d/networking restart
il m’a afficher faild to bring wlan0 ou quelque chose comme ça
alors c’est quoi le problème ? juste avant d’installer debian5 j’ai essayer ubuntu10 et tous a bien marché !!
ifconfig ne montre que les interfaces montées.
envoie le contenu de /etc/network/interfaces
et installe le paquet wireless-tools, la commande iwconfig wlan0 te donnera de sinfos pour savoir si ton interface est vien “associée” a un AP.
Il faut les retours de
lspci
iwconfig
ifconfig
iwlist scanning
lspci
debian:/media/USB_XP_710# lspci
00:00.0 Host bridge: Intel Corporation 82915G/P/GV/GL/PL/910GL Memory Controller Hub (rev 0e)
00:01.0 PCI bridge: Intel Corporation 82915G/P/GV/GL/PL/910GL PCI Express Root Port (rev 0e)
00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 4 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d3)
00:1f.0 ISA bridge: Intel Corporation 82801FB/FR (ICH6/ICH6R) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801FB/FW (ICH6/ICH6W) SATA Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
01:03.0 Mass storage controller: Integrated Technology Express, Inc. ITE 8211F Single Channel UDMA 133 (rev 11)
01:08.0 Ethernet controller: Intel Corporation 82562ET/EZ/GT/GZ - PRO/100 VE (LOM) Ethernet Controller (rev 03)
01:0a.0 Network controller: RaLink RT2561/RT61 rev B 802.11g
06:00.0 VGA compatible controller: nVidia Corporation NV44 [GeForce 6200 TurboCache™] (rev a1)
iwconfig
debian:/media/USB_XP_710# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11 ESSID:""
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=0 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key: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
debian:/media/USB_XP_710# 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:82 errors:0 dropped:0 overruns:0 frame:0
TX packets:82 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:6160 (6.0 KiB) TX bytes:6160 (6.0 KiB)
iwlist scanning
debian:/media/USB_XP_710# iwlist scanning
lo Interface doesn’t support scanning.
eth0 Interface doesn’t support scanning.
wmaster0 Interface doesn’t support scanning.
wlan0 Interface doesn’t support scanning : Network is down
ifconfig -a les montre toutes.
Ton interface apparait bien dans iwlist, elle est simplement désactivée(« Network is down »). Tu peux l’activer en faisant :
Sinon
cat "iface wlan0 inet dhcp" > /etc/network/interfaces
ifup wlan0
Surtout pas, ce serait
[quote]echo “iface wlan0 inet dhcp” >> /etc/network/interfaces
ifup wlan0[/quote]
tel que overload, tu lui flingues son fichier avec un contenu vide.
Sinon, ça ne marche que dans un réseau ouvert, sinon il faut configurer le WEP ou WPA.
Il y a des fils là dessus dans le T&Astuces (voir par exemple guessnet)
La tête en l’air!!
Tu à totalement raison!!
Pour le echo, le cat fait la même chose!
[quote=“overload”]:roll: La tête en l’air!!
Tu à totalement raison!!
Pour le echo, le cat fait la même chose![/quote]
[quote]francois@bling:/lib/modules/2.6.27-git1-bling102008$ cat "gabeu"
cat: gabeu: Aucun fichier ou répertoire de ce type
francois@bling:/lib/modules/2.6.27-git1-bling102008$ echo "gabeu"
gabeu
francois@bling:/lib/modules/2.6.27-git1-bling102008$
[/quote]pas trop en fait, cat dump le fichier, echo envoit sur la sortie standard…
Va falloir revoir mes cours!!
Donc ->
echo "iface wlan0 inet dhcp" >> /etc/network/interfaces
ifup wlan0
et retour de la commande lsusb STP