Page 1 sur 1
[wifi] Impossible d'associer
Publié : dim. 21 mars 2010, 19:08
par bricem13
Bonjour,
J'ai depuis peu un routeur wifi. Celui-ci marche bien et j'arrive à m'y connecter depuis winbouze.
Par contre depuis arch, impossible...
Voici quelques sorties:
Code : Tout sélectionner
[root@TuxBox brice]# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11bg Mode:Managed Access Point: Not-Associated
Tx-Power=0 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
[root@TuxBox brice]# ifconfig wlan0 up && iwlist wlan0 scan
wlan0 Scan completed :
Cell 02 - Address: 00:17:3F:DE:B9:39
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=70/70 Signal level=18 dBm
Encryption key:on
ESSID:"Brice_Isa"
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
Bit Rates:9 Mb/s; 18 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=00000004f6dfc181
Extra: Last beacon: 113ms ago
IE: Unknown: 000942726963655F497361
IE: Unknown: 010882848B960C183048
IE: Unknown: 030101
IE: Unknown: 050400010000
IE: Unknown: 07064E4C20010D14
IE: Unknown: 2A0102
IE: Unknown: 32041224606C
J'aimerais donc me connecter à Brice_Isa. Pour celà je tape:
Code : Tout sélectionner
[root@TuxBox brice]# iwconfig wlan0 essid "Brice_Isa" key xxxxxxxxxxx(128bits)
[root@TuxBox brice]# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11bg ESSID:"Brice_Isa"
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:4693-8775-0084-5283-8947-6523-40
Power Management:off
[root@TuxBox brice]#
[root@TuxBox brice]# dhcpcd wlan0
dhcpcd: version 5.2.1 starting
dhcpcd: wlan0: waiting for carrier
dhcpcd: timed out
[root@TuxBox brice]#
Pas moyen donc... même en forçant une IP.
De même j'ai essayé avec wifi-radar mais il me renvoie une erreur: can't get IP.
Si quelqu'un a une idée...
Merci par avance
Brice
ps: j'ai 2 cartes wifi (pas toutes jeunes) mais j'ai les mêmes sorties avec les 2.
Re: [wifi] Impossible d'associer
Publié : dim. 21 mars 2010, 19:31
par benjarobin
Tu met quoi comme cle web ? Car si elle n'est pas saisies en hexadécimal cela ne peut pas marcher. Tu peux donner la clé wep en changeant quelques caractères si tu es parano... Mais de toutes façon ce genre de clé ne tient pas plus de 5-10 min chrono en main (déjà essayer quelques fois pour voir si la légende disait vrai)
Re: [wifi] Impossible d'associer
Publié : dim. 21 mars 2010, 19:54
par tuxce
bricem13 a écrit :Celui-ci marche bien et j'arrive à m'y connecter depuis winbouze.
Mais comme c'est une bouze, c'est pas un critère, ça doit être une défaut matériel, il faut changer de carte, il se peut aussi que ça facilite tellement que l'utilisateur doit lui trouver un nom débile pour marquer le coup quand même...
pour le souci d'association, tu peux rajouter l'ap:
Code : Tout sélectionner
iwconfig wlan0 essid "Brice_Isa" key xxxxxxxxxxx ap 00:17:3F:DE:B9:39
Re: [wifi] Impossible d'associer
Publié : dim. 21 mars 2010, 19:59
par bricem13
Code : Tout sélectionner
[root@TuxBox brice]#iwconfig lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11bg ESSID:"Brice_Isa"
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:4693-8775-0084-5283-8947-6523-40
Power Management:off
[root@TuxBox brice]# ifconfig wlan0 up
[root@TuxBox brice]# iwconfig wlan0 essid "Brice_Isa" key 46938775008452838947652340 ap 00:17:3F:DE:B9:39
[root@TuxBox brice]# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11bg ESSID:"Brice_Isa"
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:4693-8775-0084-5283-8947-6523-40
Power Management:off
[root@TuxBox brice]#
Que dalle...
merci,
Brice
Re: [wifi] Impossible d'associer
Publié : dim. 21 mars 2010, 20:12
par tuxce
tu peux essayer avec wpa_supplicant:
Code : Tout sélectionner
network={
ssid="Brice_Isa"
key_mgmt=NONE
wep_key0=46938775008452838947652340
wep_tx_keyidx=0
priority=5
}
à mettre dans un fichier puis:
Re: [wifi] Impossible d'associer
Publié : lun. 22 mars 2010, 19:40
par bricem13
snifff snifff je désespère...
Code : Tout sélectionner
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11bg Mode:Managed Access Point: Not-Associated
Tx-Power=0 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
[root@TuxBox brice]# ifconfig wlan0 up
[root@TuxBox brice]# iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: 00:17:3F:DE:B9:39
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=70/70 Signal level=18 dBm
Encryption key:on
ESSID:"Brice_Isa"
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
Bit Rates:9 Mb/s; 18 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=000000198dbf8181
Extra: Last beacon: 206ms ago
IE: Unknown: 000942726963655F497361
IE: Unknown: 010882848B960C183048
IE: Unknown: 030101
IE: Unknown: 050400010000
IE: Unknown: 07064E4C20010D14
IE: Unknown: 2A0102
IE: Unknown: 32041224606C
[root@TuxBox brice]# cat wpa.conf
network={
ssid="Brice_Isa"
key_mgmt=NONE
wep_key0=46938775008452838947652340
wep_tx_keyidx=0
priority=5
}
[root@TuxBox brice]# wpa_supplicant -iwlan0 -cwpa.conf
ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
ioctl[SIOCSIWSCAN]: Device or resource busy
Failed to initiate AP scan.
Trying to associate with 00:17:3f:de:b9:39 (SSID='Brice_Isa' freq=2412 MHz)
Authentication with 00:17:3f:de:b9:39 timed out.
Trying to associate with 00:17:3f:de:b9:39 (SSID='Brice_Isa' freq=2412 MHz)
Authentication with 00:17:3f:de:b9:39 timed out.
Trying to associate with 00:17:3f:de:b9:39 (SSID='Brice_Isa' freq=2412 MHz)
Authentication with 00:17:3f:de:b9:39 timed out.
Trying to associate with 00:17:3f:de:b9:39 (SSID='Brice_Isa' freq=2412 MHz)
Authentication with 00:17:3f:de:b9:39 timed out.
Trying to associate with 00:17:3f:de:b9:39 (SSID='Brice_Isa' freq=2412 MHz)
Authentication with 00:17:3f:de:b9:39 timed out.
Trying to associate with 00:17:3f:de:b9:39 (SSID='Brice_Isa' freq=2412 MHz)
Authentication with 00:17:3f:de:b9:39 timed out.
Trying to associate with 00:17:3f:de:b9:39 (SSID='Brice_Isa' freq=2412 MHz)
Authentication with 00:17:3f:de:b9:39 timed out.
Trying to associate with 00:17:3f:de:b9:39 (SSID='Brice_Isa' freq=2412 MHz)
....
Là je vois pas!
Brice
Re: [wifi] Impossible d'associer
Publié : lun. 22 mars 2010, 19:53
par benjarobin
Essaye deja de désactiver toute sécurité sur ton routeur. Sans clé ni rien...
Re: [wifi] Impossible d'associer
Publié : lun. 22 mars 2010, 20:45
par bricem13
Code : Tout sélectionner
Cell 02 - Address: 00:17:3F:DE:B9:39
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=23/70 Signal level=-87 dBm
Encryption key:off
ESSID:"Brice_Isa"
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
Bit Rates:9 Mb/s; 18 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=0000000001e926db
Extra: Last beacon: 76ms ago
IE: Unknown: 000942726963655F497361
IE: Unknown: 010882848B960C183048
IE: Unknown: 030101
IE: Unknown: 07064E4C20010D14
IE: Unknown: 2A0102
IE: Unknown: 32041224606C
[root@TuxBox brice]# iwconfig wlan0 essid "Brice_Isa"
[root@TuxBox brice]# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11bg ESSID:"Brice_Isa"
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
[root@TuxBox brice]# iwconfig wlan0 essid "Brice_Isa" ap 00:17:3F:DE:B9:39
[root@TuxBox brice]# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11bg ESSID:"Brice_Isa"
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
[root@TuxBox brice]#
ahhhhhhhhhhh!!!!!!!!! re-sniff
Re: [wifi] Impossible d'associer
Publié : lun. 22 mars 2010, 21:16
par tuxce
tu as des messages dans /var/log/messages.log ?
c'est quoi déjà la carte ?
Re: [wifi] Impossible d'associer
Publié : lun. 22 mars 2010, 21:29
par bricem13
Code : Tout sélectionner
[root@TuxBox brice]# iwconfig wlan0 essid "Brice_Isa" key 46938775008452838947652340 ap 00:17:3F:DE:B9:39
[root@TuxBox brice]# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11bg Mode:Managed Access Point: Not-Associated
Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:4693-8775-0084-5283-8947-6523-40
Power Management:off
[root@TuxBox brice]#
[root@TuxBox brice]# cat /var/log/messages.log |tail
Mar 22 21:26:12 TuxBox kernel: pci 0000:06:00.0: BAR 0: assigned [mem 0x2c000000-0x2c00ffff]
Mar 22 21:26:12 TuxBox kernel: pci 0000:06:00.0: BAR 0: set to [mem 0x2c000000-0x2c00ffff] (PCI address [0x2c000000-0x2c00ffff]
Mar 22 21:26:12 TuxBox kernel: ath5k 0000:06:00.0: enabling device (0000 -> 0002)
Mar 22 21:26:12 TuxBox kernel: ath5k 0000:06:00.0: PCI INT A -> Link[LNKB] -> GSI 9 (level, low) -> IRQ 9
Mar 22 21:26:12 TuxBox kernel: ath5k 0000:06:00.0: registered as 'phy3'
Mar 22 21:26:13 TuxBox kernel: cfg80211: Calling CRDA for country: US
Mar 22 21:26:13 TuxBox kernel: ath5k phy3: Atheros AR2414 chip found (MAC: 0x79, PHY: 0x45)
Mar 22 21:26:28 TuxBox kernel: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Mar 22 21:27:25 TuxBox kernel: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Mar 22 21:27:25 TuxBox kernel: cfg80211: Calling CRDA for country: NL
[root@TuxBox brice]#
La carte est une netgear WG511T.
Idem avec une autre carte dont la sortie est:
Code : Tout sélectionner
[root@TuxBox brice]# cat /var/log/messages.log |tail
Mar 22 21:28:31 TuxBox kernel: ath5k 0000:06:00.0: PCI INT A disabled
Mar 22 21:28:50 TuxBox kernel: pcmcia_socket pcmcia_socket1: pccard: CardBus card inserted into slot 1
Mar 22 21:28:50 TuxBox kernel: pci 0000:06:00.0: BAR 1: assigned [mem 0x2c000000-0x2c0001ff]
Mar 22 21:28:50 TuxBox kernel: pci 0000:06:00.0: BAR 1: set to [mem 0x2c000000-0x2c0001ff] (PCI address [0x2c000000-0x2c0001ff]
Mar 22 21:28:50 TuxBox kernel: pci 0000:06:00.0: BAR 0: assigned [io 0x2800-0x28ff]
Mar 22 21:28:50 TuxBox kernel: pci 0000:06:00.0: BAR 0: set to [io 0x2800-0x28ff] (PCI address [0x2800-0x28ff]
Mar 22 21:28:51 TuxBox kernel: rtl8180 0000:06:00.0: enabling device (0000 -> 0003)
Mar 22 21:28:51 TuxBox kernel: rtl8180 0000:06:00.0: PCI INT A -> Link[LNKB] -> GSI 9 (level, low) -> IRQ 9
Mar 22 21:28:51 TuxBox kernel: phy4: hwaddr 00:0e:2e:26:a9:87, RTL8180 + GCT
Mar 22 21:29:02 TuxBox kernel: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[root@TuxBox brice]#
Brice
merci pour votre aide!
Re: [wifi] Impossible d'associer
Publié : jeu. 25 mars 2010, 21:33
par bricem13
Salut
Aucune idée?
Il y a qqch que je fais mal dans les commandes ?
Merci par avance.
Re: [wifi] Impossible d'associer
Publié : sam. 27 mars 2010, 21:30
par bricem13
bon, en changeant le canal ça semble marcher...
@+
Re: [wifi] Impossible d'associer
Publié : dim. 28 mars 2010, 13:53
par gyo
Topic résolu alors

Re: [wifi] Impossible d'associer
Publié : ven. 02 avr. 2010, 19:16
par bricem13
hummm topic à moitié résolu!
Au démarrage, pas moyen d'associer, je suis obligé de le faire en manuel...
Voici la chose:
Code : Tout sélectionner
[root@TuxBox brice]# /etc/rc.d/network restart
:: Stopping Network [DONE]
:: Starting Network [BUSY] > Could not associate wlan0 - try increasing WIRELESS_TIMEOUT and check network is WEP or has no security
[FAIL]
[root@TuxBox brice]#
Mon rc.conf:
Code : Tout sélectionner
[root@TuxBox brice]# cat /etc/rc.conf
#
# /etc/rc.conf - Main Configuration for Arch Linux
#
#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime", any other value will result
# in the hardware clock being left untouched (useful for virtualization)
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
#
LOCALE="en_US.UTF-8"
HARDWARECLOCK="localtime"
TIMEZONE=Europe/Zurich
KEYMAP="fr-latin9"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
#
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(usbserial cpufreq_userspace powernow-k7 lp parport parport_pc floppy sn d-via82xx snd-pcm-oss snd-seq ac battery button fan video)
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"
#
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
HOSTNAME="TuxBox"
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it
#
# DHCP: Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#
lo="lo 127.0.0.1"
#eth0="eth0 192.168.2.2 netmask 255.255.255.0 broadcast 192.168.2.1"
eth0="dhcp"
wlan0="dhcp"
#ath0="ath0 192.168.1.120 netmask 255.255.255.0 broadcast 192.168.1.255"
#wlan0="dhcp"
#wlan0="wlan0 192.168.1.120 netmask 255.255.255.0 broadcast 192.168.1.255"
wlan_wlan0="wlan0 essid 'Brice_Isa' key 46938775008452838947652340 ap 00:17:3F:D E:B9:39"
#ap 00:17:3F:DE:B9:39
INTERFACES=(lo !eth0 wlan0)
#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
#
#gateway="default gw 192.168.0.1"
#
#gateway="default gw 192.168.1.254"
gateway="default gw 192.168.2.1"
ROUTES=(!gateway)
#
# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng dbus hal !pcmcia @network ntpdate !ntpd @postfix @iptables !n etfs @crond @mysqld @anacrond @alsa @powernowd @timidity++)
# End of file
[root@TuxBox brice]#
Voilà, je ne sais pas à quoi correspond le Wireless_Timeout et si mon rc.conf est OK.
@+,
Brice
Re: [wifi] Impossible d'associer
Publié : sam. 03 avr. 2010, 14:02
par Drexya
Bonjour,
Question bête, as-tu essayé d'inclure ton essid sans les apostrophes :p ? Il arrive bien souvent que ca soit une simple question de syntaxe dans les fichiers textes de configuration.
Re: [wifi] Impossible d'associer
Publié : sam. 03 avr. 2010, 19:18
par xenom
Pour le premier problème, était tu sur les channel 12 ou 13 ? Car sous Arch, ces canaux ne sont pas activés par défaut.
Je n'ai plus la solution en tête mais ca se retrouve facilement sur internet.
Dans ta ligne concernant ton wlan0 dans ton rc.conf il y a un grand espace aussi, je ne sais pas s c'est du au forum, mais sinon ca doit poser un soucis.
Re: [wifi] Impossible d'associer
Publié : sam. 03 avr. 2010, 22:01
par CroK
Exact, dans la ligne des DAEMONS y'a un problème avec netfs.
Re: [wifi] Impossible d'associer
Publié : lun. 05 avr. 2010, 21:21
par bricem13
Salut
Les erreurs d'espace sont dues au forum (comme netfs).
Avant j'étais sur le canal 1 il semble, maintenant le 3 et ça marche.
Entre 2 j'ai pas mal galéré avec la lenteur du wifi (résolu avec mode 11g only...). Je vais essayer d'enlever les parenthèses à l'essid et voir ce que ça donne. Mais manuellement je les utilise et je n'ai pas de souci.
Sinon c'est quoi le WIRELESS_TIMEOUT ?
@+