You are not logged in.

#1 2011-10-08 19:09:54

loki1519
Member
From: Poland
Registered: 2011-10-08
Posts: 2

Wifi ad-hoc. WPA doesn't working.

Hi

I want to create encrypted ad-hoc network with wpa_supplicant and i have a trouble. Network has been created, but without any encryption.
Here is my config:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel

ap_scan=2
network={
        ssid="Ad-Hoc z WPA"
        mode=1
        frequency=2412
        proto=WPA
        key_mgmt=NONE
        pairwise=NONE
        group=TKIP
        psk="abcdefghijkl"
}

Here is a command which I've used.

wpa_supplicant -Dwext -iwlan0 -c ad_hoc.conf 

I've based it on this page: https://wiki.archlinux.org/index.php/Ad-hoc_networking

My network card is: Intel Corporation Centrino Wireless-N 1000

Offline

#2 2011-10-08 19:30:25

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Wifi ad-hoc. WPA doesn't working.

If you want WPA, then your key_mgmt and pairwise are definitely wrong. I'd say don't set key_mgmt, pairwise and group at all, the defaults are ok.

Offline

#3 2011-10-09 12:20:53

loki1519
Member
From: Poland
Registered: 2011-10-08
Posts: 2

Re: Wifi ad-hoc. WPA doesn't working.

It doesn't helped. Still I dont have encryption on ad-hoc network.

Offline

Board footer

Powered by FluxBB