easyVDR Kopie des easyVDR-Forums zum Nachschlagen
WLAN mit AR9258 auf AT3IONT-I Deluxe

easyVDR - >VARforumsname - >WLAN mit AR9258 auf AT3IONT-I Deluxe

KuhKai  09.Jan.2011 19:03:04
Hallo,
hat jemand das integrierte WLAN auf dem Board bereits zum laufen gebracht? Ich leider nicht, vielleicht sieht jemand den Fehler, dann würde ich mich über Hinweise freuen.

Mit lspci habe ich mir den Typen anzeigen lassen:
05:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)


Deshalb habe ich die Einstellungen so vorgenommen, wie in der sysconfig abgebildet:
NETWORK="LANWLAN"
LAN_NETWORK_DRIVER="AUTODETECT"
WAKE_ON_LAN="no"
LAN_USE_DHCP="no"
LAN_IP="192.168.1.98"
LAN_MASK="255.255.255.0"
LAN_GATEWAY="192.168.1.10"
LAN_NAMESERVER1="192.168.1.10"
LAN_DOMAIN="local"
WLAN_NETWORK_DRIVER="wireless/ath9k/ath9k"
WLAN_USE_DHCP="no"
WLAN_IP="192.168.1.99"
WLAN_MASK="255.255.255.0"
WLAN_GATEWAY="192.168.1.10"
WLAN_NAMESERVER1="192.168.1.10"
WLAN_DOMAIN="local"
WLAN_SSID="meinessid"
WLAN_ART="Managed"
WLAN_CHANNEL="9"
WLAN_SEC="WPA"
WLAN_WEP_AUTH="open"
WLAN_WEP_KEY_1="61:62:63:64:65:66:67:68:69:6A:6B:6C:6D"
WLAN_WEP_KEY_2="61:62:63:64:65:66:67:68:69:6A:6B:6C:6D"
WLAN_WEP_KEY_3="61:62:63:64:65:66:67:68:69:6A:6B:6C:6D"
WLAN_WEP_KEY_4="61:62:63:64:65:66:67:68:69:6A:6B:6C:6D"
WLAN_WEP_KEY="2"
WLAN_WPA_CONFIG_FILE="/etc/wpa_supplicant.conf"
WLAN_WPA_DRIVER="madwifi"
WLAN_WPA_CONFIG_FILE_ON_BOOT="yes"
WLAN_WPA_EAPOL="1"
WLAN_WPA_APSCAN="2"
WLAN_WPA_PROTO="WPA"
WLAN_WPA_PAIRWISE="TKIP"
WLAN_WPA_GROUP="TKIP"
WLAN_WPA_PASSPHRASETYPE="ASCII"
WLAN_WPA_PASSPHRASE="meinepassphrase"

lsmod gibt aus, dass die notwendigen Module geladen sind:

ath9k                247480  0
mac80211              203768  1 ath9k
cfg80211              31632  1 mac80211


Dennoch gibt mir iwconfig kein wlan-interface aus:

lo        no wireless extensions.

eth0      no wireless extensions.


Warum???
Hardware: Asus AT3IONT-I Deluxe - Atom 330 - 250 GB HDD - 2 GB RAM - Freecom DVB-T Stick - TFT über VGA
Software: EasyVDR 0.8.04
sinai  09.Jan.2011 19:21:32
Poste mal

hwinfo --netcard
less /etc/network/interfaces
lsmod

Andy
VDR 1: ASRock mit Atom J1200, NVIDIA GT610, Lüfterlos, TBS 6982 SE mit easyVDR 3.0
KuhKai  09.Jan.2011 19:47:32
Klaro:

hwinfo --netcard
09: PCI 500.0: 0280 Network controller
  [Created at pci.281]
  Unique ID: Ddhb.YOgHHBQ2is7
  Parent ID: WnlC.CCv4Hy39v93
  SysFS ID: /devices/pci0000:00/0000:00:16.0/0000:05:00.0
  SysFS BusID: 0000:05:00.0
  Hardware Class: network
  Model: "Atheros Network controller"
  Vendor: pci 0x168c "Atheros Communications, Inc."
  Device: pci 0x002b
  SubVendor: pci 0x1a3b
  SubDevice: pci 0x1089
  Revision: 0x01
  Memory Range: 0xfbff0000-0xfbffffff (rw,non-prefetchable)
  IRQ: 18 (no events)
  Module Alias: "pci:v0000168Cd0000002Bsv00001A3Bsd00001089bc02sc80i00"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #12 (PCI bridge)

10: PCI 400.0: 0200 Ethernet controller
  [Created at pci.281]
  Unique ID: rBUF.7jPWmoeCYd4
  Parent ID: Rgik.hnyKoNyRNn2
  SysFS ID: /devices/pci0000:00/0000:00:15.0/0000:04:00.0
  SysFS BusID: 0000:04:00.0
  Hardware Class: network
  Model: "ASUSTeK Ethernet controller"
  Vendor: pci 0x10ec "Realtek Semiconductor Co., Ltd."
  Device: pci 0x8168
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x83a3
  Revision: 0x03
  Driver: "r8169"
  Driver Modules: "r8169"
  Device File: eth0
  I/O Ports: 0xe800-0xe8ff (rw)
  Memory Range: 0xf8fff000-0xf8ffffff (rw,prefetchable)
  Memory Range: 0xf8ff8000-0xf8ffbfff (rw,prefetchable)
  Memory Range: 0xfbef0000-0xfbefffff (ro,prefetchable,disabled)
  IRQ: 507 (352 events)
  HW Address: 48:5b:39:b8:72:3e
  Link detected: yes
  Module Alias: "pci:v000010ECd00008168sv00001043sd000083A3bc02sc00i00"
  Driver Info #0:
    Driver Status: r8169 is active
    Driver Activation Cmd: "modprobe r8169"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #13 (PCI bridge)

Bedeutet das, dass der Treiber für das WLAN-Interface fehlt?

less /etc/network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback


# The primary network interface
allow-hotplug eth0 wlan0
iface eth0 inet dhcp

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


lsmod
Module                  Size  Used by
ipv6                  242676  18
lirc_serial            13072  1
lirc_dev              12852  1 lirc_serial
8250_pci              28288  0
8250_pnp              15104  0
8250                  22756  2 8250_pci,8250_pnp
serial_core            19968  1 8250
eeprom                  6544  0
i2c_viapro              8852  0
ath9k                247480  0
mac80211              203768  1 ath9k
cfg80211              31632  1 mac80211
dm_snapshot            18980  0
dm_mirror              14720  0
dm_region_hash        12160  1 dm_mirror
dm_log                10756  2 dm_mirror,dm_region_hash
dm_mod                52548  3 dm_snapshot,dm_mirror,dm_log
zr364xx                20896  0
usbvision              66984  0
smsusb                10884  0
sms1xxx                31316  1 smsusb
pwc                    91392  0
pvrusb2              131800  0
cx2341x                14084  1 pvrusb2
gspca_zc3xx            48256  0
gspca_sunplus          17024  0
gspca_pac7311          11008  0
gspca_pac207            7552  0
gspca_ov534            8704  0
gspca_main            23424  5 gspca_zc3xx,gspca_sunplus,gspca_pac7311,gspca_pac207,gspca_ov534
em28xx                89652  0
v4l2_common            17920  4 usbvision,pvrusb2,cx2341x,em28xx
videodev              38816  7 zr364xx,usbvision,pwc,pvrusb2,gspca_main,em28xx,v4l2_common
v4l1_compat            14212  2 pvrusb2,videodev
ir_common              47236  1 em28xx
videobuf_vmalloc        7300  2 zr364xx,em28xx
videobuf_core          18436  3 zr364xx,em28xx,videobuf_vmalloc
tveeprom              13060  2 pvrusb2,em28xx
dvb_usb_ttusb2        13312  0
dvb_usb_pctv452e      18820  0
ttpci_eeprom            3456  1 dvb_usb_pctv452e
dvb_usb_m920x          18692  0
dvb_usb_dw2102        25100  0
dvb_usb_dib0700        53000  0
dib7000p              17032  1 dvb_usb_dib0700
dib7000m              14468  1 dvb_usb_dib0700
dib0070                8964  1 dvb_usb_dib0700
dib3000mc              13064  1 dvb_usb_dib0700
dib8000                24836  1 dvb_usb_dib0700
dibx000_common          4868  4 dib7000p,dib7000m,dib3000mc,dib8000
dvb_usb_af9015        29216  0
snd_hda_intel        410544  3
snd_pcm_oss            38400  0
snd_mixer_oss          15488  1 snd_pcm_oss
snd_pcm                73988  4 snd_hda_intel,snd_pcm_oss
snd_timer              21640  1 snd_pcm
snd_page_alloc          9864  2 snd_hda_intel,snd_pcm
snd_hwdep              8196  1 snd_hda_intel
wmi                    7720  0
snd                    54052  10 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_hwdep
dvb_usb_dtt200u        16132  13
dvb_usb                20364  7 dvb_usb_ttusb2,dvb_usb_pctv452e,dvb_usb_m920x,dvb_usb_dw2102,dvb_usb_dib0700,dvb_usb_af9015,dvb_usb_dtt200u
dvb_core              88324  5 pvrusb2,dvb_usb_pctv452e,dib7000p,dib8000,dvb_usb
shpchp                32660  0
pci_hotplug            28960  1 shpchp
r8169                  33284  0
pcspkr                  3456  0
soundcore              8288  1 snd
nvidia              8875748  44
agpgart                34888  1 nvidia
i2c_core              25108  20 eeprom,i2c_viapro,usbvision,pvrusb2,em28xx,v4l2_common,videodev,tveeprom,ttpci_eeprom,dvb_usb_dw2102,dvb_usb_dib0700,dib7000p,dib7000m,dib0070,dib3000mc,dib8000,dibx000_common,dvb_usb_af9015,dvb_usb,nvidia
joydev                10432  0

Hardware: Asus AT3IONT-I Deluxe - Atom 330 - 250 GB HDD - 2 GB RAM - Freecom DVB-T Stick - TFT über VGA
Software: EasyVDR 0.8.04
sinai  09.Jan.2011 20:14:28
Treiber wird ja wohl automatisch geladen. Ob der von unserem Kernel aktuell genug ist, weiß ich leider nicht.

Mit welcher Software arbeitest du?

Und legst du dir bitte eine Hard- und Softwaresignatur zu?

Andy
VDR 1: ASRock mit Atom J1200, NVIDIA GT610, Lüfterlos, TBS 6982 SE mit easyVDR 3.0
KuhKai  10.Jan.2011 19:19:46
Klaro... EasyVDR 0.8.04

Hardware: Asus AT3IONT-I Deluxe - Atom 330 - 250 GB HDD - 2 GB RAM - Freecom DVB-T Stick - TFT über VGA
Software: EasyVDR 0.8.04
sinai  10.Jan.2011 22:12:47
Schwer zu sagen.

Dein Chipsatz scheint der hier zu sein - zumindest laut pciids:

http://madwifi-project.org/wiki/Compatibility/Atheros#AtherosAR928XakaAR5009

Ich würde glaub ich versuchen madwifi in neuester version zu installieren.

http://downloads.sourceforge.net/madwifi/madwifi-0.9.4.tar.gz

Im Paket ist eine Datei INSTALL - dort steht eigentlich alles. Wünsche viel Glück

Andy
VDR 1: ASRock mit Atom J1200, NVIDIA GT610, Lüfterlos, TBS 6982 SE mit easyVDR 3.0
KuhKai  10.Jan.2011 22:21:17
Probier ich gleich, folgendes habe ich gerade probiert:

1. VDR-Konfiguration auf LAN umgestellt
2. Da keine automatischen Änderungen, /etc/network/interfaces in den Ursprungszustand gesetzt.

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0

3. Neugestartet
4. VDR-Konfiguration auf LANWLAN gestellt.
5. Neugestartet
6. Müsste die /etc/network/interfaces nicht angepasst worden sein? Ist sie nicht! Welche Datei wird anstattdessen benutzt?

Hardware: Asus AT3IONT-I Deluxe - Atom 330 - 250 GB HDD - 2 GB RAM - Freecom DVB-T Stick - TFT über VGA
Software: EasyVDR 0.8.04
KuhKai  11.Jan.2011 00:17:52
Also madwifi hat sich erledigt... deswegen hab ichs mit [url=http://wireless.kernel.org/en/users/Download/stable/]compat-wireless probiert.

compat-wireless-2.6.37-3.tar.bz2 geladen und entpackt...
easyvdr:/home/compat-wireless-2.6.37-3# ./scripts/driver-select ath9k
Processing new driver-select request...
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: drivers/net/wireless/Makefile.bk
Backup exists: drivers/net/wireless/ath/Makefile.bk
Backup exists: net/wireless/Makefile.bk
Backup exists: drivers/net/Makefile.bk
Backup exists: drivers/ssb/Makefile.bk
Backup exists: drivers/misc/eeprom/Makefile.bk
Backup exists: Makefile.bk
easyvdr:/home/compat-wireless-2.6.37-3# make
make -C /lib/modules/2.6.28.9/build M=/home/compat-wireless-2.6.37-3 modules
make: Entering directory `/usr/src/linux-2.6.28.9'
  CC   /home/compat-wireless-2.6.37-3/compat/main.o
In file included from /home/compat-wireless-2.6.37-3/include/linux/compat-2.6.h:28,
                from :1:
/home/compat-wireless-2.6.37-3/include/linux/compat-2.6.33.h:97:1: warning: "kfifo_in" redefined
In file included from /home/compat-wireless-2.6.37-3/include/linux/compat-2.6.33.h:14,
                from /home/compat-wireless-2.6.37-3/include/linux/compat-2.6.h:28,
                from :1:
/home/compat-wireless-2.6.37-3/include/linux/kfifo.h:512:1: warning: this is the location of the previous definition
In file included from /home/compat-wireless-2.6.37-3/include/linux/compat-2.6.h:28,
                from :1:
/home/compat-wireless-2.6.37-3/include/linux/compat-2.6.33.h:98:1: warning: "kfifo_out" redefined
In file included from /home/compat-wireless-2.6.37-3/include/linux/compat-2.6.33.h:14,
                from /home/compat-wireless-2.6.37-3/include/linux/compat-2.6.h:28,
                from :1:
/home/compat-wireless-2.6.37-3/include/linux/kfifo.h:564:1: warning: this is the location of the previous definition
In file included from /home/compat-wireless-2.6.37-3/include/linux/compat-2.6.h:28,
                from :1:
/home/compat-wireless-2.6.37-3/include/linux/compat-2.6.33.h:99:1: warning: "kfifo_len" redefined
In file included from /home/compat-wireless-2.6.37-3/include/linux/compat-2.6.33.h:14,
                from /home/compat-wireless-2.6.37-3/include/linux/compat-2.6.h:28,
                from :1:
/home/compat-wireless-2.6.37-3/include/linux/kfifo.h:249:1: warning: this is the location of the previous definition
In file included from /home/compat-wireless-2.6.37-3/include/linux/compat-2.6.h:28,
                from :1:
/home/compat-wireless-2.6.37-3/include/linux/compat-2.6.33.h:105: error: expected identifier or â(â before â{â token
/home/compat-wireless-2.6.37-3/include/linux/compat-2.6.33.h:114: error: expected identifier or â(â before âstructâ
/home/compat-wireless-2.6.37-3/include/linux/compat-2.6.33.h:114: error: expected â)â before â->â token
/home/compat-wireless-2.6.37-3/include/linux/compat-2.6.33.h:123: error: expected identifier or â(â before â{â token
In file included from /home/compat-wireless-2.6.37-3/include/linux/compat-2.6.h:28,
                from :1:
/home/compat-wireless-2.6.37-3/include/linux/compat-2.6.33.h:132:1: warning: "kfifo_free" redefined
In file included from /home/compat-wireless-2.6.37-3/include/linux/compat-2.6.33.h:14,
                from /home/compat-wireless-2.6.37-3/include/linux/compat-2.6.h:28,
                from :1:
/home/compat-wireless-2.6.37-3/include/linux/kfifo.h:350:1: warning: this is the location of the previous definition
make: *** [/home/compat-wireless-2.6.37-3/compat/main.o] Fehler 1
make: *** [/home/compat-wireless-2.6.37-3/compat] Fehler 2
make: *** [_module_/home/compat-wireless-2.6.37-3] Fehler 2
make: Leaving directory `/usr/src/linux-2.6.28.9'
make: *** Fehler 2


/home/compat-wireless-2.6.37-3/compat/main.o gibt es nicht.

In file included from /home/compat-wireless-2.6.37-3/include/linux/compat-2.6.h:28
Bedeutet das, dass die Version abgefragt wird mit Rückgabewert 28? Das wäre gut, denn das ist die Kernelversion.

/home/compat-wireless-2.6.37-3/include/linux/compat-2.6.33.h:97:1: warning: "kfifo_in" redefined
In file included from /home/compat-wireless-2.6.37-3/include/linux/compat-2.6.33.h:14,
Bedeutet das, dass trotzdem die Dateien für den .33er Kernel aufgerufen werden? Das wäre schlecht... :o

Hilfe?
Hardware: Asus AT3IONT-I Deluxe - Atom 330 - 250 GB HDD - 2 GB RAM - Freecom DVB-T Stick - TFT über VGA
Software: EasyVDR 0.8.04
KuhKai  11.Jan.2011 21:31:53
Problem gelöst:

siehe http://wireless.kernel.org/en/users/Download/stable/


wget http://www.orbit-lab.org/kernel/compat-wireless-2.6-stable/v2.6.36/compat-wireless-2.6.36-4.tar.bz2
tar -xf compat-wireless-2.6.36-4.tar.bz2
cd compat-wireless-2.6.36-4
./scripts/driver-select ath9k
make
make install
make unload
make load


Einstellungen im VDR-Menu für die Verbindung mit WPA zu Fritzbox ohne ssid-übertragung, wpa+wpa2

Menu
->9 System
->2 Einstellungen
->1 Netzwerk
Netzwerk-Art: WLAN

->2 WLAN-Einstellungen
WLAN Netzwerktreiber: wireless/ath9k/ath9k
WLAN Domäne: local
WLAN SSID: deinessid
WLAN Art: Managed
WLAN Channel: x
WLAN Verschlüsselung: WPA
IP-Parameter: Die erste Verbindung hat bei mir nur mit DHCP funktioniert, danach habe ich eine feste IP eingestellt

-> 3 WPA-Einstellungen
WPA-Configure: /etc/wpa_supplicant.conf
WPA-Configfile bei boot erstellen: ja
WPA-Treiber: wext
Eapol-Version: 1
AP-Scan: 2
WPA-Protokoll: WPA
Pairwise: TKIP
Group: TKIP
Passphrase-Art:  ASCII
Passphrase: deinpsk

Danke für die seelische Unterstützung ;-)
Hardware: Asus AT3IONT-I Deluxe - Atom 330 - 250 GB HDD - 2 GB RAM - Freecom DVB-T Stick - TFT über VGA
Software: EasyVDR 0.8.04
sinai  11.Jan.2011 21:33:52
Prima. K+ für deine Hartnäckigkeit.

Andy
VDR 1: ASRock mit Atom J1200, NVIDIA GT610, Lüfterlos, TBS 6982 SE mit easyVDR 3.0