View previous topic :: View next topic |
Author |
Message |
arkas n00b

Joined: 08 Dec 2010 Posts: 60
|
Posted: Fri Mar 11, 2011 5:43 pm Post subject: [solved] wpa_supplicant + ad-hoc with wep |
|
|
hello,
i'm trying to connect with my laptop to a wifi, generated with my iphone (mywi).
It is an ad-hoc network with wep-encryption.
i'm using wpa_supplicant:
Code: |
net-wireless/wpa_supplicant-0.7.3-r2 USE="dbus readline ssl -debug -eap-sim -fasteap -gnutls -madwifi (-ps3) -qt4 -wimax -wps"
|
in the documentation i have found various settings like:
Code: |
# Shared WEP key connection (no WPA, no IEEE 802.1X)
network={
ssid="static-wep-test"
key_mgmt=NONE
# Keys in quotes are ASCII keys
wep_key0="abcde"
# Keys specified without quotes are hex keys
wep_key1=0102030405
wep_key2="1234567890123"
wep_tx_keyidx=0
priority=5
}
# Shared WEP key connection (no WPA, no IEEE 802.1X) using Shared Key
# IEEE 802.11 authentication
network={
ssid="static-wep-test2"
key_mgmt=NONE
wep_key0="abcde"
wep_key1=0102030405
wep_key2="1234567890123"
wep_tx_keyidx=0
priority=5
auth_alg=SHARED
}
# IBSS/ad-hoc network with WPA-None/TKIP
network={
ssid="test adhoc"
mode=1
proto=WPA
key_mgmt=WPA-NONE
pairwise=NONE
group=TKIP
psk="secret passphrase"
}
|
but i have no success with these settings.
Thanks for help.
Last edited by arkas on Sat Mar 12, 2011 3:47 pm; edited 1 time in total |
|
Back to top |
|
 |
audiodef Watchman


Joined: 06 Jul 2005 Posts: 6656 Location: The soundosphere
|
|
Back to top |
|
 |
arkas n00b

Joined: 08 Dec 2010 Posts: 60
|
Posted: Sat Mar 12, 2011 9:51 am Post subject: |
|
|
i can connect to a typical wireless network!!
furthermore i only can change the passphrase, but nothing other on my iphone!
with windows connecting and surfing was no problem!!
but with gentoo and wpa_supplicant i have no success!! |
|
Back to top |
|
 |
Gusar Advocate

Joined: 09 Apr 2005 Posts: 2665 Location: Slovenia
|
Posted: Sat Mar 12, 2011 10:30 am Post subject: |
|
|
For ad-hoc with wep, this is what you need: Code: | network={
ssid="ssid_here"
mode=1
frequency=2412
key_mgmt=NONE
wep_key0="key_here"
} | Frequency is mandatory (but of course, you can choose a different one). |
|
Back to top |
|
 |
arkas n00b

Joined: 08 Dec 2010 Posts: 60
|
Posted: Sat Mar 12, 2011 3:47 pm Post subject: |
|
|
it works!!
Thank you very much!! |
|
Back to top |
|
 |
|