bonjour, j'ai vu pas mal de fils sur ralink et le rt61, mais pas de vrais réponses (sauf erreur, omission de ma part). Je m'occupe de cette machine à distance (via ssh en eth0)
sous etch en 2.6.18-4-i686 j'ai fait un - m-a auto-install rt2x00-source ce qui a généré ce .deb qui a été installé, j'ai lu le README (/usr/share/doc/rt2x00-modules-2.6.18-4-686/README.gz) /usr/src/rt2x00-modules-2.6.18-4-686_0cvs20060928-1+2.6.18.dfsg.1-12etch2_i386.deb - j'ai copié les rt26*.bin dans /lib/firmware/. comme demandé. - pour les tests je me suis fait un script wlan0up.sh : ======================== #!/bin/bash Interface=wlan0 IP=192.168.1.12 PASSERELLE=192.168.1.1 echo 1 > /sys/module/rt61pci/parameters/debug echo "iwconfig : " iwconfig $Interface essid dlink iwconfig $Interface channel 1 ifconfig $Interface up iwlist $Interface echo "ifconfig : " /sbin/ifconfig $Interface $IP netmask 255.255.255.0 up echo "route :" /sbin/route add defauft gw $PASSERELLE ======================== - après execution, j'ai ceci ./wlan0up.sh iwconfig : iwlist: unknown command `wlan0' ifconfig : route : defauft: Hôte inconnu # iwconfig lo no wireless extensions. eth0 no wireless extensions. sit0 no wireless extensions. wmaster0 IEEE 802.11g Frequency:2.412 GHz RTS thr:off Fragment thr=2346 B wlan0 IEEE 802.11g ESSID:"dlink" Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated RTS thr:off Fragment thr=2346 B Encryption key:off # 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 auto eth0 allow-hotplug eth0 #iface eth0 inet dhcp iface eth0 inet static address 192.168.1.10 netmask 255.255.255.0 gateway 192.168.1.1 iface wlan0 inet static address 192.168.1.12 netmask 255.255.255.0 gateway 192.168.1.1 pre-up iwconfig wlan0 mode Managed pre-up iwconfig wlan0 essid dlink pre-up iwconfig wlan0 key restricted s:MotDePasse # lsmod | grep rt rt61pci 33988 0 80211 141000 2 rate_control,rt61pci firmware_class 9600 1 rt61pci crc_itu_t 2240 1 rt61pci # ifconfig eth0 Lien encap:Ethernet HWaddr 00:19:D1:6F:0C:D1 inet adr:192.168.1.10 Bcast:192.168.1.255 Masque:255.255.255.0 adr inet6: fe80::219:d1ff:fe6f:cd1/64 Scope:Lien UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:5106 errors:0 dropped:0 overruns:0 frame:0 TX packets:2597 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 lg file transmission:1000 RX bytes:1174840 (1.1 MiB) TX bytes:291132 (284.3 KiB) lo Lien encap:Boucle locale inet adr:127.0.0.1 Masque:255.0.0.0 adr inet6: ::1/128 Scope:H UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:132 errors:0 dropped:0 overruns:0 frame:0 TX packets:132 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 lg file transmission:0 RX bytes:62422 (60.9 KiB) TX bytes:62422 (60.9 KiB) wlan0 Lien encap:Ethernet HWaddr 00:19:5B:67:99:BE inet adr:192.168.1.12 Masque:255.255.255.0 adr inet6: fe80::219:5bff:fe67:99be/64 Scope:Lien UP RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:17 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 lg file transmission:0 RX bytes:0 (0.0 b) TX bytes:3078 (3.0 KiB) Adresse de base:0xb000 wmaster0 Lien encap:UNSPEC HWaddr 00-19-5B-67-99-BE-30-3A-00-00-00-00-00-00-00-00 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 lg file transmission:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Adresse de base:0xb000 # cat /etc/Wireless/RT61STA/rt61sta.dat (je suis pas sur de ce fichier) [Default] CountryRegion=0 CountryRegionABand=7 WirelessMode=0 SSID=dlink NetworkType=Infra Channel=1 #AuthMode=OPEN AuthMode=WEP EncrypType=NONE DefaultKeyID=1 Key1Type=0 Key1Str=MotDepasse Key2Type=0 Key2Str= Key3Type=0 Key3Str= Key4Type=0 Key4Str= WPAPSK=MotDePasse TxBurst=0 PktAggregate=0 WmmCapable=0 APSDCapable=0 APSDAC=0;0;0;0 BGProtection=0 IEEE80211H=0 TxRate=0 RTSThreshold=2347 FragThreshold=2346 RoamThreshold=75 PSMode=CAM TxPreamble=0 FastRoaming=0 un ping 192.168.1.12 : pas de host unreachable, tant que je retire pas mon câble rj45 de eth0 j'ai raté/déconné sur quoi ?