Gentoo Archives: gentoo-user

From: Jean Magnan de Bornier <jean@×××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Wireless problem (ipw2200)
Date: Sun, 17 Sep 2006 07:32:24
Message-Id: 8764fnkl9o.fsf@bornier.net
In Reply to: Re: [gentoo-user] Wireless problem (ipw2200) by Marco Calviani
1 Le 16 septembre à 10:01:38 "Marco Calviani" <marco.calviani@×××××.com> écrit notamment:
2
3 | Hi Jean,
4 | unfortunately is it still not working even if i've tried changing
5 | different lines.. (however this does not make very much sense). Can
6 | you post me you /etc/conf.d/net and /etc/wpa_supplicant.conf files?
7 >
8 Sure, here they are; but you will see I'm using wpa, not wep; so you can't
9 really use my config :-(
10
11 /etc/conf.d/net:
12 ....................................
13
14 config_eth0=( "194.199.136.151 netmask 255.255.255.0 brd 194.199.136.255" )
15
16 routes_eth0=(
17 "default via 194.199.136.250" # IPv4 default route
18 )
19
20 postup() {
21 /usr/sbin/netfac
22 }
23 #this function is a script I wrote to activate eth1 only if eth0 is not plugged
24 plug_timeout="10"
25
26 modules=( "wpa_supplicant" )
27
28 wpa_supplicant_eth1="-Dwext" # For generic wireless
29
30 ....................................
31
32 And here's the /etc/wpa_supplicant.conf:
33
34 ....................................
35 ctrl_interface=/var/run/wpa_supplicant
36
37 ctrl_interface_group=0
38
39 eapol_version=1
40
41 ap_scan=1
42
43 fast_reauth=1
44
45 #I had to emerge relevant packages for these two lines:
46
47 pkcs11_engine_path=/usr/lib/engines/engine_pkcs11.so
48
49 pkcs11_module_path=/usr/lib/opensc-pkcs11.so
50
51
52 network={
53 ssid="ribalte"
54 psk="xxxxxxxxxxxxxxxxx"
55 priority=5
56 }
57
58
59 ....................................
60
61
62 hth,
63 --
64 Jean Magnan de Bornier | Cours Victor Hugo
65 e-mots: jean at bornier.net | 13980 Alleins France
66 T 08 70 39 34 03 | P 06 09 17 35 87
67
68 --
69 gentoo-user@g.o mailing list