Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] wpa_supplicant + ad-hoc with wep
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
arkas
n00b
n00b


Joined: 08 Dec 2010
Posts: 60

PostPosted: Fri Mar 11, 2011 5:43 pm    Post subject: [solved] wpa_supplicant + ad-hoc with wep Reply with quote

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
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6656
Location: The soundosphere

PostPosted: Sat Mar 12, 2011 2:09 am    Post subject: Reply with quote

The first thing I want to ask is whether you can connect to a typical wireless network of the kind you get off your typical wireless antennae router.

If you can do that, maybe something isn't set up correctly with your iPhone.

Then again, I don't own an iPhone and don't expect to ever, so are you really gonna listen to me? :P
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
arkas
n00b
n00b


Joined: 08 Dec 2010
Posts: 60

PostPosted: Sat Mar 12, 2011 9:51 am    Post subject: Reply with quote

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
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Sat Mar 12, 2011 10:30 am    Post subject: Reply with quote

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
View user's profile Send private message
arkas
n00b
n00b


Joined: 08 Dec 2010
Posts: 60

PostPosted: Sat Mar 12, 2011 3:47 pm    Post subject: Reply with quote

it works!!

Thank you very much!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum