Gentoo Archives: gentoo-user

From: Paul Melvin <paul@×××××××××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: RE: [gentoo-user] Wireless hidden association problem
Date: Tue, 17 Jun 2008 14:04:04
Message-Id: 00f101c8d082$f48916d0$dd9b4470$@co.uk
In Reply to: Re: [gentoo-user] Wireless hidden association problem by Florian Philipp
1 Hi Florian,
2
3 Mine will not associate with the hidden ap, my files are below, please have
4 a look to see if I have missed anything as I would like to get this working
5
6 /etc/wpa_supplicant/wpa_supplicant.conf
7
8 ctrl_interface=/var/run/wpa_supplicant
9
10 network={
11 scan_ssid=1
12 ssid="ng6"
13 key_mgmt=WPA-PSK
14 proto=WPA
15 pairwise=CCMP TKIP
16 group=CCMP TKIP
17 psk="123456"
18 priority=2
19 }
20
21 /etc/conf.d/net
22
23 config_eth0=( "dhcp" )
24
25 config_eth1=( "dhcp" )
26 #iwconfig eth1 essid ng6
27 modules=( "wpa_supplicant" )
28 wpa_supplicant_eth1="-Dwext"
29 wpa_timeout_eth1=60
30
31 how can I stop the wpa (just use a kill?) so that I can reload the settings
32 and if I use the -dd option should I be able to find out what is wrong?
33
34 thanks
35
36 paul
37
38 -----Original Message-----
39 From: Florian Philipp [mailto:lists@f_philipp.fastmail.net]
40 Sent: 17 June 2008 13:45
41 To: gentoo-user@l.g.o
42 Subject: Re: [gentoo-user] Wireless hidden association problem
43
44 On Tue, 17 Jun 2008 12:07:31 +0100
45 "Paul Melvin" <paul@×××××××××××××××××××.uk> wrote:
46
47 > Hi Sergey,
48 >
49 > Thanks for that, since my question I have found that if I enter the
50 > iwconfig command into /etc/conf.d/net it does work; i.e.
51 >
52 > iwconfig eth1 essid name_of_ssid
53 >
54 > However I am not sure how this would work if I had a load of hidden
55 > ssids, if at all, and it does seem messy
56 >
57 > Is wpa_supplicant the best/only way to do this?
58 >
59 > Please can anyone tell me how this works in ubuntu as it does seem to
60 > and I would hope that I could replicate it
61 >
62 > Cheers
63 >
64 > paul
65 >
66 > -----Original Message-----
67 > From: Sergey Kobzar [mailto:tod.zullu@×××××.com]
68 > Sent: 17 June 2008 11:55
69 > To: gentoo-user@l.g.o
70 > Subject: [SPAM] Re: [gentoo-user] Wireless hidden association problem
71 >
72 > Tuesday, June 17, 2008, 1:37:29 PM, Paul wrote:
73 >
74 > > Hi,
75 > >
76 > > I have a dell laptop with intel wireless card (ipw2200) and am
77 > > trying to configure it to use WPA-PSK.
78 > >
79 > > I have setup up the card correctly utilizing the ipw2200 module,
80 > > wpa_supplicant and wireless_tools.
81 > >
82 > > If I use a broadcast ssid everything works, however if I turn off
83 > > the broadcast on the ap and do a debug of the wpa, it recognizes
84 > > that there is a hidden ssid but will not connect to it.
85 > >
86 > > I would rather use hidden ssids than not but how can I get it to
87 > > connect?
88 >
89 > I have similar problem with Cisco AP and Intel 3945, D-Link DWL-G500
90 > adapters under Gentoo/FreeBSD. Looks like it's wpa_supplicant
91 > permanent problem. Windows works fine.
92 >
93 > AFAIK there is no solution except using broadcasts.
94 >
95 >
96 > > Please can you also tell me a quick way to restart the interface to
97 > > make it go through all the negotiaton, as I have moved from ubuntu
98 > > where /etc/init.d/networking restart did it
99 > >
100 > > Cheers
101 > >
102 > > Paul
103 >
104
105 I use wpa_supplicant and it's working flawlessly with a hidden ssid and some
106 unhidden ones. Here is an excerpt from my wpa_supplicant.conf:
107
108 network={ <<<--normal net with wpa2 and visible ssid
109 ssid="..."
110 key_mgmt=WPA-PSK
111 psk="..."
112 }
113 network={ <<<--net with wep and hidden ssid
114 scan_ssid=1
115 ssid="..."
116 key_mgmt=NONE
117 wep_key0=8346...
118 wep_tx_keyidx=0
119 }
120 eapol_version=1 <<<--some general options
121 ap_scan=1
122 fast_reauth=1
123
124 I'm using iwl3945, by the way.
125
126 As far as Ubuntu goes, I think they use networkmanager which gives you a
127 nice gui but only marginal advantages over properly configured
128 wpa_supplicant and /etc/conf.d/net-files.
129
130 Here are some parts of my /etc/conf.d/net:
131
132 modules_eth1=( "wpa_supplicant" )
133 wpa_supplicant_eth1="-Dwext"
134 iwconfig_eth1="txpower on"
135
136 #some SSID-specific options for nets I know. On every other net dhcp is
137 #assumed config_SSID1=( "192.168.2.2 netmask 255.255.255.0" ) routes_SSID1=(
138 "default via 192.168.2.1" ) dns_servers_SSID1=( "192.168.4.1" )
139 config_SSID2=( "dhcp" )
140
141
142
143 __________ Information from ESET Smart Security, version of virus signature
144 database 3193 (20080617) __________
145
146 The message was checked by ESET Smart Security.
147
148 http://www.eset.com
149
150
151 --
152 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Wireless hidden association problem Florian Philipp <lists@××××××××××××××××××.net>