LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Not working wpa/wpa2 for ad hoc mode (https://www.linuxquestions.org/questions/linux-newbie-8/not-working-wpa-wpa2-for-ad-hoc-mode-791496/)

linux_21 02-25-2010 08:07 AM

Not working wpa/wpa2 for ad hoc mode
 
Hi all,
Anyone knows how to configure wpa_supplicant.conf for ad hoc mode using wpa/wpa2 encryption...
Is wpa_supplicant will work wpa/wpa2 encryption??
I tried many ways but i am not able to configure for adhoc mode in wpa_supplicant using wpa/wpa2

Thanks..

jschiwal 02-26-2010 01:33 AM

There used to be an option in Windows XP called wpa-none. It used the preshared key for encryption, so this isn't a secure option. Perhaps using hotplugging so if you lose the link on one AP it can authenticates with another.

This link may give you a starting point. You should put your distribution in your usercp so we don't have to make assumptions or be overly general in our answers.

http://forums.debian.net/viewtopic.php?t=27573

---
Look in the wpa_supplicant's sample configuration file.
Read the description for "apscan=2" option.

linux_21 02-26-2010 10:59 PM

Not working wpa/wpa2 for ad hoc mode
 
Hi jschiwal,

I'm trying to get WPA in ad-hoc mode working. Obviously I'm faling,
i m using wpa_supplicant 0.6.x version and i compiled the source code and running wpa_supplicant on linux machine and wpa_cli on windows vista..

I am trying to configure wpa with tkip encryption and wpa2 with aes...

The problem is that when i configure the wpa_supplicant.conf for wpa its not giving any error after running wpa_supplicant but not able to connet to windows laptop..The laptop drivers are latest one and uses Dell wirless 1390 wlan mini-card

But wep40 & wep 104 are working fine for me...

Can anyone help me out how to configure wpa_supplicant.conf for wpa/wpa2 in adhoc mode...
Does wpa/wpa2 work in adhoc mode?????

If it works what configuration file i need to use for that..

My configuration file is as below...

WPA with TKIP configuration:-

ctrl_interface=udp
update_config=1
ap_scan=2
eapol_version=1
fast_reauth=1

network={
ssid="test wpa"
mode=1
scan_ssid=1
key_mgmt=WPA-NONE
proto=WPA
pairwise=NONE
group=TKIP
psk="abcde12345678"
}


WPA2 with CCMP configuration:-

ctrl_interface=udp
update_config=1
ap_scan=2
eapol_version=1
fast_reauth=1

network={
ssid="test wpa"
mode=1
scan_ssid=1
key_mgmt=WPA-NONE
proto=RSN
pairwise=NONE
group=CCMP
psk="abcde12345678"
}


Does this configuration works for wpa & wpa2 in adhoc mode...

Thank you...


All times are GMT -5. The time now is 05:48 PM.