#1 Le 25/08/2008, à 20:59
- Deniss42
Wifi sur ubuntu : marche sous XP et pas sous linux (carte PCMCIA)
Bonjour
J'ai installé sur un PC portable Dell un win XP et un Ubuntu 8.04 (carte PCMCIA).
Le wifi marche sans probleme sous XP.
la carte est reconnue par ubuntu je vois tous les reseaux wifi dispo vers chez moi mais je n'arrive pas à me connecter sur mon reseau wifi (FREEBOX HD), le mot de passe (phrase de passe) ne semblant pas etre reconnue alors qu'elle marche sous XP.
Je n'arrive pas à savoir d'où vient le pb ...
merci de votre aide
DS
Hors ligne
#2 Le 25/08/2008, à 22:46
- Deniss42
Re : Wifi sur ubuntu : marche sous XP et pas sous linux (carte PCMCIA)
voila le résultat des commandes spécifiées en entête du forum
dens@ggyc:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu 8.04"
dens@ggyc:~$ lsusb
Bus 001 Device 001: ID 0000:0000
dens@ggyc:~$ lspci
00:00.0 Host bridge: Intel Corporation 82815 815 Chipset Host Bridge and Memory Controller Hub (rev 04)
00:01.0 PCI bridge: Intel Corporation 82815 815 Chipset AGP Bridge (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 03)
00:1f.0 ISA bridge: Intel Corporation 82801BAM ISA Bridge (LPC) (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801BAM IDE U100 Controller (rev 03)
00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1 (rev 03)
01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 Go] (rev b2)
02:03.0 Multimedia audio controller: ESS Technology ES1983S Maestro-3i PCI Audio Accelerator (rev 10)
02:0f.0 CardBus bridge: Texas Instruments PCI4451 PC card Cardbus Controller
02:0f.1 CardBus bridge: Texas Instruments PCI4451 PC card Cardbus Controller
02:0f.2 FireWire (IEEE 1394): Texas Instruments PCI4451 IEEE-1394 Controller
07:00.0 Network controller: RaLink RT2561/RT61 rev B 802.11g
dens@ggyc:~$ sudo lshw -C network
*-network
description: Wireless interface
product: RT2561/RT61 rev B 802.11g
vendor: RaLink
physical id: 1
bus info: pci@0000:07:00.0
logical name: wmaster0
version: 00
serial: 00:80:5a:4f:d5:ab
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list logical ethernet physical wireless
configuration: broadcast=yes driver=rt61pci latency=64 module=rt61pci multicast=yes wireless=IEEE 802.11g
dens@ggyc:~$ lsmod
Module Size Used by
isofs 36388 1
nls_iso8859_1 4992 0
nls_cp437 6656 0
vfat 14464 0
fat 54556 1 vfat
udf 88612 0
af_packet 23812 2
ipv6 267780 8
rfcomm 41744 2
l2cap 25728 13 rfcomm
bluetooth 61156 4 rfcomm,l2cap
ppdev 10372 0
speedstep_smi 6544 0
speedstep_lib 6532 1 speedstep_smi
cpufreq_powersave 2688 0
cpufreq_stats 7104 0
cpufreq_conservative 8712 0
cpufreq_userspace 5284 0
cpufreq_ondemand 9740 0
freq_table 5536 3 speedstep_smi,cpufreq_stats,cpufreq_ondemand
container 5632 0
sbs 15112 0
sbshc 7680 1 sbs
dock 11280 0
iptable_filter 3840 0
ip_tables 14820 1 iptable_filter
x_tables 16132 1 ip_tables
sbp2 24072 0
lp 12324 0
arc4 2944 2
ecb 4480 2
blkcipher 8324 1 ecb
joydev 13120 0
rt61pci 25472 0
rt2x00pci 11264 1 rt61pci
rt2x00lib 22528 2 rt61pci,rt2x00pci
rfkill 8592 1 rt2x00lib
input_polldev 5896 1 rt2x00lib
crc_itu_t 3072 1 rt2x00lib
mac80211 165652 3 rt61pci,rt2x00pci,rt2x00lib
cfg80211 15112 1 mac80211
eeprom_93cx6 3200 1 rt61pci
pcmcia 40876 0
dcdbas 9504 0
evdev 13056 6
parport_pc 36260 1
parport 37832 3 ppdev,lp,parport_pc
snd_maestro3 26660 3
snd_ac97_codec 101028 1 snd_maestro3
ac97_bus 3072 1 snd_ac97_codec
snd_pcm_oss 42144 0
snd_mixer_oss 17920 1 snd_pcm_oss
snd_pcm 78596 3 snd_maestro3,snd_ac97_codec,snd_pcm_oss
snd_page_alloc 11400 1 snd_pcm
serio_raw 7940 0
video 19856 0
output 4736 1 video
psmouse 40336 0
snd_seq_dummy 4868 0
yenta_socket 27276 3
snd_seq_oss 35584 0
rsrc_nonstatic 13696 1 yenta_socket
pcmcia_core 40596 3 pcmcia,yenta_socket,rsrc_nonstatic
snd_seq_midi 9376 0
snd_rawmidi 25760 1 snd_seq_midi
snd_seq_midi_event 8320 2 snd_seq_oss,snd_seq_midi
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_maestro3,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_dummy,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
i2c_core 24832 0
soundcore 8800 1 snd
button 9232 0
battery 14212 0
ac 6916 0
iTCO_wdt 13092 0
iTCO_vendor_support 4868 1 iTCO_wdt
pcspkr 4224 0
shpchp 34452 0
pci_hotplug 30880 1 shpchp
intel_agp 25492 1
agpgart 34760 1 intel_agp
ext3 136712 1
jbd 48404 1 ext3
mbcache 9600 1 ext3
sg 36880 0
usb_storage 73664 0
libusual 19108 1 usb_storage
sr_mod 17956 1
cdrom 37408 1 sr_mod
sd_mod 30720 3
ata_generic 8324 0
pata_acpi 8320 0
floppy 59588 0
ata_piix 19588 3
ohci1394 33584 0
uhci_hcd 27024 0
libata 159344 3 ata_generic,pata_acpi,ata_piix
ieee1394 93752 2 sbp2,ohci1394
usbcore 146028 4 usb_storage,libusual,uhci_hcd
scsi_mod 151436 6 sbp2,sg,usb_storage,sr_mod,sd_mod,libata
thermal 16796 0
processor 36872 2 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 3
dens@ggyc:~$ iwconfig
lo no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11g ESSID:""
Mode:Managed Frequency:2.462 GHz Access Point: F6:78:FB:D6:4E:94
Bit Rate=54 Mb/s Tx-Power=27 dBm
Retry min limit:7 RTS thr:off Fragment thr=2346 B
Link Quality=72/100 Signal level=-48 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
dens@ggyc:~$ 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:1360 erreurs:0 :0 overruns:0 frame:0
TX packets:1360 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
Octets reÁus:68000 (66.4 KB) Octets transmis:68000 (66.4 KB)
wlan0 Link encap:Ethernet HWaddr 00:80:5a:4f:d5:ab
UP BROADCAST MULTICAST MTU:1500 Metric:1
Packets reÁus:0 erreurs:0 :0 overruns:0 frame:0
TX packets:55 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
Octets reÁus:0 (0.0 B) Octets transmis:10293 (10.0 KB)
wmaster0 Link encap:UNSPEC HWaddr 00-80-5A-4F-D5-AB-00-00-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING 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)
dens@ggyc:~$ iwlist
Usage: iwlist [interface] scanning [essid NNN] [last]
[interface] frequency
[interface] channel
[interface] bitrate
[interface] rate
[interface] encryption
[interface] keys
[interface] power
[interface] txpower
[interface] retry
[interface] ap
[interface] accesspoints
[interface] peers
[interface] event
[interface] auth
[interface] wpakeys
[interface] genie
[interface] modulation
dens@ggyc:~$ iwlist scan
lo Interface doesn't support scanning.
wmaster0 Interface doesn't support scanning.
wlan0 No scan results
dens@ggyc:~$ uname -r -m
2.6.24-16-generic i686
dens@ggyc:~$ cat /etc/network/interfaces
auto lo
iface lo inet loopback
dens@ggyc:~$ nm-tool
NetworkManager Tool
State: disconnected
- Device: wlan0 ----------------------------------------------------------------
NM Path: /org/freedesktop/NetworkManager/Devices/wlan0
Type: 802.11 Wireless
Driver: rt61pci
Active: no
HW Address: 00:80:5A:4F:D5:AB
Capabilities:
Supported: yes
Speed: 54 Mb/s
Wireless Settings
Scanning: yes
WEP Encryption: yes
WPA Encryption: yes
WPA2 Encryption: yes
Wireless Networks (* = Current Network)
SpeedTouchDEA77D:Infrastructure Mode, Freq 2.412 MHz, Rate 62 Mb/s, Strength 46%, Encrypted (WEP)
OULLINS: Infrastructure Mode, Freq 2.462 MHz, Rate 62 Mb/s, Strength 52%, Encrypted (WEP)
freephonie: Infrastructure Mode, Freq 2.432 MHz, Rate 62 Mb/s, Strength 47%, Encrypted (WPA Enterprise)
NEUF_BD58: Infrastructure Mode, Freq 2.462 MHz, Rate 62 Mb/s, Strength 46%, Encrypted (WPA)
Neuf WiFi: Infrastructure Mode, Freq 2.462 MHz, Rate 62 Mb/s, Strength 46%
Livebox-10C0: Infrastructure Mode, Freq 2.412 MHz, Rate 62 Mb/s, Strength 46%, Encrypted (WPA)
jcwifi: Infrastructure Mode, Freq 2.462 MHz, Rate 62 Mb/s, Strength 46%, Encrypted (WEP)
DartyBox_a64e: Infrastructure Mode, Freq 2.462 MHz, Rate 62 Mb/s, Strength 46%, Encrypted (WEP)
TELE2BOX_0D76: Infrastructure Mode, Freq 2.427 MHz, Rate 62 Mb/s, Strength 46%, Encrypted (WEP)
Wanadoo_9761: Infrastructure Mode, Freq 2.457 MHz, Rate 62 Mb/s, Strength 46%, Encrypted (WEP)
NEUF_0AC0: Infrastructure Mode, Freq 2.462 MHz, Rate 62 Mb/s, Strength 46%, Encrypted (WPA)
Merci pour votre aide ... je patauge ...
D
Hors ligne
#3 Le 25/08/2008, à 23:19
- @(`↓´)@
Re : Wifi sur ubuntu : marche sous XP et pas sous linux (carte PCMCIA)
SVP
Le driver natif de Hardy s'appel rt61pci et il fonctionne avec N-M même pour du WPA mais il cause pas mal de déconnexion!
Installation des driver de serialmonkey donc voila un mini tuto (connexion au net obligatoire):
Remarque avec ce driver oublier network-manager (deux tv en haut à droite).
Mais une solution graphique existe Rutilt
sudo apt-get update
sudo apt-get install build-essential linux-headers-$(uname -r)
cd ~
mkdir ~/rt61
cd ~/rt61
wget http://rt2x00.serialmonkey.com/rt61-cvs-daily.tar.gz
tar -zxvf rt61-cvs-daily.tar.gz
cd rt61-cvs*/Module
make
strip -S rt61.ko
A ce stade le driver est compiler,
Maintenant il faut l'installer mais avant il faut décharger l'ancien (rt61pci)
sudo ifconfig wlan0 down
sudo modprobe -r rt61pci
echo 'blacklist rt61pci' | sudo tee -a /etc/modprobe.d/blacklist
On installe le driver fraichement compilé!
sudo make install
sudo modprobe rt61
sudo ifconfig wlan0 up
echo 'rt61' | sudo tee -a /etc/modules
il ne reste plus qu'a utiliser soitRutilt
(vous pouvez aussi installer rutilit via synaptic,
soit éditer le fichier des interfaces pour donner les paramètres de connexions
sudo gedit /etc/network/interfaces #remplacer gedit par kwrite si tu es sous kubuntu
Placer ces lignes
en WEP hexa
auto wlan0
iface wlan0 inet dhcp
wireless-essid le_SSID_Du_rezo
wireless-key La_clé_en_hexa
en WPAPSK TKIP
auto wlan0
iface wlan0 inet dhcp
pre-up iwconfig wlan0 essid "mon ssid"
pre-up iwpriv wlan0 set AuthMode=WPAPSK
pre-up iwpriv wlan0 set EncrypType=TKIP
pre-up iwpriv wlan0 set WPAPSK="Ma_cle_WPA_Ultra_Secrete_que_y'a_que_moi_qui_sais"
pre-up iwconfig wlan0 essid "mon ssid"
rebooter et tester si la connexion est effective
#4 Le 25/08/2008, à 23:27
- Deniss42
Re : Wifi sur ubuntu : marche sous XP et pas sous linux (carte PCMCIA)
merci je vais essayer tout ça ... mais je suis obligé de passer par un MAC pour telecharger les données car impossible de connecter avec ubuntu sur le PC je n'ai qu'une carte wifi et pas d'ethernet ...
JE te tiens au courant ... je debute sous linux et j'ai l'impression parfois de revenir 20 ans en arriere à taper du code sous DOS ou assembleur de 8086 :-)
Hors ligne
#5 Le 25/08/2008, à 23:28
- Deniss42
Re : Wifi sur ubuntu : marche sous XP et pas sous linux (carte PCMCIA)
y'a t'il un moyen simple de telecharger le driver en question sous XP et de l'installer aisement sous linux apres ?
Hors ligne
#6 Le 25/08/2008, à 23:32
- @(`↓´)@
Re : Wifi sur ubuntu : marche sous XP et pas sous linux (carte PCMCIA)
as tu le cd d'ubuntu, si oui
place le dans le lecteur (oui je sais c'est con)
puis système → administration → sources de logiciel → coche cd-rom
puis ouvre un terminal
sudo aptitude update
sudo aptitude install build-essential linux-headers-$(uname -r)
donne le retour de la dernière commande
#7 Le 25/08/2008, à 23:39
- @(`↓´)@
Re : Wifi sur ubuntu : marche sous XP et pas sous linux (carte PCMCIA)
sinon, télécharge ces paquets et place les sur le bureau et clique 2 fois pour les installer
http://mirrors.kernel.org/ubuntu/pool/main/b/build-essential/build-essential_11.3ubuntu1_i386.deb
http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-headers-2.6.24-19_2.6.24-19.41_all.deb
http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-headers-2.6.24-19-generic_2.6.24-19.41_i386.deb
Télécharge
http://rt2x00.serialmonkey.com/rt61-cvs-daily.tar.gz
et place le dans le dossier personnel
puis continue le tuto après
sudo apt-get install build-essential linux-headers-$(uname -r)
#8 Le 25/08/2008, à 23:55
- Deniss42
Re : Wifi sur ubuntu : marche sous XP et pas sous linux (carte PCMCIA)
ok merci ... je ferais tout ça demain soir ;-)
merci encore
D
Hors ligne