In the case of WPA, the matter is a bit more complicated. The
iwconfig
utility cannot be used with WPA/WPA2 Personal and Enterprise, as it does not support it. We will use a new tool calledWPA_supplicant
, for this lab. To useWPA_supplicant
for a network, we will need to create a configuration file as shown in the screenshot. We will name this filewpa-supp.conf
:We will then invoke the
WPA_supplicant
utility with the following options-Dwext
-iwlan0
–c
wpa-supp.conf
to connect to the WPA network, we just cracked as shown. Once the connection is successful,WPA_supplicant
will give you a messageConnection
to
XXXX
completed
:For both the WEP and WPA networks, once you are connected, you want to use
Dhcpclient3
to grab a DHCP address from the network as shown next:
Argentina
Australia
Austria
Belgium
Brazil
Bulgaria
Canada
Chile
Colombia
Cyprus
Czechia
Denmark
Ecuador
Egypt
Estonia
Finland
France
Germany
Great Britain
Greece
Hungary
India
Indonesia
Ireland
Italy
Japan
Latvia
Lithuania
Luxembourg
Malaysia
Malta
Mexico
Netherlands
New Zealand
Norway
Philippines
Poland
Portugal
Romania
Russia
Singapore
Slovakia
Slovenia
South Africa
South Korea
Spain
Sweden
Switzerland
Taiwan
Thailand
Turkey
Ukraine
United States