Configuration carte Wifi Netgear WPN511

Fermé
Josh99 - 9 avril 2011 à 15:19
 Josh99 - 11 avril 2011 à 22:36
Bonjour,

Je suis novice en Linux.
Je voudrais avoir un accès en IP fixes en Eth0 et Wlan1 derrière une Freebox V5

J'ai installé la dernière version de Debian sur un portable avec une carte Ethernet D-Link et une autre Wifi de chez Netgear WPN511, toutes deux reconnues lors de l'installation.
Tout fonctionnait correctement avec la Freebox que se soit en DHCP ou en IP fixes !

J'ai voulu passer leur IP fixes en dur pour ne pas avoir à modifier leur adresse IP à chaque démarrage en suivant les procédures suivantes :
http://www.commentcamarche.net/...
et http://www.commentcamarche.net/faq/11210-configurer-le-wifi-sous-linux

Mais voila, après modification de /etc/network/interfaces
Et /etc/wpa_supplicant/wpa_supplicant.conf
KNetworkManger m'affiche `No active device'

J'ai beau l'activer via le KNetwokManager ou la Konsole en su, rien n'y fait.
La carte Eth0 pour la connexion Ethernet filaire est correcte, mais pas la wlan1 correspondant ma connexion Wifi.
J'ai essayé de revenir à l'état précédent des dits fichiers mais ça ne fonctionne toujours pas !

Connexion Wifi avec WPA + TKIP

/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

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.xxx
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.254
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 212.xxx.xxx.xxx

# The primary Wifi network interface
auto wlan1
iface wlan1 inet dhcp
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.254
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 212.xxx.xxx.xxx

/etc/wpa_supplicant/wpa_supplicant.conf
...est vide...

Lors du redémarrage du réseau via Konsol:
SIOCSIFADDR:No such device
wlan1:ERROR while getting interface flags: No such device
wlan1:ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up wlan1.
done.

debian:/home/josh# ifconfig
eth0 Link encap:Ethernet HWaddr ok:ok:ok:ok:ok:ok
inet addr:192.168.0.xxx Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: okok::okok:okok:okok:okok/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:207 errors:0 dropped:0 overruns:0 frame:0
TX packets:156 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:30962 (30.2 KiB) TX bytes:22280 (21.7 KiB)
Interrupt:11 Base address:0x3400

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:327 errors:0 dropped:0 overruns:0 frame:0
TX packets:327 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:105661 (103.1 KiB) TX bytes:105661 (103.1 KiB)
A voir également:

2 réponses

J'ai réinstallé Debian et suis de nouveau avec mes deux cartes en DHCP: eth0 et wlan0
Je viens de tester les deux connexions et elles fonctionnent correctement y compris en WPA TKIP[Personal].
Comment les mettre en IP fixe avec WPA TKIP[Personal] pour le Wifi ?
1
En utilisant l'assistant Network de Gnome [ System - Administration - Network ]
J'ai pu configurer mes deux cartes en IP fixe et ça donne ceci si cela peux aider quelqu'un :

/etc/network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0

# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 192.168.xxx.xxx
netmask 255.255.255.0
gateway 192.168.xxx.xxx

auto eth0

# The secondary network interface
allow-hotplug wlan0
iface wlan0 inet static
address 192.168.xxx.xxx
netmask 255.255.255.0
gateway 192.168.xxx.xxx
wpa-psk e8c5c1d5fc6155d6ca69a2ab63dfbbcc08b6f66f81dfe13d5016bd99119f99f1
wpa-driver wext
wpa-key-mgmt WPA-PSK
wpa-proto WPA
wpa-ssid harrap

auto wlan0
0