Pages : 1
#1 Le 28/06/2008, à 20:26
- antiloop
Wi-fi pas disponible à l'écran de login
Bonjour tout le monde,
Jusqu'à maintenant, j'ai utilisé mon Ubuntu en me connectant en local avec mon compte perso, et j'obtenais ma connexion wi-fi via network-manager de manière automatique.
A présent, je souhaiterai utiliser mon serveur uniquement en connection à distance (via ssh) et pour se faire, j'aurai besoin que la connexion wi-fi soit établie pendant le boot du serveur, et non plus après le login sur un compte utilisateur.
J'ai donc basculé la gestion des interfaces en mode manuel, avec le fichier /etc/network/interfaces suivant:
auto lo
iface lo inet loopback
iface wlan0 inet static
address 192.168.1.69
netmask 255.255.255.0
gateway 192.168.1.1
wpa-psk xxxxxxxxxxx
wpa-driver wext
wpa-key-mgmt WPA-PSK
wpa-proto WPA
wpa-ssid Livebox_Vila
auto wlan0
Malheureusement, j'ai un souci que je n'arrive pas à comprendre : ma connection wi-fi n'est pas disponible du 1er coup. Je dois ouvrir un terminal, et réactiver les interfaces pour que ça fonctionne !
sudo ifdown -a
sudo ifup -a
Quelqu'un aurait-il une idée ?
Merci d'avance,
Christophe.
PS: ma carte wi-fi est une WMP54G probablement en 4.1 vu qu'il s'agit du chipset RT2561, supporté nativement par Hardy
Voici les traces des autres commandes dont vous pourriez avoir besoin:
uname -r -m
2.6.24-19-generic x86_64
lspci
00:00.0 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.1 RAM memory: nVidia Corporation C51 Memory Controller 0 (rev a2)
00:00.2 RAM memory: nVidia Corporation C51 Memory Controller 1 (rev a2)
00:00.3 RAM memory: nVidia Corporation C51 Memory Controller 5 (rev a2)
00:00.4 RAM memory: nVidia Corporation C51 Memory Controller 4 (rev a2)
00:00.5 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.6 RAM memory: nVidia Corporation C51 Memory Controller 3 (rev a2)
00:00.7 RAM memory: nVidia Corporation C51 Memory Controller 2 (rev a2)
00:02.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:03.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:04.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:05.0 VGA compatible controller: nVidia Corporation C51PV [GeForce 6150] (rev a2)
00:09.0 RAM memory: nVidia Corporation MCP51 Host Bridge (rev a2)
00:0a.0 ISA bridge: nVidia Corporation MCP51 LPC Bridge (rev a3)
00:0a.1 SMBus: nVidia Corporation MCP51 SMBus (rev a3)
00:0a.2 RAM memory: nVidia Corporation MCP51 Memory Controller 0 (rev a3)
00:0b.0 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
00:0b.1 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
00:0d.0 IDE interface: nVidia Corporation MCP51 IDE (rev a1)
00:0e.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev a1)
00:0f.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev a1)
00:10.0 PCI bridge: nVidia Corporation MCP51 PCI Bridge (rev a2)
00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)
00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a3)
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
04:08.0 Network controller: RaLink RT2561/RT61 802.11g PCI
04:09.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder (rev 05)
04:09.2 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [MPEG Port] (rev 05)
lshw | grep network
*-network
description: Wireless interface
product: RT2561/RT61 802.11g PCI
vendor: RaLink
physical id: 8
bus info: pci@0000:04:08.0
logical name: wmaster0
version: 00
serial: 00:16:b6:a0:42:bd
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list logical ethernet physical wireless
configuration: broadcast=yes driver=rt61pci ip=192.168.1.69 latency=32 module=rt61pci multicast=yes wireless=IEEE 802.11g
lsmod
Module Size Used by
binfmt_misc 14860 1
ivtv 152512 0
bttv 214772 0
lirc_i2c 13316 0
lirc_dev 18248 1 lirc_i2c
rfcomm 47392 2
l2cap 28800 13 rfcomm
bluetooth 67748 4 rfcomm,l2cap
ppdev 11400 0
powernow_k8 16608 0
cpufreq_userspace 6180 0
cpufreq_stats 8416 0
cpufreq_powersave 3200 0
cpufreq_ondemand 11152 1
freq_table 6464 3 powernow_k8,cpufreq_stats,cpufreq_ondemand
cpufreq_conservative 10632 0
video 23444 0
output 5632 1 video
sbs 17808 0
sbshc 8960 1 sbs
dock 12960 0
container 6656 0
battery 16776 0
iptable_filter 4608 0
ip_tables 24104 1 iptable_filter
x_tables 23560 1 ip_tables
ac 8328 0
it87 26896 0
hwmon_vid 5120 1 it87
ipv6 311848 18
eeprom 9872 0
lp 14916 0
af_packet 27272 2
arc4 3456 2
ecb 5248 2
blkcipher 9476 1 ecb
snd_hda_intel 440408 3
cx88_blackbird 23812 0
cx2341x 14596 2 ivtv,cx88_blackbird
snd_pcm_oss 47648 0
snd_mixer_oss 20224 1 snd_pcm_oss
snd_pcm 92168 2 snd_hda_intel,snd_pcm_oss
tuner 49056 0
tea5767 7812 1 tuner
tda8290 13828 1 tuner
tuner_simple 10632 1 tuner
mt20xx 14600 1 tuner
tea5761 6916 1 tuner
rt61pci 27648 0
rt2x00pci 12800 1 rt61pci
rt2x00lib 25344 2 rt61pci,rt2x00pci
analog 13408 0
snd_mpu401 11304 0
snd_mpu401_uart 11264 1 snd_mpu401
snd_page_alloc 13200 2 snd_hda_intel,snd_pcm
snd_hwdep 12552 1 snd_hda_intel
rfkill 10128 1 rt2x00lib
parport_pc 41128 1
parport 44300 3 ppdev,lp,parport_pc
cx8802 22276 1 cx88_blackbird
evdev 14976 3
gameport 17936 1 analog
input_polldev 6928 1 rt2x00lib
crc_itu_t 3584 1 rt2x00lib
cx8800 42628 1 cx88_blackbird
cx88xx 72744 3 cx88_blackbird,cx8802,cx8800
psmouse 46236 0
ir_common 39812 2 bttv,cx88xx
snd_seq_dummy 5764 0
mac80211 192532 3 rt61pci,rt2x00pci,rt2x00lib
i2c_algo_bit 8452 3 ivtv,bttv,cx88xx
compat_ioctl32 11136 2 bttv,cx8800
tveeprom 20624 3 ivtv,bttv,cx88xx
serio_raw 9092 0
pcspkr 4992 0
videodev 30720 5 ivtv,bttv,cx88_blackbird,cx8800,cx88xx
v4l2_common 21888 9 ivtv,bttv,cx88_blackbird,cx2341x,tuner,cx8800,cx88xx,compat_ioctl32,videodev
v4l1_compat 15492 3 ivtv,bttv,videodev
btcx_risc 6792 4 bttv,cx8802,cx8800,cx88xx
videobuf_dma_sg 17028 5 bttv,cx88_blackbird,cx8802,cx8800,cx88xx
videobuf_core 22020 6 bttv,cx88_blackbird,cx8802,cx8800,cx88xx,videobuf_dma_sg
cfg80211 17680 1 mac80211
snd_seq_oss 38912 0
snd_seq_midi 10688 0
eeprom_93cx6 3840 1 rt61pci
k8temp 7680 0
snd_rawmidi 29856 2 snd_mpu401_uart,snd_seq_midi
snd_seq_midi_event 10112 2 snd_seq_oss,snd_seq_midi
snd_seq 63232 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 27912 2 snd_pcm,snd_seq
snd_seq_device 10644 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd 70856 19 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_mpu401,snd_mpu401_uart,snd_hwdep,snd_seq_dummy,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 10400 1 snd
i2c_nforce2 8704 0
button 10912 0
nvidia 5663348 0
i2c_core 28544 15 ivtv,bttv,lirc_i2c,eeprom,tuner,tea5767,tda8290,tuner_simple,mt20xx,tea5761,cx88xx,i2c_algo_bit,tveeprom,i2c_nforce2,nvidia
shpchp 38172 0
pci_hotplug 34608 1 shpchp
ext3 149264 3
jbd 57000 1 ext3
mbcache 11392 1 ext3
sg 41880 0
sr_mod 20132 0
cdrom 41512 1 sr_mod
sd_mod 33280 4
sata_nv 31752 3
pata_amd 16772 0
pata_acpi 9856 0
ata_generic 9988 0
forcedeth 55564 0
ehci_hcd 41996 0
ohci_hcd 27524 0
libata 176432 4 sata_nv,pata_amd,pata_acpi,ata_generic
scsi_mod 178488 4 sg,sr_mod,sd_mod,libata
usbcore 169904 3 ehci_hcd,ohci_hcd
dm_mirror 26368 0
dm_snapshot 20680 0
dm_mod 71160 7 dm_mirror,dm_snapshot
thermal 19744 0
processor 41448 2 powernow_k8,thermal
fan 6792 0
fbcon 46336 0
tileblit 4096 1 fbcon
font 10112 1 fbcon
bitblit 7424 1 fbcon
softcursor 3712 1 bitblit
fuse 56112 1
Voici la trace des iwconfig/iwlist AVANT de faire ifdown/ifup:
wlan0 IEEE 802.11g ESSID:""
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=27 dBm
Retry min limit:7 RTS thr:off Fragment thr=2346 B
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
iwlist scan
wlan0 No scan results
Voici la trace des iwconfig/iwlist APRES avoir fait ifdown/ifup:
wlan0 IEEE 802.11g ESSID:"Livebox_Vila"
Mode:Managed Frequency:2.462 GHz Access Point: 00:10:C6:C9:5C:B6
Bit Rate=5.5 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
iwlist scan
wlan0 Scan completed :
Cell 01 - Address: 00:10:C6:C9:5C:B6
ESSID:"Livebox_Vila"
Mode:Master
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=72/100 Signal level=-48 dBm
Encryption key:on
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=0000001cfe814645
Hors ligne
#2 Le 30/06/2008, à 18:04
- antiloop
Re : Wi-fi pas disponible à l'écran de login
up !
personne n'aurait une idée pour m'expliquer pourquoi mon wi-fi ne s'active pas la première fois que le réseau est démarré ?
y aurait-il un problème d'ordre dans le lancement des scripts /etc/rc.d qui ferait que la carte n'est pas prête lorsque le module réseau démarre ?
merci d'avance...
Hors ligne
#3 Le 30/06/2008, à 19:25
- willy78
Re : Wi-fi pas disponible à l'écran de login
passe en dhcp ça ira plus mieux
une config en static n'est pas active (en gros y'a rien qui cherche a ce connecter)
Quelques tutos pour le wifi sous Ubuntu:
http://wlety.free.fr/forum
Hors ligne
Pages : 1