[wifi] réseau portable (résolu)

Applications, problèmes de configuration réseau
Répondre
Avatar de l’utilisateur
sz120
Daikyu
Messages : 66
Inscription : mar. 03 juil. 2012, 21:44

[wifi] réseau portable (résolu)

Message par sz120 »

Bonjour,

J'essaie de connecter un Packard Bell Easy Note.
D'après les infos données par lspci :

Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)

le driver doit être r8101.

Code : Tout sélectionner

yaourt -a r8101
1 aur/r8101 1.020.00-1 (7)
    r8101 realtek lan drivers
==> Numéro(s) des paquets à installer (ex: 1 2 3 ou 1-3)
==> ----------------------------------------------------
==> 1


==> Téléchargement du PKGBUILD de r8101 depuis AUR...
x PKGBUILD
x r8101.install
Comment by lordheavy  (2010-07-30 22:50)
Removed from [community] repo

r8101 1.020.00-1  (sam. juil. 31 00:49:29 CEST 2010)
Ce paquet est orphelin
( Paquet non supporté : peut être dangereux ! )
==> Éditer PKGBUILD ? [O/n] ("A" pour annuler)
==> ------------------------------------------
==> n

==> Dépendances de r8101 :


==> Éditer r8101.install ? [O/n] ("A" pour annuler)
==> -----------------------------------------------
==> n

==> Lancer la compilation de r8101 ? [O/n]
==> --------------------------------------
==> 
==> Construction et installation du paquet
==> ATTENTION : Impossible de trouver sudo. su sera utilisé pour les obtenir les privilèges root.
==> Création du paquet r8101 1.020.00-1 (mer. déc. 26 17:16:29 CET 2012)
==> Vérification des dépendances pour l'exécution...
==> Vérification des dépendances pour la compilation...
==> Récupération des sources...
  -> Téléchargement de r8101-1.020.00.tar.bz2...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 41367  100 41367    0     0   113k      0 --:--:-- --:--:-- --:--:--  151k
==> Validation des fichiers sources avec md5sums...
    r8101-1.020.00.tar.bz2 ... Réussite
==> Extraction des sources...
  -> Extraction de r8101-1.020.00.tar.bz2 avec bsdtar
==> Entre dans l'environnement fakeroot…
==> Lancement de build()...
make -C src/ clean
make[1] : on entre dans le répertoire « /tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src »
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions Module.symvers Modules.symvers Module.markers *.order
make[1] : on quitte le répertoire « /tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src »
make -C src/ modules
make[1] : on entre dans le répertoire « /tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src »
make -C /lib/modules/3.6.10-1-ARCH/build SUBDIRS=/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src modules
make : on entre dans un répertoire inconnu
make: *** /lib/modules/3.6.10-1-ARCH/build : Aucun fichier ou dossier de ce type. Arrêt.
make : on quitte un répertoire inconnu
make[1]: *** [modules] Erreur 2
make[1] : on quitte le répertoire « /tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src »
make: *** [modules] Erreur 2
==> ERREUR : Une erreur s'est produite dans build().
    Abandon...
==> ERREUR: Makepkg n'a pas pu construire r8101.
==> Relancer la compilation de r8101 ? [o/N]
==> ----------------------------------------
==> 

Code : Tout sélectionner

iwconfig
eth0      no wireless extensions.

lo        no wireless extensions.

wlan0     IEEE 802.11abgn  ESSID:off/any  
          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
wireless_tools installé.

J'ai essayé de paramétrer wpa_supplicant et wicd sans succès.

Si quelqu'un veut bien me venir en aide!
Dernière modification par sz120 le jeu. 27 déc. 2012, 13:19, modifié 1 fois.
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [wifi] réseau portable

Message par FoolEcho »

Salut, il doit te manquer linux-headers pour la compilation.
«The following statement is not true. The previous statement is true.» :nage:
Avatar de l’utilisateur
sz120
Daikyu
Messages : 66
Inscription : mar. 03 juil. 2012, 21:44

Re: [wifi] réseau portable

Message par sz120 »

Salut FoolEcho,

linux-headers installé. EDIT: le driver n'est toujours pas installé:

Code : Tout sélectionner

yaourt -a realtek
1 community/r8168 8.034.00-1
    A kernel module for Realtek 8168 network cards
2 community/r8168-lts 8.032.00-3
    A kernel module for Realtek 8168 network cards for linux-lts
3 community/rtl-sdr 20121221-1
    Driver for Realtek RTL2832U, allowing general purpose software defined 
    radio (SDR).
4 aur/8192cu 3.3.2.3192.20120103-1 (7)
    Drivers for realtek RTL8188CUS chipset wireless cards
5 aur/alsa-driver.hda-intel.hda-codec-realtek 20120818-1 (37)
    An alternative implementation of Linux sound support
6 aur/alsa-driver.hda-intel.hda-codec-realtek-git 1.0-0 (41)
    An alternative implementation of Linux sound support
7 aur/dkms-8192cu v3.4.4_4749-1 (2)
    Driver for Realtek RTL8188CUS (8188C, 8192C) chipset wireless cards
8 aur/dkms-rts_bpp 1.1-5 (4)
    A kernel module for Realtek Card Reader RTL8411 Device 5289, dkms version
9 aur/r8101 1.020.00-1 (7)
    r8101 realtek lan drivers
10 aur/r8168-all 8.034.00-1 (6)
    A kernel module for Realtek 8168 network cards (for all kernels)
11 aur/r8168-ck 8.034.00-2 (7)
    A kernel module for Realtek 8168 network cards (for linux-ck kernel)
12 aur/r8168-dkms 8.034.00-1 (1)
    A kernel module for Realtek 8168 network cards with dkms support
13 aur/r8168-openvz 8.034.00-1 (1)
    A kernel module for Realtek 8168 network cards for linux-openvz
14 aur/r8168-openvz-testing 8.034.00-2 (1)
    A kernel module for Realtek 8168 network cards for linux-openvz-testing
15 aur/r8168-pf 8.031.00-2 (3)
    A kernel module for Realtek 8168 network cards (pf kernel)
16 aur/r8168-zen 8.032.00-1 (1)
    A zen kernel module for Realtek 8168 network cards
17 aur/rt8192cu 3.4.3.4369.20120622-1 (6)
    Driver for Realtek RTL8188CUS (8188C, 8192C) chipset wireless cards
18 aur/rtl-sdr-git 20120722-2 (12)
    Tuner for DVB-T sticks based on the Realtek RTL2832U, which can be used as 
    a cheap SDR, since the chip allows transferring the raw I/Q samples to the 
    host.
19 aur/rtl8187-ng 1010-5 (28)
    Drivers for Realtek RTL8187l Wifi card - Aircrack-ng patched 
    (Monitor/Injection)
20 aur/rts5229 1.0.7-5 (5)
    Realtek PCIE RTS5229 card reader driver
==> Numéro(s) des paquets à installer (ex: 1 2 3 ou 1-3)
==> ----------------------------------------------------
==> 9


==> Téléchargement du PKGBUILD de r8101 depuis AUR...
x PKGBUILD
x r8101.install
Comment by lordheavy  (2010-07-30 22:50)
Removed from [community] repo

r8101 1.020.00-1  (sam. juil. 31 00:49:29 CEST 2010)
Ce paquet est orphelin
( Paquet non supporté : peut être dangereux ! )
==> Éditer PKGBUILD ? [O/n] ("A" pour annuler)
==> ------------------------------------------
==> n

==> Dépendances de r8101 :


==> Éditer r8101.install ? [O/n] ("A" pour annuler)
==> -----------------------------------------------
==> n

==> Lancer la compilation de r8101 ? [O/n]
==> --------------------------------------
==> 
==> Construction et installation du paquet
==> ATTENTION : Impossible de trouver sudo. su sera utilisé pour les obtenir les privilèges root.
==> Création du paquet r8101 1.020.00-1 (mer. déc. 26 18:58:44 CET 2012)
==> Vérification des dépendances pour l'exécution...
==> Vérification des dépendances pour la compilation...
==> Récupération des sources...
  -> Téléchargement de r8101-1.020.00.tar.bz2...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 41367  100 41367    0     0  80813      0 --:--:-- --:--:-- --:--:--  102k
==> Validation des fichiers sources avec md5sums...
    r8101-1.020.00.tar.bz2 ... Réussite
==> Extraction des sources...
  -> Extraction de r8101-1.020.00.tar.bz2 avec bsdtar
==> Entre dans l'environnement fakeroot…
==> Lancement de build()...
make -C src/ clean
make[1] : on entre dans le répertoire « /tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src »
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions Module.symvers Modules.symvers Module.markers *.order
make[1] : on quitte le répertoire « /tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src »
make -C src/ modules
make[1] : on entre dans le répertoire « /tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src »
make -C /lib/modules/3.6.10-1-ARCH/build SUBDIRS=/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src modules
make[2] : on entre dans le répertoire « /usr/src/linux-3.6.10-1-ARCH »
  CC [M]  /tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.o
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c: In function ‘rtl8101_check_link_status’:
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:858:4: attention : suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:878:5: attention : suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c: Hors de toute fonction :
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:1584:2: erreur: unknown field ‘get_rx_csum’ specified in initializer
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:1584:2: attention : initialization from incompatible pointer type [enabled by default]
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:1584:2: attention : (near initialization for ‘rtl8101_ethtool_ops.nway_reset’) [enabled by default]
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:1585:2: erreur: unknown field ‘set_rx_csum’ specified in initializer
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:1585:2: attention : initialization from incompatible pointer type [enabled by default]
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:1585:2: attention : (near initialization for ‘rtl8101_ethtool_ops.get_link’) [enabled by default]
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:1586:2: erreur: unknown field ‘get_tx_csum’ specified in initializer
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:1586:2: attention : initialization from incompatible pointer type [enabled by default]
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:1586:2: attention : (near initialization for ‘rtl8101_ethtool_ops.get_eeprom_len’) [enabled by default]
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:1587:2: erreur: unknown field ‘set_tx_csum’ specified in initializer
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:1587:2: attention : initialization from incompatible pointer type [enabled by default]
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:1587:2: attention : (near initialization for ‘rtl8101_ethtool_ops.get_eeprom’) [enabled by default]
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:1588:2: erreur: unknown field ‘get_sg’ specified in initializer
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:1588:2: attention : initialization from incompatible pointer type [enabled by default]
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:1588:2: attention : (near initialization for ‘rtl8101_ethtool_ops.set_eeprom’) [enabled by default]
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:1589:2: erreur: unknown field ‘set_sg’ specified in initializer
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:1589:2: attention : initialization from incompatible pointer type [enabled by default]
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:1589:2: attention : (near initialization for ‘rtl8101_ethtool_ops.get_coalesce’) [enabled by default]
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:1591:2: erreur: unknown field ‘get_tso’ specified in initializer
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:1591:14: erreur: ‘ethtool_op_get_tso’ undeclared here (not in a function)
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:1592:2: erreur: unknown field ‘set_tso’ specified in initializer
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:1592:14: erreur: ‘ethtool_op_set_tso’ undeclared here (not in a function)
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c: In function ‘rtl8101_netpoll’:
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:4003:2: erreur: implicit declaration of function ‘disable_irq’ [-Werror=implicit-function-declaration]
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:4009:2: erreur: implicit declaration of function ‘enable_irq’ [-Werror=implicit-function-declaration]
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c: In function ‘rtl8101_init_one’:
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:5267:2: erreur: ‘struct net_device’ has no member named ‘open’
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:5267:2: erreur: ‘struct net_device’ has no member named ‘hard_start_xmit’
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:5267:2: erreur: ‘struct net_device’ has no member named ‘get_stats’
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:5267:2: erreur: ‘struct net_device’ has no member named ‘stop’
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:5267:2: erreur: ‘struct net_device’ has no member named ‘tx_timeout’
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:5267:2: erreur: ‘struct net_device’ has no member named ‘set_multicast_list’
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:5267:2: erreur: ‘struct net_device’ has no member named ‘change_mtu’
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:5267:2: erreur: ‘struct net_device’ has no member named ‘set_mac_address’
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:5267:2: erreur: ‘struct net_device’ has no member named ‘do_ioctl’
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:5267:2: erreur: ‘struct net_device’ has no member named ‘poll_controller’
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c: In function ‘rtl8101_open’:
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:5421:2: erreur: implicit declaration of function ‘request_irq’ [-Werror=implicit-function-declaration]
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:5421:52: erreur: ‘IRQF_SHARED’ undeclared (first use in this function)
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:5421:52: note: each undeclared identifier is reported only once for each function it appears in
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:5491:2: erreur: implicit declaration of function ‘free_irq’ [-Werror=implicit-function-declaration]
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c: In function ‘rtl8101_xmit_frags’:
/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:6358:3: erreur: incompatible type for argument 1 of ‘lowmem_page_address’
In file included from /usr/src/linux-3.6.10-1-ARCH/arch/x86/include/asm/pci.h:4:0,
                 from include/linux/pci.h:1391,
                 from /tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.c:40:
include/linux/mm.h:739:30: note: expected ‘const struct page *’ but argument is of type ‘struct <anonymous>’
cc1: some warnings being treated as errors
make[3]: *** [/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src/r8101_n.o] Erreur 1
make[2]: *** [_module_/tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src] Erreur 2
make[2] : on quitte le répertoire « /usr/src/linux-3.6.10-1-ARCH »
make[1]: *** [modules] Erreur 2
make[1] : on quitte le répertoire « /tmp/yaourt-tmp-arch/aur-r8101/src/r8101-1.020.00/src »
make: *** [modules] Erreur 2
==> ERREUR : Une erreur s'est produite dans build().
    Abandon...
==> ERREUR: Makepkg n'a pas pu construire r8101.
==> Relancer la compilation de r8101 ? [o/N]
==> ----------------------------------------
==> 
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17632
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [wifi] réseau portable

Message par benjarobin »

J'ai mit à jour le paquet, le paquet compile, après je ne sais pas :-)
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Avatar de l’utilisateur
sz120
Daikyu
Messages : 66
Inscription : mar. 03 juil. 2012, 21:44

Re: [wifi] réseau portable

Message par sz120 »

Merci benjarobin, le paquet est installé.

Pour la suite je me suis basé sur le wiki. Je suis sur freebox avec une clé WPA-PSK/CCMP
J'ai entré mon SSID + la clé dans wpa_supplicant.conf et ensuite:

Code : Tout sélectionner

wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
Line 729: unknown EAP method 'SIM'
You may need to add support for this EAP method during wpa_supplicant
build time configuration.
See README for more information.
Line 729: failed to parse eap 'SIM'.
Line 732: failed to parse network block.
Line 739: unknown EAP method 'PSK'
You may need to add support for this EAP method during wpa_supplicant
build time configuration.
See README for more information.
Line 739: failed to parse eap 'PSK'.
Line 743: failed to parse network block.
Line 775: unknown EAP method 'IKEV2'
You may need to add support for this EAP method during wpa_supplicant
build time configuration.
See README for more information.
Line 775: failed to parse eap 'IKEV2'.
Line 778: failed to parse network block.
Line 784: unknown EAP method 'FAST'
You may need to add support for this EAP method during wpa_supplicant
build time configuration.
See README for more information.
Line 784: failed to parse eap 'FAST'.
Line 790: failed to parse network block.
Line 795: unknown EAP method 'FAST'
You may need to add support for this EAP method during wpa_supplicant
build time configuration.
See README for more information.
Line 795: failed to parse eap 'FAST'.
Line 801: failed to parse network block.
Failed to read or parse configuration '/etc/wpa_supplicant/wpa_supplicant.conf'.
Je ne suis pas du tout sûr d'avoir compris ce que je fais ni si c'est bon. Est-ce le bon chemein?
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17632
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [wifi] réseau portable

Message par benjarobin »

C'est un point de vue très personnel, mais pour moi /etc/wpa_supplicant/wpa_supplicant.conf est un exemple, il ne devrait en aucun cas être modifié.
Il est fortement conseillé de créer un nouveau fichier par exemple /root/monWifi.conf, je te conseil l'exemple minimal du Wiki

Code : Tout sélectionner

network={
  ssid="mon-reseau"
  psk="ma-clé"
  priority=5
}

Code : Tout sélectionner

wpa_supplicant -i wlan0 -c /root/monWifi.conf
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Avatar de l’utilisateur
sz120
Daikyu
Messages : 66
Inscription : mar. 03 juil. 2012, 21:44

Re: [wifi] réseau portable

Message par sz120 »

J'ai fait comme tu indiques

EDIT:

+ dhcpcd wlan0:

ca marche.

mais:

Code : Tout sélectionner

wpa_supplicant -i wlan0 -c /root/monwifi.conf
wlan0: Trying to associate with xx.xx.xx.xx.xx.xx (SSID='***ssid***' freq=2417 MHz)
ioctl[SIOCSIWFREQ]: Device or resource busy
wlan0: Association request to the driver failed
wlan0: Associated with xx.xx.xx.xx.xx.xx
wlan0: WPA: Key negotiation completed with xx.xx.xx.xx.xx.xx [PTK=CCMP GTK=CCMP]
wlan0: CTRL-EVENT-CONNECTED - Connection to xx.xx.xx.xx.xx.xx completed (auth) [id=0 id_str=]

Dernière modification par sz120 le dim. 30 déc. 2012, 17:02, modifié 1 fois.
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17632
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [wifi] réseau portable

Message par benjarobin »

Je ne comprend pas le mais ? La connexion fonctionne ?
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Avatar de l’utilisateur
sz120
Daikyu
Messages : 66
Inscription : mar. 03 juil. 2012, 21:44

Re: [wifi] réseau portable

Message par sz120 »

C'est juste le wlan0: Association request to the driver failed qui m'inquiète. Sinon ça marche, sauf que je suis en train de chercher comment configurer pour ne pas être obligé de relancer dhcpcd wlan0 à chaque boot.
Avatar de l’utilisateur
Ypnose
Maître du Kyudo
Messages : 1363
Inscription : sam. 01 mai 2010, 13:17

Re: [wifi] réseau portable

Message par Ypnose »

Regarde avec netcfg.
Avatar de l’utilisateur
sz120
Daikyu
Messages : 66
Inscription : mar. 03 juil. 2012, 21:44

Re: [wifi] réseau portable

Message par sz120 »

C'est justement celui que j'ai choisi, mais il y a de nouveau un souci:

Code : Tout sélectionner

netcfg-wpa_actiond wlan0
ctrl_iface exists and seems to be in use - cannot override it
Delete '/run/wpa_supplicant/wlan0' manually if it is not used anymore
Failed to initialize control interface '/run/wpa_supplicant'.
You may have another wpa_supplicant process already running or the file was
left by an unclean termination of wpa_supplicant in which case you will need
to manually remove this file before starting wpa_supplicant again.
J'ai effacé le '/run/wpa_supplicant/wlan0' mais au reboot il est revenu et il n'y a pas de connexion.
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17632
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [wifi] réseau portable

Message par benjarobin »

La première fois le problème c'était que wpa_supplicant était toujours en fonctionnement, il fallait le terminer via killall wpa_supplicant
Après il suffit de suivre le Wiki de Netcfg
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Avatar de l’utilisateur
sz120
Daikyu
Messages : 66
Inscription : mar. 03 juil. 2012, 21:44

Re: [wifi] réseau portable

Message par sz120 »

benjarobin a écrit :La première fois le problème c'était que wpa_supplicant était toujours en fonctionnement, il fallait le terminer via killall wpa_supplicant
Après il suffit de suivre le Wiki de Netcfg
ok.

Si je comprends bien, il faut copier un des fichiers de /etc/network.d/examples/ dans /etc/network.d/interfaces en renseignant le ssid et la clé;

puis vérifier que netcfg charge au boot le profil indiqué dans /etc/conf.d/netcfg
chez moi par défaut NETWORKS=(last) correspond à WIRELESS_INTERFACE="wlan0"

enfin: systemctl enable net-auto-wireless.service

J'ai fait ça et au reboot... pas de réseau.
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [wifi] réseau portable

Message par FoolEcho »

sz120 a écrit :Si je comprends bien, il faut copier un des fichiers de /etc/network.d/examples/ dans /etc/network.d/interfaces en renseignant le ssid et la clé;
Pas exactement. Ce répertoire sert surtout à gèrer la configuration par interface (wlan0, eth0, etc.) et est valable pour tous les profils.
Il suffit de créer le profil qui va bien dans /etc/network.d/ (sur l'exemple de wireless-wpa), etc. : http://wiki.archlinux.fr/Netcfg#D.C3.A9 ... .28WLAN.29. Penses bien à installer wpa_actiond pour le service. Et n'oublie pas que tu peux tester avec netcfg nom_profil et/ou voir dans les journaux pourquoi le service a un problème.

Ceci étant, tu parlais de wicd au début. Tu peux très bien l'utiliser. :)
«The following statement is not true. The previous statement is true.» :nage:
Répondre