Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

[gentoo-user-fr] wifi pour les nuls avec free...

25 réponses
Avatar
Jean Magnan de Bornier
Bonsoir à tous,

J'ai commandé et installé la carte wifi pour ma freebox; ça marche tout
seul sur le petit bout de W$ que j'ai laissé sur un coin de ma machine
(dell latitude x1).

Sous gentoo, tentative de configuration avec wpa_supplicant;
extrait de /etc/conf.d/net:
.............................
config_eth1=( "dhcp" )
modules=( "wpa_supplicant" )
wpa_supplicant_eth1="-Dwext"
wpa_timeout_eth1=60
.............................

extrait de /etc/wpa_supplicant.conf:
.............................
network={
ssid="FBX_RIBALTE"
scan_ssid=1
key_mgmt=WPA-PSK
psk="xxxxxx"
}
.............................

Pourtant la commande iwconfig me renvoie:

eth1 unassociated ESSID:off/any
Mode:Managed Channel=0 Access Point: Not-Associated
Bit Rate:0 kb/s Tx-Power=20 dBm Sensitivity=8/0
Retry limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management: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

et bien sûr je n'ai aucune connexion wifi

Mon noyau est bien configuré, puisque au travail je peux me connecter en
wifi, quoique laborieusement.

S'il y a un expert, tout conseil sera bienvenu,
Merci d'avance
--
Jean

--
gentoo-user-fr@gentoo.org mailing list

10 réponses

1 2 3
Avatar
Alexandre Bique
Le dimanche 18 juin 2006 20:26, Jean Magnan de Bornier a écrit :
Bonsoir à tous,

J'ai commandé et installé la carte wifi pour ma freebox; ça marche tout
seul sur le petit bout de W$ que j'ai laissé sur un coin de ma machine
(dell latitude x1).

Sous gentoo, tentative de configuration avec wpa_supplicant;
extrait de /etc/conf.d/net:
.............................
config_eth1=( "dhcp" )
modules=( "wpa_supplicant" )
wpa_supplicant_eth1="-Dwext"
wpa_timeout_eth1`
.............................

extrait de /etc/wpa_supplicant.conf:
.............................
network={
ssid="FBX_RIBALTE"
scan_ssid=1
key_mgmt=WPA-PSK
psk="xxxxxx"
}
.............................

Pourtant la commande iwconfig me renvoie:

eth1 unassociated ESSID:off/any
Mode:Managed Channel=0 Access Point: Not-Associated
Bit Rate:0 kb/s Tx-Power dBm Sensitivity=8/0
Retry limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management: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

et bien sûr je n'ai aucune connexion wifi

Mon noyau est bien configuré, puisque au travail je peux me connecter en
wifi, quoique laborieusement.

S'il y a un expert, tout conseil sera bienvenu,
Merci d'avance
--
Jean




Alors je vais pas te dire pourquoi chez toi ca marche pas/mal mais je vais te
filer ma config et tu verras comment ca marche chez moi ( j'ai une
freebox+wpa egalement )
Au passage es-tu sure que ta carte wifi est bien reconnue ?

cat /etc/conf.d/net :

modules=("wpa_supplicant")
wpa_supplicant_wlan0="-Dndiswrapper"
config_wlan0=( "dhcp" )
config_eth0=( "null" )





cat /etc/wpa_supplicant.conf :

# The below line not be changed otherwise we refuse to work
ctrl_interface=/var/run/wpa_supplicant

# Ensure that only root can read the WPA configuration
ctrl_interface_group=0

# Let wpa_supplicant take care of scanning and AP selection
ap_scan=1

# Simple case: WPA-PSK, PSK as an ASCII passphrase, allow all valid ciphers
network={
ssid="microsoft_heaven"
psk="longue vie a microsoft :-ppp"
# The higher the priority the sooner we are matched
priority=5
}

--
mailing list
Avatar
x3n
Bonsoir,

Tu peux donner un peu plus de détail côté wpa_supplicant ?!
Si tu lances wpa_supplicant -dd -B -Dwext -c/etc/wpa_supplicant.conf

quel est le message d'erreur ???

x3n`

Le dimanche 18 juin 2006 20:26, Jean Magnan de Bornier a écrit :
Bonsoir à tous,

J'ai commandé et installé la carte wifi pour ma freebox; ça marche tout
seul sur le petit bout de W$ que j'ai laissé sur un coin de ma machine
(dell latitude x1).

Sous gentoo, tentative de configuration avec wpa_supplicant;
extrait de /etc/conf.d/net:
.............................
config_eth1=( "dhcp" )
modules=( "wpa_supplicant" )
wpa_supplicant_eth1="-Dwext"
wpa_timeout_eth1`
.............................

extrait de /etc/wpa_supplicant.conf:
.............................
network={
ssid="FBX_RIBALTE"
scan_ssid=1
key_mgmt=WPA-PSK
psk="xxxxxx"
}
.............................

Pourtant la commande iwconfig me renvoie:

eth1 unassociated ESSID:off/any
Mode:Managed Channel=0 Access Point: Not-Associated
Bit Rate:0 kb/s Tx-Power dBm Sensitivity=8/0
Retry limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management: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

et bien sûr je n'ai aucune connexion wifi

Mon noyau est bien configuré, puisque au travail je peux me connecter en
wifi, quoique laborieusement.

S'il y a un expert, tout conseil sera bienvenu,
Merci d'avance
--
Jean



--
--
x3n`

--
mailing list
Avatar
Jean Magnan de Bornier
Le 18 juin à 20:33:41 x3n écrit notamment:

| Bonsoir,



| Tu peux donner un peu plus de détail côté wpa_supplicant ?!
| Si tu lances wpa_supplicant -dd -B -Dwext -c/etc/wpa_supplicant.conf



| quel est le message d'erreur ???

Avec ça, il me rappelle l'usage; mais avec:

boldair jean # wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf,

j'obtiens:

ENGINE: ctrl cmd_string failed: LOAD (null) [error:25066067:DSO support
routines:DLFCN_LOAD:could not load the shared library]
SSL: Failed to initialize TLS context.
Failed to initialize EAPOL state machines.




| Le dimanche 18 juin 2006 20:26, Jean Magnan de Bornier a écrit :
| > Bonsoir à tous,
| >
| > J'ai commandé et installé la carte wifi pour ma freebox; ça marche tout
| > seul sur le petit bout de W$ que j'ai laissé sur un coin de ma machine
| > (dell latitude x1).
| >
| > Sous gentoo, tentative de configuration avec wpa_supplicant;
| > extrait de /etc/conf.d/net:
| > .............................
| > config_eth1=( "dhcp" )
| > modules=( "wpa_supplicant" )
| > wpa_supplicant_eth1="-Dwext"
| > wpa_timeout_eth1`
| > .............................
| >
| > extrait de /etc/wpa_supplicant.conf:
| > .............................
| > network={
| > ssid="FBX_RIBALTE"
| > scan_ssid=1
| > key_mgmt=WPA-PSK
| > psk="xxxxxx"
| > }
| > .............................
| >
| > Pourtant la commande iwconfig me renvoie:
| >
| > eth1 unassociated ESSID:off/any
| > Mode:Managed Channel=0 Access Point: Not-Associated
| > Bit Rate:0 kb/s Tx-Power dBm Sensitivity=8/0
| > Retry limit:7 RTS thr:off Fragment thr:off
| > Encryption key:off
| > Power Management: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
| >
| > et bien sûr je n'ai aucune connexion wifi
| >
| > Mon noyau est bien configuré, puisque au travail je peux me connecter en
| > wifi, quoique laborieusement.
| >
| > S'il y a un expert, tout conseil sera bienvenu,
| > Merci d'avance
| > --
| > Jean



| --

--
Jean Magnan de Bornier | Cours Victor Hugo
e-mots: jean at bornier.net | 13980 Alleins France
T 08 70 39 34 03 | P 06 09 17 35 87

--
mailing list
Avatar
x3n
Le dimanche 18 juin 2006 20:39, Jean Magnan de Bornier a écrit :
Le 18 juin à 20:33:41 x3n écrit notamment:
| Bonsoir,
|
| Tu peux donner un peu plus de détail côté wpa_supplicant ?!
| Si tu lances wpa_supplicant -dd -B -Dwext -c/etc/wpa_supplicant.conf
|
| quel est le message d'erreur ???

Avec ça, il me rappelle l'usage; mais avec:


Effectivement, j'ai tapé un peu trop vite...

boldair jean # wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf,



Tu utilise quel module pour ta carte WiFi ??? Car en fait "wext" correspond
aux chipset centrino ipw2200 (ou affiliés), mais les interface ne s'appellent
pas wlan0 mais eth1... Je dirai que tu utilises ndiswrapper ?! Si c'est le
cas, lance wpa_supplicant avec -Dndiswrapper


j'obtiens:

ENGINE: ctrl cmd_string failed: LOAD (null) [error:25066067:DSO support
routines:DLFCN_LOAD:could not load the shared library]
SSL: Failed to initialize TLS context.
Failed to initialize EAPOL state machines.

| Le dimanche 18 juin 2006 20:26, Jean Magnan de Bornier a écrit :
| > Bonsoir à tous,
| >
| > J'ai commandé et installé la carte wifi pour ma freebox; ça marche tout
| > seul sur le petit bout de W$ que j'ai laissé sur un coin de ma machine
| > (dell latitude x1).
| >
| > Sous gentoo, tentative de configuration avec wpa_supplicant;
| > extrait de /etc/conf.d/net:
| > .............................
| > config_eth1=( "dhcp" )
| > modules=( "wpa_supplicant" )
| > wpa_supplicant_eth1="-Dwext"
| > wpa_timeout_eth1`
| > .............................
| >
| > extrait de /etc/wpa_supplicant.conf:
| > .............................
| > network={
| > ssid="FBX_RIBALTE"
| > scan_ssid=1
| > key_mgmt=WPA-PSK
| > psk="xxxxxx"
| > }
| > .............................
| >
| > Pourtant la commande iwconfig me renvoie:
| >
| > eth1 unassociated ESSID:off/any
| > Mode:Managed Channel=0 Access Point: Not-Associated
| > Bit Rate:0 kb/s Tx-Power dBm Sensitivity=8/0
| > Retry limit:7 RTS thr:off Fragment thr:off
| > Encryption key:off
| > Power Management: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
| >
| > et bien sûr je n'ai aucune connexion wifi
| >
| > Mon noyau est bien configuré, puisque au travail je peux me connecter
| > en wifi, quoique laborieusement.
| >
| > S'il y a un expert, tout conseil sera bienvenu,
| > Merci d'avance
| > --
| > Jean
|
| --

--
Jean Magnan de Bornier | Cours Victor Hugo
e-mots: jean at bornier.net | 13980 Alleins France
T 08 70 39 34 03 | P 06 09 17 35 87



--
--
x3n`

--
mailing list
Avatar
Jean Magnan de Bornier
Le 18 juin à 21:20:55 x3n écrit notamment:

| Le dimanche 18 juin 2006 20:39, Jean Magnan de Bornier a écrit :
| > Le 18 juin à 20:33:41 x3n écrit notamment:
| > | Bonsoir,
| > |
| > | Tu peux donner un peu plus de détail côté wpa_supplicant ?!
| > | Si tu lances wpa_supplicant -dd -B -Dwext -c/etc/wpa_supplicant.conf
| > |
| > | quel est le message d'erreur ???
| >
| > Avec ça, il me rappelle l'usage; mais avec:
| Effectivement, j'ai tapé un peu trop vite...
| >
| > boldair jean # wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf,



| Tu utilise quel module pour ta carte WiFi ??? Car en fait "wext" correspond
| aux chipset centrino ipw2200 (ou affiliés), mais les interface ne s'appellent
| pas wlan0 mais eth1... Je dirai que tu utilises ndiswrapper ?! Si c'est le
| cas, lance wpa_supplicant avec -Dndiswrapper




Oui, c'est bien un centrino et ma carte est eth1; mais si je tape:

boldair jean # wpa_supplicant -Dwext -eth1 -c/etc/wpa_supplicant.conf

il ne comprend pas eth1 apparemment:

wpa_supplicant: invalid option -- e

??
--
Jean

--
mailing list
Avatar
Alexandre Bique
Le dimanche 18 juin 2006 21:53, Jean Magnan de Bornier a écrit :
Le 18 juin à 21:20:55 x3n écrit notamment:
| Le dimanche 18 juin 2006 20:39, Jean Magnan de Bornier a écrit :
| > Le 18 juin à 20:33:41 x3n écrit notamment:
| > | Bonsoir,
| > |
| > | Tu peux donner un peu plus de détail côté wpa_supplicant ?!
| > | Si tu lances wpa_supplicant -dd -B -Dwext -c/etc/wpa_supplicant.conf
| > |
| > | quel est le message d'erreur ???
| >
| > Avec ça, il me rappelle l'usage; mais avec:
|
| Effectivement, j'ai tapé un peu trop vite...
|
| > boldair jean # wpa_supplicant -Dwext -iwlan0
| > -c/etc/wpa_supplicant.conf,
|
| Tu utilise quel module pour ta carte WiFi ??? Car en fait "wext"
| correspond aux chipset centrino ipw2200 (ou affiliés), mais les interface
| ne s'appellent pas wlan0 mais eth1... Je dirai que tu utilises
| ndiswrapper ?! Si c'est le cas, lance wpa_supplicant avec -Dndiswrapper

Oui, c'est bien un centrino et ma carte est eth1; mais si je tape:

boldair jean # wpa_supplicant -Dwext -eth1 -c/etc/wpa_supplicant.conf

il ne comprend pas eth1 apparemment:

wpa_supplicant: invalid option -- e

??
--
Jean



Est-ce que tu arrives a scanner les reseaux avec wpa_gui ???

--
mailing list
Avatar
Jean Magnan de Bornier
Le 18 juin à 20:37:40 Alexandre Bique écrit notamment:





| Alors je vais pas te dire pourquoi chez toi ca marche pas/mal mais je vais te
| filer ma config et tu verras comment ca marche chez moi ( j'ai une
| freebox+wpa egalement )
| Au passage es-tu sure que ta carte wifi est bien reconnue ?



| cat /etc/conf.d/net :



| modules=("wpa_supplicant")
| wpa_supplicant_wlan0="-Dndiswrapper"
| config_wlan0=( "dhcp" )
| config_eth0=( "null" )







| cat /etc/wpa_supplicant.conf :



| # The below line not be changed otherwise we refuse to work
| ctrl_interface=/var/run/wpa_supplicant



| # Ensure that only root can read the WPA configuration
| ctrl_interface_group=0



| # Let wpa_supplicant take care of scanning and AP selection
| ap_scan=1



| # Simple case: WPA-PSK, PSK as an ASCII passphrase, allow all valid ciphers
| network={
| ssid="microsoft_heaven"
| psk="longue vie a microsoft :-ppp"
| # The higher the priority the sooner we are matched
| priority=5
| }


Merci; la seule différence avec moi, à part le nom de l'interface, wlan0
chez toi et eth1 chez moi, est la ligne

config_eth0=( "null" )

si j'écris ça il n'y a rien de changé pour le wifi :-(

merci en tous cas
--
Jean

--
mailing list
Avatar
Jean Magnan de Bornier
Le 18 juin à 21:58:00 Alexandre Bique écrit notamment:

| Le dimanche 18 juin 2006 21:53, Jean Magnan de Bornier a écrit :
| > Le 18 juin à 21:20:55 x3n écrit notamment:
| > | Le dimanche 18 juin 2006 20:39, Jean Magnan de Bornier a écrit :
| > | > Le 18 juin à 20:33:41 x3n écrit notamment:
| > | > | Bonsoir,
| > | > |
| > | > | Tu peux donner un peu plus de détail côté wpa_supplicant ?!
| > | > | Si tu lances wpa_supplicant -dd -B -Dwext -c/etc/wpa_supplicant.conf
| > | > |
| > | > | quel est le message d'erreur ???
| > | >
| > | > Avec ça, il me rappelle l'usage; mais avec:
| > |
| > | Effectivement, j'ai tapé un peu trop vite...
| > |
| > | > boldair jean # wpa_supplicant -Dwext -iwlan0
| > | > -c/etc/wpa_supplicant.conf,
| > |
| > | Tu utilise quel module pour ta carte WiFi ??? Car en fait "wext"
| > | correspond aux chipset centrino ipw2200 (ou affiliés), mais les interface
| > | ne s'appellent pas wlan0 mais eth1... Je dirai que tu utilises
| > | ndiswrapper ?! Si c'est le cas, lance wpa_supplicant avec -Dndiswrapper
| >
| > Oui, c'est bien un centrino et ma carte est eth1; mais si je tape:
| >
| > boldair jean # wpa_supplicant -Dwext -eth1 -c/etc/wpa_supplicant.conf
| >
| > il ne comprend pas eth1 apparemment:
| >
| > wpa_supplicant: invalid option -- e
| >
| > ??
| > --
| > Jean



| Est-ce que tu arrives a scanner les reseaux avec wpa_gui ???

non:

boldair jean # wpa_gui
Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
Failed to open control connection to wpa_supplicant.
PING failed - trying to reconnect

Mais j'ignore ce que ça signifie...

--
Jean

--
mailing list
Avatar
x3n
Le dimanche 18 juin 2006 21:53, Jean Magnan de Bornier a écrit :
Le 18 juin à 21:20:55 x3n écrit notamment:
| Le dimanche 18 juin 2006 20:39, Jean Magnan de Bornier a écrit :
| > Le 18 juin à 20:33:41 x3n écrit notamment:
| > | Bonsoir,
| > |
| > | Tu peux donner un peu plus de détail côté wpa_supplicant ?!
| > | Si tu lances wpa_supplicant -dd -B -Dwext -c/etc/wpa_supplicant.conf
| > |
| > | quel est le message d'erreur ???
| >
| > Avec ça, il me rappelle l'usage; mais avec:
|
| Effectivement, j'ai tapé un peu trop vite...
|
| > boldair jean # wpa_supplicant -Dwext -iwlan0
| > -c/etc/wpa_supplicant.conf,
|
| Tu utilise quel module pour ta carte WiFi ??? Car en fait "wext"
| correspond aux chipset centrino ipw2200 (ou affiliés), mais les interface
| ne s'appellent pas wlan0 mais eth1... Je dirai que tu utilises
| ndiswrapper ?! Si c'est le cas, lance wpa_supplicant avec -Dndiswrapper

Oui, c'est bien un centrino et ma carte est eth1; mais si je tape:

boldair jean # wpa_supplicant -Dwext -eth1 -c/etc/wpa_supplicant.conf



wpa_supplicant -Dwext -ieth1 -c/etc/wpa_supplicant.conf

Tu as oublié le "i" pour interface

il ne comprend pas eth1 apparemment:

wpa_supplicant: invalid option -- e

??
--
Jean



--
--
x3n`

--
mailing list
Avatar
Jean Magnan de Bornier
Le 18 juin à 22:14:04 x3n écrit notamment:

| Le dimanche 18 juin 2006 21:53, Jean Magnan de Bornier a écrit :
| > Le 18 juin à 21:20:55 x3n écrit notamment:
| > | Le dimanche 18 juin 2006 20:39, Jean Magnan de Bornier a écrit :
| > | > Le 18 juin à 20:33:41 x3n écrit notamment:
| > | > | Bonsoir,
| > | > |
| > | > | Tu peux donner un peu plus de détail côté wpa_supplicant ?!
| > | > | Si tu lances wpa_supplicant -dd -B -Dwext -c/etc/wpa_supplicant.conf
| > | > |
| > | > | quel est le message d'erreur ???
| > | >
| > | > Avec ça, il me rappelle l'usage; mais avec:
| > |
| > | Effectivement, j'ai tapé un peu trop vite...
| > |
| > | > boldair jean # wpa_supplicant -Dwext -iwlan0
| > | > -c/etc/wpa_supplicant.conf,
| > |
| > | Tu utilise quel module pour ta carte WiFi ??? Car en fait "wext"
| > | correspond aux chipset centrino ipw2200 (ou affiliés), mais les interface
| > | ne s'appellent pas wlan0 mais eth1... Je dirai que tu utilises
| > | ndiswrapper ?! Si c'est le cas, lance wpa_supplicant avec -Dndiswrapper
| >
| > Oui, c'est bien un centrino et ma carte est eth1; mais si je tape:
| >
| > boldair jean # wpa_supplicant -Dwext -eth1 -c/etc/wpa_supplicant.conf



| wpa_supplicant -Dwext -ieth1 -c/etc/wpa_supplicant.conf



| Tu as oublié le "i" pour interface
| >
| > il ne comprend pas eth1 apparemment:
| >
| > wpa_supplicant: invalid option -- e

D'accord, voilà :

boldair jean # wpa_supplicant -Dwext -ieth1 -c/etc/wpa_supplicant.conf
ENGINE: ctrl cmd_string failed: LOAD (null) [error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library]
SSL: Failed to initialize TLS context.
Failed to initialize EAPOL state machines.

merci toujours...
--
Jean

--
mailing list
1 2 3