1 |
On Tue, 17 Jun 2008 12:07:31 +0100 |
2 |
"Paul Melvin" <paul@×××××××××××××××××××.uk> wrote: |
3 |
|
4 |
> Hi Sergey, |
5 |
> |
6 |
> Thanks for that, since my question I have found that if I enter the |
7 |
> iwconfig command into /etc/conf.d/net it does work; i.e. |
8 |
> |
9 |
> iwconfig eth1 essid name_of_ssid |
10 |
> |
11 |
> However I am not sure how this would work if I had a load of hidden |
12 |
> ssids, if at all, and it does seem messy |
13 |
> |
14 |
> Is wpa_supplicant the best/only way to do this? |
15 |
> |
16 |
> Please can anyone tell me how this works in ubuntu as it does seem to |
17 |
> and I would hope that I could replicate it |
18 |
> |
19 |
> Cheers |
20 |
> |
21 |
> paul |
22 |
> |
23 |
> -----Original Message----- |
24 |
> From: Sergey Kobzar [mailto:tod.zullu@×××××.com] |
25 |
> Sent: 17 June 2008 11:55 |
26 |
> To: gentoo-user@l.g.o |
27 |
> Subject: [SPAM] Re: [gentoo-user] Wireless hidden association problem |
28 |
> |
29 |
> Tuesday, June 17, 2008, 1:37:29 PM, Paul wrote: |
30 |
> |
31 |
> > Hi, |
32 |
> > |
33 |
> > I have a dell laptop with intel wireless card (ipw2200) and am |
34 |
> > trying to configure it to use WPA-PSK. |
35 |
> > |
36 |
> > I have setup up the card correctly utilizing the ipw2200 module, |
37 |
> > wpa_supplicant and wireless_tools. |
38 |
> > |
39 |
> > If I use a broadcast ssid everything works, however if I turn off |
40 |
> > the broadcast on the ap and do a debug of the wpa, it recognizes |
41 |
> > that there is a hidden ssid but will not connect to it. |
42 |
> > |
43 |
> > I would rather use hidden ssids than not but how can I get it to |
44 |
> > connect? |
45 |
> |
46 |
> I have similar problem with Cisco AP and Intel 3945, D-Link |
47 |
> DWL-G500 adapters under Gentoo/FreeBSD. Looks like it's wpa_supplicant |
48 |
> permanent problem. Windows works fine. |
49 |
> |
50 |
> AFAIK there is no solution except using broadcasts. |
51 |
> |
52 |
> |
53 |
> > Please can you also tell me a quick way to restart the interface to |
54 |
> > make it go through all the negotiaton, as I have moved from ubuntu |
55 |
> > where /etc/init.d/networking restart did it |
56 |
> > |
57 |
> > Cheers |
58 |
> > |
59 |
> > Paul |
60 |
> |
61 |
|
62 |
I use wpa_supplicant and it's working flawlessly with a hidden ssid and |
63 |
some unhidden ones. Here is an excerpt from my wpa_supplicant.conf: |
64 |
|
65 |
network={ <<<--normal net with wpa2 and visible ssid |
66 |
ssid="..." |
67 |
key_mgmt=WPA-PSK |
68 |
psk="..." |
69 |
} |
70 |
network={ <<<--net with wep and hidden ssid |
71 |
scan_ssid=1 |
72 |
ssid="..." |
73 |
key_mgmt=NONE |
74 |
wep_key0=8346... |
75 |
wep_tx_keyidx=0 |
76 |
} |
77 |
eapol_version=1 <<<--some general options |
78 |
ap_scan=1 |
79 |
fast_reauth=1 |
80 |
|
81 |
I'm using iwl3945, by the way. |
82 |
|
83 |
As far as Ubuntu goes, I think they use networkmanager which gives you |
84 |
a nice gui but only marginal advantages over properly configured |
85 |
wpa_supplicant and /etc/conf.d/net-files. |
86 |
|
87 |
Here are some parts of my /etc/conf.d/net: |
88 |
|
89 |
modules_eth1=( "wpa_supplicant" ) |
90 |
wpa_supplicant_eth1="-Dwext" |
91 |
iwconfig_eth1="txpower on" |
92 |
|
93 |
#some SSID-specific options for nets I know. On every other net dhcp is |
94 |
#assumed |
95 |
config_SSID1=( "192.168.2.2 netmask 255.255.255.0" ) |
96 |
routes_SSID1=( "default via 192.168.2.1" ) |
97 |
dns_servers_SSID1=( "192.168.4.1" ) |
98 |
config_SSID2=( "dhcp" ) |