praseodym schrieb:
Versuche:
sudo apt-get install iw
sudo iw reg set DE
sudo /etc/init.d/networking restart
simon@Laptop-Simon:~$ ssh 192.168.0.2
simon@192.168.0.2's password:
Linux ubuntu-server 2.6.38-12-generic #51~lucid1-Ubuntu SMP Thu Sep 29 19:55:22 UTC 2011 i686 GNU/Linux
Ubuntu 10.04.3 LTS
Welcome to Ubuntu!
* Documentation: https://help.ubuntu.com/
System information as of Thu Nov 10 18:01:12 CET 2011
System load: 0.14 Processes: 73
Usage of /: 7.2% of 17.54GB Users logged in: 1
Memory usage: 7% IP address for eth0: 192.168.0.2
Swap usage: 0% IP address for wlan0: 192.168.3.1
Graph this data and manage this system at https://landscape.canonical.com/
Last login: Thu Nov 10 17:59:12 2011
simon@ubuntu-server:~$ sudo apt-get install iw
[sudo] password for simon:
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Status-Informationen einlesen... Fertig
Die folgenden NEUEN Pakete werden installiert:
iw
0 aktualisiert, 1 neu installiert, 0 zu entfernen und 28 nicht aktualisiert.
Es müssen 34,3kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 131kB Plattenplatz zusätzlich benutzt.
Hole:1 http://de.archive.ubuntu.com/ubuntu/ lucid/universe iw 0.9.19~ubuntu1 [34,3kB]
Es wurden 34,3kB in 0s geholt (79,5kB/s)
Wähle vormals abgewähltes Paket iw.
(Lese Datenbank ... 72921 Dateien und Verzeichnisse sind derzeit installiert.)
Entpacke iw (aus .../iw_0.9.19~ubuntu1_i386.deb) ...
Verarbeite Trigger für man-db ...
Richte iw ein (0.9.19~ubuntu1) ...
simon@ubuntu-server:~$ sudo iw reg set DE
simon@ubuntu-server:~$ sudo /etc/init.d/networking restart >> networking_restart.txt
simon@ubuntu-server:~$ cat networking_restart.txt
* Reconfiguring network interfaces...
ssh stop/waiting
ssh start/running, process 1357
net.ipv4.ip_forward = 1
* Stopping advanced IEEE 802.11 management
...done.
* Starting advanced IEEE 802.11 management
...fail!
* Restarting DNS forwarder and DHCP server dnsmasq
...done.
ssh stop/waiting
ssh start/running, process 1428
...done.
simon@ubuntu-server:~$
praseodym schrieb:
Test:
dmesg | grep country
iwlist chan
ps aux | egrep 'wpa|Network|wicd'
Hast du ne GUI installiert (NetworkManager)? Soll ja ne Serverinstallation sein, der NM kommt dem vielleicht in die Quere?! Deinstallieren?!
simon@ubuntu-server:~$ dmesg | grep country
[ 12.762311] ath: EEPROM indicates we should expect a country code
[ 12.762319] ath: doing EEPROM country->regdmn map search
[ 12.762327] ath: country maps to regdmn code: 0x52
[ 13.003687] cfg80211: Calling CRDA for country: CN
[ 13.047945] cfg80211: Regulatory domain changed to country: CN
[ 197.759965] cfg80211: Calling CRDA for country: DE
[ 197.770310] cfg80211: Regulatory domain changed to country: DE
simon@ubuntu-server:~$ iwlist chan
lo no frequency information.
eth0 no frequency information.
wlan0 13 channels in total; available frequencies :
Channel 01 : 2.412 GHz
Channel 02 : 2.417 GHz
Channel 03 : 2.422 GHz
Channel 04 : 2.427 GHz
Channel 05 : 2.432 GHz
Channel 06 : 2.437 GHz
Channel 07 : 2.442 GHz
Channel 08 : 2.447 GHz
Channel 09 : 2.452 GHz
Channel 10 : 2.457 GHz
Channel 11 : 2.462 GHz
Channel 12 : 2.467 GHz
Channel 13 : 2.472 GHz
simon@ubuntu-server:~$ ps aux | egrep 'wpa|Network|wicd'
root 631 0.2 1.3 22144 6604 ? S 17:58 0:01 /usr/bin/python -O /usr/share/wicd/daemon/wicd-daemon.py
root 689 0.1 1.3 12908 7108 ? S 17:58 0:00 /usr/bin/python -O /usr/share/wicd/daemon/monitor.py
simon 1519 0.0 0.1 3372 740 pts/0 S+ 18:06 0:00 egrep --color=auto wpa|Network|wicd
simon@ubuntu-server:~$
Einzige "grafische" Netzwerkmanager sind ceni und wicd-curses mit Ncurses-Oberfläche. Der Gnome-Networkmanager ist nicht installiert (der Rechner hat keine grafische Oberfläche)
elektronenblitz63 schrieb:
modinfo ath9k_htc [...] dmesg | grep ath
root@ubuntu-server:/home/simon# modinfo ath9k_htc
filename: /lib/modules/2.6.38-12-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k_htc.ko
firmware: ar9271.fw
firmware: ar7010_1_1.fw
firmware: ar7010.fw
description: Atheros driver 802.11n HTC based wireless devices
license: Dual BSD/GPL
author: Atheros Communications
srcversion: 8F244C9A8C97C1B3B163005
alias: usb:v083ApA704d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0846p9018d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0CF3p7010d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1668p1200d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0CF3p7015d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0CF3pB003d*dc*dsc*dp*ic*isc*ip*
alias: usb:v040Dp3801d*dc*dsc*dp*ic*isc*ip*
alias: usb:v04CAp4605d*dc*dsc*dp*ic*isc*ip*
alias: usb:v13D3p3350d*dc*dsc*dp*ic*isc*ip*
alias: usb:v13D3p3349d*dc*dsc*dp*ic*isc*ip*
alias: usb:v13D3p3348d*dc*dsc*dp*ic*isc*ip*
alias: usb:v13D3p3346d*dc*dsc*dp*ic*isc*ip*
alias: usb:v13D3p3328d*dc*dsc*dp*ic*isc*ip*
alias: usb:v13D3p3327d*dc*dsc*dp*ic*isc*ip*
alias: usb:v07D1p3A10d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0846p9030d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0CF3p1006d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0CF3p9271d*dc*dsc*dp*ic*isc*ip*
depends: ath9k_hw,mac80211,ath9k_common,ath,cfg80211
vermagic: 2.6.38-12-generic SMP mod_unload modversions 686
parm: debug:Debugging mask (uint)
parm: nohwcrypt:Disable hardware encryption (int)
root@ubuntu-server:/home/simon# dmesg | grep ath
[ 0.636898] device-mapper: multipath: version 1.2.0 loaded
[ 0.636914] device-mapper: multipath round-robin: version 1.0.0 loaded
[ 9.759736] usb 1-2: ath9k_htc: Transferred FW: ar7010_1_1.fw, size: 70624
[ 9.831702] usb 1-2: ath9k_htc: HTC initialized with 45 credits
[ 12.762297] ath: EEPROM regdomain: 0x809c
[ 12.762311] ath: EEPROM indicates we should expect a country code
[ 12.762319] ath: doing EEPROM country->regdmn map search
[ 12.762327] ath: country maps to regdmn code: 0x52
[ 12.762335] ath: Country alpha2 being used: CN
[ 12.762342] ath: Regpair used: 0x52
[ 13.014778] Registered led device: ath9k-phy0::radio
[ 13.023123] Registered led device: ath9k-phy0::assoc
[ 13.025990] Registered led device: ath9k-phy0::tx
[ 13.029821] Registered led device: ath9k-phy0::rx
[ 13.029846] usb 1-2: ath9k_htc: USB layer initialized
[ 13.037610] usbcore: registered new interface driver ath9k_hif_usb
root@ubuntu-server:/home/simon#
Jetz wirds interessant 😉
elektronenblitz63 schrieb:
Nachtrag: Fehlerdiagnose über sudo hostapd -d /etc/hostapd.conf
root@ubuntu-server:/home/simon# sudo hostapd -d /etc/hostapd.conf
Configuration file: /etc/hostapd.conf
ctrl_interface_group=0
Line 53: unknown configuration item 'wmm_enabled'
1 errors found in configuration file '/etc/hostapd.conf'
root@ubuntu-server:/home/simon#
Auskommentieren der Zeile führt zu:
simon@ubuntu-server:~$ sudo /etc/init.d/networking restart
* Reconfiguring network interfaces...
ssh stop/waiting
ssh start/running, process 2501
net.ipv4.ip_forward = 1
* Stopping advanced IEEE 802.11 management
...done.
* Starting advanced IEEE 802.11 management
rmdir[ctrl_interface]: No such file or directory
...fail!
* Restarting DNS forwarder and DHCP server dnsmasq
...done.
ssh stop/waiting
ssh start/running, process 2588
...done.
Ich probier jetzt noch eine andere/ältere htc_7010.fw und htc_9271.fw.
Wenn das nicht haut, starte ich neu, wähle in Grub den normalen-10.04-Kernel und installiere den ubuntu-angepassten Treiber (erstes Zitat oben)
Viele Grüße und vielen herzlichen dank für eure Hilfe ☺
-schumi-