Page 2 sur 3
Re: [wlan] configuration
Publié : sam. 23 avr. 2011, 15:31
par FoolEcho
Donc ça n'est pas ce que tu fais en manuel...
Vire le "mode managed" (garde channel auto pour les histoires de timeout).
Re: [wlan] configuration
Publié : sam. 23 avr. 2011, 15:37
par x4rkz
j'ai essayer avec le managed en manuel ca marche
Je l'ai enleve dans le wireless ca ne marche toujours pas
Re: [wlan] configuration
Publié : sam. 23 avr. 2011, 16:41
par FoolEcho
On pourrait voir le rc.conf en entier ?

Re: [wlan] configuration
Publié : sam. 23 avr. 2011, 17:10
par x4rkz
Oui maintenant que j'ai l'interface et l'environnement
Mais je ne sais pas tout copier d'un coup je fais morceau par morceau:
Code : Tout sélectionner
#
# /etc/rc.conf - Main Configuration for Arch Linux
#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime", any other value will result
# in the hardware clock being left untouched (useful for virtualization)
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.UTF-8"
HARDWARECLOCK="UTC"
TIMEZONE="Europe/Paris"
KEYMAP="fr-latin1"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=()
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="myhost"
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it
#
# DHCP: Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#
#Static IP example
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
wlan0="dhcp"
# wlan_wlan0="wlan0 essid Livebox-xxx key xxx"
INTERFACES=(eth0 wlan0)
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng network netfs crond dbus wicd)
Re: [wlan] configuration
Publié : sam. 23 avr. 2011, 17:16
par FoolEcho
Sinon, ligne des DAEMONS: tu essaies d'utiliser network en même temps que wicd. Soit l'un, soit l'autre (ou encore un autre), ça peut causer des soucis.
Maintenant, si tu fais:
?
Re: [wlan] configuration
Publié : sam. 23 avr. 2011, 17:33
par x4rkz
Pour tester il faut que je redemarre mon pc, j'enleve donc wicd de la liste ?
Re: [wlan] configuration
Publié : sam. 23 avr. 2011, 17:42
par FoolEcho
Pas besoin de redémarrer pour le moment. Fais juste les deux lignes que je t'ai indiqué (et si ça marche, alors oui, tu pourras enlever wicd de la liste... pareil si tu décides de passer à wicd, il te faudra enlever network, cf. wiki)
Re: [wlan] configuration
Publié : sam. 23 avr. 2011, 18:21
par x4rkz
Ben j'ai redémarré en enlevant wicd le temps que tu réponde et cela ne change rien
Re: [wlan] configuration
Publié : sam. 23 avr. 2011, 19:29
par Ypnose
Le wiki anglophone est particulièrement bien fourni pour l'installation de Wicd et toute les modifs du rc.conf.
Re: [wlan] configuration
Publié : dim. 24 avr. 2011, 12:09
par FoolEcho
Oui, je ne vois pas du tout pourquoi tu n'y arrives pas par network... mais bon, tu peux utiliser wicd ou autre en suivant bien le wiki (tant que tu as de quoi faire la connexion en manuel, tu n'es pas bloqué déjà).
Re: [wlan] configuration
Publié : dim. 24 avr. 2011, 15:30
par x4rkz
J'ai testé diverses choses mais je n'y arrive toujours pas ^^
Re: [wlan] configuration
Publié : dim. 24 avr. 2011, 20:13
par FoolEcho
x4rkz a écrit :J'ai testé diverses choses
Très éclairant.
Tu as essayé en configurant wicd (ou netcfg ou networkmanager) à la place ?
Re: [wlan] configuration
Publié : dim. 24 avr. 2011, 22:40
par x4rkz
J'ai essayé wicd
Re: [wlan] configuration
Publié : lun. 25 avr. 2011, 09:38
par FoolEcho
... mais encore ?

Re: [wlan] configuration
Publié : lun. 25 avr. 2011, 11:47
par x4rkz
Je ne peux rien te dire de plus j'ai normalement fais pareil que sur le tuto après j'ai essayer deux trois variantes, mais globalement je suis toujours au même point que avant
Re: [wlan] configuration
Publié : lun. 25 avr. 2011, 11:50
par benjarobin
Si tu es arrivé à te connecter manuellement alors wicd est obligé de fonctionner.
Donc tu as sûrement mal fait quelques chose.
Tu peux donner la liste des daemons dans le rc.conf ?
Et tu peux expliquer comment tu t'y prend pour te connecter ? Toutes les étapes, merci
Re: [wlan] configuration
Publié : mar. 26 avr. 2011, 17:37
par x4rkz
Pour me connecter je fais
sudo iwconfig wlan0 essid x key y
dhcpcd wlan0
Je vous donne les deux fichiers:
/etc/rc.conf
Code : Tout sélectionner
# /etc/rc.conf - Main Configuration for Arch Linux /etc/rc.conf - Main
# Configuration for Arch Linux#
#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime", any other value will
# result
#
-----------------------------------------------------------------------#
in the hardware clock being left untouched (useful for virtualization)
# LOCALIZATION# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps CONSOLEFONT: found
# in /usr/share/kbd/consolefonts (only needed for non-US) CONSOLEMAP:
# found in /usr/share/kbd/consoletrans USECOLOR: use ANSI color
# sequences in startup messages
#
-----------------------------------------------------------------------#
LOCALE="en_US.UTF-8" HARDWARECLOCK="UTC" TIMEZONE="Europe/Paris"
KEYMAP="fr-latin1" CONSOLEFONT= CONSOLEMAP= USECOLOR="yes"
#
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
# LOCALE: available languages can be listed with the 'locale -a'
command#
# HARDWARECLOCK: set to "UTC" or "localtime", any other value will
result# MOD_AUTOLOAD: Allow autoloading of modules at boot and when
needed
# in the hardware clock being left untouched (useful for
virtualization)# MOD_BLACKLIST: Prevent udev from loading these modules
# TIMEZONE: timezones are found in /usr/share/zoneinfo# MODULES: Modules
# KEYMAP: keymaps are found in /usr/share/kbd/keymapsto load at boot-up.
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed
for non-US)Prefix with a ! to blacklist.
# CONSOLEMAP: found in /usr/share/kbd/consoletrans# NOTE: Use of
#'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#USECOLOR: use ANSI color sequences in startup messages#
#MOD_AUTOLOAD="yes" MOD_BLACKLIST=() #deprecated
LOCALE="en_US.UTF-8"MODULES=() HARDWARECLOCK="UTC"
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"
# -----------------------------------------------------------------------
# NETWORKING
# -------------------------------------------------------------
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="myhost"
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it
#
# DHCP: Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#
#Static IP example
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="myhost"
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it
#
# DHCP: Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#
#Static IP example
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
wlan0="dhcp"
wlan_wlan0="wlan0 essid xxx key yyy"
INTERFACES=(eth0 wlan0)
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
#
# - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng netfs crond dbus wicd)
/etc/conf.d/wireless
Code : Tout sélectionner
GNU nano 2.2.6 File: /etc/conf.d/wireless
#
# Settings for wireless cards
#
# For each wireless interface declared in INTERFACES (in rc.conf), declare
# a wlan_${IF} variable that contains the arguments to be passed to
# iwconfig(8). Then list the original interface name in the
# WLAN_INTERFACES array.
#
# wlan_wlan0="wlan0 channel auto essid xxx key yyy"
# WLAN_INTERFACES=(wlan0)
Re: [wlan] configuration
Publié : mar. 26 avr. 2011, 18:07
par FoolEcho
Pour wicd, /etc/conf.d/wireless ne te servira pas.
Côté rc.conf (il est un peu fichu bizarrement et tu as HOSTNAME en double...

), tu commentes la ligne wlan_wlan0 et tu modifes INTERFACES:
Code : Tout sélectionner
#wlan_wlan0="wlan0 essid xxx key yyy"
INTERFACES=(!eth0 !wlan0)
("!eth0" si tu veux que wicd gère aussi le filiaire, sinon tu laisses "eth0")
Tu redémarres et tu n'as plus qu'à configurer ta connexion via wicd-client... ou wicd-gtk si tu préfères le mode graphique... et au démarrage suivant, tout devrait rouler.
Re: [wlan] configuration
Publié : mar. 26 avr. 2011, 18:11
par x4rkz
Je vais essayer ca, mais pour le hostname c'est parce que je n'arrive pas (peut être ne peut on pas) a copier tout le fichier de ma console d'un coup, j'ai fais partie par partie.
PS: editer en résolu (valable pour un précédent topic) n'est pas pratique lorsque le nom est trop long
Re: [wlan] configuration
Publié : mar. 26 avr. 2011, 18:21
par x4rkz
Lorsque je me connecte par wicd network manager j'obitient unable to get the ip address