El wifi no conecta!

Buenas, llevo un par de dias a vueltas configurando y poniendo a gusto mi Arch, el problema viene a la hora de configurando la conexion via wifi. Se trata de una intel 2200BG, he probado de muchas maneras, con wifi-radar, wlassistant, netcfg,wicd, network-manager (estos dos ultimo no pude hacerlos andar). Con el wifi-radar no fui capaz de conectarme con la cuenta con clave wep, el wlassistant me daba error en el dhcp.

[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


ahora estoy usando netcfg y bueno, he configurado la red wifi y cableada con el netcfg, con la cableada va bien con dhcp y sin. Con la wifi si arranco el perfil con dhcp me sale:

:: wifi up                                                               [BUSY]
eth1: timed out
            - DHCP IP lease attempt failed                               [FAIL]


Y si arranco el perfil wifi sin dhcp y la misma configuracion que en la red cableada, aparentemente conecta pero internet no va. ¿Alguna sugerncia? :?
... quedate con netcfg, es el mejor (o mejor dicho, el único que me funciona). Pasanos tu /etc/rc.conf y el perfil que manejes con netcfg en /etc/network.d/
Fallo supertonto, ponia la clave en modo HEX cuando tenia queponerlo en ASCII [ayay] [ayay]. Ahora a ver si me apaño una confiig para el netcfg.

Gracias por la ayuda.

EDIT: alfinal me lo he apañado, y en el rc.conf he añadido una linea para que automaticamente me arranque el wifi :D

# 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)


La unica pega es que me retrasa algo el arranque pero bueno.
uhm?

vi /etc/network.d/casa

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"


vi /etc/rc.conf

# 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)


^^^--- la red cableada no la toco

# 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 ...)


^^^--- defino mis perfiles

# -----------------------------------------------------------------------
# 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 ...)


^^^--- pero no quiero que conecte al arranque.

Escogeré yo con ---vvv

netcfg nombre_del_perfil


limpio, simple y eficaz.
3 respuestas