[repost] wifi rt61 via module-assistant : un peu galère, non ?

2007-10-17 Par sujet Bulot Grégory
[repost car pas vu 2 heures après envoi]

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_i38
6.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
lono 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
rt61pci33988  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)

loLien 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 ?

---



Re: [repost] wifi rt61 via module -assistant : un peu galère, non ?

2007-10-17 Par sujet David Prévot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Bulot Grégory a écrit :
 [repost car pas vu 2 heures après envoi]

Et pourtant...

[...]

 # 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

Donc deux interfaces, sur le même sous réseau, avec la même route ? Si
je ne m'abuse, il me semble « un peu compliqué » de faire le choix, donc
une des deux interfaces (au moins) va être mise de côté.

[...]

 un ping 192.168.1.12 : pas de host unreachable, tant que je retire pas mon
 câble rj45 de eth0

Ha, je me disais bien ;).

Amicalement

David
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHFlBR18/WetbTC/oRApmHAJ49uzaboJoh5MbYesuFIICtiUy+gwCeJhgy
mOQscVRg4aBXZWn70X7K5DE=
=z6nR
-END PGP SIGNATURE-


-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench   
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs From et
Reply-To:

To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: [repost] wifi rt61 via module-assistant : un peu galère, non ?

2007-10-17 Par sujet Thierry Chatelet
On Wednesday 17 October 2007 19:40, Bulot Grégory wrote:
 [repost car pas vu 2 heures après envoi]

 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)


http://doc.ubuntu-fr.org/materiel/wifi/rt61.
marche parfait sur 3 boîtes



Re: [repost] wifi rt61 via module-assistant : un peu galère, non ?

2007-10-17 Par sujet Bulot Grégory
Le mercredi 17 octobre 2007 20:11, David Prévot a écrit :
 Bulot Grégory a écrit :
  [repost car pas vu 2 heures après envoi]

 Et pourtant...


ça surprend  quand cela arrive 

 Donc deux interfaces, sur le même sous réseau, avec la même route ? Si
 je ne m'abuse, il me semble « un peu compliqué » de faire le choix, donc
 une des deux interfaces (au moins) va être mise de côté.


y-a-t-il une solution 'propre' (tout en gardant eth0 et wifi)