WLAN Karte und AP

Einrichten des lokalen Netzes, Verbindung zu anderen Computern und Diensten.
Antworten
enceladus
Beiträge: 77
Registriert: 11.05.2003 22:55:37

WLAN Karte und AP

Beitrag von enceladus » 02.06.2006 18:58:52

Hallo Alle!

Ich habe mir eine Allnet All0281a Wlan Karte gekauft und einen Router mit integriertem
DSL Modem ( Sinus 154 DSL Basic 3 ).

Treiber für Allnet Karte wurde installiert und geht auch.
Problem ist, das ich keine Wlan Verbindung zum Router bekommen.
Die IP vergabe erfolgt über dhcp vom Router.

Hier mal einige Infos.

Code: Alles auswählen

ath0      Protokoll:Ethernet  Hardware Adresse 00:40:F4:A0:B1:2F
          inet6 Adresse: fe80::240:f4ff:fea0:b12f/64 Gültigkeitsbereich:Verbindung
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

eth0      Protokoll:Ethernet  Hardware Adresse 00:11:2F:D0:36:2F
          inet Adresse:192.168.2.100  Bcast:192.168.2.255  Maske:255.255.255.0
          inet6 Adresse: fe80::211:2fff:fed0:362f/64 Gültigkeitsbereich:Verbindung
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5247 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5580 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:1000
          RX bytes:3160302 (3.0 MiB)  TX bytes:627050 (612.3 KiB)
          Interrupt:209 Basisadresse:0xd800

lo        Protokoll:Lokale Schleife
          inet Adresse:127.0.0.1  Maske:255.0.0.0
          inet6 Adresse: ::1/128 Gültigkeitsbereich:Maschine
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1080 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1080 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:0
          RX bytes:70648 (68.9 KiB)  TX bytes:70648 (68.9 KiB)

wifi0     Protokoll:UNSPEC  Hardware Adresse 00-40-F4-A0-B1-2F-00-00-00-00-00-00-00-00-00-00
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:23309 errors:0 dropped:0 overruns:0 frame:20347
          TX packets:8036 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:199
          RX bytes:2666238 (2.5 MiB)  TX bytes:399133 (389.7 KiB)
          Interrupt:217 Speicher:f91aa000-f91ba000

Code: Alles auswählen

# /etc/default/wpasupplicant

# WARNING! Make sure you have a configuration file!

ENABLED=1

# Useful flags:
#  -D <driver>          Wireless Driver
#  -i <ifname>          Interface (required, unless specified in config)
#  -c <config file>     Configuration file
#  -d                   Debugging (-dd for more)
#  -w                   Wait for interface to come up

OPTIONS="-w -i ath0 -D madwifi -c /etc/wpa_supplicant.conf -B"

Code: Alles auswählen


cat /etc/wpa_supplicant.conf

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

network={
    ssid="vitiumartis"
    scan_ssid=1
    proto=WPA
    pairwise=TKIP
    key_mgmt=WPA-PSK
    auth_alg=OPEN
    group=TKIP
     psk=xxxxx
 }

Code: Alles auswählen

cat /etc/network/interfaces

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

#auto eth0
iface eth0 inet dhcp
name Ethernet LAN-Karte

auto ath0
iface ath0 inet dhcp
pre-up /etc/init.d/wpa_supplicant start
post-down /etc/init.d/wpa_supplicant stop


wireless_essid vitiumartis
wireless_mode managed
name Drahlose LAN-Karte
Der PSK wird mit wpa_passphrase erstellt. Wie man bei ifconfig sieht, wird der Wlan Karte keine IP zugestellt. Mein AP kann ich mit

Code: Alles auswählen

 wlanconfig ath0 list scan 
sehen.

Wobei

Code: Alles auswählen

 iwconfig ath0
folgendes anzeigt.

Code: Alles auswählen

ath0      IEEE 802.11g  ESSID:"vitiumartis"
          Mode:Managed  Frequency:2.462 GHz  Access Point: 00:00:00:00:00:00
          Bit Rate:1 Mb/s   Tx-Power:16 dBm   Sensitivity=0/3
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=53/94  Signal level=-42 dBm  Noise level=-95 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Muss man eigentlich den PSK den man mit wpa_passphrase erstellt hat, in
den Router eintragen? Also verschlüsselt oder nicht.

Sonst komme ich nicht weiter, wobei die IP Vergabe mit Kabel von PC zu Router geht.

Gruss,
Michael

Antworten