Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ndiswrapper und wpa_supplicant + SSID Broadcast
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
xboxx
n00b
n00b


Joined: 12 Apr 2006
Posts: 34
Location: Frankfurt a. M.

PostPosted: Sun Apr 16, 2006 9:30 pm    Post subject: ndiswrapper und wpa_supplicant + SSID Broadcast Reply with quote

guten abend zusammen :D,

habe (immer noch) mehr oder weniger große probs mit meinem wlan.
nachdem ich nun herausgefunden habe, dass die acx treiber kein wpa unterstützen muss ich wohl oder übel
mit ndiswrapper arbeiten.

nun stellt sich mir die frage, wie ich denn den ndiswrapper mit wpa_supplicant "verbinde"... :?

Hat einer nen Rat? :)

gruß
xboxx


Last edited by xboxx on Tue Apr 18, 2006 4:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
Salathe
n00b
n00b


Joined: 02 Jan 2006
Posts: 57
Location: Switzerland

PostPosted: Sun Apr 16, 2006 11:13 pm    Post subject: Reply with quote

Moin Moin

Hast du die Karte bereits mit NDISwrapper zum laufen gebracht??

Bei mir sieht das dann so aus in /etc/conf.d/net
Code:

modules=( "wpa_supplicant" )

#iwconfig_wlan0="mode managed"

wpa_supplicant_wlan0="-d -iwlan0 -c/etc/wpa_supplicant.conf -Dndiswrapper"

Du darfst nach -i,-c und -D keine Leerzeichen machen, sonst geht es nicht.

Gruss Salathe
Back to top
View user's profile Send private message
xboxx
n00b
n00b


Joined: 12 Apr 2006
Posts: 34
Location: Frankfurt a. M.

PostPosted: Mon Apr 17, 2006 6:31 am    Post subject: Reply with quote

nope, die karte läuft noch net.
muss erst die passendne windows treiber finden. also die aller neusten von der netgear homepage gab fehler aus im ndiswrapper.
such nun meine cd die dabei war...
Back to top
View user's profile Send private message
Pamino
Apprentice
Apprentice


Joined: 07 Apr 2004
Posts: 281
Location: 127.0.0.1

PostPosted: Mon Apr 17, 2006 10:34 am    Post subject: Reply with quote

Muss der Windows Treiber denn WPA unterstützen, oder ist wpa_supplicant davon unabhängig?
Back to top
View user's profile Send private message
xboxx
n00b
n00b


Joined: 12 Apr 2006
Posts: 34
Location: Frankfurt a. M.

PostPosted: Mon Apr 17, 2006 12:06 pm    Post subject: Reply with quote

und wieder ein fehler :(

Code:

* Starting wlan0
*   Starting wpa_supplicant on wlan0...
loctl[SIOCSIWPMKSA]: Invalid argument
* timed out


kA was das wieder is :-\ :roll:

das is ja sowas von übel unter linux, mit dem wlan und wpa...grml.
Back to top
View user's profile Send private message
Salathe
n00b
n00b


Joined: 02 Jan 2006
Posts: 57
Location: Switzerland

PostPosted: Mon Apr 17, 2006 2:02 pm    Post subject: Reply with quote

Kannst du deine wpa_supplicant.conf posten??

Hatte diesen Fehler auch am Anfang, ich weiss aber nicht mehr, ob es an Ndiswrapper oder wpa_supplicant liegt.

Gruss Salathe
Back to top
View user's profile Send private message
xboxx
n00b
n00b


Joined: 12 Apr 2006
Posts: 34
Location: Frankfurt a. M.

PostPosted: Mon Apr 17, 2006 2:48 pm    Post subject: Reply with quote

/etc/conf.d/net:
Code:
config_wlan0=( "dhcp" )
modules=( "wpa_supplicant" )
wpa_supplicant_wlan0="-Dndiswrapper"
wpa_timeout_wlan0=60




/etc/conf.d/wireless ist leer



/etc/wpa_supplicant.conf:
Code:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=2
fast_reauth=1


network={
  scan_ssid=1
  ssid="8th75zt45637"
  key_mgmt=WPA-PSK
  psk="jgfnjfE7348tz24789tz47rewrWEr37t5634dfd36t56r23"
  proto=WPA
}
Back to top
View user's profile Send private message
Salathe
n00b
n00b


Joined: 02 Jan 2006
Posts: 57
Location: Switzerland

PostPosted: Mon Apr 17, 2006 5:49 pm    Post subject: Reply with quote

Versuch mal in der /etc/conf.d/net noch die Parameter -i und -c anzugenben. Bei mir:
Code:
wpa_supplicant_wlan0="-d -iwlan0 -c/etc/wpa_supplicant.conf -Dndiswrapper"


Am besten auch -d für debug.
Back to top
View user's profile Send private message
xboxx
n00b
n00b


Joined: 12 Apr 2006
Posts: 34
Location: Frankfurt a. M.

PostPosted: Tue Apr 18, 2006 3:07 pm    Post subject: Reply with quote

hey.

nach ewigen hin und her steht das problem fest:
Es lag einzig und alleine daran, dass das WLAn als ein verstecktes eingerichtet wurde.
stell ich im router ein, dass es sichtbar ist, funzt es auch einwandfrei...

darauf muss erstmal einer kommen^^


auf jeden fall viele dank für eure hilfe!!
Besonderen Dank noch an Pamino der mir die letzte woche auch im ICQ immer zur verfügung stand und mir geholfen hat! :D


Bye
Back to top
View user's profile Send private message
xboxx
n00b
n00b


Joined: 12 Apr 2006
Posts: 34
Location: Frankfurt a. M.

PostPosted: Tue Apr 18, 2006 4:06 pm    Post subject: Reply with quote

hi ich bins nochmal :D

ich hätt ja nun doch gerne, dass das wlan verstekct is, wenn sich das im router schon abietet...

nur klappt ja dann das wlan net.

hab in der /etc/wpa_supplicant.conf unter network noch "scan_ssid=1" dazugeschrieben, wie in der .example beschrieben.
jedoch gibts dann wieder timeouts und er findet das wlan trotzdem nicht.

kann mir da noch jemand nen tipp geben, was man machen muss, damit das wlan + wpa bei ausgeschaltenem SSID Broadcast funktinoiert :?:
Back to top
View user's profile Send private message
Pamino
Apprentice
Apprentice


Joined: 07 Apr 2004
Posts: 281
Location: 127.0.0.1

PostPosted: Tue Apr 18, 2006 5:53 pm    Post subject: Reply with quote

Das würde mich auch interessieren! Ich benutze ebenso ndiswrapper und wpa_supplicant und habe es noch nicht geschafft meine WLAN Karte mit versteckter ESSID zum laufen zu kriegen
Back to top
View user's profile Send private message
xboxx
n00b
n00b


Joined: 12 Apr 2006
Posts: 34
Location: Frankfurt a. M.

PostPosted: Wed Apr 19, 2006 9:04 pm    Post subject: Reply with quote

hey,

hat denn keiner ne idee? :cry:
das muss doch eigentlich irgendwie gehen :?

Gruß
Back to top
View user's profile Send private message
Rüpel
Guru
Guru


Joined: 06 Nov 2002
Posts: 316
Location: Berlin/Germany

PostPosted: Fri Apr 21, 2006 5:53 pm    Post subject: Reply with quote

das abschalten der SSID bringt praktisch keinen sicherheitsgewinn. denk dir einen lustigen namen aus, dann haben die leute in der nachbarschaft wenigstens was zu lachen.
_________________
:wq
Back to top
View user's profile Send private message
xboxx
n00b
n00b


Joined: 12 Apr 2006
Posts: 34
Location: Frankfurt a. M.

PostPosted: Fri Apr 21, 2006 6:39 pm    Post subject: Reply with quote

naja, das is aber auch net die lösung zu dem problem ;)
dass das keinen sicherheitsgewinn bringt, is mir auhc klar, aber wenns ginge is natürlich noch besser...

also wenn das doch vorgesehen is, dass das geht, dann will ich auch, dass das bei mir geht...logisch oder net? ;)
Back to top
View user's profile Send private message
zworK
Guru
Guru


Joined: 07 May 2004
Posts: 308

PostPosted: Fri Apr 21, 2006 9:24 pm    Post subject: Reply with quote

Hier mal meine wpa_supplicant Konfiguration für die Verbindung zu meiner Fritzbox mit WPA-PSK und TKIP. SSID Broadcast ist aus.
Damit das mit abgeschaltetem Broadcast funktioniert, sind ap_scan=2, proto, key_mgmt, group und pairwise wichtig (zumindest bei mir).
Genaueres steht in der
Code:
wpa_supplicant.conf.example


/etc/wpa_supplicant.conf
Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel

fast_reauth=1
eapol_version=1
ap_scan=2

network={

    ssid="meineSSID"
    psk="..."
    proto=WPA
    key_mgmt=WPA-PSK
    group=TKIP
    pairwise=TKIP
}


edit :

Der Vollständigkeit halber

/etc/conf.d/net
Code:
config_eth1=( "dhcp" )
modules_eth1=( "wpa_supplicant" )
# ipw2100
wpa_supplicant_eth1="-Dwext"
Back to top
View user's profile Send private message
xboxx
n00b
n00b


Joined: 12 Apr 2006
Posts: 34
Location: Frankfurt a. M.

PostPosted: Sat Apr 22, 2006 7:50 am    Post subject: Reply with quote

jup.

wirklich GENAU so sieht das bei mir auch aus, bis auf key und ssid natürlich^^
Back to top
View user's profile Send private message
zworK
Guru
Guru


Joined: 07 May 2004
Posts: 308

PostPosted: Sat Apr 22, 2006 10:29 am    Post subject: Reply with quote

Also ich habe gerade nochmal an meiner Konfiguration rumgespielt und mit deiner oben angegebenen verglichen und folgendes festgestellt :

xboxx wrote:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=2
fast_reauth=1


network={
scan_ssid=1
ssid="8th75zt45637"
key_mgmt=WPA-PSK
psk="jgfnjfE7348tz24789tz47rewrWEr37t5634dfd36t56r23"
proto=WPA
}


ap_scan=2 -> musst gesetzt sein.
scan_ssid= -> gesetzt oder nicht, hat scheinbar keinen Einfluss.
group und pairwise = -> muss gesetzt sein.

Ein bissl zur Technik : Fritzbox Fon WLAN 7050, Centrino Laptop (ipw2100) über 802.11b, wpa_supplicant-0.5.2

Code:
net-wireless/wpa_supplicant-0.5.2  -gsm -madwifi +qt +readline +ssl 0 kB


Du könntest wpa_supplicant mal von Hand starten um mehr details zu bekommen (-dd sorgt für viel Debug-Ausgaben) :
Code:
wpa_supplicant -Dndiswrapper -iwlan0 -dd -c /etc/wpa_supplicant.conf


Das sollte einiges an Zeilen ausspucken und zeigen wo es scheitert.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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