Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 03/05/2008, à 21:51

Mayto

Problème wifi, carte Realtek 8187b : Pas de réception ?!

Bien le bonjour smile
Alors voilà, je suis passé sous Ubuntu hier (Gnome), je le trouve vraiment très sympathique.
Donc je commence par le configurer, etc, et, problème qui semble relativement récurant, pas moyen de trouver un pilote pour ma carte wifi...

Qu'à cela ne tienne, un p'tit tuto pour ndiswrapper et c'est parti. Mais le problème persiste, et de façon assez spécial.

Explication :
ndiswrapper est apparement correctement configuré, un ndiswrapper -l me renvoie ceci :

net8187b : driver installed
	device (0BDA:8189) present

Je l'ai bien chargé dans les modules via modprobe, bref j'ai suivi le tutoriel.
Si je fais un sudo iwlist wlan0 scan, il détecte mon wifi.

Seulement voilà ; pas moyen de m'y connecter. J'empreinte la clé usb de l'ordinateur de ma mère (:rolleyes:), avec laquelle ça fonctionne impec'...

Bref, le problème semble être que ma carte ne reçoit pas le wifi, (k)network manager m'indiquant une portée de "0%".

Pourtant je n'ai pas changé de place, et sous Vista j'avais une réception toujours proche de 100% hmm

Je teste donc sur une seconde clé usb wifi, nécessitant aussi ndiswrapper : même résultat...
Ca viendrait donc de ndiswrapper ?

Mais bon, étant plutôt tout neuf dans le domain... Je m'en remets à vous... Pitié ! xD


Les informations demandées :

mayto@mayto-laptop:~$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu 8.04"
mayto@mayto-laptop:~$ lsusb
Bus 004 Device 002: ID 046d:c001 Logitech, Inc. N48/M-BB48 [FirstMouse Plus]
Bus 004 Device 001: ID 0000:0000  
Bus 003 Device 001: ID 0000:0000  
Bus 002 Device 003: ID 5986:0130 Bison 
Bus 002 Device 002: ID 0bda:8189 Realtek Semiconductor Corp. 
Bus 002 Device 001: ID 0000:0000  
Bus 001 Device 002: ID 0bda:0158 Realtek Semiconductor Corp. 
Bus 001 Device 001: ID 0000:0000  
mayto@mayto-laptop:~$ lspci
00:00.0 RAM memory: nVidia Corporation MCP67 Memory Controller (rev a2)
00:01.0 ISA bridge: nVidia Corporation MCP67 ISA Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation MCP67 SMBus (rev a2)
00:01.3 Co-processor: nVidia Corporation MCP67 Co-processor (rev a2)
00:02.0 USB Controller: nVidia Corporation MCP67 OHCI USB 1.1 Controller (rev a2)
00:02.1 USB Controller: nVidia Corporation MCP67 EHCI USB 2.0 Controller (rev a2)
00:04.0 USB Controller: nVidia Corporation MCP67 OHCI USB 1.1 Controller (rev a2)
00:04.1 USB Controller: nVidia Corporation MCP67 EHCI USB 2.0 Controller (rev a2)
00:06.0 IDE interface: nVidia Corporation MCP67 IDE Controller (rev a1)
00:07.0 Audio device: nVidia Corporation MCP67 High Definition Audio (rev a1)
00:08.0 PCI bridge: nVidia Corporation MCP67 PCI Bridge (rev a2)
00:09.0 IDE interface: nVidia Corporation MCP67 AHCI Controller (rev a2)
00:0a.0 Ethernet controller: nVidia Corporation MCP67 Ethernet (rev a2)
00:0b.0 PCI bridge: nVidia Corporation MCP67 PCI Express Bridge (rev a2)
00:0c.0 PCI bridge: nVidia Corporation MCP67 PCI Express Bridge (rev a2)
00:0d.0 PCI bridge: nVidia Corporation MCP67 PCI Express Bridge (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:06.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev c0)
02:00.0 VGA compatible controller: nVidia Corporation GeForce 8600M GS (rev a1)
mayto@mayto-laptop:~$ sudo lshw -C network
  *-network               
       description: Ethernet interface
       product: MCP67 Ethernet
       vendor: nVidia Corporation
       physical id: a
       bus info: pci@0000:00:0a.0
       logical name: eth0
       version: a2
       serial: 00:14:0b:3f:fc:82
       capacity: 100MB/s
       width: 32 bits
       clock: 66MHz
       capabilities: pm msi ht bus_master cap_list ethernet physical mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=forcedeth driverversion=0.61 latency=0 link=no maxlatency=20 mingnt=1 module=forcedeth multicast=yes port=MII
  *-network
       description: Wireless interface
       physical id: 1
       logical name: wlan0
       serial: 00:15:af:4b:51:09
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=ndiswrapper+net8187b driverversion=1.52+Realtek Semiconductor Corp. link=no multicast=yes wireless=IEEE 802.11g
mayto@mayto-laptop:~$ lsmod
Module                  Size  Used by
ndiswrapper           193564  0 
michael_mic             3456  0 
arc4                    2944  0 
ecb                     4480  0 
blkcipher               8324  1 ecb
ieee80211_crypt_tkip    11648  0 
af_packet              23812  0 
zd1211rw               56964  0 
ieee80211softmac       30976  1 zd1211rw
ieee80211              35528  2 zd1211rw,ieee80211softmac
ieee80211_crypt         7040  2 ieee80211_crypt_tkip,ieee80211
ipv6                  267780  12 
binfmt_misc            12808  1 
rfcomm                 41744  2 
l2cap                  25728  13 rfcomm
bluetooth              61156  4 rfcomm,l2cap
ppdev                  10372  0 
powernow_k8            16704  1 
cpufreq_userspace       5284  0 
cpufreq_ondemand        9740  1 
cpufreq_stats           7104  0 
cpufreq_conservative     8712  0 
cpufreq_powersave       2688  0 
freq_table              5536  3 powernow_k8,cpufreq_ondemand,cpufreq_stats
sbs                    15112  0 
sbshc                   7680  1 sbs
video                  19856  0 
output                  4736  1 video
dock                   11280  0 
container               5632  0 
iptable_filter          3840  0 
ip_tables              14820  1 iptable_filter
x_tables               16132  1 ip_tables
sbp2                   24072  0 
parport_pc             36260  0 
lp                     12324  0 
parport                37832  3 ppdev,parport_pc,lp
joydev                 13120  0 
uvcvideo               58116  0 
snd_usb_audio          83936  0 
snd_usb_lib            18432  1 snd_usb_audio
compat_ioctl32          2304  1 uvcvideo
videodev               29440  1 uvcvideo
v4l1_compat            15492  2 uvcvideo,videodev
v4l2_common            18304  2 uvcvideo,videodev
nvidia               7113952  40 
agpgart                34760  1 nvidia
i2c_core               24832  1 nvidia
snd_hda_intel         344728  2 
evdev                  13056  6 
snd_pcm_oss            42144  0 
snd_mixer_oss          17920  1 snd_pcm_oss
ac                      6916  0 
snd_pcm                78596  3 snd_usb_audio,snd_hda_intel,snd_pcm_oss
snd_page_alloc         11400  2 snd_hda_intel,snd_pcm
battery                14212  0 
snd_hwdep              10500  2 snd_usb_audio,snd_hda_intel
snd_seq_dummy           4868  0 
serio_raw               7940  0 
snd_seq_oss            35584  0 
snd_seq_midi            9376  0 
psmouse                40336  0 
snd_rawmidi            25760  2 snd_usb_lib,snd_seq_midi
snd_seq_midi_event      8320  2 snd_seq_oss,snd_seq_midi
button                  9232  0 
snd_seq                54224  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              24836  2 snd_pcm,snd_seq
snd_seq_device          9612  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd                    56996  17 snd_usb_audio,snd_usb_lib,snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_hwdep,snd_seq_dummy,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore               8800  1 snd
shpchp                 34452  0 
pci_hotplug            30880  1 shpchp
pcspkr                  4224  0 
k8temp                  6656  0 
ext3                  136712  2 
jbd                    48404  1 ext3
mbcache                 9600  1 ext3
sg                     36880  0 
sr_mod                 17956  0 
cdrom                  37408  1 sr_mod
sd_mod                 30720  5 
usbhid                 31872  0 
hid                    38784  1 usbhid
usb_storage            73664  0 
ahci                   28420  4 
pata_amd               14212  0 
ata_generic             8324  0 
libusual               19108  1 usb_storage
ohci1394               33584  0 
pata_acpi               8320  0 
forcedeth              51980  0 
ieee1394               93752  2 sbp2,ohci1394
ohci_hcd               25348  0 
ehci_hcd               37900  0 
libata                159344  4 ahci,pata_amd,ata_generic,pata_acpi
scsi_mod              151436  6 sbp2,sg,sr_mod,sd_mod,usb_storage,libata
usbcore               146028  11 ndiswrapper,zd1211rw,uvcvideo,snd_usb_audio,snd_usb_lib,usbhid,usb_storage,libusual,ohci_hcd,ehci_hcd
thermal                16796  0 
processor              36872  2 powernow_k8,thermal
fan                     5636  0 
fbcon                  42912  0 
tileblit                3456  1 fbcon
font                    9472  1 fbcon
bitblit                 6784  1 fbcon
softcursor              3072  1 bitblit
fuse                   50580  5 
mayto@mayto-laptop:~$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11g  ESSID:off/any  
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated   
          Bit Rate:54 Mb/s   Tx-Power:20 dBm   Sensitivity=0/3  
          RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

mayto@mayto-laptop:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:14:0b:3f:fc:82  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          Packets reçus:0 erreurs:0 :0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          Octets reçus:0 (0.0 B) Octets transmis:0 (0.0 B)
          Interruption:219 Adresse de base:0x2000 

lo        Link encap:Boucle locale  
          inet adr:127.0.0.1  Masque:255.0.0.0
          adr inet6: ::1/128 Scope:Hôte
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          Packets reçus:216 erreurs:0 :0 overruns:0 frame:0
          TX packets:216 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          Octets reçus:10800 (10.5 KB) Octets transmis:10800 (10.5 KB)

wlan0     Link encap:Ethernet  HWaddr 00:15:af:4b:51:09  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          Packets reçus:34 erreurs:0 :0 overruns:0 frame:0
          TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          Octets reçus:4544 (4.4 KB) Octets transmis:4512 (4.4 KB)

mayto@mayto-laptop:~$ iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

wlan0     Scan completed :
          Cell 01 - Address: 00:07:CB:54:D2:27
                    ESSID:"plume"
                    Protocol:IEEE 802.11g
                    Mode:Managed
                    Frequency:2.412 GHz (Channel 1)
                    Quality:60/100  Signal level:-57 dBm  Noise level:-96 dBm
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
                              12 Mb/s; 48 Mb/s
                    Extra:bcn_int=100
                    Extra:atim=0
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : PSK
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : PSK

mayto@mayto-laptop:~$ uname -r -m
2.6.24-16-generic i686
mayto@mayto-laptop:~$ cat /etc/network/interfaces
auto lo
iface lo inet loopback

mayto@mayto-laptop:~$

Carte wifi : Realtek 8187b
Pilotes utilisés : pilote officiel net8187b.inf pour Windows 98
ndiswrapper : version fournie sur le site officielle, compilé / installé à partir de ce tuto.

Résumé :
Deux carte différentes (une clé, une carte intégré), de chipset différent (8187b / sis163u je crois), qui ne fonctionnent pas soous ndiswrapper, toutes les deux.
Tentative de connection de la carte, réception affiché à "0%", demande de la clé WPA => que j'entre, retentative de connection, redemande la clé.
Même chose avec une WEP.

J'espère avoir fourni suffisament d'informations pour qui vous puissiez m'aider à résoudre ce problème...

ps : J'ai déjà posté dans le forum Internet et réseaux, je n'avais pas remarqué cette section spécialisée... Si un modérateur veut bien supprimer mon ancien topic... Merci d'avance smile

Hors ligne

#2 Le 03/05/2008, à 23:08

brunix

Re : Problème wifi, carte Realtek 8187b : Pas de réception ?!

Bonjour ,

   J'ai rencontré le même problème , résolu depuis , voir le lien suivant.

   http://doc.ubuntu-fr.org/easynote_sj81-b-018w

Hors ligne

#3 Le 03/05/2008, à 23:56

Mayto

Re : Problème wifi, carte Realtek 8187b : Pas de réception ?!

Merci de ta réponse ^^
En revanche il y a des trucs dans la démarche que je ne comprends pas trop...

sudo apt-get install patch
sudo cd /etc
sudo mkdir rtl8187b
sudo cd rtl8187b
sudo wget http://www.datanorth.net/%7Ecuervo/rtl8187b/rtl8187b-modified- dist.tar.gz
sudo tar -zxvf rtl8187b-modified-dist.tar.gz
sudo cd rtl8187b-modified
sudo wget http://www.datanorth.net/%7Ecuervo/rtl8187b/2.6.24.patch
sudo patch -p1 < 2.6.24.patch
sudo ./makedrv && sudo ./install
sudo mkdir /etc/rtl8187b
sudo cp /etc/rtl8187b/rtl8187b-modified/wlan0up /etc/8187b
sudo cp /etc/rtl8187b/rtl8187b-modified/wlan0down /etc/8187b

Si on regarde bien... au début, on crée un répertoire /etc/rtl8187b.
Chose qu'on nous redemande à la fin.

Du coup j'capte pas trop où il faut placer les fichiers...
De plus : "sudo cp /etc/rtl8187b/rtl8187b-modified/wlan0up /etc/8187b"
D'où sort ce 8187b ?

Merci d'avance smile

Dernière modification par Mayto (Le 04/05/2008, à 00:01)

Hors ligne

#4 Le 04/05/2008, à 12:26

Mayto

Re : Problème wifi, carte Realtek 8187b : Pas de réception ?!

Petit up ^^

Dernière modification par Mayto (Le 04/05/2008, à 12:28)

Hors ligne

#5 Le 04/05/2008, à 15:20

brunix

Re : Problème wifi, carte Realtek 8187b : Pas de réception ?!

Bonjour Mayto ,

Fautes de frappe et une ligne en trop , j'ai corrigé le lien.
( merci pour tes remarques ).

Hors ligne

#6 Le 04/05/2008, à 18:15

Mayto

Re : Problème wifi, carte Realtek 8187b : Pas de réception ?!

Encore merci de ton aide, seulement j'ai un petit problème :
Je suis la première partie du tutoriel à la lettre, mais arrivé au moment de tester l'activation de l'interface wlan0 :

mayto@mayto-laptop:/etc/rtl8187b/rtl8187b-modified$ sudo /etc/rtl8187b/wlan0up
/etc/rtl8187b/wlan0up: line 26: cd: ieee80211/: Aucun fichier ou dossier de ce type
insmod: can't read 'ieee80211_crypt-rtl.ko': No such file or directory
insmod: can't read 'ieee80211_crypt_wep-rtl.ko': No such file or directory
insmod: can't read 'ieee80211_crypt_tkip-rtl.ko': No such file or directory
insmod: can't read 'ieee80211_crypt_ccmp-rtl.ko': No such file or directory
insmod: can't read 'ieee80211-rtl.ko': No such file or directory
/etc/rtl8187b/wlan0up: line 33: cd: ../rtl8187/: Aucun fichier ou dossier de ce type
insmod: can't read 'r8187.ko': No such file or directory

J'ai pourtant suivi les instructions à la lettre...
J'ai donc essayé ceci :

mayto@mayto-laptop:/etc/rtl8187b/rtl8187b-modified$ sudo /etc/rtl8187b/rtl8187b-modified/wlan0up
insmod: error inserting 'ieee80211_crypt-rtl.ko': -1 Invalid module format
insmod: error inserting 'ieee80211_crypt_wep-rtl.ko': -1 Unknown symbol in module
insmod: error inserting 'ieee80211_crypt_tkip-rtl.ko': -1 Unknown symbol in module
insmod: error inserting 'ieee80211_crypt_ccmp-rtl.ko': -1 Unknown symbol in module
insmod: error inserting 'ieee80211-rtl.ko': -1 Unknown symbol in module
insmod: error inserting 'r8187.ko': -1 Unknown symbol in module

Sans plus de résultats...
Donc je ne vois pas vraiment d'explication... Une idée ?
Merci d'avance ^^

[[edit : Je viens de voir que les explications sont pour la version 64 bits d'Hardy...
J'ai en effet deux processeur 64 bits (j'avais jamais fait attention), mais j'ai installé la version 32 bits.

Est-ce que ça pourrait venir de là ?
(y'a pas de raison, mais sait-on jamais...)

Et, si oui, je vais de voir réinstaller mon Ubuntu... ?]]
re edit :
Après recherche sur les différences entre les deux versions, il n'y a en effet, aucune raison.

Dernière modification par Mayto (Le 04/05/2008, à 19:33)

Hors ligne

#7 Le 04/05/2008, à 19:14

brunix

Re : Problème wifi, carte Realtek 8187b : Pas de réception ?!

Passe la commande

sudo find / -name "ieee80211_crypt-rtl.ko"

et donne moi le résultat

Hors ligne

#8 Le 04/05/2008, à 19:31

Mayto

Re : Problème wifi, carte Realtek 8187b : Pas de réception ?!

Merci de ta réponse...

find: /home/mayto/.gvfs: Permission non accordée
/home/mayto/.local/share/Trash/files/rtl8187b-modified/ieee80211/ieee80211_crypt-rtl.ko
/home/mayto/.local/share/Trash/files/rtl8187b/rtl8187b-modified/ieee80211/ieee80211_crypt-rtl.ko
/etc/rtl8187b/rtl8187b-modified/ieee80211/ieee80211_crypt-rtl.ko
/root/.local/share/Trash/files/rtl8187b/rtl8187b-modified/ieee80211/ieee80211_crypt-rtl.ko

Voilà ^^

Dernière modification par Mayto (Le 04/05/2008, à 19:32)

Hors ligne

#9 Le 04/05/2008, à 20:13

brunix

Re : Problème wifi, carte Realtek 8187b : Pas de réception ?!

On va faire plus simple

passe la commande :
     gedit inst_rt8187b.sh

Ajoute les lignes suivantes dans le fichier et enregistre le


#!/bin/bash
# =====================================================
ferror(){ echo "ERROR DETECT : ${@}"; exit 1; }

apt-get install patch
cd /etc || ferror "cd /etc"
mkdir -p rtl8187b || ferror "mkdir rtl8187b"
cd /etc/rtl8187b || ferror "/etc/rtl8187b"
http://www.datanorth.net/~cuervo/rtl8187b/rtl8187b-modified-dist.tar.gz  || ferror "wget http://www.datanorth.net/~cuervo/rtl8187b/rt...."
tar -zxvf rtl8187b-modified-dist.tar.gz || ferror "tar -zxvf rtl8187b-modified-dist.tar.gz"
cd /etc/rtl8187b/rtl8187b-modified  || ferror "cd /etc/rtl8187b/rtl8187b-modified"
wget http://www.datanorth.net/~cuervo/rtl8187b/2.6.24.patch || ferror "wget http://www.datanorth.net/~cuervo/rtl8187b/2.6.24.patch"
patch -p1 < 2.6.24.patch || ferror "patch -p1 < 2.6.24.patch"
./makedrv && ./install ||  ferror "./makedrv && ./install"

clear
echo "Success install driver rtl8187b"
echo "Test interface wlan0"

ifconfig | grep wlan0 || { /etc/rtl8187b/rtl8187b-modified/wlan0up && echo "success Up wlan0"; }
ifconfig | grep wlan0 && { /etc/rtl8187b/rtl8187b-modified/wlan0down && echo "success Down wlan0"; }
ifconfig | grep wlan0 || { /etc/rtl8187b/rtl8187b-modified/wlan0up && echo "success Up wlan0"; }

sleep 3

ifconfig

echo
echo
echo "Add lines below in file /etc/network/interfaces"
echo
echo "pre-up /etc/rtl8187b/rtl8187b-modified/wlan0up"
echo "post-down /etc/rtl8187b/rtl8187b-modified/wlan0down"
# =====================================================

ensuite :
    chmod 755 inst_rt8187b.sh

enfin :

     sudo ./inst_rt8187b.sh

     Si la procédure détecte une anomamlie elle se terminera avec un message d'erreur.
     Sinon elle affichera le résultat des commande up et down de l'interface wlan0.
     Si elle  va jusqu'à la fin ta carte devrais fonctionner.
   
     Je l'ai exécuté sur mon PC , et tu vois je suis encore sur le réseau ...

Dernière modification par brunix (Le 04/05/2008, à 20:38)

Hors ligne

#10 Le 04/05/2008, à 20:26

Mayto

Re : Problème wifi, carte Realtek 8187b : Pas de réception ?!

Ca à l'air d'avoir fonctionné, je n'ai pas de message d'erreur...

En revanche ma carte ne fonctionne toujours pas T_T
Et un iwconfig ne m'affiche pas de wlan0...

Hors ligne

#11 Le 04/05/2008, à 20:30

brunix

Re : Problème wifi, carte Realtek 8187b : Pas de réception ?!

Si tu as les messages suivants on va pouvoir continuer

Success install driver rtl8187b
Test interface wlan0
wlan0     Link encap:Ethernet  HWaddr 00:15:af:4b:98:d2 
wlan0     Link encap:Ethernet  HWaddr 00:15:af:4b:98:d2 
success Down wlan0
success Up wlan0
lo        Link encap:Boucle locale 
          inet adr:127.0.0.1  Masque:255.0.0.0
          adr inet6: ::1/128 Scope:Hôte
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          Packets reçus:3775 erreurs:0 :0 overruns:0 frame:0
          TX packets:3775 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0
          Octets reçus:1210205 (1.1 MB) Octets transmis:1210205 (1.1 MB)

wlan0     Link encap:Ethernet  HWaddr 00:15:af:4b:98:d2 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          Packets reçus:0 erreurs:0 :0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000
          Octets reçus:0 (0.0 B) Octets transmis:0 (0.0 B)



Add lines below in file /etc/network/interfaces

pre-up /etc/rtl8187b/rtl8187b-modified/wlan0up
post-down /etc/rtl8187b/rtl8187b-modified/wlan0down

Hors ligne

#12 Le 04/05/2008, à 20:39

Mayto

Re : Problème wifi, carte Realtek 8187b : Pas de réception ?!

Success install driver rtl8187b
Test interface wlan0
insmod: error inserting 'ieee80211_crypt-rtl.ko': -1 Invalid module format
insmod: error inserting 'ieee80211_crypt_wep-rtl.ko': -1 Unknown symbol in module
insmod: error inserting 'ieee80211_crypt_tkip-rtl.ko': -1 Unknown symbol in module
insmod: error inserting 'ieee80211_crypt_ccmp-rtl.ko': -1 Unknown symbol in module
insmod: error inserting 'ieee80211-rtl.ko': -1 Unknown symbol in module
insmod: error inserting 'r8187.ko': -1 Unknown symbol in module
success Up wlan0
insmod: error inserting 'ieee80211_crypt-rtl.ko': -1 Invalid module format
insmod: error inserting 'ieee80211_crypt_wep-rtl.ko': -1 Unknown symbol in module
insmod: error inserting 'ieee80211_crypt_tkip-rtl.ko': -1 Unknown symbol in module
insmod: error inserting 'ieee80211_crypt_ccmp-rtl.ko': -1 Unknown symbol in module
insmod: error inserting 'ieee80211-rtl.ko': -1 Unknown symbol in module
insmod: error inserting 'r8187.ko': -1 Unknown symbol in module
success Up wlan0
eth0      Link encap:Ethernet  HWaddr 00:14:0b:3f:fc:82  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          Packets reçus:0 erreurs:0 :0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          Octets reçus:0 (0.0 B) Octets transmis:0 (0.0 B)
          Interruption:219 Adresse de base:0x4000 

eth1      Link encap:Ethernet  HWaddr 00:13:f7:63:a4:dc  
          inet adr:192.168.0.2  Bcast:192.168.0.255  Masque:255.255.255.0
          adr inet6: fe80::213:f7ff:fe63:a4dc/64 Scope:Lien
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Packets reçus:32104 erreurs:6453 :1108 overruns:0 frame:6443
          TX packets:26814 errors:21 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          Octets reçus:38385910 (36.6 MB) Octets transmis:3319234 (3.1 MB)

lo        Link encap:Boucle locale  
          inet adr:127.0.0.1  Masque:255.0.0.0
          adr inet6: ::1/128 Scope:Hôte
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          Packets reçus:185 erreurs:0 :0 overruns:0 frame:0
          TX packets:185 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          Octets reçus:9440 (9.2 KB) Octets transmis:9440 (9.2 KB)



Add lines below in file /etc/network/interfaces

pre-up /etc/rtl8187b/rtl8187b-modified/wlan0up
post-down /etc/rtl8187b/rtl8187b-modified/wlan0down

Non... Encore les mêmes fichiers que plus haut. Je vois vraiment pas d'où ça peut venir... ?

Hors ligne

#13 Le 04/05/2008, à 20:56

brunix

Re : Problème wifi, carte Realtek 8187b : Pas de réception ?!

J'ai les même erreur lorsque le réseau est actif.

1 - Arrêter le réseau
  sudo /etc/init.d/networking stop
2 - Tester les commandes
  sudo /etc/rtl8187b/rtl8187b-modified/wlan0up
  sudo /etc/rtl8187b/rtl8187b-modified/wlan0down
3 - Redémarer le résau
  sudo /etc/init.d/networking start

  sudo /etc/rtl8187b/rtl8187b-modified/wlan0up

sudo  ifconfig
 

J'espère que cette fois c'est bon

Hors ligne

#14 Le 04/05/2008, à 21:14

brunix

Re : Problème wifi, carte Realtek 8187b : Pas de réception ?!

T'en qu'on y ait , passe aussi la commande

sudo iwconfig

Hors ligne

#15 Le 04/05/2008, à 21:45

Mayto

Re : Problème wifi, carte Realtek 8187b : Pas de réception ?!

mayto@mayto-laptop:~$ sudo ifconfig
lo        Link encap:Boucle locale  
          inet adr:127.0.0.1  Masque:255.0.0.0
          adr inet6: ::1/128 Scope:Hôte
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          Packets reçus:194 erreurs:0 :0 overruns:0 frame:0
          TX packets:194 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          Octets reçus:9700 (9.4 KB) Octets transmis:9700 (9.4 KB)

mayto@mayto-laptop:~$ sudo iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

mayto@mayto-laptop:~$

(sans la clé wifi que j'utilise actuellement, juste ma carte posant problème (donc déconnecté d'internet))

Voilà s'que ça donne... pour les wlan0up et down, mêmes erreurs même en arrêtant le réseau avant.

[sudo] password for mayto: 
 * Deconfiguring network interfaces...                                   [ OK ] 
mayto@mayto-laptop:~$ sudo /etc/rtl8187b/rtl8187b-modified/wlan0up
insmod: error inserting 'ieee80211_crypt-rtl.ko': -1 Invalid module format
insmod: error inserting 'ieee80211_crypt_wep-rtl.ko': -1 Unknown symbol in module
insmod: error inserting 'ieee80211_crypt_tkip-rtl.ko': -1 Unknown symbol in module
insmod: error inserting 'ieee80211_crypt_ccmp-rtl.ko': -1 Unknown symbol in module
insmod: error inserting 'ieee80211-rtl.ko': -1 Unknown symbol in module
insmod: error inserting 'r8187.ko': -1 Unknown symbol in module

Dernière modification par Mayto (Le 04/05/2008, à 21:46)

Hors ligne

#16 Le 04/05/2008, à 21:59

brunix

Re : Problème wifi, carte Realtek 8187b : Pas de réception ?!

Tu veux dire que tu l'interface eth1 est une wifi ?

Hors ligne

#17 Le 04/05/2008, à 22:02

Mayto

Re : Problème wifi, carte Realtek 8187b : Pas de réception ?!

Oui. Mon interface eth1 est une clé wifi usb.

Et avec ndiswrapper (cf premier post), ma carte wifi interne était reconnue en wlan0 (de façon normale quoi)

Dernière modification par Mayto (Le 04/05/2008, à 22:02)

Hors ligne

#18 Le 04/05/2008, à 22:07

brunix

Re : Problème wifi, carte Realtek 8187b : Pas de réception ?!

Autre question , pour infos , tu utilise une Hardy ou une Gutsy ?

Hors ligne

#19 Le 04/05/2008, à 22:16

Mayto

Re : Problème wifi, carte Realtek 8187b : Pas de réception ?!

Un Hardy 32 bits.

Dernière modification par Mayto (Le 04/05/2008, à 22:16)

Hors ligne

#20 Le 04/05/2008, à 22:20

hehehedotcom\isbacklater

Re : Problème wifi, carte Realtek 8187b : Pas de réception ?!

Salut,

peux tu poster

sudo lshw -C network
ndiswrapper -l
grep rtl /etc/modprobe.d/blacklist


Tu communiques en wifi ou ethernet??

#21 Le 04/05/2008, à 22:29

Mayto

Re : Problème wifi, carte Realtek 8187b : Pas de réception ?!

Bonjour,
je communique en wifi, avec une clé que je possède de façon temporaire...

  *-network               
       description: Ethernet interface
       product: MCP67 Ethernet
       vendor: nVidia Corporation
       physical id: a
       bus info: pci@0000:00:0a.0
       logical name: eth0
       version: a2
       serial: 00:14:0b:3f:fc:82
       capacity: 100MB/s
       width: 32 bits
       clock: 66MHz
       capabilities: pm msi ht bus_master cap_list ethernet physical mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=forcedeth driverversion=0.61 latency=0 link=no maxlatency=20 mingnt=1 module=forcedeth multicast=yes port=MII
  *-network
       description: Wireless interface
       physical id: 1
       logical name: eth1
       serial: 00:13:f7:63:a4:dc
       capabilities: ethernet physical wireless
       configuration: broadcast=yes ip=192.168.0.2 multicast=yes wireless=IEEE 802.11b/g

Je n'ai plus ndiswrapper pour ce qui est de la seconde commande. (désinstallé pour essayer la technique fournie par brunix en évitant des conflits).

mayto@mayto-laptop:~$ grep rtl /etc/modprobe.d/blacklist
mayto@mayto-laptop:~$

(donc rien =/)

Dernière modification par Mayto (Le 04/05/2008, à 22:30)

Hors ligne

#22 Le 04/05/2008, à 22:35

brunix

Re : Problème wifi, carte Realtek 8187b : Pas de réception ?!

Et moi en Hardy AMD 64

Bon , 2 solutions

1 - Repasser par ndiswrapper , je l'avais tenté , sans réussite.
2 - Soit continuer dans le même esprit.

Si tu prend la seconde option il faut commenter les lignes du patch
# wget wget http://www.datanorth.net/~cuervo/rtl8187b/2.6.24.patch
# patch -p1 < 2.6.24.patch || ferror "patch -p1 < 2.6.24.patch"

Changer la ligne http://www.datanorth.net/~cuervo/rtl818 … ist.tar.gz 
et la ligne tar -xvf en remplacant le nom du fichier par :

    rtl8187b-unmodified-realtek.tar.gz
    ou
    rtl8187b-modified-jadams-2-1-2008.tar.gz
   
   Pour voir si il a un résultat avec l'un de ces deux correctifs.

Tu as le choix ....

Dernière modification par brunix (Le 04/05/2008, à 22:38)

Hors ligne

#23 Le 04/05/2008, à 23:04

Mayto

Re : Problème wifi, carte Realtek 8187b : Pas de réception ?!

Sachant que j'ai rien pu faire de ndiswrapper, je vais opter pour la seconde solution ^^
Merci de tes conseils, j'essaie ça et je te tiens au courant.

Hors ligne

#24 Le 05/05/2008, à 10:51

brunix

Re : Problème wifi, carte Realtek 8187b : Pas de réception ?!

Bonjour ,

J'ai modifier la procédure de mise à jour , afin que l'opération soit plus simple/plus rapide/plus claire.

Tu n'auras qu'à commenter les lignes en tête du fichier ( voir lien ).

Bon courage ...

Hors ligne

#25 Le 05/05/2008, à 20:26

Mayto

Re : Problème wifi, carte Realtek 8187b : Pas de réception ?!

Bonjour, encore merci de m'apporter ton aide smile

J'ai testé les trois solutions à partir de la nouvelle version du fichier de configuration que tu m'as fournis.

La première, "rtl8187b-modified-dist.tar.gz", ne fonctionne tout simplement pas ; toujours les mêmes erreurs dès qu'il s'agit de lancer les wlan0up et down.

Les deux autres me renvoient une erreur à la ligne ./makedrv ./install...

Hors ligne