1 |
Hello Nick, |
2 |
|
3 |
If you are using wpa_supplicant, you then need to |
4 |
edit /etc/wpa_supplicant.conf. In that file put all your access points that |
5 |
you want to connect to like the following: |
6 |
|
7 |
eapol_version=1 |
8 |
ap_scan=1 |
9 |
# |
10 |
# A wpa-psk Site |
11 |
# |
12 |
network={ |
13 |
ssid="WPA-PSK" |
14 |
scan_ssid=1 |
15 |
key_mgmt=WPA-PSK |
16 |
pairwise=TKIP CCMP |
17 |
group=TKIP CCMP WEP104 WEP40 |
18 |
psk="wgb9hadi5ektw996s77z4efi4o" |
19 |
eap=TTLS PEAP TLS |
20 |
} |
21 |
# |
22 |
# A wep Site |
23 |
# |
24 |
network={ |
25 |
ssid="Wep" |
26 |
scan_ssid=1 |
27 |
key_mgmt=NONE |
28 |
group=WEP104 |
29 |
wep_key0=BFCD56D8186852F2247A54F1AF |
30 |
wep_tx_keyidx=0 |
31 |
} |
32 |
# |
33 |
# Attempt at any wireless |
34 |
# |
35 |
network={ |
36 |
ssid="" |
37 |
scan_ssid=1 |
38 |
key_mgmt=NONE |
39 |
} |
40 |
|
41 |
I have many sites in my wpa_supplicant file and I connect to the closest one |
42 |
at the time. |
43 |
|
44 |
The only thing that I have in my network file for my wireless is the |
45 |
following: |
46 |
|
47 |
hotplug_wlan0="no" |
48 |
wpa_supplicant_wlan0="-Dhostap" |
49 |
config_wlan0=( "dhcp") |
50 |
dhcpcd_wlan0="" |
51 |
|
52 |
Sean |
53 |
|
54 |
On Wednesday 31 August 2005 11:52 am, Nick Smith wrote: |
55 |
> Im having a heck of a time getting wep to work with either iwconfig or |
56 |
> wpa_supplicant, ive followed the how-to, read over the wiki pages, and |
57 |
> looked at the example file in /etc and i still cannot get it to let me |
58 |
> connect with WEP, i can see the AP, get the freg/voltage etc, but i cant |
59 |
> get an ip from it. my setup is this: i have a wireless access point at |
60 |
> home that i want to connect to using WEP and also an AP at the office |
61 |
> that i want to connect to using WEP, i can connect to both with WEP |
62 |
> turned off, so i know my wireless is working. does someone have a |
63 |
> similar setup on their machine that they could possibly post their |
64 |
> config file? either conf.d/net or conf.d/wireless or both, (im just |
65 |
> using /net per the how-tos) |
66 |
> |
67 |
> my config as of now looks like this: |
68 |
> |
69 |
> modules=( "wpa_supplicant" ) |
70 |
> wpa_supplicant_eth1="-prism54" |
71 |
> wpa_timeout_eth1=30 |
72 |
> |
73 |
> #associate_order="any" |
74 |
> #essid_eth1="any" |
75 |
> #preferred_aps=( "computernick" ) |
76 |
> #associate_order_eth1="any" |
77 |
> |
78 |
> key_computernick="s:c0mputernick! enc open" |
79 |
> #key_ESSID2="[1] s:CE73E751EE [1] enc open" |
80 |
> |
81 |
> #preferred_aps=( "ESSID1" ) |
82 |
> |
83 |
> #config_ESSID1=( "dhcp" ) |
84 |
> #fallback_ESSID1=( "192.168.0.55/24 brd 192.168.0.255" ) |
85 |
> #fallback_route_ESSID1=( "default via 192.168.0.69" ) |
86 |
> |
87 |
> #config_ESSID2=( "dhcp" ) |
88 |
> #fallback_ESSID2=( "192.168.1.200/24 brd 192.168.1.255" ) |
89 |
> #fallback_route_ESSID2=( "default via 192.168.1.2" ) |
90 |
> |
91 |
> #dhcpcd_eth0="-t 15" |
92 |
> #dhcpcd_eth1="-t 15" |
93 |
> |
94 |
> |
95 |
> i commented out alot of stuff for troubleshooting purposes but it didnt |
96 |
> help. i cant get either one to connect with WEP enabled. i want to try |
97 |
> to get wpa working because from what i have read and heard it is more |
98 |
> advanced that iwconfig, lets you connect to wpa enc and i think it does |
99 |
> scanning as well. |
100 |
> |
101 |
> any help or a config file would be greatly appreciated. |
102 |
> |
103 |
> thanks |
104 |
> |
105 |
> Nick |
106 |
|
107 |
-- |
108 |
Sean Higgins, sean@×××××××.com |
109 |
http://www.systura.com - "Where information becomes knowledge." |
110 |
-- |
111 |
gentoo-user@g.o mailing list |