LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Encrypted Ad-hoc (https://www.linuxquestions.org/questions/slackware-14/encrypted-ad-hoc-659247/)

the3dfxdude 07-30-2008 08:18 AM

Encrypted Ad-hoc
 
Has anyone setup an encrypted wpa ad-hoc wireless network? I would like to be pointed down the right direction.

jkzfixme 07-30-2008 09:53 AM

iwconfig eth1 mode Ad-Hoc


vi rc.inet1.conf and add

IFNAME[1]="ath0"
...
WLAN_WPA[1]="wpa_supplicant"

WLAN_WPADRIVER[1]="whatever card your using"





Regards,
JKZfixme

the3dfxdude 07-30-2008 07:37 PM

That doesn't explain what I'm looking for. What type of encryption will work?

bgeddy 08-01-2008 01:23 AM

This is from a Slackware 12.0 system.

From /usr/doc/wpa_supplicant-0.5.7/wpa_supplicant.conf.sample:-
Quote:

# mode: IEEE 802.11 operation mode
# 0 = infrastructure (Managed) mode, i.e., associate with an AP (default)
# 1 = IBSS (ad-hoc, peer-to-peer)
# Note: IBSS can only be used with key_mgmt NONE (plaintext and static WEP)
# and key_mgmt=WPA-NONE (fixed group key TKIP/CCMP). In addition, ap_scan has
# to be set to 2 for IBSS. WPA-None requires following network block options:
# proto=WPA, key_mgmt=WPA-NONE, pairwise=NONE, group=TKIP (or CCMP, but not
# both), and psk must also be set.
#
Googleing around reveals that people have been experiencing problems with ad hoc mode and WPA but YMMV.

the3dfxdude 08-01-2008 07:51 AM

Quote:

Originally Posted by bgeddy (Post 3232881)
Googleing around reveals that people have been experiencing problems with ad hoc mode and WPA but YMMV.

Yeah I'm a bit afraid of that. I will have to research it then.


All times are GMT -5. The time now is 01:59 AM.