public inbox for gentoo-user-de@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user-de] wireless WPA2 AES wie einrichten?
@ 2009-10-03 16:11 Thomas Bruns
  2009-10-03 16:47 ` Thomas Bruns
  2009-10-03 17:15 ` Frank Steinmetzger
  0 siblings, 2 replies; 9+ messages in thread
From: Thomas Bruns @ 2009-10-03 16:11 UTC (permalink / raw
  To: gentoo-user-de

Hallo

sorry das ich so nerve :-(

wie richtet man den am besten o.g. bei gentoo ein und dann auch noch mit 
KDE4(als GUI), knetworkmanager funktioniert bei mir nicht mehr, da ich nen 
upsate von networkmanager gemacht habe.

Gruss
Thomas



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user-de] wireless WPA2 AES wie einrichten?
  2009-10-03 16:11 [gentoo-user-de] wireless WPA2 AES wie einrichten? Thomas Bruns
@ 2009-10-03 16:47 ` Thomas Bruns
  2009-10-03 17:15 ` Frank Steinmetzger
  1 sibling, 0 replies; 9+ messages in thread
From: Thomas Bruns @ 2009-10-03 16:47 UTC (permalink / raw
  To: gentoo-user-de

was ich noch so sagen kann:
iwconfig:

wlan0     IEEE 802.11bgn  ESSID:"DonBruno"
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated
          Tx-Power=9 dBm
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:on
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


-- 
Gruß
Thomas
---
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -msse4.1 -msse4.2 -pipe"
CXXFLAGS="-march=core2 -O2 -msse4.1 -msse4.2 -pipe"
LDFLAGS="-Wl,-O1,--hash-style=gnu,--sort-common,--as-needed"



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user-de] wireless WPA2 AES wie einrichten?
  2009-10-03 16:11 [gentoo-user-de] wireless WPA2 AES wie einrichten? Thomas Bruns
  2009-10-03 16:47 ` Thomas Bruns
@ 2009-10-03 17:15 ` Frank Steinmetzger
  2009-10-03 18:08   ` Thomas Bruns
  1 sibling, 1 reply; 9+ messages in thread
From: Frank Steinmetzger @ 2009-10-03 17:15 UTC (permalink / raw
  To: gentoo-user-de

[-- Attachment #1: Type: text/plain, Size: 1117 bytes --]

Am Samstag, 3. Oktober 2009 schrieb Thomas Bruns:
> Hallo
>
> sorry das ich so nerve :-(
       ,  ss

> wie richtet man den am besten o.g. bei gentoo ein und dann auch noch mit
                    nn
> KDE4(als GUI), knetworkmanager funktioniert bei mir nicht mehr, da ich
               ?
> nen upsate von networkmanager gemacht habe.
  n


Ich habe bei mir den Networkmanager nie zum Funktionieren überreden können. 
Allerdings hatte ich den immer nur mal kurz zum Ansehen ausprobiert, denn im 
Prinzip brauche ich ihn sowieso nicht, da ich alles ne Ebene tiefer 
eingerichtet habe durch das Bearbeiten der Dateien

/etc/conf.d/net
/etc/wpa_supplicant/wpa_supplicant.conf

Das hat vor allem den Vorteil, daß die Verbindungen bestehen bleiben, wenn man 
sich aus KDE abmeldet. Aber wenn Du es auf jeden Fall per GUI machen willst, 
dann wurde bei Debian gern Wicd als Networkmanager-Ersatz empfohlen. Leider 
ist das allerdings ein *hust* GTK-Programm.

> Gruss
     ß
> Thomas
-- 
Gruß | Greetings | Qapla'
WinErr 020: Error recording error codes - Additional errors will be lost.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user-de] wireless WPA2 AES wie einrichten?
  2009-10-03 17:15 ` Frank Steinmetzger
@ 2009-10-03 18:08   ` Thomas Bruns
  2009-10-03 20:24     ` Frank Steinmetzger
  0 siblings, 1 reply; 9+ messages in thread
From: Thomas Bruns @ 2009-10-03 18:08 UTC (permalink / raw
  To: gentoo-user-de

Am Samstag 03 Oktober 2009 19:15:09 schrieb Frank Steinmetzger:
> Am Samstag, 3. Oktober 2009 schrieb Thomas Bruns:
grins ok ;-)
> Ich habe bei mir den Networkmanager nie zum Funktionieren überreden können.
> Allerdings hatte ich den immer nur mal kurz zum Ansehen ausprobiert, denn
>  im Prinzip brauche ich ihn sowieso nicht, da ich alles ne Ebene tiefer
>  eingerichtet habe durch das Bearbeiten der Dateien
> 
> /etc/conf.d/net
> /etc/wpa_supplicant/wpa_supplicant.conf
> 
> Das hat vor allem den Vorteil, daß die Verbindungen bestehen bleiben, wenn
>  man sich aus KDE abmeldet. Aber wenn Du es auf jeden Fall per GUI machen
>  willst, dann wurde bei Debian gern Wicd als Networkmanager-Ersatz
>  empfohlen. Leider ist das allerdings ein *hust* GTK-Programm.
und dann muss ich nichts mehr installieren?
bis jetzt hab ich die wireless-tools oder wpa_supplicant installiert.
die beiden Dateien sehen bei mir so aus:

 /etc/conf.d/net
config_eth0=( "dhcp" )
iwconfig_wlan0="mode managed"
modules=( "wpa_supplicant" )
wpa_supplicant_wlan0="-Dmadwifi"
key_ESSID1="[1] s: 12345678 key [1] enc open"
key_ESSID2="[1] aaaa-bbbb-cccc-dd key [1] enc restricted"
preferred_aps=( "ESSID1" "ESSID2" )


 /etc/wpa_supplicant/wpa_supplicant.conf
# The below line not be changed otherwise we refuse to work
ctrl_interface=/var/run/wpa_supplicant                     

# Ensure that only root can read the WPA configuration
ctrl_interface_group=0                                

# Let wpa_supplicant take care of scanning and AP selection
ap_scan=1                                                  

# Simple case: WPA-PSK, PSK as an ASCII passphrase, allow all valid ciphers
network={                                                                  
  ssid="donbruno"                                                          
  psk="12345678" 
  # The higher the priority the sooner we are matched                      
  priority=5                                                               
}


so ganz hab ich das anscheinend nicht verstanden :-( mein USB-Stick wird nun 
richtig erkannt, sagt mir zumiindest nen iwconfig:
wlan0     IEEE 802.11bgn  ESSID:"DonBruno"
          Mode:Ad-Hoc  Frequency:2.412 GHz  Cell: 62:17:AB:60:35:3C
          Tx-Power=9 dBm
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

nun ist halt nur die Frage, wie ich eine Verbindung zu meinem Netzwerk 
bekomme. 

-- 
Gruß
Thomas
---
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -msse4.1 -msse4.2 -pipe"
CXXFLAGS="-march=core2 -O2 -msse4.1 -msse4.2 -pipe"
LDFLAGS="-Wl,-O1,--hash-style=gnu,--sort-common,--as-needed"



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user-de] wireless WPA2 AES wie einrichten?
  2009-10-03 18:08   ` Thomas Bruns
@ 2009-10-03 20:24     ` Frank Steinmetzger
  2009-10-03 21:17       ` Thomas Bruns
  0 siblings, 1 reply; 9+ messages in thread
From: Frank Steinmetzger @ 2009-10-03 20:24 UTC (permalink / raw
  To: gentoo-user-de

[-- Attachment #1: Type: text/plain, Size: 2033 bytes --]

Am Samstag, 3. Oktober 2009 schrieb Thomas Bruns:

> > Ich habe bei mir den Networkmanager nie zum Funktionieren überreden
> > können. Allerdings hatte ich den immer nur mal kurz zum Ansehen
> > ausprobiert, denn im Prinzip brauche ich ihn sowieso nicht, da ich alles
> > ne Ebene tiefer eingerichtet habe durch das Bearbeiten der Dateien
> >
> > /etc/conf.d/net
> > /etc/wpa_supplicant/wpa_supplicant.conf
> >
> > Das hat vor allem den Vorteil, daß die Verbindungen bestehen bleiben,
> > wenn man sich aus KDE abmeldet. Aber wenn Du es auf jeden Fall per GUI
> > machen willst, dann wurde bei Debian gern Wicd als Networkmanager-Ersatz
> > empfohlen. Leider ist das allerdings ein *hust* GTK-Programm.
>
> und dann muss ich nichts mehr installieren?

Eigentlich nicht. Wicd selbst baut letzten Endes auch nur auf den beiden auf.

> bis jetzt hab ich die wireless-tools oder wpa_supplicant installiert.

Bei mir ist beides vorhanden.

> die beiden Dateien sehen bei mir so aus:
>
> iwconfig:
> wlan0     IEEE 802.11bgn  ESSID:"DonBruno"
>           Mode:Ad-Hoc  Frequency:2.412 GHz  Cell: 62:17:AB:60:35:3C
                 ^^^^^^
Das ist eigentlich nicht richtig, zumal deine Config iwconfig_wlan0="mode 
managed" sagt. Es kann allerdings sein, daß das dann Normalfall geändert 
wird, sobald as Netzwerk sichtbar ist.

Was sagt denn ein iwlist wlan0 scan?


Wenn ich alle Kommentarzeilen auslasse, bleibt von meiner conf.d/net noch 
folgendes übrig:

modules=( "wpa_supplicant" )
wpa_supplicant_wlan0="-Dwext"

config_eth0=( "dhcp" )
config_wlan0=( "dhcp" )


und die wpa_supplicant.conf sieht so aus:

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

network={
	ssid="meine Kennung"
	key_mgmt=WPA-PSK
	psk="ganzgeheimespasswort"
}

Mehr ist's bei mir einklich nicht, wenn das WPA-Netz da ist, verbindet er.

-- 
Gruß | Greetings | Qapla'
"Do not handicap your children by making their lives easy." (R. Heinlein)

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user-de] wireless WPA2 AES wie einrichten?
  2009-10-03 20:24     ` Frank Steinmetzger
@ 2009-10-03 21:17       ` Thomas Bruns
  2009-10-03 21:37         ` Frank Steinmetzger
  0 siblings, 1 reply; 9+ messages in thread
From: Thomas Bruns @ 2009-10-03 21:17 UTC (permalink / raw
  To: gentoo-user-de

Am Samstag 03 Oktober 2009 22:24:15 schrieb Frank Steinmetzger:
> > wlan0     IEEE 802.11bgn  ESSID:"DonBruno"
> >           Mode:Ad-Hoc  Frequency:2.412 GHz  Cell: 62:17:AB:60:35:3C
> 
>                  ^^^^^^
ok das änder sich auf manged.
> Was sagt denn ein iwlist wlan0 scan?
findet nur meinen Nachbarn :-( 
> modules=( "wpa_supplicant" )
> wpa_supplicant_wlan0="-Dwext"
was macht Dwext?
> config_wlan0=( "dhcp" )
hab ich mal bei mir auch eingefügt.
> eapol_version=1
was macht das?
> fast_reauth=1
und das?
> 	key_mgmt=WPA-PSK
mmhh ich habe bei meinem Router WPA2(AES) drinne!?
> Mehr ist's bei mir einklich nicht, wenn das WPA-Netz da ist, verbindet er.
ich seh mein Netz leider bei einem Scan nicht :-(

Nur einmal vorhin, da konnte ich mich aber nicht verbinden, wegen DHCP, was 
nun drinne ist. Aber ich kann scannen, nicht kommt, ausser der Nachbar.
-- 
Gruß
Thomas
---
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -msse4.1 -msse4.2 -pipe"
CXXFLAGS="-march=core2 -O2 -msse4.1 -msse4.2 -pipe"
LDFLAGS="-Wl,-O1,--hash-style=gnu,--sort-common,--as-needed"



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user-de] wireless WPA2 AES wie einrichten?
  2009-10-03 21:17       ` Thomas Bruns
@ 2009-10-03 21:37         ` Frank Steinmetzger
  2009-10-03 21:50           ` Thomas Bruns
  0 siblings, 1 reply; 9+ messages in thread
From: Frank Steinmetzger @ 2009-10-03 21:37 UTC (permalink / raw
  To: gentoo-user-de

[-- Attachment #1: Type: text/plain, Size: 927 bytes --]

Am Samstag, 3. Oktober 2009 schrieb Thomas Bruns:

> > Was sagt denn ein iwlist wlan0 scan?
>
> findet nur meinen Nachbarn :-(

Kann es dann vielleicht sein, daß der Router die Netzkennung nicht sendet? 
Viele Router bieten die Option, die SSIDs zu verstecken, allerdings haben 
Nicht-Windows-Systeme häufig Probleme, mit diesen Netzwerken zu verbinden.

> > modules=( "wpa_supplicant" )
> > wpa_supplicant_wlan0="-Dwext"
>
> was macht Dwext?

Ist nur ein anderer Treiber. -D heißt driver, wext ist die Option für 
Intel-Chips.

> > eapol_version=1
>
> was macht das?
>
> > fast_reauth=1
>
> und das?

Die hab ich mal aus nem Tut kopiert, das sind verschiedene Optionen, um 
eventuellen Problemen entgegenzuwirken.

> ich seh mein Netz leider bei einem Scan nicht :-(

Siehe mein erster Absatz.
-- 
Gruß | Greetings | Qapla'
Emacs is a great operating system, which only lacks a good editor.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user-de] wireless WPA2 AES wie einrichten?
  2009-10-03 21:37         ` Frank Steinmetzger
@ 2009-10-03 21:50           ` Thomas Bruns
  2009-10-04  6:21             ` Thomas Bruns
  0 siblings, 1 reply; 9+ messages in thread
From: Thomas Bruns @ 2009-10-03 21:50 UTC (permalink / raw
  To: gentoo-user-de

[-- Attachment #1: Type: text/plain, Size: 1250 bytes --]

Am Samstag 03 Oktober 2009 23:37:26 schrieb Frank Steinmetzger:
> Am Samstag, 3. Oktober 2009 schrieb Thomas Bruns:
> > was macht Dwext?
was müsste ich den bei meinem rt28xx Chip einstellen?

das ist mal bei meinem Router so eingestellt.

SSID Selection : 
  DonBruno

Senden der ESSID : 
  Aktivieren


WMM : 
  Aktivieren

Sicherheit : 
 WPA pre-shared key

WPA-Typ : 
 WPA2(AES)

Vorinstalliert Schlüsseltyp : 
 Passphrase

VorinstalliertSchlüssel : 
 XXXXXXXX



Authentifizierungstyp : 
Open System    

Fragmentierungs-Schwellenwert : 
  2346

RTS-Schwellenwert : 
  2347

Beacon-Signalintervall : 
  100

DTIM-Intervall : 
  1

Datenrate : 
 Auto  

N Datenrate : 
  Auto  

Übertragungsrate : 
  

Kanal Bandwidth : 
Auto 20/40 

Einleitung Typ : 
Short Preamble 


In der Datei /etc/conf.d/net:
key_ESSID1="[1] s: 12341234 key [1] enc open"

Muss das 12341234 durch meine Passphrase ersetzt werden oder was genau war 
ESSID1(oder muss da DonBruno rein)?
-- 
Gruß
Thomas
---
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -msse4.1 -msse4.2 -pipe"
CXXFLAGS="-march=core2 -O2 -msse4.1 -msse4.2 -pipe"
LDFLAGS="-Wl,-O1,--hash-style=gnu,--sort-common,--as-needed"

[-- Attachment #2: Type: text/html, Size: 12928 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user-de] wireless WPA2 AES wie einrichten?
  2009-10-03 21:50           ` Thomas Bruns
@ 2009-10-04  6:21             ` Thomas Bruns
  0 siblings, 0 replies; 9+ messages in thread
From: Thomas Bruns @ 2009-10-04  6:21 UTC (permalink / raw
  To: gentoo-user-de

ich hab meinen Router mal auf 2,4GHz B+G umgestellt, vorher war 2,4GHz B+G+N. 
Nur kann ich den Router ständig sehen.

soweit so gut, nun aber hab ich das Problem, das wenn ich mich dahin verbinden 
möchte (mit wicd), dann bekomme ich nach einiger Zeit "Kann keine IP beziehen"
obwohl beim Router DHCP eignestellt ist. Über Kabel, geht das mit wicd 
ruckzuck.

Oct  4 08:17:50 donbruno dhcpcd[10474]: eth0: sending signal 1 to pid 3778
Oct  4 08:17:50 donbruno dhcpcd[3778]: eth0: received SIGHUP, releasing lease
Oct  4 08:17:50 donbruno dhcpcd[10474]: eth0: waiting for pid 3778 to exit
Oct  4 08:17:50 donbruno ATL1E 0000:02:00.0: ATL1E: eth0 NIC Link is Up<100 
Mbps Full Duplex>
Oct  4 08:17:50 donbruno ADDRCONF(NETDEV_UP): eth0: link is not ready
Oct  4 08:17:50 donbruno ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Oct  4 08:17:50 donbruno dhcpcd[10493]: wlan0: dhcpcd not running
Oct  4 08:17:50 donbruno ADDRCONF(NETDEV_UP): wlan0: link is not ready
Oct  4 08:17:52 donbruno wlan0: direct probe to AP 00:00:00:00:00:00 try 1
Oct  4 08:17:52 donbruno wlan0: privacy configuration mismatch and mixed-cell 
disabled - disassociate
Oct  4 08:17:57 donbruno wlan0: direct probe to AP 00:00:00:00:00:00 try 1
Oct  4 08:17:57 donbruno wlan0: privacy configuration mismatch and mixed-cell 
disabled - disassociate
Oct  4 08:18:00 donbruno eth0: no IPv6 routers present
Oct  4 08:18:13 donbruno wlan0: direct probe to AP 00:00:00:00:00:00 try 1
Oct  4 08:18:13 donbruno wlan0: privacy configuration mismatch and mixed-cell 
disabled - disassociate
Oct  4 08:18:24 donbruno wlan0: direct probe to AP 00:00:00:00:00:00 try 1
Oct  4 08:18:24 donbruno wlan0: privacy configuration mismatch and mixed-cell 
disabled - disassociate
Oct  4 08:18:31 donbruno dhcpcd[11313]: wlan0: dhcpcd 4.0.13 starting
Oct  4 08:18:31 donbruno dhcpcd[11313]: wlan0: waiting for carrier
Oct  4 08:18:41 donbruno wlan0: direct probe to AP 00:00:00:00:00:00 try 1
Oct  4 08:18:41 donbruno wlan0: privacy configuration mismatch and mixed-cell 
disabled - disassociate
Oct  4 08:18:58 donbruno wlan0: direct probe to AP 00:00:00:00:00:00 try 1
Oct  4 08:18:58 donbruno wlan0: privacy configuration mismatch and mixed-cell 
disabled - disassociate
Oct  4 08:19:01 donbruno dhcpcd[11313]: wlan0: timed out

AP 00:00:00:00:00:00 hab ich geändert, steht sonst die MAC vom Router.


-- 
Gruß
Thomas
---
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -msse4.1 -msse4.2 -pipe"
CXXFLAGS="-march=core2 -O2 -msse4.1 -msse4.2 -pipe"
LDFLAGS="-Wl,-O1,--hash-style=gnu,--sort-common,--as-needed"



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-10-04  6:21 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-03 16:11 [gentoo-user-de] wireless WPA2 AES wie einrichten? Thomas Bruns
2009-10-03 16:47 ` Thomas Bruns
2009-10-03 17:15 ` Frank Steinmetzger
2009-10-03 18:08   ` Thomas Bruns
2009-10-03 20:24     ` Frank Steinmetzger
2009-10-03 21:17       ` Thomas Bruns
2009-10-03 21:37         ` Frank Steinmetzger
2009-10-03 21:50           ` Thomas Bruns
2009-10-04  6:21             ` Thomas Bruns

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox