#1 Le 17/04/2009, à 15:33
- gpelle
installer un driver patché pour une carte wifi chipset realtek 8085
Bonjour,
Je souhaite installer un driver patché pour ma carte wifi BELKIN F5D7010 ( chipset rtl8085 ).
Je suis sous mandriva one 2009 car ubuntu ne fonctionne pas sur mon toshiba satellite pro a40.
[root@localhost guiali]# lspci
00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83)
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03)
01:08.0 Ethernet controller: Intel Corporation 82801DB PRO/100 VE (MOB) Ethernet Controller (rev 83)
01:0b.0 CardBus bridge: Toshiba America Info Systems ToPIC100 PCI to Cardbus Bridge with ZV Support (rev 33)
04:00.0 Ethernet controller: Belkin Device 701f (rev 20)
[root@localhost guiali]# lshw -C network
*-network
description: Ethernet interface
product: 82801DB PRO/100 VE (MOB) Ethernet Controller
vendor: Intel Corporation
physical id: 8
bus info: pci@0000:01:08.0
logical name: eth0
version: 83
serial: 00:08:0d:e1:bf:c7
size: 10MB/s
capacity: 100MB/s
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=eepro100 driverversion=eepro100.c:v1.09j-t 9/29/99 Don duplex=half latency=64 link=no maxlatency=56 mingnt=8 module=eepro100 multicast=yes port=MII speed=10MB/s
*-network
description: Wireless interface
product: Belkin
vendor: Belkin
physical id: 0
bus info: pci@0000:04:00.0
logical name: wmaster0
version: 20
serial: 00:17:3f:d7:bb:3c
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list logical ethernet physical wireless
configuration: broadcast=yes driver=rtl8180 ip=192.168.1.18 latency=64 maxlatency=64 mingnt=32 module=rtl8180 multicast=yes wireless=IEEE 802.11bg
[root@localhost guiali]# lsmod
Module Size Used by
st 40604 0
ipt_IFWLOG 6788 2
ipt_psd 47752 1
nls_iso8859_1 7936 1
ip_set_iptree 10376 2
ip6table_filter 6528 1
ip6_tables 16528 1 ip6table_filter
isofs 35748 1
iptable_raw 6144 0
xt_comment 5504 0
xt_policy 6912 0
ipt_ULOG 11044 0
ipt_TTL 5888 0
ipt_ttl 5504 0
ipt_set 5888 2
ipt_REJECT 6912 4
ipt_REDIRECT 5760 0
ipt_recent 11804 0
ipt_NETMAP 5760 0
ipt_MASQUERADE 6784 0
ipt_LOG 9476 9
ipt_ECN 6400 0
ipt_ecn 5888 0
ipt_CLUSTERIP 10628 0
ipt_ah 5632 0
ipt_addrtype 6400 4
nf_nat_tftp 5504 0
nf_nat_snmp_basic 12808 0
nf_nat_sip 10880 0
nf_nat_pptp 6912 0
nf_nat_proto_gre 6148 1 nf_nat_pptp
nf_nat_irc 6016 0
nf_nat_h323 10240 0
nf_nat_ftp 6656 0
nf_nat_amanda 5760 0
ts_kmp 6272 5
nf_conntrack_amanda 7680 1 nf_nat_amanda
nf_conntrack_tftp 8084 1 nf_nat_tftp
nf_conntrack_sip 20756 1 nf_nat_sip
nf_conntrack_proto_sctp 12168 0
nf_conntrack_pptp 9476 1 nf_nat_pptp
nf_conntrack_proto_gre 8576 1 nf_conntrack_pptp
nf_conntrack_netlink 19840 0
nf_conntrack_netbios_ns 6400 0
nf_conntrack_irc 8996 1 nf_nat_irc
nf_conntrack_h323 51144 1 nf_nat_h323
nf_conntrack_ftp 11428 1 nf_nat_ftp
ip_set_portmap 8064 0
ip_set_macipmap 7940 0
ip_set_ipmap 8064 0
ip_set_iphash 10500 0
ip_set 21532 11 ip_set_iptree,ipt_set,ip_set_portmap,ip_set_macipmap,ip_set_ipmap,ip_set_iphash
xt_tcpmss 5888 0
xt_pkttype 5632 0
xt_physdev 6416 0
xt_owner 6656 0
xt_NFQUEUE 5760 0
xt_NFLOG 5760 0
xt_multiport 7168 4
xt_MARK 6272 0
xt_mark 5888 0
xt_mac 5632 0
xt_limit 6148 0
xt_length 5632 0
xt_iprange 6400 0
xt_helper 6016 0
xt_hashlimit 14096 0
xt_DSCP 7040 0
xt_dscp 6400 0
xt_dccp 6792 0
xt_conntrack 7808 0
xt_CONNMARK 7040 0
xt_connmark 6400 0
xt_CLASSIFY 5632 0
xt_tcpudp 6912 11
xt_state 6016 14
iptable_nat 9480 0
nf_nat 19736 13 ipt_REDIRECT,ipt_NETMAP,ipt_MASQUERADE,nf_nat_tftp,nf_nat_sip,nf_nat_pptp,nf_nat_proto_gre,nf_nat_irc,nf_nat_h323,nf_nat_ftp,nf_nat_amanda,nf_conntrack_netlink,iptable_nat
nf_conntrack_ipv4 17676 17 iptable_nat,nf_nat
nf_conntrack 60128 29 ipt_MASQUERADE,ipt_CLUSTERIP,nf_nat_tftp,nf_nat_snmp_basic,nf_nat_sip,nf_nat_pptp,nf_nat_irc,nf_nat_h323,nf_nat_ftp,nf_nat_amanda,nf_conntrack_amanda,nf_conntrack_tftp,nf_conntrack_sip,nf_conntrack_proto_sctp,nf_conntrack_pptp,nf_conntrack_proto_gre,nf_conntrack_netlink,nf_conntrack_netbios_ns,nf_conntrack_irc,nf_conntrack_h323,nf_conntrack_ftp,xt_helper,xt_conntrack,xt_CONNMARK,xt_connmark,xt_state,iptable_nat,nf_nat,nf_conntrack_ipv4
iptable_mangle 6784 1
nfnetlink 7448 1 nf_conntrack_netlink
iptable_filter 6656 1
ip_tables 15376 4 iptable_raw,iptable_nat,iptable_mangle,iptable_filter
x_tables 16516 46 ipt_IFWLOG,ipt_psd,ip6_tables,xt_comment,xt_policy,ipt_ULOG,ipt_TTL,ipt_ttl,ipt_set,ipt_REJECT,ipt_REDIRECT,ipt_recent,ipt_NETMAP,ipt_MASQUERADE,ipt_LOG,ipt_ECN,ipt_ecn,ipt_CLUSTERIP,ipt_ah,ipt_addrtype,xt_tcpmss,xt_pkttype,xt_physdev,xt_owner,xt_NFQUEUE,xt_NFLOG,xt_multiport,xt_MARK,xt_mark,xt_mac,xt_limit,xt_length,xt_iprange,xt_helper,xt_hashlimit,xt_DSCP,xt_dscp,xt_dccp,xt_conntrack,xt_CONNMARK,xt_connmark,xt_CLASSIFY,xt_tcpudp,xt_state,iptable_nat,ip_tables
af_packet 21376 2
i915 36612 2
drm 76200 3 i915
ipv6 251044 18
binfmt_misc 12424 1
loop 18316 0
fuse 55196 2
dm_mirror 22400 0
dm_log 13060 1 dm_mirror
dm_mod 55112 2 dm_mirror,dm_log
cpufreq_ondemand 10636 0
cpufreq_conservative 10248 0
cpufreq_powersave 5632 0
nvram 11660 0
toshiba 8216 0
p4_clockmod 8452 0
speedstep_lib 8324 1 p4_clockmod
freq_table 7680 2 cpufreq_ondemand,p4_clockmod
arc4 5760 2
ecb 6656 2
crypto_blkcipher 19460 1 ecb
rtl8180 32000 0
mac80211 157212 1 rtl8180
eeprom_93cx6 5888 1 rtl8180
cfg80211 27144 2 rtl8180,mac80211
pcmcia 37036 0
snd_intel8x0m 17676 0
snd_seq_dummy 6660 0
snd_intel8x0 33308 3
snd_ac97_codec 105252 2 snd_intel8x0m,snd_intel8x0
e100 36492 0
ppdev 11268 0
ac97_bus 5632 1 snd_ac97_codec
snd_seq_oss 33664 0
snd_seq_midi_event 10240 1 snd_seq_oss
snd_seq 51312 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
yenta_socket 27276 2
usbhid 50240 0
rsrc_nonstatic 15104 1 yenta_socket
ff_memless 8712 1 usbhid
snd_seq_device 10252 3 snd_seq_dummy,snd_seq_oss,snd_seq
eepro100 32016 0
mii 8576 2 e100,eepro100
pcmcia_core 35348 3 pcmcia,yenta_socket,rsrc_nonstatic
snd_pcm_oss 41632 0
rtc_cmos 13472 0
snd_pcm 72964 4 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer 23816 2 snd_seq,snd_pcm
snd_mixer_oss 18304 1 snd_pcm_oss
rng_core 8068 0
pcspkr 6400 0
snd 52772 16 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
shpchp 33684 0
iTCO_wdt 14368 0
pci_hotplug 29216 1 shpchp
sr_mod 18884 1
iTCO_vendor_support 7044 1 iTCO_wdt
soundcore 10080 1 snd
fan 8324 0
snd_page_alloc 11784 3 snd_intel8x0m,snd_intel8x0,snd_pcm
video 20496 0
parport_pc 39108 0
output 6656 1 video
sg 34736 0
parport 34924 2 ppdev,parport_pc
battery 14212 0
ac 8068 0
thermal 19228 0
button 10000 0
processor 37420 2 thermal
intel_agp 29764 1
agpgart 32840 3 drm,intel_agp
evdev 13216 5
joydev 13888 0
ata_generic 8836 0
pata_acpi 8064 0
ide_pci_generic 7684 0
piix 10120 0
ide_disk 16384 0
ide_core 99656 3 ide_pci_generic,piix,ide_disk
ahci 32396 0
ata_piix 20356 5
libata 155808 4 ata_generic,pata_acpi,ahci,ata_piix
dock 11792 1 libata
sd_mod 37656 5
scsi_mod 138188 5 st,sr_mod,sg,libata,sd_mod
crc_t10dif 5760 1 sd_mod
ext3 128136 2
jbd 47124 1 ext3
uhci_hcd 26128 0
ohci_hcd 27280 0
ehci_hcd 38412 0
usbcore 137968 5 usbhid,uhci_hcd,ohci_hcd,ehci_hcd
[root@localhost guiali]# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11bg ESSID:"Wanadoo_e641"
Mode:Managed Frequency:2.457 GHz Access Point: 00:90:4B:C0:7A:3D
Bit Rate=36 Mb/s Tx-Power=20 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:413A-E44F-21C6-3972-FE15-665A-54 Security mode:open
Power Management:off
Link Quality=7/100 Signal level:16/65
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
[root@localhost guiali]# cat /etc/n
nail.rc netprofile/ nsswitch.conf ntp.conf
ndiswrapper/ networks ntp/
[root@localhost guiali]# cat /etc/net
netprofile/ networks
[root@localhost guiali]# cat /etc/networks
default 0.0.0.0
loopback 127.0.0.0
link-local 169.254.0.0
[root@localhost guiali]# nm-tool
bash: nm-tool: command not found
[root@localhost guiali]# uname -r -m
2.6.27.19-desktop-1mnb i686
J'ai essayer de suivre les instruction du post #206 ( http://forum.ubuntu-fr.org/viewtopic.php?pid=941730 ).
Après avoir télécharger le driver ( http://ovh.dl.sourceforge.net/sourceforge/rtl8180-sa2400/rtl8180-0.21.tar.gz ) et le patch ( http://patches.aircrack-ng.org/rtl8180-0.21v2.patch ), il n'y a pas de problème pour patcher le driver, mais à l'execution de make, cela bloque.
[root@localhost guiali]# cd /home/guiali/Téléchargement/
[root@localhost Téléchargement]# ifconfig wlan0 down
[root@localhost Téléchargement]# uname -r
2.6.27.19-desktop-1mnb
[root@localhost Téléchargement]# tar -xvzf rtl8180-0.21.tar.gz
rtl8180-0.21/
rtl8180-0.21/Makefile
rtl8180-0.21/AUTHORS
rtl8180-0.21/CHANGES
rtl8180-0.21/COPYING
rtl8180-0.21/INSTALL
rtl8180-0.21/LICENSE
rtl8180-0.21/Makefile26
rtl8180-0.21/README
rtl8180-0.21/README.adhoc
rtl8180-0.21/compat24.h
rtl8180-0.21/ieee80211.h
rtl8180-0.21/ieee80211_crypt.c
rtl8180-0.21/ieee80211_crypt.h
rtl8180-0.21/ieee80211_crypt_wep.c
rtl8180-0.21/ieee80211_module.c
rtl8180-0.21/ieee80211_rx.c
rtl8180-0.21/ieee80211_tx.c
rtl8180-0.21/ieee80211_wx.c
rtl8180-0.21/ieee802_11.h
rtl8180-0.21/module_load
rtl8180-0.21/module_load24
rtl8180-0.21/module_unload
rtl8180-0.21/module_unload24
rtl8180-0.21/r8180.h
rtl8180-0.21/r8180_93cx6.c
rtl8180-0.21/r8180_93cx6.h
rtl8180-0.21/r8180_core.c
rtl8180-0.21/r8180_gct.c
rtl8180-0.21/r8180_gct.h
rtl8180-0.21/r8180_hw.h
rtl8180-0.21/r8180_max2820.c
rtl8180-0.21/r8180_max2820.h
rtl8180-0.21/r8180_pm.c
rtl8180-0.21/r8180_pm.h
rtl8180-0.21/r8180_sa2400.c
rtl8180-0.21/r8180_sa2400.h
rtl8180-0.21/r8180_wx.c
rtl8180-0.21/r8180_wx.h
rtl8180-0.21/README.master
[root@localhost Téléchargement]# cd rtl8180-0.21
[root@localhost rtl8180-0.21]# patch -Np1 -i ../rtl8180-0.21v2.patch
patching file ieee80211_crypt.c
patching file ieee80211_crypt_wep.c
patching file ieee80211_module.c
patching file ieee80211_rx.c
patching file ieee80211_tx.c
patching file ieee80211_wx.c
patching file Makefile
patching file Makefile26
patching file r8180_core.c
patching file r8180.h
[root@localhost rtl8180-0.21]# make
make -C /lib/modules/2.6.27.19-desktop-1mnb/build SUBDIRS=/home/guiali/Téléchargement/rtl8180-0.21 modules
make[1]: entrant dans le répertoire « /usr/src/linux-2.6.27.19-desktop-1mnb »
CC [M] /home/guiali/Téléchargement/rtl8180-0.21/ieee80211_rx.o
Dans le fichier inclus à partir de /home/guiali/Téléchargement/rtl8180-0.21/ieee80211_rx.c:43:
/home/guiali/Téléchargement/rtl8180-0.21/ieee80211.h:43:1: attention : « BIT » redéfini
Dans le fichier inclus à partir de include/linux/kernel.h:15,
à partir de include/linux/skbuff.h:17,
à partir de include/linux/if_ether.h:114,
à partir de include/linux/netdevice.h:29,
à partir de include/linux/if_arp.h:26,
à partir de /home/guiali/Téléchargement/rtl8180-0.21/ieee80211_rx.c:25:
include/linux/bitops.h:6:1: attention : ceci est la localisation d'une précédente définition
/home/guiali/Téléchargement/rtl8180-0.21/ieee80211_rx.c: In function ‘ieee80211_monitor_rx’:
/home/guiali/Téléchargement/rtl8180-0.21/ieee80211_rx.c:296: erreur: ‘struct sk_buff’ has no member named ‘mac’
/home/guiali/Téléchargement/rtl8180-0.21/ieee80211_rx.c: In function ‘ieee80211_r8180_rx’:
/home/guiali/Téléchargement/rtl8180-0.21/ieee80211_rx.c:1131: erreur: ‘struct sk_buff’ has no member named ‘mac’
/home/guiali/Téléchargement/rtl8180-0.21/ieee80211_rx.c:1131: erreur: ‘struct sk_buff’ has no member named ‘nh’
make[2]: *** [/home/guiali/Téléchargement/rtl8180-0.21/ieee80211_rx.o] Erreur 1
make[1]: *** [_module_/home/guiali/Téléchargement/rtl8180-0.21] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-2.6.27.19-desktop-1mnb »
make: *** [2.6] Erreur 2
Est-ce que le problème vient de mon noyau, trop récent pour ce driver ou ce patch? Ce patch est le dernier, je ne peux pas télécharger un driver patché plus récent.
J'ai bien téléchargé les sources et headers de mon noyau.
Merci d'avance pour votre aide.