Newsgroup: it.comp.os.linux.iniziare
Titolo: Aiuto per installare WL-170 Sitecom wifi

Un acer Travelmate 630, con a bordo Ubuntu 9.10, per circa due mesi era 
soggetto a "congelamenti improvvisi". 
Dovevo solo togliere l'alimentazione per sbloccare e riavviare.
Due mesi di ricerche in rete si sono concluse con decine di tentativi di 
risoluzione del problema e con altrettanti fiaschi.
A questo punto ho deciso di fare un'ultima prova, prima di togliere Linux 
definitivamente: ho installato da due giorni Debian Squeeze e finalmente 
il notebook va perfettamente.
Spero che questa informazione possa essere di aiuto per altri amici che 
usano Linux e devono scegliere una distribuzione.
Ho tuttavia un problema: la scheda PCMCIA in oggetto, che mi forniva la 
connessione wifi e che era installata automaticamente da Ubuntu, con 
Debian non va.
Ho trovato in rete questa guida:
http://www.andreapernici.com/wireless-linux-installare-e-configurare-
ralink-rt2561rt61-rev-b-802-11g/
Solo che arrivato al punto in cui do il comando MAKE, ottengo questo 
output e non vado più avanti. Non riesco a venirne a capo.
make -C /lib/modules/2.6.32-trunk-686/build SUBDIRS=/usr/
src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-trunk-686'
  CC [M]  /usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.o
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c: In 
function ‘rt61_get_drvinfo’:
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:78: error: 
‘struct net_device’ has no member named ‘priv’
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:78: 
warning: unused variable ‘pAd’
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c: In 
function ‘rt61_get_regs_len’:
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:97: 
warning: no return statement in function returning non-void
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c: In 
function ‘rt61_get_regs’:
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:103: error: 
‘struct net_device’ has no member named ‘priv’
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:104: 
warning: unused variable ‘counter’
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:103: 
warning: unused variable ‘pAd’
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c: In 
function ‘rt61_ethtool_get_link’:
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:120: 
warning: unused variable ‘pAd’
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:130: 
warning: no return statement in function returning non-void
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c: In 
function ‘rt61_get_eeprom_len’:
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:139: 
warning: no return statement in function returning non-void
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c: In 
function ‘rt61_get_eeprom’:
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:145: error: 
‘struct net_device’ has no member named ‘priv’
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:146: 
warning: unused variable ‘counter’
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:145: 
warning: unused variable ‘pAd’
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:159: 
warning: no return statement in function returning non-void
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c: At top 
level:
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:169: 
warning: initialization from incompatible pointer type
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c: In 
function ‘RT61_probe’:
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:238: 
warning: assignment discards qualifiers from pointer target type
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:287: error: 
‘struct net_device’ has no member named ‘priv’
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:290: error: 
‘struct net_device’ has no member named ‘priv’
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:290: error: 
‘struct net_device’ has no member named ‘priv’
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:290: error: 
‘struct net_device’ has no member named ‘priv’
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:290: error: 
‘struct net_device’ has no member named ‘priv’
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:294: error: 
‘struct net_device’ has no member named ‘priv’
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:305: error: 
‘struct net_device’ has no member named ‘open’
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:306: error: 
‘struct net_device’ has no member named ‘hard_start_xmit’
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:307: error: 
‘struct net_device’ has no member named ‘stop’
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:308: error: 
‘struct net_device’ has no member named ‘get_stats’
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:317: error: 
‘struct net_device’ has no member named ‘set_multicast_list’
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:318: error: 
‘struct net_device’ has no member named ‘do_ioctl’
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:328: error: 
‘struct net_device’ has no member named ‘validate_addr’
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:344: 
warning: ISO C90 forbids mixed declarations and code
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c: In 
function ‘RT61_open’:
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:422: error: 
‘struct net_device’ has no member named ‘priv’
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:472: 
warning: passing argument 2 of ‘request_irq’ from incompatible pointer 
type
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c: In 
function ‘RTMPSendPackets’:
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:627: error: 
‘struct net_device’ has no member named ‘priv’
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c: In 
function ‘RTMPIsr’:
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:713: error: 
‘struct net_device’ has no member named ‘priv’
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c: In 
function ‘RT61_get_wireless_stats’:
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:825: error: 
‘struct net_device’ has no member named ‘priv’
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c: In 
function ‘RT61_get_ether_stats’:
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:873: error: 
‘struct net_device’ has no member named ‘priv’
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c: In 
function ‘RT61_close’:
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:942: error: 
‘struct net_device’ has no member named ‘priv’
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c: In 
function ‘RT61_remove_one’:
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:1002: 
error: ‘struct net_device’ has no member named ‘priv’
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c: At top 
level:
/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:1078: fatal 
error: opening dependency file /usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/
Module/.rtmp_main.o.d: Permission denied
compilation terminated.
make[4]: *** [/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/
rtmp_main.o] Error 1
make[3]: *** [_module_/usr/src/2009_0123_RT61_Linux_STA_v1.1.2.3/Module] 
Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-trunk-686'
make: *** [all] Error 2
-- 
Bye, Yorgos
To send me an e-mail, please change anthzùya with alice

 ralink-rt2561rt61-rev-b-802-11g/
Ti stai complicando la vita,
# modinfo rt61pci
filename:       /lib/modules/2.6.32-
ARCH/kernel/drivers/net/wireless/rt2x00/rt61pci.ko
license:        GPL
firmware:       rt2661.bin
firmware:       rt2561s.bin
firmware:       rt2561.bin
description:    Ralink RT61 PCI & PCMCIA Wireless LAN driver.
version:        2.3.0
author:         
http://rt2x00.serialmonkey.com
srcversion:     1F8ADC136D38ED1899F7174
alias:          pci:v00001814d00000401sv*sd*bc*sc*i*
alias:          pci:v00001814d00000302sv*sd*bc*sc*i*
alias:          pci:v00001814d00000301sv*sd*bc*sc*i*
depends:        rt2x00lib,rt2x00pci,eeprom_93cx6,crc-itu-t
vermagic:       2.6.32-ARCH SMP preempt mod_unload 686
parm:           nohwcrypt:Disable hardware encryption. (bool)
Al 99% ti manca il firmware in  /lib/firmware/  sicuro che debian non abbia 
gia' un pacchetto del firmware ?

 abbia gia' un pacchetto del firmware ?
Infatti: il pacchetto firmware-ralink risulta installato.
Allora come posso proseguire?
Grazie!


 
se sei sicuro che il firmware e' installato e i moduli vengono caricati, 
bisogna configurare la scheda e  eventuale connessione protetta con wpa, 
io ti consiglio di installare wicd (se e' installato network-manager 
levalo) e configurare tutto da li'.
ciao giuseppe

 levalo) e configurare tutto da li'.
Ringrazio te e Giroman e confesso che il tutto è nato da un mio errore 
madornale: in WICD invece di wlan0 avevo scritto iwlan0.
Un errore banale di scrittura mi ha tenuto in scacco per 2 giorni!
In effetti ora va tutto bene, non si congela più il sistema e la rete va 
una meraviglia!


 
non rimane che augurarti  buona debian (e non demordere)
ciao   giuseppe

 non rimane che augurarti  buona debian (e non demordere)
Ehm, ho 4 PC in casa. 2 Debian, 2 Ubuntu.
Ma Debian è il primo amore :-)
