erlug
[Top] [All Lists]

[Erlug] Scheda Wireless Ralink rt2500 e Debian

To: erlug@xxxxxxxxxxxxxx
Subject: [Erlug] Scheda Wireless Ralink rt2500 e Debian
From: ciencio <vic@xxxxxxxxxxxxxxxxx>
Date: Tue, 26 Jul 2005 12:29:35 +0200
Alla fine ho comprato la scheda con chipset ralink visto che i moduli
sono forniti dalla stessa ralink e mantenuti in GPL dal progetto
http://rt2x00.serialmonkey.com

sul loro sito ho trovato questo howto per l'installazione sotto Debian:

http://rt2x00.serialmonkey.com/wiki/index.php/Debian_rt2500_Howto

e l'ho seguito in questo modo:
Prima di tutto:
router:/etc# lspci | grep RT2500

0000:00:11.0 Network controller: RaLink Ralink RT2500 802.11 Cardbus
Reference Card (rev 01)

Dopo aver compilato il driver senza errori:

router:~/ralink/source/rt2500/Module# make install
if ! [ -f rt2500.o ]; then \
module; \
fi
install 'rt2500.o' to /lib/modules/2.4.27-2-586tsc/extra
install -m 755 -o 0 -g 0 -d /lib/modules/2.4.27-2-586tsc/extra
install -m 644 -o 0 -g 0 rt2500.o /lib/modules/2.4.27-2-586tsc/extra
/sbin/depmod -a

quindi ho creato /etc/modutils/rt2500 inserendo:
alias ra0 rt2500

(ra0 e' un device che viene creato al caricamento del modulo, o almeno
cosi' dovrebbe essere)

salvato e lanciato update-modules

modifico /etc/network/interfaces come segue

auto ra0
iface ra0 inet dhcp

a questo punto

router:/etc/modutils# modprobe ra0
router:/etc/modutils#
router:/etc/modutils# lsmod |grep rt2500
rt2500                155876   0  (unused)

quindi modulo caricato anche se non ancora usato
(quel (unused) puo' essere un problema a questo punto?)

passiamo alla configurazione della scheda:

router:/etc# iwconfig ra0 mode managed
router:/etc#
router:/etc# iwconfig ra0 essid Alcatelxxxxxxx
router:/etc#
router:/etc# iwconfig ra0 key xXxxXXXXxx
router:/etc#
router:/etc# ifconfig ra0 up mtu 1492
router:/etc#
router:/etc# ifup ra0
Ignoring unknown interface ra0=ra0.
router:/etc#

ma se chiedo
router:/etc# ifconfig ra0
ra0       Link encap:Ethernet  HWaddr 00:0E:2E:4F:D0:64
          UP BROADCAST RUNNING MULTICAST  MTU:1492  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5862 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:316548 (309.1 KiB)
          Interrupt:10 Base address:0xd000
router:/etc#
router:/etc# ifconfig ra0 up
router:/etc#
router:/etc# dhclient ra0
Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.
Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html

Listening on LPF/ra0/00:0e:2e:4f:d0:64
Sending on   LPF/ra0/00:0e:2e:4f:d0:64
Sending on   Socket/fallback/fallback-net
DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 11
No DHCPOFFERS received.
No working leases in persistent database.
Sleeping.

router:/etc#

In tutto questo i led della scheda non danno segni di vita.

Nei numerosi tentativi c'e' stato un momento in cui ha funzionato,
procedendo nello stesso modo (dal modprobe in avanti) quindi ho fatto un
tentaivo di mettere il tutto in uno script da lanciare al boot ma al
tentativo di reboot non ha funzionato e non ha piu' dato segni di vita.

Cosa devo guardare?
Suggerimenti?
Errori palesi?

P.S. dmesg non dice nulla oltre a:
PCI: Assigned IRQ 10 for device 00:11.0
rt2500 1.1.0 CVS 2005/07/10 http://rt2x00.serialmonkey.com

--
pace e amore
    vic


<Prev in Thread] Current Thread [Next in Thread>