Título: Problema con drivers y bugtraq Publicado por: chulas2106 en 31 Diciembre 2014, 14:56 pm Hola, acabo de instalar bugtraq en mi netbook, pero resulta que no tengo conexion inalambrica!! :o
A mi se me ocurrio pensar que podia ser por los drivers, asique fui a la pagina de realtek y busque mi tarjeta de red, descargue el driver en formato tar.bz2... pero no se que hacer con esto, he leido algo en internet sobre descomprimirlo y en la carpeta creada hacer ./configure , make , make install pero no puedo porque el ./configure me da error ( pone "bash: ./configure: No such file or directory") asique no puedo seguir con make o make install Mi tarjeta es una Realtek RTL8188CE Título: Re: Problema con drivers y bugtraq Publicado por: MinusFour en 31 Diciembre 2014, 15:20 pm Existe el archivo?
Si existe, me imagino que solo falta que le pongas permisos de ejecucion. Código
Título: Re: Problema con drivers y bugtraq Publicado por: chulas2106 en 2 Enero 2015, 06:12 am Hola, gracias por tu respuesta
Cuando abro la carpeta con el explorador de archivos, no aparece nada llamado "configure" por si sirve esto es lo que me da cuando pongo "ls" base.c core.c pci.c release_note base.h core.h pci.h rtl8188ee cam.c debug.c ps.c rtl8192ce cam.h debug.h ps.h rtl8192de compat efuse.c rc.c rtl8192se compat.h efuse.h rc.h rtl8723e compat-wireless-3.0-2-mesh.tar.bz2 firmware readme stats.c compat-wireless-3.0-2.tar.bz2 Kconfig regd.c stats.h compat-wireless-3.2.5-1.tar.bz2 Makefile regd.h wifi.h Título: Re: Problema con drivers y bugtraq Publicado por: MinusFour en 2 Enero 2015, 07:37 am Hola, gracias por tu respuesta Cuando abro la carpeta con el explorador de archivos, no aparece nada llamado "configure" por si sirve esto es lo que me da cuando pongo "ls" base.c core.c pci.c release_note base.h core.h pci.h rtl8188ee cam.c debug.c ps.c rtl8192ce cam.h debug.h ps.h rtl8192de compat efuse.c rc.c rtl8192se compat.h efuse.h rc.h rtl8723e compat-wireless-3.0-2-mesh.tar.bz2 firmware readme stats.c compat-wireless-3.0-2.tar.bz2 Kconfig regd.c stats.h compat-wireless-3.2.5-1.tar.bz2 Makefile regd.h wifi.h ¿De donde has bajado el driver? Hay un driver que ha ganado mas popularidad que el original: https://github.com/FreedomBen/rtl8188ce-linux-driver Título: Re: Problema con drivers y bugtraq Publicado por: chulas2106 en 2 Enero 2015, 16:34 pm Hola, con este driver avance algo mas que con el otro :)
pero sigo teniendo un problema: esto fue lo que yo hice root@ubuntu:/home/bugtraq/Downloads/rtl8188ce-linux-driver-master# make if [ -e verify_branch.sh ] ; \ then \ ./verify_branch.sh ; \ fi; Verifying a sane branch for your kernel version... No (current branch rtl8188ce-linux-driver-master) -e You don't appear to be in a Git checkout. This means branch information is not available. You can still proceed to build, but you might be using unstable code. Would you like me to try and get a git checkout for you? (Y/N): y Reading package lists... Done Building dependency tree Reading state information... Done gcc is already the newest version. build-essential is already the newest version. linux-headers-generic is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 770 not upgraded. Reading package lists... Done Building dependency tree Reading state information... Done git is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 770 not upgraded. Cloning into 'rtl8188ce-linux-driver'... remote: Counting objects: 4528, done. remote: Total 4528 (delta 0), reused 0 (delta 0) Receiving objects: 100% (4528/4528), 16.28 MiB | 293 KiB/s, done. Resolving deltas: 100% (3462/3462), done. -e Looks like the clone was successful (new folder is /home/bugtraq/Downloads/rtl8188ce-linux-driver-master/rtl8188ce-linux-driver) -e Kicking off the build... make[1]: Entering directory `/home/bugtraq/Downloads/rtl8188ce-linux-driver-master/rtl8188ce-linux-driver' if [ -e verify_branch.sh ] ; \ then \ ./verify_branch.sh ; \ fi; Verifying a sane branch for your kernel version... No (Current branch master) Recommended branch is ubuntu-12.04 based on your kernel version (3.2.0-40-generic) Should I switch it to ubuntu-12.04 for you? (y/n): n OK, but if the build fails come back here and try again. Continue with the build? (Y/N): y make -C /lib/modules/3.2.0-40-generic/build M=/home/bugtraq/Downloads/rtl8188ce-linux-driver-master/rtl8188ce-linux-driver modules make[2]: Entering directory `/lib/modules/3.2.0-40-generic/build' make[2]: *** No rule to make target `modules'. Stop. make[2]: Leaving directory `/lib/modules/3.2.0-40-generic/build' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/bugtraq/Downloads/rtl8188ce-linux-driver-master/rtl8188ce-linux-driver' ./verify_branch.sh: 121: ./verify_branch.sh: 2: not found -e Build exited with failure status (Exit code 127). To install, cd over to rtl8188ce-linux-driver and run "sudo make install" make -C /lib/modules/3.2.0-40-generic/build M=/home/bugtraq/Downloads/rtl8188ce-linux-driver-master modules make[1]: Entering directory `/lib/modules/3.2.0-40-generic/build' make[1]: *** No rule to make target `modules'. Stop. make[1]: Leaving directory `/lib/modules/3.2.0-40-generic/build' make: *** [all] Error 2 Título: Re: Problema con drivers y bugtraq Publicado por: MinusFour en 2 Enero 2015, 17:04 pm Creo que no tienes las headers para ese kernel en especifico. Instalalos:
Código
Título: Re: Problema con drivers y bugtraq Publicado por: chulas2106 en 2 Enero 2015, 19:54 pm Gracias por tu respuesta :)
Puse ese comando y al final me dice esto: Error! Could not locate dkms.conf file. File: does not exist. Error! Your kernel headers for kernel 3.2.0-40-generic cannot be found. Please install the linux-headers-3.2.0-40-generic package, or use the --kernelsourcedir option to tell DKMS where it's located Título: Re: Problema con drivers y bugtraq Publicado por: MinusFour en 2 Enero 2015, 20:09 pm Gracias por tu respuesta :) Puse ese comando y al final me dice esto: Error! Could not locate dkms.conf file. File: does not exist. Error! Your kernel headers for kernel 3.2.0-40-generic cannot be found. Please install the linux-headers-3.2.0-40-generic package, or use the --kernelsourcedir option to tell DKMS where it's located Ahora que lo pienso, seria mejor que hicieras un upgrade a tu sistema. Tienes como 700 paquetes por actualizar de momento. Código
Debe actualizarte tu sistema correctamente a una nueva revision del kernel (ahora van por 3.2.0-74 en precise) y los headers que instalaste ya deberian funcionarte para hacer el build del driver. Título: Re: Problema con drivers y bugtraq Publicado por: chulas2106 en 2 Enero 2015, 22:30 pm Puse ese ultimo comando, espere a que termine y reinicie, cuando pongo "sudo apt-get install linux-headers-3.2.0-40-generic" me sale esto:
Reading package lists... Done Building dependency tree Reading state information... Done linux-headers-3.2.0-40-generic is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 770 not upgraded. pero sigo sin poder hacer make ni ./confgiure :-( Título: Re: Problema con drivers y bugtraq Publicado por: MinusFour en 2 Enero 2015, 23:22 pm Puse ese ultimo comando, espere a que termine y reinicie, cuando pongo "sudo apt-get install linux-headers-3.2.0-40-generic" me sale esto: Reading package lists... Done Building dependency tree Reading state information... Done linux-headers-3.2.0-40-generic is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 770 not upgraded. pero sigo sin poder hacer make ni ./confgiure :-( Parece que no termino de hacer el upgrade porque sigo viendo 770 paquetes a hacer un upgrade. Pon este comando y pega el output de la terminal (haz un backup de toda tu informacion primero, por si esto rompe tu sistema). Código
Muestrame tambien que kernel tienes: Código
Veo tambien que tienes los headers para la version del kernel que decias que tenias (ahora con el upgrade no estoy seguro si lo sigas teniendo). Creo que lo importante es que actualizes tu sistema, por lo que el upgrade debe quedar bien. Después deberias poder seguir la guia en la pagina que te di. Título: Re: Problema con drivers y bugtraq Publicado por: chulas2106 en 2 Enero 2015, 23:49 pm Esto es de "sudo apt-get dist-upgrade"
Código
Y esto de "uname -r" 3.2.0-40-generic Título: Re: Problema con drivers y bugtraq Publicado por: MinusFour en 3 Enero 2015, 00:14 am El repositorio de gambas3 en launchpad parece que lo han abandonado (tienen una version para 13.04) en adelante. Quizas simplemente lo movieron aqui:
http://ppa.launchpad.net/gambas-team/gambas3/ubuntu/ Puedes poner tu /etc/apt/sources.list? Código
Creo que deberias poder abrir el archivo (con sudo) y simplemente cambiar la url del repositorio y hacer el dist-upgrade (cambiar http://ppa.launchpad.net/nemh/gambas3/ubuntu/ por la url de arriba). Pero esto jamas lo he probado con repositorios de launchpad. Tambien podrias correr con el --fix-missing. Título: Re: Problema con drivers y bugtraq Publicado por: chulas2106 en 3 Enero 2015, 02:05 am cuando pongo "cat /etc/apt/sources.list" me sale lo siguiente:
Código A que te refieres cuando dices Citar Tambien podrias correr con el --fix-missing. que es eso?Título: Re: Problema con drivers y bugtraq Publicado por: MinusFour en 3 Enero 2015, 02:32 am cuando pongo "cat /etc/apt/sources.list" me sale lo siguiente: # deb cdrom:[Xubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423)]/ precise main multiverse restricted universe # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://es.archive.ubuntu.com/ubuntu/ precise main restricted deb-src http://es.archive.ubuntu.com/ubuntu/ precise main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://es.archive.ubuntu.com/ubuntu/ precise-updates main restricted deb-src http://es.archive.ubuntu.com/ubuntu/ precise-updates main restricted ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb http://es.archive.ubuntu.com/ubuntu/ precise universe deb-src http://es.archive.ubuntu.com/ubuntu/ precise universe deb http://es.archive.ubuntu.com/ubuntu/ precise-updates universe deb-src http://es.archive.ubuntu.com/ubuntu/ precise-updates universe ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. deb http://es.archive.ubuntu.com/ubuntu/ precise multiverse deb-src http://es.archive.ubuntu.com/ubuntu/ precise multiverse deb http://es.archive.ubuntu.com/ubuntu/ precise-updates multiverse deb-src http://es.archive.ubuntu.com/ubuntu/ precise-updates multiverse ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. deb http://es.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse deb-src http://es.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse deb http://security.ubuntu.com/ubuntu precise-security main restricted deb-src http://security.ubuntu.com/ubuntu precise-security main restricted deb http://security.ubuntu.com/ubuntu precise-security universe deb-src http://security.ubuntu.com/ubuntu precise-security universe deb http://security.ubuntu.com/ubuntu precise-security multiverse deb-src http://security.ubuntu.com/ubuntu precise-security multiverse ## Uncomment the following two lines to add software from Canonical's ## 'partner' repository. ## This software is not part of Ubuntu, but is offered by Canonical and the ## respective vendors as a service to Ubuntu users. deb http://archive.canonical.com/ubuntu precise partner deb-src http://archive.canonical.com/ubuntu precise partner ## This software is not part of Ubuntu, but is offered by third-party ## developers who want to ship their latest software. deb http://extras.ubuntu.com/ubuntu precise main deb-src http://extras.ubuntu.com/ubuntu precise main #Remastersys Precise deb http://www.remastersys.com/ubuntu precise main deb http://repo.xplico.org/ precise main deb http://gnuradio.org/ubuntu stable main deb-src http://gnuradio.org/ubuntu stable main deb http://download.opensuse.org/repositories/security:/OpenVAS:/UNSTABLE:/v5/xUbuntu_12.04/ ./ deb-src http://download.opensuse.org/repositories/security:/OpenVAS:/UNSTABLE:/v5/xUbuntu_12.04/ ./ deb http://people.dsv.su.se/~kakavas/creepy/ binary/ A que te refieres cuando dices que es eso? No veo el repositorio en cuestion, debe estar en /etc/apt/sources.list.d/... Prueba a removerlo con un comando: Código
Y luego agregar otro repositorio de gambas3 (que al parecer tienen soporte para precise). Código
Despues hacer un update: Código
Y finalmente un upgrade: Código
Aunque no estoy totalmente seguro si esto corregira los paquetes. Quizas lo mejor que puedas hacer es usar el --fix-missing: Código
Despues seria cuestion de compilar el driver (siguiendo las instrucciones de github). El update realmente no es necesario, pero seria mejor hacer el update ahora y compilar el driver con el nuevo kernel. Título: Re: Problema con drivers y bugtraq Publicado por: chulas2106 en 3 Enero 2015, 04:01 am Cuando pongo "sudo apt-add-repository --remove ppa:nemh/gambas3" me sale esto:
Cannot access PPA (https://launchpad.net/api/1.0/~nemh/+archive/gambas3) to get PPA information, please check your internet connection. Pero si tengo acceso a internet... Y cuando pongo "sudo apt-get update" (incluso con el --fix-missing) me sale Código
Título: Re: Problema con drivers y bugtraq Publicado por: MinusFour en 3 Enero 2015, 04:53 am Son los repos extras que tienes que ya no existen o los movieron los que te estan jodiendo, al parecer no es solamente el repositorio de gambas3. De todas formas, si tienes los headers de tu kernel actual (y parece que si los tienes) debes poder compilar el driver.
Creo tambien que deberias poder actualizar la parte que es precise con: Código
Los demas repos creo que son de bugtraq y ya no estan (sera que estás en la version vieja de bugtraq? y no la 2.0?) asi que no podras actualizarlos. |