
Vire le "mode managed" (garde channel auto pour les histoires de timeout).
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)
Code : Tout sélectionner
/etc/rc.d/wicd stop
/etc/rc.d/network restart
Très éclairant.x4rkz a écrit :J'ai testé diverses choses
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)
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)
Code : Tout sélectionner
#wlan_wlan0="wlan0 essid xxx key yyy"
INTERFACES=(!eth0 !wlan0)