Los problemillas de Pallacus.

Moderadores: Kravenbcn, largeroliker, fidelcastro, cerealkiller, pspCaracas, dark_sasuke, m0skit0, LnD, ka69, zacky06

Avatar de Usuario
dark_sasuke
Moderador Global
Moderador Global
Mensajes: 3380
Registrado: 03 Sep 2009, 02:13
Twitter: D4rkyt0

Re: Portatil se bloquea al activar Wi-Fi.

Mensaje por dark_sasuke »

Pallaquito, viene codigo fuente? o viene un .deb?
Imagen

Avatar de Usuario
Dark Pallacus
ViP Hordes
ViP Hordes
Mensajes: 1509
Registrado: 03 Sep 2009, 00:35
PSN ID: Pallacus
Ubicación: Barcelona
Contactar:

Re: Portatil se bloquea al activar Wi-Fi.

Mensaje por Dark Pallacus »

Lo que? XD :P
Es un archivo .tar.gz y vienen varias carpetas con archivos. No he encontrado ninguna carpeta DEB ni he visto ningún archivo.deb, por lo que imagino que vendrá el código fuente, aunque no puedo estar seguro. :P
PS3 - PSP 2000

Avatar de Usuario
dark_sasuke
Moderador Global
Moderador Global
Mensajes: 3380
Registrado: 03 Sep 2009, 02:13
Twitter: D4rkyt0

Re: Portatil se bloquea al activar Wi-Fi.

Mensaje por dark_sasuke »

Vale, tonces si es el codigo fuente, al menos supongo xD

Descomprime ese archivo, y esa carpeta dejala donde las encuentres (osea descomprimelo en una carpeta) y en la consola da cd /ruta/de/la/carpeta y listo, cuando estes dentro de la carpeta (osea con lo anterior) das ./config o ./configure, ahi deberia pasar algo, despues haras make y pasara otra cosa xD, despues haces sudo su y despues make install ... se supone que con eso ya estaria compilado e instalado. ;)
Imagen

Avatar de Usuario
Dark Pallacus
ViP Hordes
ViP Hordes
Mensajes: 1509
Registrado: 03 Sep 2009, 00:35
PSN ID: Pallacus
Ubicación: Barcelona
Contactar:

Re: Portatil se bloquea al activar Wi-Fi.

Mensaje por Dark Pallacus »

Gracias. De momento he hecho lo que me has recomendado, me ha dado algunos errores, así que añado una captura de la consola. También he seguido las siguientes instrucciones: http://www.nosinmiubuntu.com/2009/05/at ... aunty.html

Código: Seleccionar todo

sudo apt-get install linux-backports-modules-jaunty

echo ath9k | sudo tee -a /etc/modules


Spoiler:

Código: Seleccionar todo

albert@albert-K50IE:~$ cd Downloads
albert@albert-K50IE:~/Downloads$ cd madwifi
albert@albert-K50IE:~/Downloads/madwifi$ ./config
bash: ./config: El fitxer o directori no existeix
albert@albert-K50IE:~/Downloads/madwifi$ ./configure
bash: ./configure: El fitxer o directori no existeix
albert@albert-K50IE:~/Downloads/madwifi$ ./ config
bash: ./: ?s un directori
albert@albert-K50IE:~/Downloads/madwifi$ ./ configure
bash: ./: ?s un directori
albert@albert-K50IE:~/Downloads/madwifi$ make
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.35-22-generic/build SUBDIRS=/home/albert/Downloads/madwifi modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.35-22-generic'
  CC [M]  /home/albert/Downloads/madwifi/ath/if_ath.o
/home/albert/Downloads/madwifi/ath/if_ath.c: In function 'ath_merge_mcast':
/home/albert/Downloads/madwifi/ath/if_ath.c:4268: error: 'struct net_device' has no member named 'mc_list'
/home/albert/Downloads/madwifi/ath/if_ath.c:4268: error: dereferencing pointer to incomplete type
/home/albert/Downloads/madwifi/ath/if_ath.c:4270: error: dereferencing pointer to incomplete type
/home/albert/Downloads/madwifi/ath/if_ath.c:4270: error: dereferencing pointer to incomplete type
/home/albert/Downloads/madwifi/ath/if_ath.c:4270: error: dereferencing pointer to incomplete type
/home/albert/Downloads/madwifi/ath/if_ath.c:4270: error: dereferencing pointer to incomplete type
/home/albert/Downloads/madwifi/ath/if_ath.c:4272: error: dereferencing pointer to incomplete type
/home/albert/Downloads/madwifi/ath/if_ath.c:4272: error: dereferencing pointer to incomplete type
/home/albert/Downloads/madwifi/ath/if_ath.c:4272: error: dereferencing pointer to incomplete type
/home/albert/Downloads/madwifi/ath/if_ath.c:4272: error: dereferencing pointer to incomplete type
make[3]: *** [/home/albert/Downloads/madwifi/ath/if_ath.o] Error 1
make[2]: *** [/home/albert/Downloads/madwifi/ath] Error 2
make[1]: *** [_module_/home/albert/Downloads/madwifi] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-22-generic'
make: *** [modules] Error 2
albert@albert-K50IE:~/Downloads/madwifi$ sudo su
[sudo] password for albert:
root@albert-K50IE:/home/albert/Downloads/madwifi# make install
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.35-22-generic/build SUBDIRS=/home/albert/Downloads/madwifi modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.35-22-generic'
  CC [M]  /home/albert/Downloads/madwifi/ath/if_ath.o
/home/albert/Downloads/madwifi/ath/if_ath.c: In function 'ath_merge_mcast':
/home/albert/Downloads/madwifi/ath/if_ath.c:4268: error: 'struct net_device' has no member named 'mc_list'
/home/albert/Downloads/madwifi/ath/if_ath.c:4268: error: dereferencing pointer to incomplete type
/home/albert/Downloads/madwifi/ath/if_ath.c:4270: error: dereferencing pointer to incomplete type
/home/albert/Downloads/madwifi/ath/if_ath.c:4270: error: dereferencing pointer to incomplete type
/home/albert/Downloads/madwifi/ath/if_ath.c:4270: error: dereferencing pointer to incomplete type
/home/albert/Downloads/madwifi/ath/if_ath.c:4270: error: dereferencing pointer to incomplete type
/home/albert/Downloads/madwifi/ath/if_ath.c:4272: error: dereferencing pointer to incomplete type
/home/albert/Downloads/madwifi/ath/if_ath.c:4272: error: dereferencing pointer to incomplete type
/home/albert/Downloads/madwifi/ath/if_ath.c:4272: error: dereferencing pointer to incomplete type
/home/albert/Downloads/madwifi/ath/if_ath.c:4272: error: dereferencing pointer to incomplete type
make[3]: *** [/home/albert/Downloads/madwifi/ath/if_ath.o] Error 1
make[2]: *** [/home/albert/Downloads/madwifi/ath] Error 2
make[1]: *** [_module_/home/albert/Downloads/madwifi] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-22-generic'
make: *** [modules] Error 2
root@albert-K50IE:/home/albert/Downloads/madwifi# ^C
root@albert-K50IE:/home/albert/Downloads/madwifi#


De momento funciona, así que seguiremos probando.

EDITANDO:
Algo ha mejorado, ahora solo se cuelga si uso la wifi y desconecto el cable de corriente. Así que mi portatil no es tan portatil usando Ubuntu....

Alguien tiene idea de que puede estar fallando?

Gracias por aguantar mis penas.
PS3 - PSP 2000

Avatar de Usuario
pspCaracas
Moderador Global
Moderador Global
Mensajes: 3080
Registrado: 03 Sep 2009, 03:29
Ubicación: Buenos Aire - Argentina
Contactar:

Re: Portatil se bloquea al activar Wi-Fi.

Mensaje por pspCaracas »

Ubuntu no debería ser un lío como te está pasando. Seguro que tienes todo los que necesitas, es decir, el firmware y driver adecuado?
http://farm3.static.flickr.com/2497/3983880148_f5ae0aaab2_o.png

Avatar de Usuario
Dark Pallacus
ViP Hordes
ViP Hordes
Mensajes: 1509
Registrado: 03 Sep 2009, 00:35
PSN ID: Pallacus
Ubicación: Barcelona
Contactar:

Re: Portatil se bloquea al activar Wi-Fi.

Mensaje por Dark Pallacus »

Como puedo saber si tengo el firmware adecuado y si lo tengo bien?
PS3 - PSP 2000

Avatar de Usuario
pelon664
Habitual
Habitual
Mensajes: 278
Registrado: 01 Oct 2009, 23:28

Re: Portatil se bloquea al activar Wi-Fi.

Mensaje por pelon664 »

Bueno sere breve,instalé compat-wireless + un patch para corregir un error de aircrack-ng en Ubuntu 10.10.
Resulta que al activar Wi-Fi(atheros)no era el problema(no se apagaba o congelaba)si no que al abrir el navegador se congelaba el Sistema y tenia que apagar en bruto bueno busque mucho por google hasta que recordé lo ultimo que instalé ( compat-wireless) lo desinstalé y corregido el problema.

Lo comento para que tengas referencia tal vez no sea la solución pero Tambien instale linux-backports-wireless a mi me soluciono muchos problemas de perdida de conexión de WiFi.

P.D.ahora solo falta que sea lo adecuado ya que todo esto lo he encontrado en google y ami me funciono y jamas pregunte al maestro Moskito o a pspcaracas si era correcto o no XD.
Gracias m0skit0 por guiarme a el uso de software libre y por HBL.
Gracias Becus25 y Xenogears por CFWenabler
Gracias Mvisions por MHUSpeed
Gracias Total_Noob por el Downgrade

Avatar de Usuario
m0skit0
Administrador
Administrador
Mensajes: 5585
Registrado: 03 Sep 2009, 09:35
Ubicación: 0xdeadbeef

Re: Portatil se bloquea al activar Wi-Fi.

Mensaje por m0skit0 »

Si te ha funcionado es lo correcto :mrgreen: :oki:
Imagen

Avatar de Usuario
Dark Pallacus
ViP Hordes
ViP Hordes
Mensajes: 1509
Registrado: 03 Sep 2009, 00:35
PSN ID: Pallacus
Ubicación: Barcelona
Contactar:

Re: Portatil se bloquea al activar Wi-Fi.

Mensaje por Dark Pallacus »

Necesito ayuda:
Como sabéis el portátil se me sigue apagando. Si estoy usando la tarjeta Wi-Fi y no está conectado al alimentador de corriente.

Estoy usando Ubuntu 10.10 en un Asus X5DI con tarjeta Wi-Fi Atheros AR9285.

He leido un poco en la pagina de Madwifi y comentan que la versión mas compatible es la 0.9.4 . Por tanto la he descargado y he empezado por hacer un "make" pero me ha dado error y creo que esto es malo. Quizá los que tengáis mas experiencia me podéis decir si es malo o si puedo hacer algo para arreglarlo. Por si sirve de algo os dejo una captura de la consola (Los errores están en las últimas 24 o 25 lineas.):
Spoiler:

Código: Seleccionar todo

albert@albert-K50IE:~/Downloads/madwifi-0.9.4-r4133-20101223$  make
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.35-24-generic/build SUBDIRS=/home/albert/Downloads/madwifi-0.9.4-r4133-20101223 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.35-24-generic'
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath/if_ath.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath/if_ath_pci.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath/ath_pci.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_hal/ah_os.o
  HOSTCC  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_hal/uudecode
  UUDECODE /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_hal/x86_64-elf.bin
  UNMANGLE /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_hal/x86_64-elf.hal.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_hal/ath_hal.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_rate/amrr/amrr.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_rate/amrr/ath_rate_amrr.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_rate/minstrel/minstrel.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_rate/minstrel/ath_rate_minstrel.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_rate/onoe/onoe.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_rate/onoe/ath_rate_onoe.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_rate/sample/sample.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_rate/sample/ath_rate_sample.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/if_media.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_beacon.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_crypto.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_crypto_none.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_input.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_node.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_output.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_power.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_proto.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_scan.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_wireless.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_linux.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_monitor.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_rate.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_acl.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_crypto_ccmp.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_scan_ap.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_scan_sta.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_crypto_tkip.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_crypto_wep.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_xauth.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_wep.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_tkip.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_ccmp.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_acl.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_xauth.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_scan_sta.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_scan_ap.o
  Building modules, stage 2.
  MODPOST 14 modules
  CC      /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath/ath_pci.mod.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath/ath_pci.ko
  CC      /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_hal/ath_hal.mod.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_hal/ath_hal.ko
  CC      /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_rate/amrr/ath_rate_amrr.mod.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_rate/amrr/ath_rate_amrr.ko
  CC      /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_rate/minstrel/ath_rate_minstrel.mod.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_rate/minstrel/ath_rate_minstrel.ko
  CC      /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_rate/onoe/ath_rate_onoe.mod.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_rate/onoe/ath_rate_onoe.ko
  CC      /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_rate/sample/ath_rate_sample.mod.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_rate/sample/ath_rate_sample.ko
  CC      /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan.mod.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan.ko
  CC      /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_acl.mod.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_acl.ko
  CC      /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_ccmp.mod.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_ccmp.ko
  CC      /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_scan_ap.mod.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_scan_ap.ko
  CC      /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_scan_sta.mod.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_scan_sta.ko
  CC      /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_tkip.mod.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_tkip.ko
  CC      /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_wep.mod.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_wep.ko
  CC      /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_xauth.mod.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_xauth.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-24-generic'
make -C ./tools  all || exit 1
make[1]: Entering directory `/home/albert/Downloads/madwifi-0.9.4-r4133-20101223/tools'
gcc -o athstats -g -O2 -Wall -I. -I../hal -I.. -I../ath  athstats.c
athstats.c: In function 'main':
athstats.c:285: warning: format not a string literal and no format arguments
athstats.c:287: warning: format not a string literal and no format arguments
athstats.c:307: warning: format not a string literal and no format arguments
athstats.c:309: warning: format not a string literal and no format arguments
athstats.c:344: warning: format not a string literal and no format arguments
gcc -o 80211stats -g -O2 -Wall -I. -I../hal -I..  80211stats.c
80211stats.c: In function 'main':
80211stats.c:290: warning: format not a string literal and no format arguments
gcc -o athkey -g -O2 -Wall -I. -I../hal -I..  athkey.c
gcc -o athchans -g -O2 -Wall -I. -I../hal -I..  athchans.c
gcc -o athctrl -g -O2 -Wall -I. -I../hal -I..  athctrl.c
gcc -o athdebug -g -O2 -Wall -I. -I../hal -I..  athdebug.c
gcc -o 80211debug -g -O2 -Wall -I. -I../hal -I..  80211debug.c
gcc -o wlanconfig -g -O2 -Wall -I. -I../hal -I..  wlanconfig.c
wlanconfig.c: In function 'if_find_unit':
wlanconfig.c:297: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
wlanconfig.c: In function 'list_keys':
wlanconfig.c:830: warning: ignoring return value of 'system', declared with attribute warn_unused_result
wlanconfig.c: In function 'ieee80211_status':
wlanconfig.c:946: warning: ignoring return value of 'system', declared with attribute warn_unused_result
make[1]: Leaving directory `/home/albert/Downloads/madwifi-0.9.4-r4133-20101223/tools'
albert@albert-K50IE:~/Downloads/madwifi-0.9.4-r4133-20101223$
Muchas gracias.
PS3 - PSP 2000

Avatar de Usuario
dark_sasuke
Moderador Global
Moderador Global
Mensajes: 3380
Registrado: 03 Sep 2009, 02:13
Twitter: D4rkyt0

Re: Portatil se bloquea al activar Wi-Fi.

Mensaje por dark_sasuke »

no se si te falte un ./configure o un ./config
Imagen

Responder