[ubuntu-ar] [Ubuntu]Problemas con Wifi Atheros en Hardy

Lucas Livchits livchitsl at yahoo.com.ar
Fri May 16 17:09:06 BST 2008


----- Mensaje original ----

De: Santiago Hollmann <santiago.hollmann en gmail.com>
Para: Ubuntu User Group Argentina <ubuntu-ar en lists.ubuntu.com>
Enviado: viernes 16 de mayo de 2008, 12:45:40
Asunto: Re: [ubuntu-ar] [Ubuntu]Problemas con Wifi Atheros en Hardy

jaja no cai en al cuenta :p es obvio que no esta pudiendo compilar por todos esos errores del codigo xD o eso creo :P


El día 16 de mayo de 2008 12:44, Santiago Hollmann <santiago.hollmann en gmail.com> escribió:

Bueno... te comento xD

Hice lo que me dijiste, eso andubo bien. Cuando hice el sudo make tiro lo siguiente


paula en paula-laptop:~/madwifi-0.9.4$ sudo make
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.24-16-generic/build SUBDIRS=/home/paula/madwifi-0.9.4 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic'
  HOSTCC  /home/paula/madwifi-0.9.4/ath_hal/uudecode
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:26:19: error: stdio.h: No such file or directory
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:27:19: error: errno.h: No such file or directory
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:28:20: error: getopt.h: No such file or directory
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:29:20: error: string.h: No such file or directory
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:30:20: error: stdlib.h: No such file or directory
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:32:23: error: sys/fcntl.h: No such file or directory
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:33:22: error: sys/stat.h: No such file or directory
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c: In function 'uudecode_usage':
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:37: warning: implicit declaration of function 'printf'
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:37: warning: incompatible implicit declaration of built-in function 'printf'
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c: At top level:
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:40: error: expected ')' before '*' token
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:70: error: expected ')' before '*' token
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c: In function 'main':
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:121: error: 'FILE' undeclared (first use in this function)
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:121: error: (Each undeclared identifier is reported only once
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:121: error: for each function it appears in.)
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:121: error: 'src_stream' undeclared (first use in this function)
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:122: error: 'dst_stream' undeclared (first use in this function)
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:122: error: 'NULL' undeclared (first use in this function)
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:130: warning: implicit declaration of function 'getopt'
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:134: error: 'optarg' undeclared (first use in this function)
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:138: warning: implicit declaration of function 'exit'
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:138: warning: incompatible implicit declaration of built-in function 'exit'
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:141: error: 'optind' undeclared (first use in this function)
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:142: error: 'stdin' undeclared (first use in this function)
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:144: warning: implicit declaration of function 'fopen'
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:146: warning: implicit declaration of function 'fprintf'
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:146: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:146: error: 'stderr' undeclared (first use in this function)
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:147: warning: implicit declaration of function 'strerror'
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:147: error: 'errno' undeclared (first use in this function)
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:147: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:148: warning: incompatible implicit declaration of built-in function 'exit'
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:152: warning: incompatible implicit declaration of built-in function 'exit'
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:156: warning: implicit declaration of function 'get_line_from_file'
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:156: warning: assignment makes pointer from integer without a cast
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:157: warning: implicit declaration of function 'strncmp'
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:164: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:165: warning: incompatible implicit declaration of built-in function 'exit'
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:168: warning: implicit declaration of function 'strtoul'
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:170: warning: implicit declaration of function 'strchr'
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:170: warning: incompatible implicit declaration of built-in function 'strchr'
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:172: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:173: warning: incompatible implicit declaration of built-in function 'exit'
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:178: warning: implicit declaration of function 'strcmp'
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:179: error: 'stdout' undeclared (first use in this function)
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:182: error: 'O_WRONLY' undeclared (first use in this function)
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:182: error: 'O_CREAT' undeclared (first use in this function)
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:182: error: 'O_TRUNC' undeclared (first use in this function)
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:186: error: 'O_EXCL' undeclared (first use in this function)
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:188: warning: implicit declaration of function 'open'
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:189: error: 'S_IRWXU' undeclared (first use in this function)
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:189: error: 'S_IRWXG' undeclared (first use in this function)
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:189: error: 'S_IRWXO' undeclared (first use in this function)
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:191: warning: implicit declaration of function 'fdopen'
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:193: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:194: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:195: warning: incompatible implicit declaration of built-in function 'exit'
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:199: warning: implicit declaration of function 'read_stduu'
/home/paula/madwifi-0.9.4/ath_hal/uudecode.c:201: warning: implicit declaration of function 'fclose'
make[3]: *** [/home/paula/madwifi-0.9.4/ath_hal/uudecode] Error 1
make[2]: *** [/home/paula/madwifi-0.9.4/ath_hal] Error 2
make[1]: *** [_module_/home/paula/madwifi-0.9.4] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic'
make: *** [modules] Error 2


Lo que me hace sentir que hay un error en el codigo (por no decir muchos ya que ahi me tira errores del archivo uudecode) pero tambien puede ser que no se este abrienod algo o que me falte algo que permita entrar de manera correctar a ese programita (uudecode) y que por eso no ande...
A vos por ahi se te ocurre otra cosa :).
Un abrazo y gracias!
Santiago H.



El día 16 de mayo de 2008 12:22, Lucas Livchits <livchitsl en yahoo.com.ar> escribió:

----- Mensaje original ----

De: Santiago Hollmann <santiago.hollmann en gmail.com>
Para: Ubuntu User Group Argentina <ubuntu-ar en lists.ubuntu.com>
Enviado: viernes 16 de mayo de 2008, 11:46:15
Asunto: Re: [ubuntu-ar] [Ubuntu]Problemas con Wifi Atheros en Hardy


Hola man!
Mil gracias por la respuesta!
Te comento... estos son los pasos que distey que creo que tengo que seguir:

3- Extraés los archivos que habías bajado:
$ sudo tar -xzvf /directorio_en_el_que_lo_guardaste/madwifi-nr-r3366+ar5007.tar.gz
4- Te movés al nuevo directorio:
$ cd /directorio_donde_descomprimiste/madwifi-nr-r3366+ar5007
5- Compilás:
$ sudo make
6- Borrás posibles instalaciones anteriores de Madwifi:
$ sudo rm -rf /lib/modules/`uname -r`/madwifi 
7- Instalás el driver:
$ sudo make install
8- Reiniciás

Bueno... cuando hago el sudo make me da este error:

paula en paula-laptop:~/madwifi-0.9.4$ sudo make install
sh scripts/find-madwifi-modules.sh 2.6.24-16-generic 
for i in ath/ ath_hal/ ath_rate/ net80211/; do \
        make -C $i install || exit 1; \
    done
make[1]: Entering directory `/home/paula/madwifi-0.9.4/ath'
test -d //lib/modules/2.6.24-16-generic/net || mkdir -p //lib/modules/2.6.24-16-generic/net
install ath_pci.ko //lib/modules/2.6.24-16-generic/net
install: cannot stat `ath_pci.ko': No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/paula/madwifi-0.9.4/ath'
make: *** [install-modules] Error 1

Perdona que te este dando un dolor de cabeza y otra vez MIL GRACIAS.
Un abrazo, Santiago H.



El día 16 de mayo de 2008 11:21, Lucas Livchits <livchitsl en yahoo.com.ar> escribió:

De: Santiago Hollmann <santiago.hollmann en gmail.com>
Para: Ubuntu User Group Argentina <ubuntu-ar en lists.ubuntu.com>
Enviado: viernes 16 de mayo de 2008, 10:58:43
Asunto: [ubuntu-ar] [Ubuntu]Problemas con Wifi Atheros en Hardy


Hola hermanos!
                        Nuevamente solicito su ayuda.
Mi cuñada me trajo su notebook (Acer modelo 5420-5687 con wifi Atheros y en la aprte de atras dice: AR5BXB63 y en esta web http://madwifi.org/wiki/Compatibility/Atheros#AtherosAR5BXB63 dice lo siguiente: "Chip: wi-fi.org says that is AR5006EG" y "Notes:In windows it's appears like AR5007EG") y a la hora de querer usar internet me vi imposibilitado ya que:
1)No se como configurar la coneccion.
2)Cuando hice iwconfig me aparecio esto:
                -lo No wireless extensions.
                -eth0 No wireless extensions
                -irda0 No wireless extensions.

Como verán estoy muy perdido y en internet no pude lograr encontrar algo que me ayude.
Nota: Me baje Madwifi pero no lo instale ni nada porque no tenia idea y no queria tocar sin que ustedes lo dijeran porque ademas cuando voy a controladores restirngidos me aparece:
  -Atheros Hardware Acces Layer (HAL) "habilitado" y EN USO
  -Support for Atheros 802.11 wireless LAN cards "habilitado" y EN USO.
  -Ati Fire GL "Habilitado" No etsa en uso.

Espero que me puedan guiar un poquito.
Disculpen la molestia y desde ya muchas gracias.
Santiago.


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

Santiago,
¿Cómo va? Te paso un link [0] con una expliación de cómo instalarla con el Madwifi, en realidad una versión modificada de él, que dejé en algún momento en el foro de Ubuntu-es.
Cualquier cosa volvé a consultar.
Saludos
Lucas

[0] http://www.ubuntu-es.org/index.php?q=node/83054#comment-230889

 

Santiago,
A ver, no soy experto ;), pero ya me metí así que... El mensaje está diciendo que falta algo, aunque no logro entender si es el archivo ath_pci.ko o el directorio //lib/modules/2.6.24-16-generic/net. El ath_pci.ko viene en el archivo comprimido, así que no creo que sea eso. Se me ocurre que una posibilidad (y veo que es algo que le falta a la explicación que dejé en el foro) es que no tengas instalados los paquetes build-essential y  linux-headers, que son necesarios para el procedimiento. Si es eso, lo arreglás con un $ sudo aptitude install build-essential linux-headers-`uname -r`
Fijate y contame. Mientras sigo pensando, je
Saludos



--

Ubuntu-ar lista de correo
Ubuntu-ar en lists.ubuntu.com
Modifica tus opciones o desuscribite en: https://lists.ubuntu.com/mailman/listinfo/ubuntu-ar
Siempre leer, comprender y aplicar nuestra etiqueta: https://wiki.ubuntu.com/ArgentinaTeam/EtiquetaML





Caramba, me supera. ¿Probaste con el sudo make install a pesar de todo eso? Encima no tengo máquina con Ubuntu acá para probar.



      Tarjeta de crédito Yahoo! de Banco Supervielle.
Solicitá tu nueva Tarjeta de crédito. De tu PC directo a tu casa. www.tuprimeratarjeta.com.ar 
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: https://lists.ubuntu.com/archives/ubuntu-ar/attachments/20080516/e8443d18/attachment-0001.htm 


More information about the Ubuntu-ar mailing list