› Foros › PC › Software libre
[shellder@Dothan ~]$ sudo wlassistant
kbuildsycoca running...
Loaded application options.
All interfaces: eth0, eth1
Wireless interface(s): eth1
Permissions checked.
DHCP Client: dhcpcd
All executables found.
scan: /usr/sbin/iwlist eth1 scan
Networks found: 12
ACTION: CONNECT.
No DHCP client running.
No pre-connection command specified.
iwconfig_set: /usr/sbin/iwconfig eth1 mode managed channel 11 key open xxxxxxxxxx essid JAZZTEL_9E
iwconfig_ap: /usr/sbin/iwconfig eth1 ap 00:1A:2B:08:46:1F
ifconfig_dhcp: /sbin/dhcpcd -nd eth1
==>stderr: eth1: dhcpcd 4.0.7 starting
eth1: hardware address = 00:16:6f:1d:be:17
eth1: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks', reason PREINIT
eth1: broadcasting for a lease
eth1: sending DHCP_DISCOVER with xid 0x337e817e, next in 3.92 seconds
eth1: sending DHCP_DISCOVER with xid 0x337e817e, next in 8.18 seconds
eth1: sending DHCP_DISCOVER with xid 0x337e817e, next in 16.84 seconds
Running DHCP client found.
kill_dhcp: /sbin/dhcpcd -k eth1
==>stderr: eth1: sending signal 1 to pid 2781
eth1: dhcpcd not running
CONNECTION FAILED.
disconnect: /usr/sbin/iwconfig eth1 mode managed key off ap off essid off
:: wifi up [BUSY]
eth1: timed out
- DHCP IP lease attempt failed [FAIL]
# 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
#
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast
#eth0="dhcp"
eth1="dhcp"
wlan_eth1="eth1 essid MiRed key s:MiKey"
INTERFACES=(lo !eth0 eth1)
CONNECTION="wireless"
INTERFACE=aqui_escribo_mi_dispositivo_de_red
SECURITY="wep"
ESSID=aqui_el_essid_de_la_red
KEY="s:y_escribo_la_llave"
IP="dhcp"
# 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
#
eth0="dhcp"
INTERFACES=(eth0)
# 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.1.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=(... casa trabajo vecino ...)
# -----------------------------------------------------------------------
# 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=(... @network !net-profiles @sshd @netfs ...)
netcfg nombre_del_perfil