LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-25-2010, 08:07 AM   #1
linux_21
LQ Newbie
 
Registered: Nov 2009
Posts: 8

Rep: Reputation: 0
Exclamation 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..
 
Old 02-26-2010, 01:33 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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.

Last edited by jschiwal; 02-28-2010 at 07:04 PM.
 
Old 02-26-2010, 10:59 PM   #3
linux_21
LQ Newbie
 
Registered: Nov 2009
Posts: 8

Original Poster
Rep: Reputation: 0
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...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
scripts (kommander and command line) to start wireless devices with wpa/wpa2/wpa-aes Fluxx Linux - Wireless Networking 4 06-28-2010 02:51 AM
Does wpa/wpa2 work in adhoc mode?? linux_21 Linux - Newbie 0 02-24-2010 02:36 AM
Wicd on Fedora 10 will not connect to WPA/WPA2 network after install Mikazo Linux - Wireless Networking 2 04-11-2009 12:38 PM
Wireless encryption with Slackware 12.2 (WPA, WPA2): Best practice? gargamel Slackware 3 12-22-2008 03:42 PM
Configuring Solaris to do Wireless WPA or WPA2? as400 Solaris / OpenSolaris 1 09-17-2008 12:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration