Hallo,
ich habe versucht meine WLAN-Karte unter Debian zu installieren. Ich bin dabei dieser Anleitung gefolgt:
Anleitung
Mit dem Befehl..
lsmod | grep rt2500
.. bekomme ich jetzt folgende Ausgabe:
rt2500 152132 0
Ich befürchte die 0 steht für "inaktiv" o.ä. ?
Wie kann ich die Karte aktivieren oder was habe ich falsch gemacht?
Gruß, PingOfDeath
Linux 15.070 Themen, 107.540 Beiträge
Wenn es keine Fehlermeldungen gegeben hat, dann ist erstmal der richtige Treiber geladen.
lsmod listet alle geladenen Kernelmodule auf. Die 0 (Null) würde ich erstmal ignorieren.
An Stelle von der 0 werden manchmal andere Treiber aufgelistet die von diesem Treiber abhängig sind. Deshalb soll man auch einen Treiber mit modprobe anstatt mit insmod laden, weil mit modprobe automatisch andere Treiber mitgeladen werden, die voneinander abhängig sind.
Normalerweise werden Treiber automatisch durch verschiedene Hardwareerkennungssysteme (udev, discover, kmod ) bei Debian geladen.
Du mußt erstmal das Netzwerk konfigurieren.
Dazu wird die Datei /etc/network/interfaces editiert.
Ich kann dir ein Beispiel für einen Desktoprechner geben. Du müßtest dann selber noch Sachen wie Accesspoint und Verschlüsselung eintragen:
cat /etc/network/interfaces
Das ist ein Beispiel für eine statische Adresse. Wenn du lieber DHCP verwenden willst, dann mußt du ein paar Sachen verändern.
Ich habe weiter unten einen Link für ein howto angeben wo DHCP eingestellt ist.
# 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
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.3
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.0.1
dns-search local
Als Hilfe kannst du auch die manpage von interfaces lesen:
"man interfaces"
http://debiananwenderhandbuch.de/netzwerk.html
Dieses Howto beschreibt die einzelnen Optionen für die WLAN Karte in der Datei /etc/network/interfaces_
http://rt2x00.serialmonkey.com/wiki/index.php/Debian_rt2500_Howto
Wenn English ein Problem sein sollte mußt du dich eben nochmal melden.
PS: Das ist momentan das beste Debian Handbuch (gibt es auch in Deutsch):
http://debiansystem.info/
Erstmal danke für Deine Bemühungen ;-)
Mein Problem ist, dass ich nicht weis wie die Karte überhaupt heißt --> ich lese in Foren überall ra0, aber wenn ich diese aktivieren möchte sagt er mir das es ra0 nicht gibt.
Bei der Treiberinstallation traten keine Fehler auf - ich denke man muss sie "nur" noch aktivieren (und eben die Netzwerkeinstellungen vornehmen).
Den Link auf serialmonkey kannte ich schon, habe ich auch schon ausprobiert ;-)
Deine Beispielkonfiguration interessiert mich natürlich - ich habe momentan auch statische IP-Adressen.
In /etc/network/interfaces steht bis jetzt nur eth0 ...
MfG. PingOfDeath
Wie schon the_mic schreibt, mußt du nur den Befehl iwconfig eingeben. Ich habe eine Atheros W-Lan Karte:
iwconfig
lo no wireless extensions.
eth1 no wireless extensions.
dummy0 no wireless extensions.
eth2 no wireless extensions.
wifi0 no wireless extensions.
ath0 IEEE 802.11b ESSID:""
Mode:Managed Channel:0 Access Point: Not-Associated
Bit Rate:0 kb/s Tx-Power:0 dBm Sensitivity=0/3
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
vmnet1 no wireless extensions.
vmnet8 no wireless extensions.
Das hier ist ein anderer Rechner mit zusätzlicher WLAN Karte:
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
# The primary network interface
#allow-hotplug eth2
iface eth2 inet static
address 192.168.0.9
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.0.1
dns-search local
#allow-hotplug ath0
iface ath0 inet static
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
address 192.168.0.20
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
dns-nameservers 192.168.0.1
dns-search local
PS: Du kannst Debian auch so konfigurieren das sich das Netzwerk automatisch selbst konfiguriert, sobald du in einem anderen Netzwerk bist.
Ich habe leider mit Notebooks keine Erfahrung.
Du mußt dazu den ifplugd und guessnet installieren.
Ich weiß nicht ob diese Howtos gut geschrieben sind, aber es wäre ein Anfang:
http://www.linux-user.de/ausgabe/2005/07/046-ifplugd/index.html?print=y
http://www.matthias-deege.de/howto/guessnet_ubuntu.html#toc2
Was gibt der Befehl
iwconfig
aus? Zeigt er die Karte an? Wenn ja, kannst du sie mit ifconfig konfigurieren. Wenn nicht, lade das Modul und prüfe die Ausgabe von
dmesg | tail
debian:/home/user# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
sit0 no wireless extensions.
------------------
debian:/home/user# dmesg | tail
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
eth0: no IPv6 routers present
ACPI: Power Button (FF) [PWRF]
lp0: using parport0 (interrupt-driven).
ppdev: user-space parallel port driver
NET: Registered protocol family 5
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
NFSD: starting 90-second grace period
Und was sagt ifconfig ?
Eine Wlan Karte ist auch eine Netzwerkkarte.
Ich würde "dmesg | less" eingeben.
Mit den Cursortsaten kannst du hoch - und runterscrollen.
Linux version 2.6.18-5-686 (Debian 2.6.18.dfsg.1-13etch2) (dannf@debian.org) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP Thu Aug 30 02:19:07 UTC 2007
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000017ff0000 (usable)
BIOS-e820: 0000000017ff0000 - 0000000017ff8000 (ACPI data)
BIOS-e820: 0000000017ff8000 - 0000000018000000 (ACPI NVS)
0MB HIGHMEM available.
383MB LOWMEM available.
On node 0 totalpages: 98288
DMA zone: 4096 pages, LIFO batch:0
Normal zone: 94192 pages, LIFO batch:31
DMI 2.1 present.
ACPI: RSDP (v000 SNI ) @ 0x000fe030
ACPI: RSDT (v001 SNI V66LT 0x00000001 Acer 0x00000000) @ 0x17ff0000
ACPI: FADT (v001 SNI V66LT 0x00000001 Acer 0x00000000) @ 0x17ff0028
ACPI: DSDT (v001 SNI V66LT 0x00001000 MSFT 0x0100000a) @ 0x00000000
ACPI: PM-Timer IO Port: 0x448
Allocating PCI resources starting at 20000000 (gap: 18000000:e8000000)
Detected 451.050 MHz processor.
Built 1 zonelists. Total pages: 98288
Kernel command line: root=/dev/hda1 ro
Local APIC disabled by BIOS -- you can enable it with "lapic"
mapped APIC to ffffd000 (0130a000)
Enabling fast FPU save and restore... done.
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 8192 bytes)
Console: colour VGA+ 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 381628k/393152k available (1541k kernel code, 10932k reserved, 576k data, 196k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 902.96 BogoMIPS (lpj=1805927)
Security Framework v1.0.0 initialized
SELinux: Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0183f9ff 00000000 00000000 00000000 00000000 00000000 00000000
CPU: After vendor identify, caps: 0183f9ff 00000000 00000000 00000000 00000000 00000000 00000000
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 512K
CPU: After all inits, caps: 0183f9ff 00000000 00000000 00000040 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Compat vDSO mapped to ffffe000.
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 12k freed
ACPI: Core revision 20060707
ACPI: setting ELCR to 0200 (from 0c00)
CPU0: Intel Pentium II (Deschutes) stepping 02
SMP motherboard not detected.
Local APIC not detected. Using dummy APIC emulation.
Brought up 1 CPUs
migration_cost=0
checking if image is initramfs... it is
Freeing initrd memory: 4787k freed
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xf0200, last bus=1
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Interrupt Link [PILA] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [PILB] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [PILC] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [PILD] (IRQs 3 4 5 6 7 9 *10 11 12 14 15)
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
* Found PM-Timer Bug on the chipset. Due to workarounds for a bug,
* this clock source is slow. Consider trying other clock sources
PCI quirk: region 0440-047f claimed by PIIX4 ACPI
PCI quirk: region 0800-080f claimed by PIIX4 SMB
PIIX4 devres B PIO at 0294-0297
PCI: Firmware left 0000:00:10.0 e100 interrupts enabled, disabling
Boot video device is 0000:01:00.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 11 devices
PnPBIOS: Disabled by ACPI PNP
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
pnp: 00:0a: ioport range 0x440-0x47f could not be reserved
pnp: 00:0a: ioport range 0x800-0x80f has been reserved
pnp: 00:0a: ioport range 0x295-0x296 has been reserved
pnp: 00:0a: ioport range 0x4d0-0x4d1 has been reserved
PCI: Bridge: 0000:00:01.0
IO window: 8000-8fff
MEM window: 80200000-820fffff
PREFETCH window: disabled.
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 8192)
TCP reno registered
audit: initializing netlink socket (disabled)
audit(1190195958.576:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Limiting direct PCI/PCI transfers.
isapnp: Scanning for PnP cards...
isapnp: Card 'Crystal Codec'
isapnp: 1 Plug & Play card detected total
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
PNP: PS/2 Controller [PNP0303:KBC0,PNP0f13:PS2] at 0x60,0x64 irq 1,12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 8
NET: Registered protocol family 20
Using IPI No-Shortcut mode
ACPI: (supports S0 S1 S5)
Freeing unused kernel memory: 196k freed
Time: tsc clocksource has been installed.
input: AT Translated Set 2 keyboard as /class/input/input0
ACPI: CPU0 (power states: C1[C1] C2[C2])
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot 0000:00:07.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x9080-0x9087, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0x9088-0x908f, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide0...
e100: Intel(R) PRO/100 Network Driver, 3.5.10-k2-NAPI
e100: Copyright(c) 1999-2005 Intel Corporation
usbcore: registered new driver usbfs
usbcore: registered new driver hub
hda: SAMSUNG SV3063H, ATA DISK drive
USB Universal Host Controller Interface driver v3.0
Time: acpi_pm clocksource has been installed.
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: TOSHIBA DVD-ROM SD-M1502, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
ACPI: PCI Interrupt Link [PILD] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI Interrupt 0000:00:10.0[A] -> Link [PILD] -> GSI 10 (level, low) -> IRQ 10
e100: eth0: e100_probe: addr 0x82400000, irq 10, MAC addr 00:00:E2:25:6A:2A
ACPI: PCI Interrupt 0000:00:07.2[D] -> Link [PILD] -> GSI 10 (level, low) -> IRQ 10
uhci_hcd 0000:00:07.2: UHCI Host Controller
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:07.2: irq 10, io base 0x00009040
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
hdc: ATAPI 48X DVD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
hda: max request size: 128KiB
hda: 59797584 sectors (30616 MB) w/426KiB Cache, CHS=59323/16/63, UDMA(33)
hda: cache flushes not supported
hda: hda1 hda2
usb 1-2: new low speed USB device using uhci_hcd and address 2
usb 1-2: configuration #1 chosen from 1 choice
usbcore: registered new driver hiddev
input: Microsoft Microsoft 5-Button Mouse with IntelliEye(TM) as /class/input/input1
input: USB HID v1.10 Mouse [Microsoft Microsoft 5-Button Mouse with IntelliEye(TM)] on usb-0000:00:07.2-2
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
Attempting manual resume
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
ts: Compaq touchscreen protocol output
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected an Intel 440BX Chipset.
agpgart: AGP aperture is 64M @ 0xe0000000
piix4_smbus 0000:00:07.3: Found 0000:00:07.3 device
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE,EPP]
input: PC Speaker as /class/input/input2
pnp: Device 01:01.01 activated.
gameport: NS558 PnP Gameport is pnp01:01.01/gameport0, io 0x200, speed 736kHz
pnp: Device 01:01.00 activated.
pnp: Device 01:01.00 disabled.
cs4232-pnpbios: probe of 01:01.00 failed with error -2
pnp: Device 01:01.00 activated.
pnp: Device 01:01.02 activated.
pnp: Device 01:01.03 activated.
Adding 1132540k swap on /dev/hda5. Priority:-1 extents:1 across:1132540k
EXT3 FS on hda1, internal journal
loop: loaded (max 8 devices)
device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-devel@redhat.com
e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
eth0: no IPv6 routers present
ACPI: Power Button (FF) [PWRF]
lp0: using parport0 (interrupt-driven).
ppdev: user-space parallel port driver
NET: Registered protocol family 5
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
NFSD: starting 90-second grace period
Anscheinend wird die Karte nicht erkannt. Ist rt2500 der richtige Treiber? Was für eine Karte steckt drin?
Wenn USB: lsusb
Wenn PCI/PCMCIA: lspci
Hallo ;-)
Habe die Karte jetzt nochmal ausgebaut - hier die genaue Bezeichnung:
DIGITUS 802.11g WIRELESS LAN PCI ADD-ON CARD
auf dem Chip steht :
RT2561ST
GN07250E0
0612ST
So nach langem reboot lspci :
00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01)
00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)
00:0e.0 Network controller: RaLink RT2561/RT61 802.11g PCI
00:10.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 05)
01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage LT Pro AGP-133 (rev dc)
... hätte ich mir das Ausbauen sparen können ;-)
Ich kann nur raten. Ich nehme mal an es wird ein Problem mit dem IRQ Kanal sein.
Das ist ein alter Pentium 2 mit einer alten ISA-Soundkarte und Druckerport und zwei serial Ports und dann hast du schon eine Netzwerkkarte (Intel ?) eingebaut.
Diese alten Rechner hatten doch nur 16 IRQs, wo schon ein paar belegt waren durch Systemkomponenten.
Ich würde mal die andere Netzwerkkarte ausbauen oder im BIOS deaktivieren.
Oder die alte Soundkarte muß raus.
Meist hatte man nur den IRQ 5 oder 7 für eine zusätzliche Netzwerkkarte zu Verfügung.
Welchen IRQ belegt den diese Digitus WLAN Karte ?
Ich nehme mal an das ein IRQ nicht zur Verfügung steht.
cat /proc/interrupts
CPU0
0: 4176223 XT-PIC timer
1: 3146 XT-PIC i8042
2: 0 XT-PIC cascade
6: 5 XT-PIC floppy
8: 1 XT-PIC rtc
9: 57853 XT-PIC eth0
10: 0 XT-PIC ohci_hcd:usb1
12: 112870 XT-PIC i8042
14: 26821 XT-PIC ide0
15: 35807 XT-PIC ide1
NMI: 0
ERR: 0
Das hier ist die Ausgabe von einem alten K6 500 MHz. Da ist auch nur IRQ 7 und 11 frei und das ohne Soundkarte. Du hast eine Soundkarte und zwei Netzwerkkarten drinen. Du muß dich da entscheiden .
Der richtige Treiber für deinen Chip heisst rt61. Mach mal:
modprobe rt61
danach
dmesg | tail
zum Überprüfen, ob der Treiber korrekt geladen wurde und die Karte erkennen konnte, danach
iwconfig
um zu sehen, obs da wirklich eine WLAN-Schnittstelle gibt.
Danke Euch beiden für die tolle Unterstützung ;-)
Es war scheinbar wirklich der falsche Treiber ---> der rt61 geht jetzt nämlich :-)
Gruß, PingOfDeath
