staging.inyokaproject.org

Probleme mit WLAN

Status: Ungelöst | Ubuntu-Version: Ubuntu 8.04 (Hardy Heron)
Antworten |

loar

Anmeldungsdatum:
24. August 2007

Beiträge: Zähle...

Hallo,

ich habe Probleme das WLAN am Notebook einzurichten und verstehe nicht woran es noch liegt.

Da es mit dem Netzwerkmanager nicht geklappt hat, bin ich nach dem Wiki vorgegangen. Network-manager habe ich deinstalliert und folgende Dateien editiert:

wpa_supplicant.conf

ctrl_interface=/var/run/wpa_supplicant

eapol_version=1

ap_scan=1

network={
        ssid="WLAN"
        scan_ssid=1
        proto=RSN
        key_mgmt=WPA-PSK
        pairwise=CCMP
        group=TKIP
	psk="Mein Key"
}

interfaces

auto lo
iface lo inet loopback

auto eth1
iface eth1 inet dhcp

auto eth2
iface eth2 inet dhcp

auto wlan0
iface wlan0 inet dhcp

auto ath0
iface ath0 inet dhcp
wpa-driver madwifi
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf


iface eth0 inet static
address 192.168.178.24
netmask 255.255.255.0
gateway 192.168.178.1
auto eth0

rc.local

ifdown ath0
ifup ath0
exit 0

Ein Access Point ist auch verfügbar:

iwconfig

lo        no wireless extensions.

eth0      no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11g  ESSID:"WLAN"  Nickname:""
          Mode:Managed  Frequency:2.417 GHz  Access Point: 00:15:0C:C6:A3:80   
          Bit Rate:0 kb/s   Tx-Power:18 dBm   Sensitivity=1/1  
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=0/70  Signal level=-94 dBm  Noise level=-94 dBm
          Rx invalid nwid:2  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Es wird sogar eine IP-Adresse vergeben:

ifconfig

ath0      Link encap:Ethernet  Hardware Adresse 00:14:78:75:e2:ea  
          inet Adresse:192.168.178.23  Bcast:192.168.178.255  Maske:255.255.255.0
          inet6-Adresse: fe80::214:78ff:fe75:e2ea/64 Gültigkeitsbereich:Verbindung
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metrik:1
          RX packets:140 errors:0 dropped:0 overruns:0 frame:0
          TX packets:135 errors:31 dropped:31 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:0 
          RX bytes:20735 (20.2 KB)  TX bytes:20686 (20.2 KB)

eth0      Link encap:Ethernet  Hardware Adresse 00:0c:6e:f9:db:fe  
          inet Adresse:192.168.178.24  Bcast:192.168.178.255  Maske:255.255.255.0
          inet6-Adresse: fe80::20c:6eff:fef9:dbfe/64 Gültigkeitsbereich:Verbindung
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metrik:1
          RX packets:1198 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1190 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:1000 
          RX bytes:964897 (942.2 KB)  TX bytes:188622 (184.2 KB)
          Interrupt:11 Basisadresse:0xa000 

lo        Link encap: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  Metrik:1
          RX packets:1964 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1964 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:0 
          RX bytes:99932 (97.5 KB)  TX bytes:99932 (97.5 KB)

wifi0     Link encap:UNSPEC  Hardware Adresse 00-14-78-75-E2-EA-00-00-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metrik:1
          RX packets:19183 errors:0 dropped:0 overruns:0 frame:423
          TX packets:591 errors:0 dropped:31 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:199 
          RX bytes:2364845 (2.2 MB)  TX bytes:51080 (49.8 KB)
          Interrupt:11 

Wenn ich manuell wpa_supplicant starte bekomme ich folgendes zurück:

sudo wpa_supplicant -i ath0 -D madwifi -c /etc/wpa_supplicant/wpa_supplicant.conf -d
Initializing interface 'ath0' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'madwifi' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -> '/etc/wpa_supplicant/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
eapol_version=1
ap_scan=1
Priority group 0
   id=0 ssid='WLAN'
Initializing interface (2) 'ath0'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
SIOCGIWRANGE: WE(compiled)=22 WE(source)=13 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:14:78:75:e2:ea
wpa_driver_madwifi_del_key: keyidx=0
wpa_driver_madwifi_del_key: keyidx=1
wpa_driver_madwifi_del_key: keyidx=2
wpa_driver_madwifi_del_key: keyidx=3
wpa_driver_madwifi_set_countermeasures: enabled=0
wpa_driver_madwifi_set_drop_unencrypted: enabled=1
Setting scan request: 0 sec 100000 usec
Using existing control interface directory.
'''ctrl_iface bind(PF_UNIX) failed: Address already in use
ctrl_iface exists and seems to be in use - cannot override it
Delete '/var/run/wpa_supplicant/ath0' manually if it is not used anymore
Failed to initialize control interface '/var/run/wpa_supplicant'.
You may have another wpa_supplicant process already running or the file was
left by an unclean termination of wpa_supplicant in which case you will need
to manually remove this file before starting wpa_supplicant again.'''

Nachdem ich dann /var/run/wpa_supplicant gelöscht habe und nochmal den Befehl ausgeführt habe, scheint sich was zu tun. Aber so richtig funktioniert es trotzdem nicht. Ich werde nicht ganz schlau aus der Ausgabe und habe einen Teil mal hier reingesetzt. http://paste.ubuntuusers.de/391251/

Was kann ich denn noch versuchen?

Wenn ich von der Live-CD starte, funktioniert das WLAN auf Anhieb mit dem Netzwerkmanager.

Achja, vielleicht werden noch weitere Infos benötigt:

leto@leto:~$ lspci | grep -i net
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 90)
06:00.0 Ethernet controller: Atheros Communications Inc. AR5212/AR5213 Multiprotocol MAC/baseband processor (rev 01)

leto@leto:~$ egrep -v "^$|^#" /etc/resolv.conf
nameserver 192.168.178.1

leto@leto:~$ egrep -v "^$|^#" /etc/hosts
127.0.0.1	localhost
127.0.1.1	leto
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

leto@leto:~$ route -n
Kernel-IP-Routentabelle
Ziel            Router          Genmask         Flags Metric Ref    Use Iface
192.168.178.0   0.0.0.0         255.255.255.0   U     0      0        0 eth0
192.168.178.0   0.0.0.0         255.255.255.0   U     0      0        0 ath0
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 eth0
0.0.0.0         192.168.178.1   0.0.0.0         UG    100    0        0 eth0

Grüße

Moderiert von ditsch:

Ins passende Forum verschoben. Bitte beachte die Themen-Stickies bei der Wahl des richtigen Forums.

Antworten |