Pues resulta que estoy intentando hacer funcionar el wifi en el reciente opensuse 10.2 pero no hay manera de conectarse al punto de acceso.
La tarjeta de red es una Realtek 8187 USB, más concretamente la que viene con la placa base Asus P5B Deluxe wifi. Opensuse no la reconoció en un principio pero me fui a la web de realtek y encontré un driver que he podido instalar y parece que funciona. Eso sí dentro del la configuración de red en Yast no me aparece esta tarjeta, tan sólo las dos tarjetas integradas que también trae la placa base (y que he deshabilitado pq no las uso)
La tarjeta debe tener la IP fija 192.168.100.2, máscara 255.255.255.0. El router inalámbrico está en 192.168.100.1 y canal 12. La red se llama "Home Network" y funciona por protocolo WPA-PSK con encriptación TKIP. Pues bien esto es lo que he hecho hasta ahora pero no conecta.
Código:
FernandoCasa:~/bin # iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: 00:60:B3:FB:15:08
ESSID:"WLAN_08"
Protocol:IEEE 802.11bg
Mode:Master
Channel:5
Encryption key:on
Bit Rates:54 Mb/s
Extra: Rates (Mb/s): 1 2 5.5 6 9 11 12 18 22 24 36 48 54
Quality:17 Signal level:0 Noise level:31
Extra: Last beacon: 869ms ago
Cell 02 - Address: 00:14:BF:67:C7:BC
ESSID:"Home Network"
Protocol:IEEE 802.11bg
Mode:Master
Channel:12
Encryption key:on
Bit Rates:54 Mb/s
Extra: Rates (Mb/s): 1 2 5.5 6 9 11 12 18 24 36 48 54
Quality:17 Signal level:0 Noise level:49
Extra: Last beacon: 12ms ago
FernandoCasa:~/bin # iwconfig wlan0 mode managed
FernandoCasa:~/bin # iwconfig wlan0 ap 00:14:bf:67:c7:bc
FernandoCasa:~/bin # iwconfig wlan0 essid "Home Network"
FernandoCasa:~/bin # ifconfig wlan0 192.168.100.2 netmask 255.255.255.0 broadcast 192.168.100.255
FernandoCasa:~/bin # route add default gw 192.168.100.1 netmask 255.255.255.0 wlan0
FernandoCasa:~/bin # route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.100.1 255.255.255.0 UG 0 0 0 wlan0
192.168.100.0 * 255.255.255.0 U 0 0 0 wlan0
loopback * 255.0.0.0 U 0 0 0 lo
FernandoCasa:~/bin # ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:15:AF:07:B0:95
inet addr:192.168.100.2 Bcast:192.168.100.255 Mask:255.255.255.0
inet6 addr: fe80::215:afff:fe07:b095/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:79 errors:0 dropped:218 overruns:0 frame:0
TX packets:125 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8927 (8.7 Kb) TX bytes:13682 (13.3 Kb)
FernandoCasa:~/bin # iwconfig wlan0
wlan0 802.11b/g linked ESSID:"Home Network"
Mode:Managed Channel=12 Access Point: 00:14:BF:67:C7:BC
Bit Rate=54 Mb/s
Retry:on Fragment thr:off
Encryption key: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
FernandoCasa:~/bin # wpa_supplicant -D ipw -c wpa.conf -i wlan0 -w
Associated with 00:14:bf:67:c7:bc
Authentication with 00:14:bf:67:c7:bc timed out.
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Trying to associate with 00:14:bf:67:c7:bc (SSID='Home Network' freq=0 MHz)
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Associated with 00:14:bf:67:c7:bc
WPA: 4-Way Handshake failed - pre-shared key may be incorrect
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Associated with 00:14:bf:67:c7:bc
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Trying to associate with 00:14:bf:67:c7:bc (SSID='Home Network' freq=0 MHz)
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Associated with 00:14:bf:67:c7:bc
WPA: 4-Way Handshake failed - pre-shared key may be incorrect
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Associated with 00:14:bf:67:c7:bc
Mi archivo wpa.conf es como sigue:
Código:
network={
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
ssid="Home Network"
psk="password"
#psk=f6b13ae655af91c4be036375afaa6bbc9e105f753dbcf3be2614cd6e516d9254
priority=5
}
¿Qué hago mal o qué estoy olvidando hacer? Pq he probado configurando el wpa.conf de otras formas que he encontrado por la red (añadiendo ap_scan=2, scan_ssid=1, etc...) y con ninguna puedo conectarme.
Un saludo