Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[wifi rt2500] probleme de configuration [abandonné]
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
tdyp
Apprentice
Apprentice


Joined: 03 Aug 2006
Posts: 154

PostPosted: Tue Aug 29, 2006 1:55 pm    Post subject: [wifi rt2500] probleme de configuration [abandonné] Reply with quote

et oui encore un.
probleme, je n ai pas trouver de solution dans les autres cas. voila mon probleme

]bonjour a tous
donc je reviens pour vous exposer mon probleme pour la configuration du ma carte wifi integre ralink rt2500

actuellement je suis sous windows mais je repasserais sous G. des que j aurais exposer mon probleme. ca permettra deja de placer le probleme.

donc j ai vu que sur G. il y avait ndiswrapper. j ai lu qu il permettait d utiliser les pilotes win sous linux. je l installe via emerge, recupere les fichiers, l installe se passe bien mais lorsque l on ajoute le module au noyau: un message d erreur. dmesg me mets un message mais bon j ai virer ndiswrapper, il est encore trop controversé.

ne me laissant pas abattre j ai vu qu il y avait un post traitant de l installation du wifi pour rt2500 facon gentoo... j emerge les fichiers rt2500 (il n est pas masqué pour moi ) ok, je suis la methode ok jusqu a de moment la:
Code:
# modprobe rt2500 ; iwconfig ra0 ; ifconfig ra0
ra0       RT2500 Wireless  ESSID:""
          Mode:Managed  Frequency=2.412 GHz  Bit Rate:1 Mb/s
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Link Quality=0/100  Signal level=-120 dBm  Noise level:-256 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

ra0       Protokoll:Ethernet  Hardware Adresse 00:11:22:33:44:55
          BROADCAST 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
          Kollisionen:0 Sendewarteschlangenlänge:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:11 Basisadresse:0x8000


voila ce que moi j ai:

Code:
# modprobe rt2500 ; iwconfig ra0 ; ifconfig ra0
ra0       no wireless extensions.

ra0       Link encap:Ethernet  HWaddr 00:10:60:63:0D:91
          BROADCAST 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 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:10 Base address:0x4000

de plus ma carte ra0 n apparait que lorsque je l active:

voila ce que me donnait un ifconfig -a seul:
Code:

eth0      Link encap:Ethernet  HWaddr 00:40:D0:86:5B:A4
          inet addr:192.168.0.4  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2464 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2177 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2439223 (2.3 Mb)  TX bytes:230327 (224.9 Kb)
          Interrupt:7 Base address:0xe000

eth1      Link encap:UNSPEC  HWaddr 00-40-D0-01-00-36-CA-16-00-00-00-00-00-00-00-00
          BROADCAST 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 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:200 (200.0 b)  TX bytes:200 (200.0 b)


lorsque je fait:

Code:
# modprobe ra0


puii un ifconfig -a
Code:

# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:40:D0:86:5B:A4
          inet addr:192.168.0.4  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2465 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2178 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2439593 (2.3 Mb)  TX bytes:230393 (224.9 Kb)
          Interrupt:7 Base address:0xe000

eth1      Link encap:UNSPEC  HWaddr 00-40-D0-01-00-36-CA-16-00-00-00-00-00-00-0 0-00
          BROADCAST 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 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:200 (200.0 b)  TX bytes:200 (200.0 b)

ra0       Link encap:Ethernet  HWaddr 00:10:60:63:0D:91
          BROADCAST 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 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:10 Base address:0x4000


merci pour votre aide


Last edited by tdyp on Sun Nov 05, 2006 10:32 pm; edited 1 time in total
Back to top
View user's profile Send private message
man in the hill
Veteran
Veteran


Joined: 15 Dec 2005
Posts: 1552
Location: Madinina

PostPosted: Tue Aug 29, 2006 3:42 pm    Post subject: Reply with quote

Salut,


j'utilise les pilotes rt2500 ... Il faut que tu rajoutes rt2500 ds le fichier /etc/modules.autoload.d/kernel-2.6 pour un montage automatique au démarrage ensuite tu suis la doc gentoo pour une conf en dhcp ds la fichier /etc/conf.d/net ...



@ +
_________________
Get Up and Go !
Back to top
View user's profile Send private message
tdyp
Apprentice
Apprentice


Joined: 03 Aug 2006
Posts: 154

PostPosted: Tue Aug 29, 2006 7:14 pm    Post subject: Reply with quote

ok jai rajouter la ligne pour le module

maintenant une question:
a la page 85 du guide gentoo ils indiquent qu on peut a la place de remplir le fichier wireless ( comme de par hasar c est ce que j avais fait...)
donc question voila mon fichier wireless est ce que je peux le rajouter tel quel dans le fichier /etc/conf.d/net

fichier wireless:

Code:
#ma config
#choix su essid -> any pour se connecter a n importe quel essid
wlan_ra0="any"

#clef du essid
key_wlan="s:XXXXXXXXXX"

#mode de connexion auto ad hoc managed ou master
mode_ra0="auto"

#canal de communication
channel_ra0="7"

#autres commandes de configuration
iwconfig_ra0=""
iwpriv_ra0=""
sleep_scan_ra0="2"
sleep_associate_ra0="3"
associate_test_ra0="MAC"
config_wlan=( "dhcp" )
dhcpcd_wlan="-t 3"
Back to top
View user's profile Send private message
man in the hill
Veteran
Veteran


Joined: 15 Dec 2005
Posts: 1552
Location: Madinina

PostPosted: Tue Aug 29, 2006 8:50 pm    Post subject: Reply with quote

je pense qu'il n'y a pas de soucis ! A mon avis le système recherche ds ces deux fichiers pour configurer le réseau ...
_________________
Get Up and Go !
Back to top
View user's profile Send private message
tdyp
Apprentice
Apprentice


Joined: 03 Aug 2006
Posts: 154

PostPosted: Tue Aug 29, 2006 11:04 pm    Post subject: Reply with quote

:? ok je vais tester mais je vous avoue avoir quelques heu.... disons que je reste sceptique sur le resultat... :roll:
Back to top
View user's profile Send private message
titoucha
Advocate
Advocate


Joined: 21 Jul 2005
Posts: 2374
Location: Genève

PostPosted: Wed Aug 30, 2006 12:52 am    Post subject: Reply with quote

Il n'y a pas de soucis j'utilises aussi le pilote rt2500 et j'ai ma configuration dans /etc/conf.d/wireless et ça fonctionne. :D
Back to top
View user's profile Send private message
tdyp
Apprentice
Apprentice


Joined: 03 Aug 2006
Posts: 154

PostPosted: Wed Aug 30, 2006 12:05 pm    Post subject: Reply with quote

titoucha wrote:
Il n'y a pas de soucis j'utilises aussi le pilote rt2500 et j'ai ma configuration dans /etc/conf.d/wireless et ça fonctionne. :D
ok je teste donc ca je revien dire ca ti suite
Back to top
View user's profile Send private message
tdyp
Apprentice
Apprentice


Joined: 03 Aug 2006
Posts: 154

PostPosted: Wed Aug 30, 2006 12:59 pm    Post subject: Reply with quote

bon y a visiblement un truc que je fais mal ou que je ne fait pas
premiere chose j aimerai savoir comment je sais si le fichier wireless est bien pris en compte. si je boot j ai beau faire un ifconfig -a =>ok mais un iwconfig me renvoi toujours un message qui me dit qu il n y a pas d extension pour le sans fil ou un truc comme ca.

de plus dans le guide il explique que la configuration du fichier conf.d/net implique aussi un ajout de ce fichier dans le script de demarrage par rc-update.
probleme le fichier wireless n est pas dans init.d donc aucune possibilite de l ajouter... alors comment faire????
Back to top
View user's profile Send private message
titoucha
Advocate
Advocate


Joined: 21 Jul 2005
Posts: 2374
Location: Genève

PostPosted: Wed Aug 30, 2006 6:26 pm    Post subject: Reply with quote

C'est pas ce fichier qu'il faut mettre dans le rc-update.

Il te faut créer un lien symbolique sur le script /etc/init.d/net.lo
Code:
ln -s /etc/init.d/net.lo /etc/init.d/net.ra0
et c'est ce lien qu'il faut ensuite déclarer avec rc-update pour le démarrage
Code:
rc-update add net.ra0 default
Back to top
View user's profile Send private message
dapsaille
Advocate
Advocate


Joined: 02 Aug 2004
Posts: 2366
Location: Paris

PostPosted: Wed Aug 30, 2006 10:36 pm    Post subject: Reply with quote

Bonjour à toi ..

déja tente une configuration manuelle :p



rmmod rt2500
modprobe rt2500
ifconfig ra0 IPQUIVASBIEN up
route add default gw IPDETONROUTEUR
iwconfig ra0 essid "NOMDETONPOINTACCES"

et teste un ping vers ton routeur .. si c'est bon fait ta configuration comme indiqué précédemment
Back to top
View user's profile Send private message
tdyp
Apprentice
Apprentice


Joined: 03 Aug 2006
Posts: 154

PostPosted: Thu Aug 31, 2006 12:09 pm    Post subject: Reply with quote

dapsaille wrote:
Bonjour à toi ..

déja tente une configuration manuelle :p



rmmod rt2500
modprobe rt2500
ifconfig ra0 IPQUIVASBIEN up
route add default gw IPDETONROUTEUR
iwconfig ra0 essid "NOMDETONPOINTACCES"

et teste un ping vers ton routeur .. si c'est bon fait ta configuration comme indiqué précédemment
:D marci je teste ca tisuite!!!!!!!!! :wink:
Back to top
View user's profile Send private message
tdyp
Apprentice
Apprentice


Joined: 03 Aug 2006
Posts: 154

PostPosted: Thu Aug 31, 2006 12:23 pm    Post subject: Reply with quote

:? ok bon visiblement on avance un peu...
Code:

localhost ~ # rmmod rt2500
localhost ~ # modprobe rt2500
localhost ~ # ifconfig ra0 192.168.0.3 up
localhost ~ # route add default gw 192.168.0.1
SIOCADDRT: File exists
localhost ~ # iwconfig ra0 essid "wlan"
Cannot read[color=red] /proc/net/wireless[/color]
Error for wireless request "Set ESSID" (8B1A) :
    SET failed on device ra0 ; Invalid argument.


j ai regarder ce qu etait ce fichier en cherchant, mais je ne l ai pas trouver sur mon poste, doit il etre editer ou creer par un programme... la est le mystere pour moi
Back to top
View user's profile Send private message
titoucha
Advocate
Advocate


Joined: 21 Jul 2005
Posts: 2374
Location: Genève

PostPosted: Fri Sep 01, 2006 2:03 am    Post subject: Reply with quote

Il ne faut pas chercher ce fichier car il est créer et si jamais détruit dynamiquement par le système.

Tu en est ou de ton problème car ça ma l'air un peu confus. :?
Back to top
View user's profile Send private message
tdyp
Apprentice
Apprentice


Joined: 03 Aug 2006
Posts: 154

PostPosted: Fri Sep 01, 2006 11:29 pm    Post subject: Reply with quote

:? ben je reste bloqué. en fait iwconfig me mets le meme message. je ne sais pas ou me diriger en fait. le peripherique est je pense bien installé mais pas de detection de ssid et une config incertaine... :s
Back to top
View user's profile Send private message
man in the hill
Veteran
Veteran


Joined: 15 Dec 2005
Posts: 1552
Location: Madinina

PostPosted: Sat Sep 02, 2006 12:01 am    Post subject: Reply with quote

Salut,

Si tu essais cela ds /etc/conf.d/net

Code:

modules=( "iwconfig" )
config_ra0=( "dhcp" )
essid_ra0="ESSID"
channel_ra0="le canal "


@ +
_________________
Get Up and Go !
Back to top
View user's profile Send private message
tdyp
Apprentice
Apprentice


Joined: 03 Aug 2006
Posts: 154

PostPosted: Thu Sep 07, 2006 2:43 am    Post subject: Reply with quote

man in the hill wrote:
Salut,

Si tu essais cela ds /etc/conf.d/net

Code:

modules=( "iwconfig" )
config_ra0=( "dhcp" )
essid_ra0="ESSID"
channel_ra0="le canal "


@ +


dsl pour le retard, je teste ca et reviens rendre compte
Back to top
View user's profile Send private message
tdyp
Apprentice
Apprentice


Joined: 03 Aug 2006
Posts: 154

PostPosted: Thu Sep 07, 2006 3:38 am    Post subject: Reply with quote

bon j ai rentré ce que tu viens de me donner comme info:
pareil chou blanc!
Code:

localhost ~ # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:40:D0:86:5B:A4
          inet addr:192.168.0.4  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:238 errors:0 dropped:0 overruns:0 frame:0
          TX packets:267 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:76099 (74.3 Kb)  TX bytes:26442 (25.8 Kb)
          Interrupt:7 Base address:0xe000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:200 (200.0 b)  TX bytes:200 (200.0 b)

localhost ~ # iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

ra0       no wireless extensions.

localhost ~ #
:( une autre idee???
Back to top
View user's profile Send private message
titoucha
Advocate
Advocate


Joined: 21 Jul 2005
Posts: 2374
Location: Genève

PostPosted: Thu Sep 07, 2006 5:08 am    Post subject: Reply with quote

Regarde aussi avec le programme RaConfig2500 c'est un interface graphique qui modifie le fichier /etc/Wireless/RT2500STA/RT2500STA.dat qui est utilisé par le module rt2500 lors de sont lancement et j'ai constaté que si celui-ci n'était pas correctement renseigné le module ne fonctionnait pas.
Back to top
View user's profile Send private message
tdyp
Apprentice
Apprentice


Joined: 03 Aug 2006
Posts: 154

PostPosted: Fri Sep 08, 2006 4:16 pm    Post subject: Reply with quote

voila j ai essayer de lancer RaConfig2500 et voila ce que j ai recolté:
http://img373.imageshack.us/my.php?image=screenshot1qk7.png

j ai lu dans un post qu il fallait rajouter le "&" a la fin de la commande ... ce que j ai fait... resultat:
http://img442.imageshack.us/my.php?image=screenshot2zr4.png

ps: si les photos sont trop petites dites moi je reediterai ;-)

donc je pense que meme si j ai tout bien fait... en fait la carte n est meme pas installé cependant quand je fais un lshw j ai ceci:
Code:

*-network:0 UNCLAIMED
             description: Network controller
             product: RT2500 802.11g Cardbus/mini-PCI
             vendor: RaLink
             physical id: 15
             bus info: pci@00:15.0
             version: 01
             width: 32 bits
             clock: 33MHz
             capabilities: bus_master cap_list
             resources: iomemory:d0008000-d0009fff irq:10

ou plus loin
Code:
-network:0
             description: Ethernet interface
             product: RT2500 802.11g Cardbus/mini-PCI
             vendor: RaLink
             physical id: 15
             bus info: pci@00:15.0
             logical name: ra0
             version: 01
             serial: 00:10:60:63:0d:91
             width: 32 bits
             clock: 33MHz
             capabilities: bus_master cap_list ethernet physical
             configuration: broadcast=yes driver=rt2500 multicast=yes
             resources: iomemory:d0008000-d0009fff irq:10


donc le je ne sais plus trop quoi penser.... :?
Back to top
View user's profile Send private message
titoucha
Advocate
Advocate


Joined: 21 Jul 2005
Posts: 2374
Location: Genève

PostPosted: Sat Sep 09, 2006 2:27 am    Post subject: Reply with quote

Je te donnes le contenu de mon fichier /etc/Wireless/RT2500STA/RT2500STA.dat
Code:
# Copy this file to /etc/Wireless/RT2500STA/RT2500STA.dat
# This file is a binary file and will be read on loading rt2500.o module.
# Use "vi -b RT2500STA.dat" to modify settings according to your need.

[Default]
AdhocOfdm=0
CountryRegion=0
WirelessMode=0
TXBurst=0
TurboRate=0
BGProtection=0
ShortSlot=0
TxRate=0
PSMode=CAM
SSID=XXXXXXXXXX  <---------là ton ESSID
Channel=10
DefaultKeyID=1
Key1=YYYYYYYYYYYY <------ là ta clef en hexadécimal
PSMode=CAM
ProfileID=
NetworkType=Infra
PreambleType=Long
RTSThreshold=1650799160
FragThreshold=1630680931

je t'ai mis les endrois ou il fallait remplir quelque chose, j'ai mis pour du WEP car je n'ai pas réussi à faire passer le WPA.
Back to top
View user's profile Send private message
tdyp
Apprentice
Apprentice


Joined: 03 Aug 2006
Posts: 154

PostPosted: Sun Sep 10, 2006 9:42 pm    Post subject: Reply with quote

:? merci quand meme je vais tenter. mais c est dommage, je vais devoir reconfigurer mon wlan... bref je teste et je reviens dire des nouvelles. si quelqu un a tout hasard a une config pour du wpa ca serait bien urbain ;-)
Back to top
View user's profile Send private message
titoucha
Advocate
Advocate


Joined: 21 Jul 2005
Posts: 2374
Location: Genève

PostPosted: Mon Sep 11, 2006 12:00 am    Post subject: Reply with quote

Une fois que l'interface monte tu peux facilement configurer le Wpa avec l'interface graphique.
Back to top
View user's profile Send private message
tdyp
Apprentice
Apprentice


Joined: 03 Aug 2006
Posts: 154

PostPosted: Mon Sep 11, 2006 11:55 am    Post subject: Reply with quote

j avais vu sur un topic, qu une personne avait reussi a configurer son wifi en editant son fichier .dat effectivement. mais ce que j aimerais savoir c est malgré mes erreurs, l edition de ce fichier sera t il necessaire...? :? je l espere...
Back to top
View user's profile Send private message
titoucha
Advocate
Advocate


Joined: 21 Jul 2005
Posts: 2374
Location: Genève

PostPosted: Tue Sep 12, 2006 1:09 am    Post subject: Reply with quote

tdyp wrote:
j avais vu sur un topic, qu une personne avait reussi a configurer son wifi en editant son fichier .dat effectivement. mais ce que j aimerais savoir c est malgré mes erreurs, l edition de ce fichier sera t il necessaire...? :? je l espere...


Pas trop bien compris où tu veux en venir, mais oui tu peux tout à fait l'éditer ce fichier
Back to top
View user's profile Send private message
tdyp
Apprentice
Apprentice


Joined: 03 Aug 2006
Posts: 154

PostPosted: Thu Sep 14, 2006 7:53 pm    Post subject: Reply with quote

titoucha wrote:
Je te donnes le contenu de mon fichier /etc/Wireless/RT2500STA/RT2500STA.dat
Code:
# Copy this file to /etc/Wireless/RT2500STA/RT2500STA.dat
# This file is a binary file and will be read on loading rt2500.o module.
# Use "vi -b RT2500STA.dat" to modify settings according to your need.

[Default]
AdhocOfdm=0
CountryRegion=0
WirelessMode=0
TXBurst=0
TurboRate=0
BGProtection=0
ShortSlot=0
TxRate=0
PSMode=CAM
SSID=XXXXXXXXXX  <---------là ton ESSID
Channel=10
DefaultKeyID=1
Key1=YYYYYYYYYYYY <------ là ta clef en hexadécimal
PSMode=CAM
ProfileID=
NetworkType=Infra
PreambleType=Long
RTSThreshold=1650799160
FragThreshold=1630680931

je t'ai mis les endrois ou il fallait remplir quelque chose, j'ai mis pour du WEP car je n'ai pas réussi à faire passer le WPA.


j ai copier ton fichier. j ai monté l interface. j ai relancé RaConfig2500
et pareil "device driver not found"... vous savez quoi... j ai beau avoir du wifi sur ce maudit portable je reste et prefere tout de meme l ethernet... je veux bien continuer mais je pense qu a la longue je vais rester en ethernet.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum