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 29/07/2009, à 19:02

Cpt Eggman

Problème d'activation du WIFI

Bonjour,
Je suis tout récemment passé sous linux et j'ai rencontré quelques problèmes.
Pour commencer, le WIFI. Je n'arrive pas à l'activer, mon ordinateur est un portable (Asus F5RL) et possède un interrupteur physique ainsi qu'une combinaison de touches pour la commande de l'activation réseau (tourné sur ON pour l'interrupteur physique quand à la combinaison de touches elle semble n'avoir aucune influence sur quoi que ce soit). Le réseau WIFI est activé jusqu'après le chargement d'Ubuntu, et là, il se coupe.

J'ai lu qu'il pouvait être nécessaire de le ré-activer sous windows et j'en viens à mon deuxième problème: Windows (vista) ne démarre plus... Lorsque j'ai à choisir sur quel système d'exploitation je souhaite démarrer j'ai le choix (hormis les trois options linux) entre deux "Windows VISTA (loader)". Ayant essayé le premier, il ne marche pas. J'aboutis à un message d'erreur genre "recovery mode". Le deuxième semble démarrer puis écran noir un certain temps et enfin re-boot de l'ordinateur avec un autre message d'erreur: "Loading GRUB: please wait... Error 22".

J'ai ensuite dû booter sur le cd d'installation linux et le ré-installer afin de pouvoir faire quelque chose. Voici donc mes (petits... , je l'espère) problèmes. Je joins ci-dessous les réponses aux commandes "demandées".

Merci par avance.
Cordialement, Cpt Eggman.

   cat /etc/lsbrelease
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.04
DISTRIB_CODENAME=jaunty
DISTRIB_DESCRIPTION="Ubuntu 9.04"

   lsusb
Bus 001 Device 003: ID 174f:6a31 Syntek Web Cam Asus
A8J, F3S, F5R, VX2S, V1S
Bus 001 Device 002: ID 0bda:0116 Realtek Semiconductor Corp. Mass Storage Device
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

   lspci
00:00.0 Host bridge: ATI Technologies Inc Device 5a31 (rev 01)
00:01.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:04.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:05.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:06.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:07.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:12.0 SATA controller: ATI Technologies Inc SB600 NonRaid5
SATA
00:13.0 USB Controller: ATI Technologies Inc SB600 USB (OHCI0)
00:13.1 USB Controller: ATI Technologies Inc SB600 USB (OHCI1)
00:13.2 USB Controller: ATI Technologies Inc SB600 USB (OHCI2)
00:13.3 USB Controller: ATI Technologies Inc SB600 USB (OHCI3)
00:13.4 USB Controller: ATI Technologies Inc SB600 USB (OHCI4)
00:13.5 USB Controller: ATI Technologies Inc SB600 USB Controller (EHCI)
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 13)
00:14.1 IDE interface: ATI Technologies Inc SB600 IDE
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: ATI Technologies Inc SB600 PCI to LPC Bridge
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
01:05.0 VGA compatible controller: ATI Technologies Inc RC410 [Radeon Xpress 200M]
02:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI
Express Adapter (rev 01)
06:00.0 Ethernet controller: Attansic Technology Corp. L2 100 Mbit Ethernet Adapter (rev a0)

   sudo lshw C network
*network
description: Wireless interface
product: AR242x 802.11abg Wireless PCI Express Adapter
vendor: Atheros Communications Inc.
physical id: 0
bus info: pci@0000:02:00.0
logical name: wmaster0
version: 01
serial: 00:15:af:66:45:32
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list logical ethernet physical wireless
configuration: broadcast=yes driver=ath5k_pci latency=0 module=ath5k multicast=yes
wireless=IEEE 802.11bg
*network
description: Ethernet interface
product: L2 100 Mbit Ethernet Adapter
vendor: Attansic Technology Corp.
physical id: 0
bus info: pci@0000:06:00.0
logical name: eth0
version: a0
serial: 00:1d:60:b0:3c:6f
capacity: 100MB/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vpd bus_master cap_list ethernet physical tp 10bt 10btfd
100bt
100btfd
autonegotiation
configuration: autonegotiation=on broadcast=yes driver=atl2 driverversion=2.0.4 firmware=L2
latency=0 link=no module=atl2 multicast=yes port=twisted pair
*network
DISABLED
description: Ethernet interface
physical id: 1
logical name: pan0
serial: 9a:1d:fe:10:cf:8b
capabilities: ethernet physical
configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A link=yes
multicast=yes

   lsmod
Module Size Used by
binfmt_misc 16776 1
ppdev 15620 0
radeon 342816 2
drm 96296 3 radeon
bridge 56340 0
stp 10500 1 bridge
bnep 20224 2
input_polldev 11912 0
joydev 18368 0
lp 17156 0
parport 42220 2 ppdev,lp
snd_hda_intel 435636 3
snd_pcm_oss 46336 0
snd_mixer_oss 22656 1 snd_pcm_oss
snd_pcm 82948 2 snd_hda_intel,snd_pcm_oss
arc4 9856 2
snd_seq_dummy 10756 0
ecb 10752 2
snd_seq_oss 37760 0
snd_seq_midi 14336 0
snd_rawmidi 29696 1 snd_seq_midi
snd_seq_midi_event 15104 2 snd_seq_oss,snd_seq_midi
ath5k 107008 0
snd_seq 56880 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 29704 2 snd_pcm,snd_seq
snd_seq_device 14988 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
psmouse 61972 0
snd 62628 15
snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,
snd_seq_device
soundcore 15200 1 snd
mac80211 217208 1 ath5k
pcspkr 10496 0
serio_raw 13316 0
snd_page_alloc 16904 2 snd_hda_intel,snd_pcm
i2c_piix4 18448 0
video 25360 0
ati_agp 14988 0
agpgart 42696 2 drm,ati_agp
shpchp 40212 0
asus_laptop 24440 0
atl2 34200 0
cfg80211 38032 2 ath5k,mac80211
output 11008 1 video
led_class 12036 2 ath5k,asus_laptop
fbcon 46112 0
tileblit 10752 1 fbcon
font 16384 1 fbcon
bitblit 13824 1 fbcon
softcursor 9984 1 bitblit

   iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11bg ESSID:""
Mode:Managed Frequency:2.412 GHz Access Point: NotAssociated
TxPower=
20 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
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
pan0 no wireless extensions.

   ifconfig
eth0 Link encap:Ethernet HWaddr 00:1d:60:b0:3c:6f
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:1
collisions:0 lg file transmission:1000
Octets reçus:0 (0.0 B) Octets transmis:0 (0.0 B)
Mémoire:feac0000feb00000
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:4 erreurs:0 :0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
Octets reçus:240 (240.0 B) Octets transmis:240 (240.0 B)
wlan0 Link encap:Ethernet HWaddr 00:15:af:66:45:32
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)
wmaster0 Link encap:UNSPEC HWaddr 0015AF66453200000000000000000000
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)

   sudo iwlist scan
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
wmaster0 Interface doesn't support scanning.
wlan0 No scan results
pan0 Interface doesn't support scanning.

   uname r
m
2.6.2811generic
i686

   cat /etc/network/interfaces
auto lo
iface lo inet loopback

   nmtool
NetworkManager Tool
State: disconnected
Device:
eth0 Type:
Wired
Driver: atl2
State: unavailable
Default: no
HW Address: 00:1D:60:B0:3C:6F
Capabilities:
Carrier Detect: yes
Wired Properties
Carrier: off
Device:
wlan0 Type:
802.11 WiFi
Driver: ath5k_pci
State: disconnected
Default: no
HW Address: 00:15:AF:66:45:32
Capabilities:
Wireless Properties
WEP Encryption: yes
WPA Encryption: yes
WPA2 Encryption: yes
Wireless Access Points

Hors ligne

#2 Le 29/07/2009, à 20:09

spinoziste

Re : Problème d'activation du WIFI

Salut . as tu essayé

sudo ifconfig wlan0 up

?


Nous mourrons tous .

Hors ligne

#3 Le 29/07/2009, à 20:48

Cpt Eggman

Re : Problème d'activation du WIFI

Je débute je ne connais pas encore les commandes.
Je viens d'essayer

sudo ifconfig wlan0 up

... aucune réaction.

Merci spinoziste.

Hors ligne

#4 Le 29/07/2009, à 21:12

pandorax

Re : Problème d'activation du WIFI

D'abord le prioritaire , le grub.

que donne

sudo fdisk -l

(cela indique le partitionnement du disque)
et

cat /boot/grub/menu.lst

(c'est les instructions d'amorçage pour le grub)
Vous avez réinstallé .
Pouvez vous à nouveau accéder à Vista ?

Dernière modification par pandorax (Le 29/07/2009, à 21:17)


Mon avatar n'est pas l'inspecteur Derrick, c'est juste une poire .
configuration: ENIAC (ordinateur et chauffage)

Hors ligne

#5 Le 29/07/2009, à 21:56

Cpt Eggman

Re : Problème d'activation du WIFI

Bonjour Pandorax,
Je ne voulais pas tenter de redémarrer windows car j'avais peur de tout perdre à nouveau et de ne pouvoir effectuer les lignes de commandes sous linux.
Le GRUB fonctionne à nouveau normalement depuis la ré-installation de Ubuntu. Windows démarre normalement, je ne sais pas pourquoi ca n'a pas marché la première fois. J'aurais dû ré-essayé...
J'ai donc activé le WIFI avant de redémarrer sous linux mais ca n'a rien changé.
Voila pour les commandes:

   

   sudo fdisk 1
fdisk: invalid option '
1'
Utilisation : fdisk [b
TAILLE] [u]
DISQUE modifier la table de partitions
fdisk l
[b
TAILLE] [u]
DISQUE lister les tables de partitions
fdisk s
PARTITION donner la taille de partition en blocs
fdisk v
afficher la version de fdisk
Où DISQUE est quelque chose du genre: /dev/hdb ou /dev/sda
et PARTITION est quelque chose du genre: /dev/hda7
u:
donne le Début et la Fin en unités de secteurs (au lieu de cylindres)
b
2048: (pour certains disques optiques) spécifie 2048 octets par secteur

   cat /boot/grub/menu.lst
# menu.lst See:
grub(8), info grub, updategrub(
8)
# grubinstall(
8), grubfloppy(
8),
# grubmd5crypt,
/usr/share/doc/grub
# and /usr/share/doc/grubdoc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu
# Pretty colours
#color cyan/blue white/blue
## password ['md5']
passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and commandline)
and entries protected by the
# command 'lock'
# e.g. password topsecret
# password md5
$1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian updategrub
script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=083184807aa44eeca0d0cf4c7e745aef
ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=083184807aa44eeca0d0cf4c7e745aef
## should updategrub
create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should updategrub
lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash
## should updategrub
lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## specify if running in Xen domU or have grub detect automatically
## updategrub
will ignore nonxen
kernels when running in domU and vice versa
## e.g. indomU=detect
## indomU=true
## indomU=false
# indomU=detect
## should updategrub
create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should updategrub
adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## should updategrub
add savedefault to the default options
## can be true or false
# savedefault=false
## ## End Default Options ##
title Ubuntu 9.04, kernel 2.6.2811generic
uuid 083184807aa44eeca0d0cf4c7e745aef
kernel /boot/vmlinuz2.6.2811generic
root=UUID=083184807aa44eeca0d0cf4c7e745aef
ro quiet splash
initrd /boot/initrd.img2.6.2811generic
quiet
title Ubuntu 9.04, kernel 2.6.2811generic
(recovery mode)
uuid 083184807aa44eeca0d0cf4c7e745aef
kernel /boot/vmlinuz2.6.2811generic
root=UUID=083184807aa44eeca0d0cf4c7e745aef
ro single
initrd /boot/initrd.img2.6.2811generic
title Ubuntu 9.04, memtest86+
uuid 083184807aa44eeca0d0cf4c7e745aef
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a nonlinux
OS
# on /dev/sda1
title Windows Vista (loader)
rootnoverify (hd0,0)
savedefault
makeactive
chainloader +1
# This entry automatically added by the Debian installer for a nonlinux
OS
# on /dev/sda2
title Windows Vista (loader)
rootnoverify (hd0,1)
savedefault
makeactive
chainloader +1

J'esperes que c'est ce que vous vouliez savoir, merci pour votre aide.


PS: Je ne peux plus revenir sur le forum avant demain.

Hors ligne

#6 Le 29/07/2009, à 23:34

pandorax

Re : Problème d'activation du WIFI

ouille hmm
En bash , # déclare un commentaire pour tout ce qui le suit , ce n'est valable que sur la ligne
Or sur ce script il y a manifestement eu des retours à la ligne erronés.
Donc des choses sont interprétés alors que çà devrait être des commentaires.:|

Donc il vous reste à remettre de l'ordre dans tout çà

Au final cela doit ressembler à çà:

 # menu.lst See: grub(8), info grub, updategrub(8)
# grubinstall(8), grubfloppy(8) ,
# grubmd5crypt, /usr/share/doc/grub
# and /usr/share/doc/grubdoc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu
# Pretty colours
#color cyan/blue white/blue
## password ['md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and commandline) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian updategrub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=083184807aa44eeca0d0cf4c7e745aef ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=083184807aa44eeca0d0cf4c7e745aef
## should updategrub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should updategrub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash
## should updategrub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## specify if running in Xen domU or have grub detect automatically
## updategrub will ignore nonxen kernels when running in domU and vice versa
## e.g. indomU=detect
## indomU=true
## indomU=false
# indomU=detect
## should updategrub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should updategrub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## should updategrub add savedefault to the default options
## can be true or false
# savedefault=false
## ## End Default Options ##

title Ubuntu 9.04, kernel 2.6.2811generic
uuid 083184807aa44eeca0d0cf4c7e745aef
kernel /boot/vmlinuz2.6.2811generic
root=UUID=083184807aa44eeca0d0cf4c7e745aef ro quiet splash
initrd /boot/initrd.img2.6.2811generic 
quiet

title Ubuntu 9.04, kernel 2.6.2811generic (recovery mode)
uuid 083184807aa44eeca0d0cf4c7e745aef
kernel /boot/vmlinuz2.6.2811generic
root=UUID=083184807aa44eeca0d0cf4c7e745aef ro single
initrd /boot/initrd.img2.6.2811generic

title Ubuntu 9.04, memtest86+
uuid 083184807aa44eeca0d0cf4c7e745aef
kernel /boot/memtest86+.bin 
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root

# This entry automatically added by the Debian installer for a nonlinux OS
# on /dev/sda1
title Windows Vista (loader)
rootnoverify (hd0,0)
savedefault
makeactive
chainloader +1

# This entry automatically added by the Debian installer for a nonlinux OS
# on /dev/sda2
title Windows Vista (loader)
rootnoverify (hd0,1)
savedefault
makeactive
chainloader +1

Comme je vous sens pas à l'aise avec Mr Bash

- ouvrez un éditeur de texte
- faites un copier coller de ma version corrigée
- vérifiez que le copier coller n'a pas altéré le retour à la ligne.
- renommer le menu.lst
- sauver quitter
- ouvrez une console (:D)
Je ne sais si vous utilisez kde ou gnome
pour regarder vos fichier , nautilus , konqueror , dolphin ...

tapez si vous êtes sous gnome
:

gksudo votre_navigateur_de_fichier

et

kdesudo votre_navigateur_de_fichier

si vous utilisez kde

ex nautilus sous gnome

gksudo nautilus

(Vous allez modifier des fichiers système donc vous avez besoin de droit root)

Si vous travaillez depuis votre disque dur:
allez
racine -> boot -> grub
sur un cd live:
racine -> media -> 'hda2 ou sda2' ->boot ->grub

- renommez le fichier 'menu.lst' en 'menu.lst.bak'
- scindez la fenêtre en deux ou ouvrez une autre fenêtre
- cherchez votre menu.lst que vous avez édité et mettez le dans  le dossier grub
- sortez

et pour la comparaison (ne pas exécuter)

dest='/media/sda2/boot/grub/' ; origin ='/home/compte/Bureau/'
sudo -s
mv ${dest}menu.lst menu.lst.bak 
mv ${origin}menu.lst ${dest}
exit

Dernière modification par pandorax (Le 30/07/2009, à 10:42)


Mon avatar n'est pas l'inspecteur Derrick, c'est juste une poire .
configuration: ENIAC (ordinateur et chauffage)

Hors ligne

#7 Le 31/07/2009, à 11:58

Cpt Eggman

Re : Problème d'activation du WIFI

Bonjour, je n'ai pas vérifier après le copier-coller mais le texte a été modifier (notamment le retour à la ligne). Donc le résultat de la commande

cat /boot/grub/menu.lst

ressemble bien à celui que vous avez.
Ca donne donc ceci:

   cat /boot/grub/menu.lst
# menu.lst See: grub(8), info grub, updategrub(8)
# grubinstall(8), grubfloppy(8),
# grubmd5crypt, /usr/share/doc/grub
# and /usr/share/doc/grubdoc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu
# Pretty colours
#color cyan/blue white/blue
## password ['md5']passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and commandline) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian updategrub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=083184807aa44eeca0d0cf4c7e745aef ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=083184807aa44eeca0d0cf4c7e745aef
## should updategrub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should updategrub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash
## should updategrub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## specify if running in Xen domU or have grub detect automatically
## updategrub will ignore nonxen kernels when running in domU and vice versa
## e.g. indomU=detect
## indomU=true
## indomU=false
# indomU=detect
## should updategrub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should updategrub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## should updategrub add savedefault to the default options
## can be true or false
# savedefault=false
## ## End Default Options ##
title Ubuntu 9.04, kernel 2.6.2811generic
uuid 083184807aa44eeca0d0cf4c7e745aef
kernel /boot/vmlinuz2.6.2811generic root=UUID=083184807aa44eeca0d
0cf4c7e745aef ro quiet splash
initrd /boot/initrd.img2.6.2811generic
quiet

title Ubuntu 9.04, kernel 2.6.2811generic (recovery mode)
uuid 083184807aa44eeca0d0cf4c7e745aef
kernel /boot/vmlinuz2.6.2811generic root=UUID=083184807aa44eeca0d
0cf4c7e745aef ro single
initrd /boot/initrd.img2.6.2811generic

title Ubuntu 9.04, memtest86+
uuid 083184807aa44eeca0d0cf4c7e745aef
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a nonlinux OS
# on /dev/sda1
title Windows Vista (loader)
rootnoverify (hd0,0)
savedefault
makeactive
chainloader +1
# This entry automatically added by the Debian installer for a nonlinux OS
# on /dev/sda2
title Windows Vista (loader)
rootnoverify (hd0,1)
savedefault
makeactive
chainloader +1

Voila j'ai vérifié ligne par ligne et je crois que c'est bon. Il manque parfois des tirets (-) je ne sais pas pourquoi. Vous avez bien raison je ne suis pas très à l'aise avec "Mr BASH" comme vous dites (d'ailleurs BASH désigne le language utilisé ou bien la fenêtre par laquelle on "programme").
Je suis sous Gnome, merci de me guidez comme vous le faites car je n'y connais encore rien. Mais je suis bien décidé à apprendre car ce système d'exploitation m'a l'air bien plus sympathique que windows.

Merci, Cpt Eggman.

Hors ligne

#8 Le 31/07/2009, à 12:10

Cpt Eggman

Re : Problème d'activation du WIFI

Je poste à nouveau car je me pose une question, est-il possible que le réseau sans fil soit activé sans que la petite DEL (témoin de son activité) ne soit allumée pour des raisons d'incompatibilités matérielles ou un truc comme ça?
Car je dispose normalement dans la barre de notifications d'une icône réseau représentant les quatres barres (qui représentent la qualité du signal) et une petite croix blanche sur carré rouge.
J'ai la possibilité de créer un nouveau réseau sans fil et lorsque je le fais, la petite croix disparait pour ne me laiser présente que les quatres barres.
Cela signifie t-il que le réseau sans fil est actif malgré que la diode soit éteinte?
Me suffit t-il de paramétrer mon réseau sans fil pour que l'ordinateur le détecte?

Je me suis peut être créer des problèmes fictifs, du moins je l'espères...

PS: Je suis sous Ubuntu 9.04, le Jaunty Jackelope.

Cpt Eggman.

Hors ligne

#9 Le 01/08/2009, à 01:19

pandorax

Re : Problème d'activation du WIFI

La carte est bien reconnu, le soucis est que le wifi est éteint, pour l'allumer appuyer sur le bouton ,
Si c'est un dual boot  linux/W$, amorcer sous W$ (appuyer sur le bouton, quitter et relancer ubuntu (il ne faut pas enlever la batterie)
C'est un problème assez récurrent avec certains wifi intégré dans les portables.
Une autre solution est de modifier des réglages à la volée du noyau en utilisant la fonction sysctrl, c'est assez spécifique du matériel.

Dernière modification par pandorax (Le 01/08/2009, à 01:20)


Mon avatar n'est pas l'inspecteur Derrick, c'est juste une poire .
configuration: ENIAC (ordinateur et chauffage)

Hors ligne

#10 Le 01/08/2009, à 15:22

Cpt Eggman

Re : Problème d'activation du WIFI

J'ai essayé en passant par windows et ça n'a pas marché. En fait je peux l'allumer et l'éteindre (diode pour témoin) durant le chargement de Ubuntu (avec la barre qui se remplit). A ce moment là lorsque j'effectue la combinaison de touches le WIFI s'allume et s'éteint. Puis une fois l'écran de login atteint ... plus aucune réaction.

Je voulais essayer de paramétrer le réseau comme s'il fonctionnait mais je n'ai plus Internet chez moi (cause travaux sur la ligne) donc je patiente.

Encore merci pour votre aide.
Cpt Eggman.

Hors ligne