Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
WLAN ath0 fehlt (solved)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
suro
n00b
n00b


Joined: 28 Oct 2003
Posts: 64
Location: Austria

PostPosted: Thu Jul 08, 2004 12:12 pm    Post subject: WLAN ath0 fehlt (solved) Reply with quote

hi leute

Habe auf meinem Notebook (ibm t40) gentoo installiert und es funkt auch fast alles.
Was noch nicht geht ist WLAN :(

Ich habe eine super Anleitung auf http://masi.li/own/gentoo/ gefunden und konnte auch
alles installieren (inkl. madwifi).

Kernel ist 2.6.7, hier ein Auszug aus der Config zum Teil Wireless:
Code:
# Wireless LAN (non-hamradio)
#
CONFIG_NET_RADIO=y
                                                                               
#
# Obsolete Wireless cards support (pre-802.11)
#
CONFIG_STRIP=m
CONFIG_ARLAN=m
CONFIG_WAVELAN=m
                                                                               
#
# Wireless 802.11b ISA/PCI cards support
#
CONFIG_AIRO=m
CONFIG_HERMES=m
CONFIG_ATMEL=m
# CONFIG_PCI_ATMEL is not set
 
#
# Prism GT/Duette 802.11(a/b/g) PCI/Cardbus support
#
CONFIG_PRISM54=m
CONFIG_NET_WIRELESS=y



Module sind geladen:
Code:
lsmod
Module                  Size  Used by
e1000                  79688  -
ath_pci                39804  -
ath_hal               124304  -
wlan                   58824  -


Meine /etc/conf.d/net:
Code:
iface_eth0="dhcp"
iface_ath0="10.3.50.1 broadcast 10.3.50.255 netmask 255.255.255.0"
dhcpcd_eth0="..."
 
# For adding aliases to a interface
#
#alias_eth0="192.168.0.3 192.168.0.4"
 
# NB:  The next is only used for aliases.
#
# To add a custom netmask/broadcast address to created aliases,
# uncomment and change accordingly.  Leave commented to assign
# defaults for that interface.
#
#broadcast_eth0="192.168.0.255 192.168.0.255"
#netmask_eth0="255.255.255.0 255.255.255.0"
 
 
# For setting the default gateway
#
#gateway="eth0/192.168.0.1"
 
 
###########################################
# Hook wireless into /etc/init.d/net.eth0
# Please note, these lines should appear
# at the END of the file
 
source /etc/init.d/wireless.sh
 
preup() {
        wireless_up ${1}
        return $?
}
 
predown() {
        wireless_down ${1}
        return $?
}
 
# End hook
###########################################


Wireless Tools sind installiert (auch wireless-config), allerdings hab ich kein ath0 Interface???
In /etc/init.d/ hab ich nur net.eth0, net.lo und netmount.
Code:
tux# iwconfig
lo        no wireless extensions.
 
tunl0     no wireless extensions.
 
eth0      no wireless extensions.


Stimmt etwas an meiner Kernel config nicht oder muss ich ath0 symbolisch irgendwo
anlegen (z.B. in /etc/init.d/ eine Datei mit net.ath0)?

Ich schon überall gestöbert, aber das Problem dass kein ath0 existiert hatte noch keiner :?

Bin für jede Hilfe Dankbar.


Last edited by suro on Fri Jul 09, 2004 1:22 pm; edited 2 times in total
Back to top
View user's profile Send private message
Inte
Veteran
Veteran


Joined: 15 Jul 2003
Posts: 1387
Location: Mannheim, GER

PostPosted: Thu Jul 08, 2004 1:11 pm    Post subject: Re: WLAN ath0 fehlt Reply with quote

suro wrote:
oder muss ich ath0 symbolisch irgendwo
anlegen (z.B. in /etc/init.d/ eine Datei mit net.ath0)?
Du beantwortest Dir die Frage ja schon selber :wink:
Code:
cd /etc/init.d
ln -s net.eth0 net.ath0
/etc/init.d/net.ath0 start
rc-update add net.ath0 default

Gruß, Inte.

PS.: Kann zwar leicht überlesen werden, aber im "Installationshandbuch" steht:
Code:
Code Listing 16: Anlegen von weiteren Initscripts
# cd /etc/init.d
# ln -s net.eth0 net.eth1
# rc-update add net.eth1 default

_________________
Gentoo Linux - Die Metadistribution


Last edited by Inte on Thu Jul 08, 2004 2:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
suro
n00b
n00b


Joined: 28 Oct 2003
Posts: 64
Location: Austria

PostPosted: Thu Jul 08, 2004 1:44 pm    Post subject: Reply with quote

Danke für die schnelle Antwort

Probiert hab ich das ja auch schon, allerdings kommt dann die Meldung:
Code:
root@tux init.d # /etc/init.d/net.ath0 start
 * Re-caching dependency info (mtimes differ)...
 * Running preup function
* ath0 does not exist
 * preup ath0 failed


Irgendwo stimmt noch etwas nicht :?
Warum legt er eigentlich die ath0 nicht von alleine an?

thx
Back to top
View user's profile Send private message
Sas
Veteran
Veteran


Joined: 05 Jul 2003
Posts: 1229
Location: Germany

PostPosted: Thu Jul 08, 2004 3:14 pm    Post subject: Reply with quote

Da stimmt tatsächlich was nicht! Denn auch wenn du kein init-Skript dafür hast, sollte es das Device geben. Außerdem dürfte bei der Ausgabe von lsmod kein "-" unter "used by" der Module stehen.

Was sagt denn dmesg nachdem du das Modul ath_pci geladen hast?
_________________
42
Back to top
View user's profile Send private message
suro
n00b
n00b


Joined: 28 Oct 2003
Posts: 64
Location: Austria

PostPosted: Thu Jul 08, 2004 3:31 pm    Post subject: Reply with quote

Hier ein Auszug aus dem dmesg:
Code:
.
.
.
wlan: 0.7.3.2 BETA
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.9.12
ath_pci: 0.8.6.1 BETA
ath_pci: 0.8.6.1 BETA
e1000: Ignoring new-style parameters in presence of obsolete ones
Intel(R) PRO/1000 Network Driver - version 5.2.52-k4
Copyright (c) 1999-2004 Intel Corporation.
PCI: Found IRQ 11 for device 0000:02:01.0
PCI: Sharing IRQ 11 with 0000:00:1d.0
PCI: Sharing IRQ 11 with 0000:01:00.0
PCI: Sharing IRQ 11 with 0000:02:00.0
e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
atkbd.c: Spurious ACK on isa0060/serio0. Some program, like XFree86, might be trying access hardware directly.
.
.
.
Back to top
View user's profile Send private message
Inte
Veteran
Veteran


Joined: 15 Jul 2003
Posts: 1387
Location: Mannheim, GER

PostPosted: Thu Jul 08, 2004 3:42 pm    Post subject: Reply with quote

Seltsam. Die Reihenfolge stimmt (wlan, ath_hal, ath_pci). Mich wundert nur, daß kein ath0 angelegt wird. 8O

Wie lädst Du die Module? Hoffentlich hast Du die in der /etc/modules.autoload/kernel-2.6 eingetragen.

Versuch mal ...
Code:

modprobe -r ath_pci
modprobe -r ath_hal
modprobe -r wlan
modprobe wlan
modprobe ath_hal
modprobe ath_pci
... und vergleich den Output von dmesg

Bei mir sieht das folgendermaßen aus:
Code:
wlan: 0.7.3.1 BETA
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.8.6
ath_pci: 0.8.5.5 BETA
ath_pci: 0.8.5.5 BETA
Setup queue (0) for WME_AC_BK
Setup queue (1) for WME_AC_BE
Setup queue (2) for WME_AC_VI
Setup queue (3) for WME_AC_VO
ath0: mac 4.2 phy 3.0 5ghz radio 1.7 2ghz radio 2.3
ath0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 802.11 address: 00:05:4e:40:1d:64
ath0: Atheros 5211: mem=0xc0200000, irq=11


EDIT: Welche Karte hat Dein Thinkpad? Gerade sehe ich, daß Du alle verfügbaren Treiber als Modul eingebunden hast. lspci gibt Dir/uns genauere Auskünfte.
_________________
Gentoo Linux - Die Metadistribution
Back to top
View user's profile Send private message
Salem
Tux's lil' helper
Tux's lil' helper


Joined: 10 Nov 2002
Posts: 103
Location: Bayreuth, Germany

PostPosted: Thu Jul 08, 2004 4:00 pm    Post subject: Reply with quote

Hallo,

ich hab hier ein ähnliches Problem gehabt.

Wenn ich die Treiber lade bekomme ich folgende Meldungen:
Code:

Jul  8 17:56:09 keiko wlan: 0.7.3.1 BETA
Jul  8 17:56:09 keiko ath_hal: 0.9.8.6
Jul  8 17:56:10 keiko ath_pci: 0.8.5.5 BETA
Jul  8 17:56:10 keiko ath_pci: 0.8.5.5 BETA
Jul  8 17:56:11 keiko Setup queue (0) for WME_AC_BK
Jul  8 17:56:11 keiko Setup queue (1) for WME_AC_BE
Jul  8 17:56:11 keiko Setup queue (2) for WME_AC_VI
Jul  8 17:56:11 keiko Setup queue (3) for WME_AC_VO
Jul  8 17:56:11 keiko ath0: mac 5.6 phy 4.1 5ghz radio 1.7 2ghz radio 2.3
Jul  8 17:56:11 keiko ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
Jul  8 17:56:11 keiko ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
Jul  8 17:56:11 keiko ath0: 802.11 address: 00:09:4b:c8:6c:1f
Jul  8 17:56:11 keiko ath0: Atheros 5212: mem=0xd3000000, irq=11


Device hat er angelegt sobald ich die eth.ath0 angelegt habe. ifconfig zeigt mit ath0 auch an.
In der Kernelconfig habe ich "CONFIG_NET_RADIO=y" aktiviert, als Treiber habe ich "net-wireless/madwifi-driver" emerged.

Leider gehen die iw* Tools hier nicht, bekomme immer "ath0 Interface doesn't support wireless statistic collection" oder ähnlich als Meldung. Was mach ich falsch?

Danke
_________________
Salem
Back to top
View user's profile Send private message
Inte
Veteran
Veteran


Joined: 15 Jul 2003
Posts: 1387
Location: Mannheim, GER

PostPosted: Thu Jul 08, 2004 4:10 pm    Post subject: Reply with quote

Salem wrote:
Device hat er angelegt sobald ich die eth.ath0 angelegt habe. ifconfig zeigt mit ath0 auch an.
In der Kernelconfig habe ich "CONFIG_NET_RADIO=y" aktiviert, als Treiber habe ich "net-wireless/madwifi-driver" emerged.

Leider gehen die iw* Tools hier nicht, bekomme immer "ath0 Interface doesn't support wireless statistic collection" oder ähnlich als Meldung. Was mach ich falsch?
Der Fehler wird gerne gemacht :wink:

1. CONFIG_NET_RADIO & CONFIG_NET_WIRELESS muß im Kernel aktiviert sein
2. Mit dem neuen Kernel booten
3. DANACH madwifi neu emergen, damit die Unterstützung der Wireless Extensions mit einkompiliert wird.

Ist zwar merkwürdig, aber ich hab mir das nicht ausgedacht :?
_________________
Gentoo Linux - Die Metadistribution
Back to top
View user's profile Send private message
suro
n00b
n00b


Joined: 28 Oct 2003
Posts: 64
Location: Austria

PostPosted: Thu Jul 08, 2004 4:59 pm    Post subject: Reply with quote

Hm, im Kernel sollte alles passen!? Auch hab ich madwifi neu emerged!

Allerdings gibt es bei mir das lspci nicht! Warum auch immer....?!?

Wenn ich das richtig sehe ha ich ja vorhin nur mein eth0 auf ath0 verlinkt! Das kann doch nicht sein, oder? Ich brauch ja mein normales LAN am eth0 und sollte ja ein komplett eigenes Interface (in der Config) für WLAN haben, oder!?

Vorallem seh ich ja nix bei ifconfig -a, oder iwconfig von einem ath0 (wahrscheinlich weil er immer auf eth0 verweist):
Code:
root@tux madwifi # iwconfig
lo        no wireless extensions.
 
tunl0     no wireless extensions.
 
eth0      no wireless extensions.


Achja, nur so nebenbei: Wenn ich den Kernel neu backe muss ich dann auch etwas am Grub schrauben (wie bei Lilo - neu starten)? Ich überschreib (nach dem mount von /boot) alle Files eh mit dem gleichen Namen, sollte also reichen?
Wollt ich nur wissen, da ich bisher mit Lilo zu tun hatte.
Back to top
View user's profile Send private message
Inte
Veteran
Veteran


Joined: 15 Jul 2003
Posts: 1387
Location: Mannheim, GER

PostPosted: Thu Jul 08, 2004 5:10 pm    Post subject: Reply with quote

suro wrote:
Wenn ich das richtig sehe ha ich ja vorhin nur mein eth0 auf ath0 verlinkt! Das kann doch nicht sein, oder? Ich brauch ja mein normales LAN am eth0 und sollte ja ein komplett eigenes Interface (in der Config) für WLAN haben, oder!?

Vorallem seh ich ja nix bei ifconfig -a, oder iwconfig von einem ath0 (wahrscheinlich weil er immer auf eth0 verweist):

1. lspci -> emerge pciutils (Wichtig um zu wissen wecleh Karte Du hast, damit das richtige Modul geladen werden kann. Sonst bekommst Du kein ath0)
2. Der Link ist in Ordnung. Du legst ja kein Device an, sondern verlinkst auf das Init-Skript. Das Skript "weiß" dann schon, welche Setting aus der /etc/conf.d/net es brauch. Das Device wird erst angelegt, wenn das richtige Modul geladen wurde.
_________________
Gentoo Linux - Die Metadistribution
Back to top
View user's profile Send private message
suro
n00b
n00b


Joined: 28 Oct 2003
Posts: 64
Location: Austria

PostPosted: Thu Jul 08, 2004 7:21 pm    Post subject: Reply with quote

Also meine Ausgabe von lspci:
Code:
.
.
.
0000:00:00.0 Host bridge: Intel Corp. 82855PM Processor to I/O Controller (rev 03)
0000:00:01.0 PCI bridge: Intel Corp. 82855PM Processor to AGP Controller (rev 03)
0000:02:01.0 Ethernet controller: Intel Corp. 82540EP Gigabit Ethernet Controller (Mobile) (rev 03)
0000:02:02.0 Network controller: Intel Corp. PRO/Wireless LAN 2100 3B Mini PCI Adapter (rev 04)


allerdings immer noch:
Code:
root@tux matrix # /etc/init.d/net.ath0 start
 * Running preup function
 * ath0 does not exist
 * preup ath0 failed

root@tux matrix # iwconfig ath0
ath0      No such device
 
root@tux matrix # ifconfig ath0
ath0: Fehler beim Auslesen der Schnittstelleninformation: Gerät nicht gefunden
Back to top
View user's profile Send private message
Sas
Veteran
Veteran


Joined: 05 Jul 2003
Posts: 1229
Location: Germany

PostPosted: Thu Jul 08, 2004 9:28 pm    Post subject: Reply with quote

Also wenn mich jetzt nicht alles täuscht, sagen doch dmesg und lspci, dass du eine Intel PRO Wireless Dingsda Karte hast, die auch in den Centrino-Books verbaut wird. Und keine Atheros! Dann ist madwifi natürlich der falsche Treiber. So kanns nicht gehen.

Bist du dir sicher, dass du madwifi nutzen willst/musst/kannst? Wie ist denn die ganz genaue Bezeichnung und der Hersteller deiner WLAN-Karte?
_________________
42
Back to top
View user's profile Send private message
Masi
n00b
n00b


Joined: 12 May 2004
Posts: 3
Location: Switzerland

PostPosted: Thu Jul 08, 2004 10:21 pm    Post subject: Re: WLAN ath0 fehlt Reply with quote

suro wrote:
Habe auf meinem Notebook (ibm t40) gentoo installiert und es funkt auch fast alles.
Was noch nicht geht ist WLAN :(


Also du schreibst, du hast einen T40. Meine Aufzeichnungen auf www.masi.li betreffen aber den T40p und ich weiss nicht, ob dies den Prozessor mit integriertem WLAN betrift. Wenn es sich wirklich nicht um ein Atheros Chipset handelt, dann bist du mit madwifi tatsächlich fehl am Platz.
Back to top
View user's profile Send private message
suro
n00b
n00b


Joined: 28 Oct 2003
Posts: 64
Location: Austria

PostPosted: Fri Jul 09, 2004 8:27 am    Post subject: Reply with quote

Sch..., das hab ich übersehen :?

Danke für die Hinweise, stimmt, in meinem T40 ist ein Intel:
Code:
0000:02:02.0 Network controller: Intel Corp. PRO/Wireless LAN 2100 3B Mini PCI Adapter (rev 04)
        Subsystem: Intel Corp.: Unknown device 2551
        Flags: bus master, medium devsel, latency 64, IRQ 11
        Memory at c0210000 (32-bit, non-prefetchable)
        Capabilities: [dc] Power Management version 2


Wie geh ich jetzt am besten vor? Was muss ich wieder runter schmeissen bzw. welches ist das korrekte Modul?
Ich hab jetzt mal mit Knoppix gebootet und mir die geladenen Module ausgeben lassen:
Code:
root@KNOPPIX[init.d]# iwconfig
lo        no wireless extensions.

eth0      IEEE 802.11b  ESSID:""  Nickname:"ipw2100"
          Mode:Managed  Channel:0  Access Point: 00:00:00:00:00:00
          Bit Rate=0kb/s   Tx-Power=0 dBm
          Retry:on   RTS thr=2304 B   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0/100  Signal level:-98 dBm  Noise level:-98 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

eth1      no wireless extensions.

Code:
root@Knoppix[init.d]# lsmod
Module                  Size  Used by    Not tainted
reiserfs              169616   1  (autoclean)
radeon                108484  16
autofs4                 8756   1  (autoclean)
af_packet              13544   0  (autoclean)
nls_iso8859-1           2844   0  (autoclean)
nls_cp437               4348   0  (autoclean)
agpgart                42660   3
i810_audio             25208   1
ac97_codec             11916   0  [i810_audio]
soundcore               3428   2  [i810_audio]
e1000                  65996   1
ipw2100               111568   0
firmware_class          3388   0  [ipw2100]
hostap_crypt            1424   0  [ipw2100]
hw_random               2700   0  (unused)
serial                 52100   0  (autoclean)
ds                      6536   2
yenta_socket            9504   2
pcmcia_core            39840   0  [ds yenta_socket]
thermal                 6564   0  (unused)
processor               8976   0  [thermal]
fan                     1568   0  (unused)
button                  2508   0  (unused)
battery                 5888   0  (unused)
ac                      1824   0  (unused)
rtc                     7036   0  (autoclean)
cloop                   8740   2
ieee1394              183076   0
usb-storage            61696   0  (unused)
usb-uhci               21644   0  (unused)
usbcore                57600   1  [usb-storage usb-uhci]
ataraid                 6180   0
ide-cd                 28512   0
ide-scsi                8816   1
Back to top
View user's profile Send private message
suro
n00b
n00b


Joined: 28 Oct 2003
Posts: 64
Location: Austria

PostPosted: Fri Jul 09, 2004 1:24 pm    Post subject: Reply with quote

Geschafft!!!

Habe nun den richtigen Treiber installiert:
http://ipw2100.sourceforge.net/
http://ipw2100.sourceforge.net/INSTALL

Das Int (jetzt eth1) ist auch sofort nach dem Booten angesprunen!

Herzlichen Dank nochmals an alle!!

lG
suro
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum