Find the answer to your Linux question:
Results 1 to 6 of 6
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 ...
  1. #1
    Just Joined!
    Join Date
    Dec 2009
    Posts
    5

    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..

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,970
    Please be more specific about what the problem is and what you have done to try to make it work.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Dec 2009
    Posts
    5
    Hi Rubberman,

    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...

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,970
    What distribution+version+kernel are you running?
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  5. #5
    Just Joined!
    Join Date
    Dec 2009
    Posts
    5
    Quote Originally Posted by Rubberman View Post
    What distribution+version+kernel are you running?
    I am using wpa_supplicant of version 0.6.x and using fedora with kernel version 2.6.19.2 and i am using wpa_supplicant on linux machine and wpa_cli on windows xp machine...
    Also i can also connect using wep64 & wep128 in adhoc mode. But can i use wap-psk & wap2-psk in adhoc mode?

  6. #6
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,970
    I would think so, but I've always used WEP for ad-hoc purposes myself. Which version of Fedora are you running? The network manager UI should indicate whether or not you can use WPA in ad-hoc mode. Ditto for Windows.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...