Registrarse
Home
Foros
Miembros
Calendario
Normas
Ayuda

Foros de usuarios de openSUSE
Retroceder   ForoSUSE > Zona Técnica > Internet, Redes y Wireless


Síguenos en Twitter Suscríbete a nuestras noticias Acompáñanos en Facebook

Respuesta
 
Herramientas Desplegado

Instalación de driver wireless RTL8185
  #1  
Antiguo 25-may-2011, 02:00
Camello Camello está desconectado
Aforado
 
Fecha de Ingreso: 25-mayo-2011
Versión: ULTIMA
Mensajes: 1
Agradecimientos: 0
Agradecido 0 Veces en 0 Mensajes
Poder de Credibilidad: 0
Camello está en el buen camino
Instalación de driver wireless RTL8185

Les paso a explicar mi problema.

Quiero instalar el driver: "rtl8185_linux_26.1031.1207.2009.release"

El tema es que cuando le doy make segun la guia de instalacion que procedo a detallar.
--------------------------------------------------------------------------
RTL8185 Linux Driver v1028.1117.2008 for linux kernel 2.6

-- This driver supports RealTek RTL8185 Wireless LAN driver for
Ubuntu 7.01/8.04, Fedora Core 2/3/4/5/6/7, Debian 3.1,
Mandrake 10.2/Mandriva 2006, SUSE 9.3/10.1/10.2, Gentoo 3.1, etc.
-- This driver Support Client mode for either infrastructure or adhoc mode
-- This driver Support WEP and WPAPSK/WPA2PSK connection

================================================== =============================
Component
================================================== =============================

The driver is composed of several parts:
1. Module source code
ieee80211
rtl8185

2. Script ot build the modules
Makefile

3. Script to load/unload modules
wlan0up
wlan0down

4. Script and configuration for DHCP
wlan0dhcp
ifcfg-wlan0

5. Example of supplicant configuration file:
wpa1.conf

6. wpa_supplicant:
wpa_supplicant-0.5.5.zip
================================================== =============================
Installation
================================================== =============================
<<Method 1>>
Running the scripts can finish all operations of building up modules from source code and start the nic:
1. Build up the drivers from the source code
make

2. Install the driver to the kernel
make install
reboot

3. bring up wlan if nic is not brought up by GUI, such as NetworkManager
ifconfig wlan0 up

Note: use ifconfig to check whether wlan0 is brought up and use iwconfig to check your wlan interface name,
since it may change wlan0 to wlan1,etc.

<<Method 2>>
Or only load the driver module to kernel and start up nic.
1. Build up the drivers from the source code
make

2. Load driver module to kernel and start up nic.
./wlan0up

Note: when "insmod: error inserting 'xxxx.ko': -1 File exists" comes out
after run ./wlan0up, please run ./wlan0down first, then it should
be ok..
Note: If you see the message of "unkown symbol" during ./wlan0up, it
is suggested to build driver by <<Method 1>>.

================================================== =============================
Set wireless lan MIBs
================================================== =============================
This driver uses Wireless Extension as an interface allowing you to set
Wireless LAN specific parameters.

Current driver supports "iwlist" to show the device status of nic

iwlist wlan0 [parameters]
where

parameter explaination [parameters]
----------------------- -------------
Show available chan and freq freq / channel
Show and Scan BSS and IBSS scan[ning]
Show supported bit-rate rate / bit[rate]
Show Power Management mode power

For example:

iwlist wlan0 channel
iwlist wlan0 scan
iwlist wlan0 rate
iwlist wlan0 power


Driver also supports "iwconfig", manipulate driver private ioctls, to set MIBs.

iwconfig wlan0 [parameters] [val]
where

parameter explaination [parameters] [val] constraints
----------------------- ------------- ------------------
Connect to AP by address ap [essid]
Set the essid, join (I)BSS essid [mac_addr]
Set operation mode mode {Managed|Ad-hoc}
Set keys and security mode key / enc[ryption] {N|open|restricted|off}


For example:

iwconfig wlan0 ap XX:XX:XX:XX:XX:XX
iwconfig wlan0 essid "ap_name"
iwconfig wlan0 mode Ad-hoc
iwconfig wlan0 mode essid "name" mode Ad-hoc
iwconfig wlan0 key 0123456789 [2] open
iwconfig wlan0 key off
iwconfig wlan0 key restricted [3] 0123456789

================================================== =============================
Getting IP address
================================================== =============================
After start up the nic, the network needs to obtain an IP address before transmit/receive data.
This can be done by setting the static IP via "ifconfig wlan0 IP_ADDRESS" command, or using DHCP.

If using DHCP, setting steps is as below:

(1)connect to an AP via "iwconfig" settings
iwconfig wlan0 essid [name] or
iwconfig wlan0 ap XX:XX:XX:XX:XX:XX

(2)run the script which run the dhclient
./wlan0dhcp
or
dhcpcd wlan0
(Some network admins require that you use the
hostname and domainname provided by the DHCP server.
In that case, use
dhcpcd -HD wlan0)


================================================== =============================
WPAPSK
================================================== =============================
Wpa_supplicant helps to secure wireless connection with the protection of
WPAPSK/WPA2PSK mechanism.

If the version of Wireless Extension in your system is equal or larger than 18,
WEXT driver interface is recommended. Otherwise, IPW driver interface is advised.

Note: Wireless Extension is defined us "#define WIRELESS_EXT" in Kernel
Note: To check the version of wireless extension, please type "iwconfig -v"

If IPW driver interface is used, We suggested to follow the steps from 1 to 6.
If wpa_supplicant has been installed in your system, only steps 5 and 6 are required
to be executed for WEXT driver interface.

To see detailed description for driver interface and wpa_supplicant, please type
"man wpa_supplicant".

(1)Download latetest source code for wpa supplicant or use wpa_supplicant-0.5.5
attached in this package. (It is suggested to use default package contained
in the distribution because there should less compilation issue.)

Unpack source code of WPA supplicant:

unzip wpa_supplicant-0.5.5.zip (e.g.)
cd wpa_supplicant-0.5.5

(2)Create .config file:

cp defconfig .config

(3)Edit .config file, uncomment the following line if ipw driver interface
will be applied:

#CONFIG_DRIVER_IPW=y.

(4)Build and install WPA supplicant:

make
cp wpa_cli wpa_supplicant /usr/local/bin

If make error for lack of <include/md5.h>, install the openssl lib(two ways):
1. Install the openssl lib from corresponding installation disc:
Fedora Core 2/3/4/5(openssl-0.9.71x-xx),
Mandrake10.2/Mandriva10.2(openssl-0.9.7x-xmdk),
Debian 3.1(libssl-dev), Suse 9.3/10.0/10.1(openssl_devl),
Gentoo(dev-libs/openssl), etc.
2. Download the openssl open source package from www.openssl.org, build and
install it.

(5)Edit wpa_supplicant.conf to set up SSID and its passphrase.
For example, the following setting in "wpa1.conf" means SSID
to join is "BufAG54_Ch6" and its passphrase is "87654321".

Example 1: Configuration for WPA-PWK
network={
ssid="BufAG54_Ch6"
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
psk="87654321"
priority=2
}

Example 2: Configuration for LEAP
network={
ssid="BufAG54_Ch6"
key_mgmt=IEEE8021X
group=WEP40 WEP104
eap=LEAP
identity="user1"
password="1111"
}

Note: 1. proto=WPA for WPA, proto=RSN for WPA2.
2. If user needs to connect an AP with WPA or WPA2 mixed mode, it is suggested
to set the cipher of pairwise and group to both CCMP and TKIP unless you
know exactly which cipher type AP is configured.
3. Low kernel version which is lower than 2.6.18.rc2 may have trouble with
TKIP heavy traffic while SMP is configured. Please change your security
cipher or update your kernel.
4. According to documentaion "wpa_supplicant.conf" provided by the package of
wpa_supplicant, ap_scan is set to 2 for IBSS connection. If user is trying to
associate to AP in Infrastructure mode, please unmark this line us as belowing
"#ap_scan=2"

(6)Execute WPA supplicant (Assume rtl8185 and related modules had been
loaded):
wpa_supplicant -D wext -c wpa1.conf -i wlan0 & (recommended)
wpa_supplicant -D ipw -c wpa1.conf -i wlan0

Note: At first, user sholud check Wireless Extension by typing "iwconfig -v"
on the comment line. If the version of Wireless Extension is equal or
larger than 18, the option of "-D wext" is suggested. If the version
of Wireless extension is less than 18, the option of "-D ipw" is
suggested.

But before you use "wext" or "ipw" command, you sholud check which drivers
wpa_supplicant can support by typing command "wpa_supplicant". after typing the
comment line, you can see some infomations about wpa_supplicant are listed,
example:
---------------------------------------------------------------------------
usage:
XXXXXXXXX
drivers:
wext = Linux wireless extensions (generic)
atmel = ATMEL AT76C5XXx (USB, PCMCIA)
wired = wpa_supplicant wired Ethernet driver
options:
XXXXXXXXX
example:
XXXXXXXXX
---------------------------------------------------------------------------
The driver interface wpa_supplicant can support are listed in "drivers",
if "ipw" or "wext" is not listed in it, you can only use the the other interface.
If the interface you want to use is not supported by wpa_supplicant. you can
follow steps (1)-(6), And in step (3) you must let:

CONFIG_DRIVER_IPW=y.
or
CONFIG_DRIVER_WEXT=y.
or both
CONFIG_DRIVER_IPW=y.
CONFIG_DRIVER_WEXT=y.
--------------------------------------------------------------------------


Me da los siguientes resultados en la consola.

--------------------------------------------------------------------------

inux-88t5:/home/javier/rtl8185 # make
make[1]: se ingresa al directorio `/usr/src/linux-2.6.37.1-1.2-obj/x86_64/desktop'
make -C ../../../linux-2.6.37.1-1.2 O=/usr/src/linux-2.6.37.1-1.2-obj/x86_64/desktop/. modules
CC [M] /home/javier/rtl8185/rtl8185/r8180_core.o
/home/javier/rtl8185/rtl8185/r8180_core.c: In function ‘proc_get_stats_hw’:
/home/javier/rtl8185/rtl8185/r8180_core.c:350:3: warning: cast from pointer to integer of different size
/home/javier/rtl8185/rtl8185/r8180_core.c:351:3: warning: cast from pointer to integer of different size
/home/javier/rtl8185/rtl8185/r8180_core.c:354:3: warning: cast from pointer to integer of different size
/home/javier/rtl8185/rtl8185/r8180_core.c:355:3: warning: cast from pointer to integer of different size
/home/javier/rtl8185/rtl8185/r8180_core.c:358:3: warning: cast from pointer to integer of different size
/home/javier/rtl8185/rtl8185/r8180_core.c:359:3: warning: cast from pointer to integer of different size
/home/javier/rtl8185/rtl8185/r8180_core.c: In function ‘check_tx_ring’:
/home/javier/rtl8185/rtl8185/r8180_core.c:826:2: warning: cast from pointer to integer of different size
/home/javier/rtl8185/rtl8185/r8180_core.c:826:2: warning: cast from pointer to integer of different size
/home/javier/rtl8185/rtl8185/r8180_core.c:827:2: warning: cast from pointer to integer of different size
/home/javier/rtl8185/rtl8185/r8180_core.c:827:2: warning: cast from pointer to integer of different size
/home/javier/rtl8185/rtl8185/r8180_core.c: In function ‘alloc_tx_desc_ring’:
/home/javier/rtl8185/rtl8185/r8180_core.c:1447:17: warning: cast from pointer to integer of different size
/home/javier/rtl8185/rtl8185/r8180_core.c:1447:10: warning: cast to pointer from integer of different size
/home/javier/rtl8185/rtl8185/r8180_core.c: In function ‘alloc_rx_desc_ring’:
/home/javier/rtl8185/rtl8185/r8180_core.c:1621:17: warning: cast from pointer to integer of different size
/home/javier/rtl8185/rtl8185/r8180_core.c:1621:10: warning: cast to pointer from integer of different size
/home/javier/rtl8185/rtl8185/r8180_core.c: In function ‘rtl8180_rx’:
/home/javier/rtl8185/rtl8185/r8180_core.c:2065:5: error: implicit declaration of function ‘rdtsc_rtl’
/home/javier/rtl8185/rtl8185/r8180_core.c: In function ‘rtl8180_watch_dog’:
/home/javier/rtl8185/rtl8185/r8180_core.c:2793:7: warning: unused variable ‘bEnterPS’
make[4]: *** [/home/javier/rtl8185/rtl8185/r8180_core.o] Error 1
make[3]: *** [_module_/home/javier/rtl8185/rtl8185] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: se sale del directorio `/usr/src/linux-2.6.37.1-1.2-obj/x86_64/desktop'
make: *** [all] Error 2

--------------------------------------------------------------------------

Tiro un.

linux-88t5:/home/javier/rtl8185 # grep -i error /var/log/messages |more

y me da lo siguiente.

--------------------------------------------------------------------------
May 13 19:53:17 linux kernel: [ 171.752027] end_request: I/O error, dev fd0, sector 0
May 13 19:53:17 linux kernel: [ 171.776023] end_request: I/O error, dev fd0, sector 0
May 18 08:12:20 linux-88t5 smartd[1934]: Device: /dev/sda [SAT], SMART Prefailure Attribute: 1 Raw_Read_Error_Rate changed from 99 to 100
May 18 08:43:55 linux-88t5 kernel: [ 1319.042307] ata4.00: irq_stat 0x08000002, interface fatal error
May 18 08:43:55 linux-88t5 kernel: [ 1319.042310] ata4: SError: { Proto }
May 18 08:43:55 linux-88t5 kernel: [ 1319.042320] res 50/00:03:00:24:00/00:00:00:00:00/a0 Emask 0x12 (ATA bus error)
May 18 08:46:42 linux-88t5 kernel: [ 1485.792053] ata1.00: NCQ disabled due to excessive errors
May 18 08:46:42 linux-88t5 kernel: [ 1486.439015] ata4.00: irq_stat 0x08000002, interface fatal error
May 18 08:46:42 linux-88t5 kernel: [ 1486.439018] ata4: SError: { Proto }
May 18 08:46:42 linux-88t5 kernel: [ 1486.439032] res 50/00:03:00:24:00/00:00:00:00:00/a0 Emask 0x12 (ATA bus error)
May 18 08:47:13 linux-88t5 kernel: [ 1517.052187] ata4.00: irq_stat 0x08000002, interface fatal error
May 18 08:47:13 linux-88t5 kernel: [ 1517.052190] ata4: SError: { Proto }
May 18 08:47:13 linux-88t5 kernel: [ 1517.052200] res 50/00:03:00:24:00/00:00:00:00:00/a0 Emask 0x12 (ATA bus error)
May 24 09:53:57 linux-88t5 kernel: [ 268.202047] end_request: I/O error, dev fd0, sector 0
May 24 10:04:25 linux-88t5 kernel: [ 896.736048] ata1.00: NCQ disabled due to excessive errors
May 24 15:43:36 linux-88t5 kernel: [ 2507.670038] end_request: I/O error, dev fd0, sector 0
May 24 15:43:36 linux-88t5 kernel: [ 2507.697026] end_request: I/O error, dev fd0, sector 0
May 24 15:43:51 linux-88t5 kernel: [ 2523.454030] end_request: I/O error, dev fd0, sector 0
May 24 15:43:51 linux-88t5 kernel: [ 2523.481039] end_request: I/O error, dev fd0, sector 0
May 24 15:43:55 linux-88t5 kernel: [ 2527.164030] end_request: I/O error, dev fd0, sector 0
May 24 15:43:55 linux-88t5 kernel: [ 2527.191026] end_request: I/O error, dev fd0, sector 0
May 24 16:04:04 linux-88t5 kernel: [ 3736.117052] ata4.00: irq_stat 0x08000002, interface fatal error
May 24 16:04:04 linux-88t5 kernel: [ 3736.117055] ata4: SError: { Proto }
May 24 16:04:04 linux-88t5 kernel: [ 3736.117065] res 50/00:03:00:24:00/00:00:00:00:00/a0 Emask 0x12 (ATA bus error)
May 24 16:10:13 linux-88t5 kernel: [ 4105.036660] ata4.00: irq_stat 0x08000002, interface fatal error
May 24 16:10:13 linux-88t5 kernel: [ 4105.036663] ata4: SError: { Proto }
May 24 16:10:13 linux-88t5 kernel: [ 4105.036673] res 50/00:03:00:24:00/00:00:00:00:00/a0 Emask 0x12 (ATA bus error)
May 24 16:11:15 linux-88t5 kernel: [ 19.218668] type=1400 audit(1306264275.665:27): apparmor="DENIED" operation="change_hat" info="unconfined
" error=-1 pid=1668 comm="kdm"
May 24 16:11:15 linux-88t5 kernel: [ 19.218687] type=1400 audit(1306264275.665:28): apparmor="DENIED" operation="change_hat" info="unconfined
" error=-1 pid=1668 comm="kdm"
May 24 16:29:05 linux-88t5 kernel: [ 20.550647] type=1400 audit(1306265345.995:27): apparmor="DENIED" operation="change_hat" info="unconfined
" error=-1 pid=1657 comm="kdm"
May 24 16:29:05 linux-88t5 kernel: [ 20.550667] type=1400 audit(1306265345.995:28): apparmor="DENIED" operation="change_hat" info="unconfined
" error=-1 pid=1657 comm="kdm"
May 24 18:40:10 linux-88t5 kernel: [ 20.435472] type=1400 audit(1306273210.883:27): apparmor="DENIED" operation="change_hat" info="unconfined
" error=-1 pid=1633 comm="kdm"
May 24 18:40:10 linux-88t5 kernel: [ 20.435492] type=1400 audit(1306273210.883:28): apparmor="DENIED" operation="change_hat" info="unconfined
" error=-1 pid=1633 comm="kdm"
--------------------------------------------------------------------------

Tambien les comento que cuando hago un make instal o hago un ./Makefile

me dice acceso denegado, claro que todos los comandos los tiro previo paso de un su.

Tengo la ultima vercion istalada de Open SUSE para 64Bts con las librerias c para desarrollo en 32, lo que no tengo en claro es si tengo las fuentes del kernel, pero creo que si.

Si me pueden dar una idea les agradeceria.

Saludos.
Responder Citando
  #2  
Antiguo 25-may-2011, 10:02
Avatar de DiabloRojo
DiabloRojo DiabloRojo está desconectado
Super Moderador
 
Fecha de Ingreso: 19-marzo-2005
Ubicación: En un lugar del planeta Tierra
Versión: La ultima estable
Mensajes: 16.585
Agradecimientos: 568
Agradecido 2.475 Veces en 1.673 Mensajes
Poder de Credibilidad: 10
DiabloRojo llegará a ser famoso muy pronto
Bienvenido al foro, por favor, lee las normas del foro donde aprenderás cosas útiles como aportar datos, hacer preguntas, como buscar.... es como una guía para los novatos. Fíjate lo que dice resaltado la norma 5.

Si me das el identificador del fabricante y del modelo te diré que driver utiliza y si esta soportado por openSUSE, lee la 1ª parte de esta guía Mi tarjeta inalambrica (wireless) no funciona - Guia para que funcione

Como eres nuevo, preséntate en la sección de Presentaciones y, por favor, lee las normas.

__________________
NORMAS A CUMPLIR EN LOS FOROS (Lectura obligatoria) Lo siento, no contesto privados sobre problemas con GNU/Linux.
Síguenos en TWITTER y en FACEBOOK
Código:
Buscador de   Alojamiento      Alojamiento     Otros
 paquetes:    de imágenes:     de ficheros:    buscadores:
Search        TinyPic          Ifile Wuala     Simple y Facil
Webpinstant   Paste Suse       SendSpace       TextSnip  Cl1p
Responder Citando
Respuesta

Marcadores


(0 miembros y 1 visitantes)
 
Herramientas
Desplegado

Normas de Publicación
No puedes crear nuevos temas
No puedes responder mensajes
No puedes subir archivos adjuntos
No puedes editar tus mensajes

Los Códigos BB están Activado
Las Caritas están Activado
[IMG] está Activado
El Código HTML está Desactivado

Ir al Foro

Temas Similares
Tema Autor Foro Respuestas Último mensaje
Guía de Ndiswrapper: Instalación del driver y configuración DiabloRojo FAQs, Manuales y Tutoriales 4 28-sep-2010 19:50
Instalación de Drivers Ganived Hardware 3 01-abr-2008 09:40
Desktop de Open Suse 10.3 solo usa 2/3 de mi pantalla galessandro Hardware 4 13-mar-2008 16:03
Guía de Instalación de OpenSuSE 10.3 DiabloRojo Instalación y Actualizaciones 5 11-feb-2008 11:41
desesperado drivers ati aceleracion 3d annubis Hardware 9 23-nov-2007 14:12



Síguenos en Twitter Suscríbete a nuestras noticias Acompáñanos en Facebook


La franja horaria es GMT +2. Ahora son las 17:25.
Powered by vBulletin™
Copyright © vBulletin Solutions, Inc. All rights reserved.

Esta página está bajo una licencia de Creative Commons, salvo que no se indique lo contrario.
Creative Commons License

Valid CSS!

Diseño por:Designed by: vbdesigns.devbdesigns.de 
Contáctenos - ForoSUSE - Archivo - Declaración de Privacidad - Arriba