View Single Post
Old 26-02-2006, 10:31   #2
Carciofone
Senior Member
 
L'Avatar di Carciofone
 
Iscritto dal: Feb 2006
Messaggi: 9526
Installazione Belkin F5D7050 V3 e D-Link DWL G122 C1 in Kubuntu linux 7.10 Gutsy Gibbon: link.

Installazione Belkin F5D7050 e D-Link DWL G122 C1 in Kubuntu linux 6.10 e 7.04: clicca qui.

Installazione Belkin F5D7050 e D-Link DWL G122 C1 in Mandriva linux 2007

Driver GPL RalinkTech rt73 (modded) per schede wireless basate sul chipset USB Ralink RT2571W (Belkin F5D7050 V3, D-Link DWL G122 C1,...) in Mandriva 2007.

Operazioni preliminari:

accertarsi di avere installato nel proprio sistema i seguenti pacchetti:
- kernel source completo (di default non presente, va scaricato da internet)
- wpa-supplicant
- kwifimanager
- wireless-tools
- dos2unix
- gcc
- glibc-devel
- libncurses5-devel
- make
- kdenetwork
- gli aggiornamenti di KDE 3.5.x e dei componenti di rete


Verificare se il proprio dispositivo USB è riconosciuto dal driver; loggarsi come root e dare il comando:
Codice:
lsusb
Bus 001 Device 001: ID 0000:0000
Bus 005 Device 002: ID 050d:705a Belkin Components
Bus 005 Device 001: ID 0000:0000
...
Confrontare l'ID hardware trovato 050d:705a con questa tabella (come vedete non sono poche quelle supportate):
Quote:
050d:705a Belkin F5D7050 V3
050d:7050 - 050d:905b Belkin
07d1:3c03 - 07d1:3c04 D-Link DWL G122 C1
14b2:3c22 Conceptronic
13b1:0020 - 13b1:0023 Linksys
0b05:1723 - 0b05:1724 ASUS
148f:2573 - 148f:2671 Ralink
18e8:6196 - 18e8:6229 Qcom
1044:8008 Gigabyte
0db0:6877 - 0db0:a874 - 0db0:a861 MSI
07b8:b21d AboCom
0769:31f3 Surecom
1472:0009 Huawei-3Com
1371:9022 - 1371:9032 CNet
1631:c019 Billionton
1044:800a Gigabyte
18e8:6196 Qcom
0df6:9712 - 0df6:90ac Sitecom
06f8:e010 Hercules
1690:0722 Askey
2019:ab01 Planex
Se si è già tentata un'installazione da Configura il tuo computer (Centro di controllo), andare in Rete e internet, Rimuovi interfaccia di rete e rimuovere la connessione di rete wireless (di solito rausb0). Coi privilegi di root cancellare la riga:
Codice:
alias rausb0 rtusb
nei files
/etc/modprobe.conf
/etc/modules

Accertarsi che sulla scheda di rete ethernet sia impostato il DHCP e che sia scollegata, oppure sia indicato un Gateway uguale a quello della scheda wireless, o nessun Gateway.

Installazione:

1) scaricare e decomprimere in una cartella QUESTO ARCHIVIO;
2) editare il file ifcfg-rausb0 contenuto nella cartella per impostare il DHCP (default) o un IP fisso, il Gateway etc per la vostra rete wireless;
3) editare i files rt73.sh e rt73sta.dat contenuti nella cartella per inserire l'SSID e la WPA-PSK della propria rete wireless (default: WPA-PSK TKIP);
collegare la scheda di rete wireless USB (usare preferibilmente la stessa porta);
4) aprire un terminale nella cartella in cui si è decompresso l'archivio, loggarsi come root ed eseguire lo script:
Codice:
sh Install.sh
5) riavviare il pc.

Note:

Questo è il testo dello script contenuto nel pacchetto precedentemente illustrato:
Codice:
#!/bin/bash
# (c) C@rciofone, 03 Feb 2007
# carciofone999 at hotmail dot com
# Released under GPL version 2 (http://www.gnu.org/copyleft/gpl.html)
#    This program is free software; you can redistribute it and/or modify
#    it under the terms of Version 2 of the the GNU General Public License
#    as published by the Free Software Foundation. Any later versions of
#    the GPL will be evaluated as they are released, and this software may
#    or may not be re-released under those terms also.
#
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with this program; if not, write to the Free Software
#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
#
#    This script install the Ralink GPL drivers rt73 for the Belkin F5D7050 V3 and D-Link DWL G122 C1 USB wireless adapters.
#    Tested on Mandriva 2007. Use at your own risk!
#    Edit rt73.sh and rt73sta.dat file and put your SSID and WPA password
#    and ifcfg-rausb0 file for DHCP (default) or Static IP
#
# Clear old entries
echo $"(c) C@rciofone, 03 Feb 2007."
rm -rf /etc/Wireless/RT73STA
rm -rf /etc/sysconfig/network-scripts/ifcfg-rausb0
rm -rf /lib/modules/$(uname -r)/kernel/drivers/net/wireless/rt73.ko.gz
rm -rf /sbin/ifup-local
# Create TEMP dir
mkdir -p /TEMP
mkdir -p /etc/Wireless/RT73STA/
cp -f rt73.sh /etc/Wireless/RT73STA/
tar -xzf RT73_Linux_STA_Drv1.0.3.6.tar.gz -C /TEMP
cp -f rtmp_def.h /TEMP/RT73_Linux_STA_Drv1.0.3.6/Module
cp -f rt73.sh /TEMP/RT73_Linux_STA_Drv1.0.3.6/Module
cp -f ifcfg-rausb0 /etc/sysconfig/network-scripts/ifcfg-rausb0
cp -f rt73sta.dat /TEMP/RT73_Linux_STA_Drv1.0.3.6/Module
cd /TEMP/RT73_Linux_STA_Drv1.0.3.6/Module
# Make all files writable and strip out carriage returns.
#chmod -R u+w . &&
#for f in *
#do
#tr -d '\r' < $f > $f.new
#mv -f $f.new $f
#done
# Configure for a 2.6 kernel and make.
cp -f Makefile.6 Makefile
make all
# Install the module.
echo $"Please hold"
cat rt73.ko | gzip > /lib/modules/$(uname -r)/kernel/drivers/net/wireless/rt73.ko.gz
depmod -a
sleep 5
# Install the firmware.
cp -f rt73.bin /etc/Wireless/RT73STA/
cp -f rt73sta.dat /etc/Wireless/RT73STA/
dos2unix /etc/Wireless/RT73STA/rt73sta.dat
chmod 755 /etc/sysconfig/network-scripts/ifcfg-rausb0
sleep 2
chmod 700 /etc/Wireless/RT73STA/rt73.sh &&
# ifup-local will be called whenever the interface is brought up.
cat <<EOF > /sbin/ifup-local
if [ "\$1" = "rausb0" ]
then
/etc/Wireless/RT73STA/rt73.sh
fi
EOF
chmod 755 /sbin/ifup-local
sleep 2
# Insert an alias in modules
cat /etc/modules | grep -v rausb0 > modules &&
cat modules > /etc/modules &&
echo 'alias rausb0 rt73' >> /etc/modules
modprobe rt73
cd
rm -rf /TEMP
echo $"Complete. Reboot your pc now."
exit 1

# This script creates the files:
# /etc/sysconfig/network-scripts/ifcfg-rausb0
# /etc/Wireless/RT73STA/rt73.sh
# /etc/Wireless/RT73STA/rt73.bin
# /lib/modules/$(uname -r)/kernel/drivers/net/wireless/rt73.ko.gz
# and modifies:
# /etc/modules

Ultima modifica di Carciofone : 12-10-2007 alle 14:13.
Carciofone è offline   Rispondi citando il messaggio o parte di esso