Seguridad Wireless - Wifi

Equipos y materiales => Puntos de acceso, routers, switchs y bridges => Openwrt & LEDE => Mensaje iniciado por: jar229 en 25-12-2011, 13:22 (Domingo)

Título: [Desarrollo] OpenWrt en Huawei HG556a
Publicado por: jar229 en 25-12-2011, 13:22 (Domingo)
Wiki
http://wiki.openwrt.org/toh/huawei/hg556a


Firmwares OpenWrt
r47145 (https://mega.nz/#F!XZVWFQTQ!EX9Z6LmPuwnL5xjLrGdALA)FPU Emulation, LuCi, soporte para discos usb en formato ntfs, vfat y ext2-3-4, servidor samba, vsftpd (servidor de ftp), wol, screen, swap-utils, luci-app-wol, OpenVPN, ddns-scripts, LuCi Statistics, drivers para chipsets wifi usb: ath9k-htc, rt2800usb, rt2800pci, rt73usb, rtl8187, rtl8192ce, rtl8192cu, rtl8192de, rtl8192se, zd1211rw
Con esta compilación, es posible usar el modo repetidor (cliente + AP) con los routers con chipset wifi ralink (hasta ahora sólo era posible con los que incorporaban wifi atheros. Si tienes problemas al escanear redes, lee esto (https://foro.seguridadwireless.net/openwrt/openwrt-en-huaweig-hg556a/msg300792/#msg300792).
r39304usb (http://www.mediafire.com/download/lw4x9167pqplc8y/r39304usb.openwrt-HW556-squashfs-cfe.bin)FPU Emulation, LuCi, soporte para discos usb en formato ntfs, vfat y ext2-3-4, cifsmount, transmission, p910nd (servidor de impresion), servidor samba, pure-ftpd (servidor de ftp), wol, screen, swap-utils, drivers para chipsets wifi usb: ath9k-htc, rt2800usb, rt73usb, rtl8187, rtl8192ce, rtl8192cu, rtl8192de, rtl8192se, zd1211rw
Con esta compilación, es posible usar el modo repetidor (cliente + AP) con los routers con chipset wifi ralink (hasta ahora sólo era posible con los que incorporaban wifi atheros. Si tienes problemas al escanear redes, lee esto (https://foro.seguridadwireless.net/openwrt/openwrt-en-huaweig-hg556a/msg300792/#msg300792).
r38342 (http://www.mediafire.com/download/352dst073ydxyks/openwrt-HW556-squashfs-cfe_r38342.bin)luci + kmod-ath9k + kmod-rt2800-pci + wpad-mini + kmod-usb-ohci + kmod-usb2 + kmod-usb-storage + kmod-fs-ext4 + kmod-ath9k-htc + kmod-brcmfmac + kmod-carl9170 + kmod-libertas-usb + kmod-net-zd1201 + kmod-p54-usb + kmod-rt2500-usb + kmod-rt2800-usb + kmod-rt73-usb + kmod-rtl8187 + kmod-rtl8192cu + kmod-zd1211rw + Ralink MAC Patch + ATH_USER_REGD
r37937 (http://www.mediafire.com/?nfj7ce32kj3b416)Kernel 3.10.10, FPU Emulation, LuCi, soporte para discos usb en formato ntfs, vfat y ext2-3-4, mountd (aumontaje de discos), transmission, p910nd (servidor de impresion), servidor samba, pure-ftpd (servidor de ftp), wol, aircrack-ng, wireless-utils, Reaver (ataque al protocolo WPS), Bully (software alternativo a Reaver), htop, wavemon, cifsmount (montaje de carpetas compartidas en red), block-mount, screen, swap-utils, etc.
r37180 (https://dl.dropbox.com/u/4708147/openwrt/bcm63xx/HG556a/openwrt-HW556-squashfs-cfe_r37180.bin)luci + swconfig + kmod-usb2 + kmod-usb-storage + kmod-fs-ext4 + kmod-ath9k-htc + kmod-brcmfmac + kmod-carl9170 + kmod-libertas-usb + kmod-net-zd1201 + kmod-p54-usb + kmod-rt2500-usb + kmod-rt2800-usb + kmod-rt73-usb + kmod-rtl8187 + kmod-zd1211rw + Ralink MAC Patch + ATH_USER_REGD
r36114 (https://dl.dropbox.com/u/4708147/openwrt/bcm63xx/HG556a/openwrt-HW556-squashfs-cfe_r36114.bin)luci + swconfig + kmod-usb2 + kmod-usb-storage + kmod-fs-ext4 + kmod-ath9k-htc + kmod-brcmfmac + kmod-carl9170 + kmod-libertas-usb + kmod-net-zd1201 + kmod-p54-usb + kmod-rt2500-usb + kmod-rt2800-usb + kmod-rt73-usb + kmod-rtl8187 + kmod-zd1211rw + Ralink MAC Patch + ATH_USER_REGD
r35318 (https://dl.dropbox.com/u/4708147/openwrt/bcm63xx/HG556a/openwrt-HW556-squashfs-cfe_r35318.bin)
luci + swconfig + kmod-usb2 + kmod-brcmfmac + kmod-rt2500-usb + kmod-rt2800-usb + kmod-rt73-usb + kmod-rtl8187 + Ralink MAC Patch + ATH_USER_REGD

Compilaciones OpenWrt
Trunk (http://downloads.openwrt.org/snapshots/trunk/brcm63xx/openwrt-HW556-squashfs-cfe.bin) {Paquetes básicos. Sin LuCI}

Estado
NO HAY DRIVER ADSL DISPONIBLE PARA LA PLATAFORMA BCM63XX EN OPENWRT.
LA INSTALACIÓN DE OPENWRT NO IMPLICA LA PÉRDIDA PERMANENTE DEL ADSL. SI SE INSTALA DE NUEVO EL FIRMWARE ORIGINAL SE RECUPERA DICHA FUNCIONALIDAD.

El router funciona perfectamente con OpenWrt sin modificación alguna.
Si necesitas que dos routers Ralink coexistan en la misma red, es necesario aplicar un parche al driver del WiFi que aún no ha sido integrado: http://patchwork.openwrt.org/patch/2947/
El wifi atheros, no permite hacer 'puente cliente transparente', así que para lograrlo hay que hacer servir el paquete relayd: http://wiki.openwrt.org/doc/recipes/relayclient
El que esté interesado en configurarlo como repetidor: https://foro.seguridadwireless.net/openwrt/huawei-hg556a-modo-repetidor-(-openwrt)/
https://foro.seguridadwireless.net/openwrt/(tutorial)-modo-clienterepetidor-openwrt/

Modo de instalación recomendado:

Recuperación de los caldata para routers Ralink/Atheros
REALIZAD ESTE PROCEDIMIENTO SÓLO SI HABÉIS PERDIDO LOS DATOS DEL WIFI
1) Instalar el siguiente firmware en el que hemos incorporado el fichero con los caldata para que no tengáis que descargarlo y transferirlo al router:
openwrt-HW556-squashfs-cfe_r33275_wlan_restore.bin (https://drive.google.com/uc?id=0ByrtEG1tVo67OUlPcFg1STByT0U)
2) Borrar la partición de los caldata:
Código: [Seleccionar]
mtd -r erase cal_data3) Lo normal es que el router se reinicie después de borrar la partición cal_data. Una vez reiniciado, restaurad los datos del wifi:
Código: [Seleccionar]
dd if=/etc/ralink_generic.bin of=/dev/mtd4
Código: [Seleccionar]
dd if=/etc/atheros_MX29GL128EH.bin of=/dev/mtd4
Código: [Seleccionar]
dd if=/etc/atheros_S29GL128P10.bin of=/dev/mtd4
Código: [Seleccionar]
dd if=/etc/atheros_MX29LV128DB.bin of=/dev/mtd44) Después, lo mejor es que instaléis el firmware más actualizado, pero también podéis restaurar la configuración por defecto:
Código: [Seleccionar]
mtd -r erase rootfs_data


Gracias al trabajo inicial de danitool y posteriormente de gmtii y Noltari se ha conseguido compilar un firmware compatible con este router  >:(
Muchas gracias a todos los que habéis hecho posible que este router tenga soporte de OpenWrt (desarrollo, pruebas, etc).

De similares características a su 'hermano' pequeño el HG533, el HG556a se diferencia de este fundamentalmente en el apartado wifi que pasa de ser 'g' a 'n' (300 Mbps).
Tenéis información más detalle sobre el hardware aquí: http://wiki.openwrt.org/toh/huawei/hg556a

Hay varias versiones de este router. Hay hasta tres tipos de flash distintas y dos tipos de chipset wifi, uno de ellos atheros y el otro ralink  :-X
Con las compilaciones más recientes debería funcionar en TODOS.
La memoria flash está localizada aquí en la placa --> hg556a_flash (https://lh6.googleusercontent.com/-bZfYLwoee3U/T7NUX2Sf5PI/AAAAAAAAAOs/ML6fBsBqrX4/s800/hg556a_flash.jpg) (foto de redeszone.net)
Una review interesante del router con muchísimas fotos (dónde podréis localizar los diferentes componentes): http://www.redeszone.net/routers/huawei-hg556a-de-vodafone-review-del-router-adsl2-de-vodafone-con-wi-fi-n-y-usb/ (http://www.redeszone.net/routers/huawei-hg556a-de-vodafone-review-del-router-adsl2-de-vodafone-con-wi-fi-n-y-usb/)



Sólo para routers con wifi atheros

Backport de danitool a la versión backfire (incluye LuCi y los paquetes esenciales además del parche para poder compilar): http://www.mediafire.com/download/6su9660b47bdet6/hg556a_ath_backport_10.03.1-luci.zip

Compilación personalizada del backport a backfire que incluye: LuCi, FPU emulation, transmission, ftp, servidor de impresión, samba, usb-storage, etc.: http://www.mediafire.com/?re01zbzi1l5r8fz

Si vas a usar cualquiera de estas 2 compilaciones y pretendes que el router actúe como repetidor, lee esto: https://foro.seguridadwireless.net/openwrt/openwrt-en-huaweig-hg556a/msg268118/#msg268118



Backport de danitool a la versión Attitude Adjustment (incluye LuCi y los paquetes esenciales además del parche para poder compilar):  http://www.mediafire.com/download/8idk1bpki0gii0l/hg556a_backport_12.09-luci.zip
 (http://www.mediafire.com/download/8idk1bpki0gii0l/hg556a_backport_12.09-luci.zip)

Backport de danitool a la versión Attitude Adjustment (incluye LuCi, soporte para wifi's usb con chipset ralink realtek8187 y ath9k-htc,  
 además del parche para poder compilar): http://www.mediafire.com/download/qlgg5p92dfbd88s/hg556a_12.09-USB_ralink_realtek_atheros9k.zip

Comentarios, opiniones ...  ;)

Actualización del 26 de Enero: Añadida versión r35318 (b53, más drivers WiFi USB).
Actualización del 30 de Abril: Añadido nuevo backport a la versión Backfire.
Actualización del 10 de Mayo: Añadido backport a la versión Attitude Adjustment.
Actualización del 17 de Septiembre: Añadida versión r37937.
Actualización del 09 de Octubre: Añadida versión r38342.
Actualización del 9 de Enero de 2014: Añadido backport a la versión Attitude Adjustment con soporte para diversos chipsets wifis usb.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: denis111 en 26-12-2011, 23:50 (Lunes)
Hola.

He probado este firmware y no me va nada. He seguido los pasos en el 1r post (2 veces :) ) y lo que tengo es solo el unico indicador encendido(de la alimentacion), el ordenador solo detecta que hay 100mb en ethernet y nada mas, no se envia ningun paquete del router al ordenador.
¿O hay que hacer algo especial despues de actualizar el firmware?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 27-12-2011, 12:22 (Martes)
Qué ip tienes configurada en tu pc ?
Has probado a entrar en el navegador a 192.168.1.1 ?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 27-12-2011, 13:43 (Martes)
anonimo si vas a compilar un nuevo firm y no es demasiada molestia (sólo será un pelín mayor de tamaño) habilitada la FPU emulation (seleccionable al hacer kernel menu_config).

Curioso lo de los chips de memoria  ???
Título: Re: OpenWRT en Huawei hg556a
Publicado por: denis111 en 27-12-2011, 19:10 (Martes)
Qué ip tienes configurada en tu pc ?
Has probado a entrar en el navegador a 192.168.1.1 ?
Si, he probado con la configuracion manual y dhcp.

¿Como puedo vel el modelo de la flash? ¿Solo viendo el log por serial? (no lo tengo soldeado) todos los chips grandes dentro estan cubiertos por metal :(
O si hay alguna manera de saberlo con el firmware original/modificado lo haria.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 28-12-2011, 13:57 (Miércoles)
Bajando el nuevo firm  ;D
A ver cuando tengo tiempo de instalarlo y probarlo ...  ^-^
El tema de la FPU lo necesito para ejecutar mldonkey: http://mldonkey.sourceforge.net/phpBB2/viewtopic.php?t=4890
Título: Re: OpenWRT en Huawei hg556a
Publicado por: denis111 en 28-12-2011, 18:17 (Miércoles)
Tampoco va :(
Mi flash es MX29LV128DB tambien.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 29-12-2011, 14:27 (Jueves)
Instalado el nuevo firmware, mi hg556a vuelve a tener wifi.
Aún no he tenido tiempo de enredar con él, pero ya tengo funcionando mldonkey  ;D
Voy a ver si saco un rato y pruebo a fondo la wifi  ;)
Título: Re: OpenWRT en Huawei hg556a
Publicado por: denis111 en 05-01-2012, 18:43 (Jueves)
¡Ahora funciona!

dmesg http://pastebin.com/KSRX7417
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 09-01-2012, 19:06 (Lunes)
Nadie ha intentado el 'puente cliente' con el paquete relayd ?
Es que no consigo (por más pruebas que hago) un ping decente ...  :-[
Título: Re: OpenWRT en Huawei hg556a
Publicado por: thorazine74 en 09-01-2012, 22:09 (Lunes)
Hola a todos:

Me gustaria probar este firmware pero soy completamente nuevo en estos temas.
Me gustaria saber si las build que habeis posteado son solo el openwrt base o tiene incluida la GUI?
Que funciones incluye, mas en concreto, incluye soporte para modems USB de serie (sin instalar paquetes adiccionales)?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: difrafotard en 09-01-2012, 22:18 (Lunes)
Hola,

por fin, mi pisapapeles durante unos meses se ha convertido en un cacharro funcional, y eso que tenía flash MX29LV128DB.

El firm lleva ya instalado el soporte de usb y gui, y por lo menos a mi me van los 3 usb, lo único que le falta es el samba, pero lo instalas y a funcionar.

Por otra parte, yo lo he utilizado en modo cliente routado, y va muy bien.

Saludos
Título: Re: OpenWRT en Huawei hg556a
Publicado por: thorazine74 en 09-01-2012, 22:58 (Lunes)
Mas que los USB me referia al soporte para usar un modem USB para conextar el router a internet, o sea, si instalo esta build podre sin necesidad de instalar ningun paquete mas configurar un modem USB 3G pinchado al router como wan? Ahora mismo no tengo ningun router mas aqui por lo que si necesito algun paquete adiccional no tengo forma de instalarlo sin internet verdad?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 10-01-2012, 09:09 (Martes)
No, el soporte para modems 3G no está incluido en el firmware.
En teoría, si bajas todos los paquetes necesarios (y sus dependencias) podrias instarlos offline con:
Código: [Seleccionar]
cd /tmp
opkg install nombre_del_paquete

Los paquetes los puedes haber bajado previamente al pc y pasárselos al directorio tmp del router (con winscp por ejemplo).
Más info sobre modems usb 3G: http://wiki.openwrt.org/doc/recipes/3gdongle

difrafotard a mi el modo 'cliente enrutado' también me funciona bien.
Podrías probar el modo 'cliente transparente' con relayd y comentar que tal te va ?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: thorazine74 en 10-01-2012, 16:30 (Martes)
Gracias por la aclaracion, a ver si lo he entendido bien: instalo el openwrt en el router, y luego conecto desde el pc al router con winscp y transfiero los paquetes al /tmp.
Me parece  un poco arriesgado, hay forma de saber las dependencias exactas que necesita esta build por adelantado? O me puedo fiar de lo que pone en la pagina de la wiki?
Creo que voy a esperarme a que me puedan devolver el otro router que he prestado para estar mas seguro...
Seria posible compilar una build que incluyera soporte para modems 3G de serie? Creo que para este router y el hg553 los haria muy utiles con open-wrt.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 11-01-2012, 12:22 (Miércoles)
Lo has entendido bien  ;)

Las dependencias, imagino que son las que están indicadas en el wiki, pero nunca se sabe ...  ^-^

No tienes una conexión wifi a la que puedas conectar temporalmente (un amigo) por si te falta algo ?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: manuelacantasaetas en 13-01-2012, 15:26 (Viernes)
denis111 prueba este nuevo firmware, debería funcionar ya

http://files.myopera.com/danitool/linux/openwrt-HG556a_MX29LV128DB-squashfs-cfe.bin.zip

si te funciona pon el dmesg aquí o en pastebin

Hola, muchas gracias por el firmware, lo he instalado y va de maravilla.

Aunque otro hg556 que tengo con pintas de ser una version mas nueva no funciona el wifi.

Un saludo
Título: Re: OpenWRT en Huawei hg556a
Publicado por: darkvier en 14-01-2012, 01:36 (Sábado)
solo entro para decir que estare muy al tanto de lo que le hagas a este cacharro que tantos problemas me ha dado

suerte y haber si lo consigues exprimir bien!!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: difrafotard en 14-01-2012, 14:28 (Sábado)


difrafotard a mi el modo 'cliente enrutado' también me funciona bien.
Podrías probar el modo 'cliente transparente' con relayd y comentar que tal te va ?

Hola, uf, dame un tiempo, que estoy liado con el 553 a ver si le saco punta.

Saludos
Título: Re: OpenWRT en Huawei hg556a
Publicado por: manuelacantasaetas en 14-01-2012, 15:53 (Sábado)
Según la flash de nuestro hg556a deberemos elegir un firmware u otro. Los datos de calibración del wifi están en direcciones de flash diferentes.

Todavía no he sido capaz de hacer un único firmware para que detecte la ID de la flash, y con un condicional hacer que use una dirección u otra. Así que esto es lo que hay de momento:

Citar
MX29GL128EH
http://files.myopera.com/danitool/linux/openwrt-HW556-squashfs-cfe_r29606.zip
Citar
MX29LV128DB
http://files.myopera.com/danitool/linux/openwrt-HG556a_MX29LV128DB-squashfs-cfe.bin.zip

¿manuelacantasaetas, que flash usa tu hg556a?

Hay alguna forma de mirarlo sin desmontarlo?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: manuelacantasaetas en 14-01-2012, 16:06 (Sábado)
Probare con el EH y si nos que le den y lo desmontare. Ya os informare.

De todas formas, gracias por darle una nueva vida a mi router.  >:(

Una ultima pregunta, conoceis algún router que le funcione el módem de adsl con openwrt.

Estoy buscando por ahí y no encuentro nada sobre eso.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: manuelacantasaetas en 15-01-2012, 22:34 (Domingo)
Probada la versión EH y funciona el wifi. Muchas gracias ya tengo otro mas en funcionamiento.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: iluso en 15-01-2012, 23:01 (Domingo)
Hola buenas noches a todos.

He leído el post y me parece muy interesante la labor que hacéis.

Llevo tiempo trasteando con openwrt, incluso empezando a compilar, pero solo sé que no se nada al ver los gurús que hay aquí.

Me gustaría poder ayudar con este tema del Huawei 556 para lo cual voy a pedir a danitool que me guie en los primeros pasos para poder compilar una imagen e incluso me pase el config de la compilación del trunk para poder hacer pruebas y ayudar en lo que pueda.

He instalado su firmware y funciona perfectamente, pero por ejemplo quiero instalar qos (con algunas otras también pasa) y me sale el siguiente error:

Installing luci-app-qos (trunk+svn8176-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/brcm63xx/packages/luci-app-qos_trunk+svn8176-1_brcm63xx.ipk.

               Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-app-qos:
 *    kernel (= 2.6.39.4-1-92e1af7a65c943fcbced4c948adc401c) *    kernel (= 2.6.39.4-1-92e1af7a65c943fcbced4c948adc401c) *    kernel (= 2.6.39.4-1-92e1af7a65c943fcbced4c948adc401c) *    kernel (= 2.6.39.4-1-92e1af7a65c943fcbced4c948adc401c) *    kernel (= 2.6.39.4-1-92e1af7a65c943fcbced4c948adc401c) *    kernel (= 2.6.39.4-1-92e1af7a65c943fcbced4c948adc401c) *
 * opkg_install_cmd: Cannot install package luci-app-qos.

---------------------
Supongo que debe ser tema de la compilación que no se lleva bien con los repositorios.

Un saludo.

Título: Re: OpenWRT en Huawei hg556a
Publicado por: denis111 en 17-01-2012, 12:05 (Martes)
A mi se instalaron bien nuevos paquetes luci-* pero ahora después de reiniciar el router ya no se puede iniciar %) Creo que hay que compilar una version más actual del firmware.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: iluso en 17-01-2012, 22:10 (Martes)
No he dicho nada.

He modificado el tuto porque da muchos problemas.
Cuando lo tenga bien lo volveré a subir.

Título: Re: OpenWRT en Huawei hg556a
Publicado por: darkvier en 18-01-2012, 21:04 (Miércoles)
Una pregunta....

¿No hay ningun firmware para este router que soporte el adsl?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: manuelacantasaetas en 19-01-2012, 18:23 (Jueves)
Otra pregunta...... ;D

¿ Como se configuran las VLAN ? Que me seria de gran ayuda.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: kayakista en 19-01-2012, 19:18 (Jueves)
Y otra pregunta:

¿ Se podría anular el wifi y que transmita datos EXCLUSIVAMENTE por cable (etho) ?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: denis111 en 19-01-2012, 23:47 (Jueves)
Gracias a la labor de danitool por la creación del parche y un poco de sangoogle he conseguido compilar OpenWrt para este router.
Lo que conseguimos  es incluir nuestro router Huawei hg556a en el trunk de OPENWRT.
Manos a la obra.

Bajar el parche creado por danitool desde este link :
https://dev.openwrt.org/ticket/10741
¿el parche sirve para ambos modelos de flash o hay que editar/comentar algo?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: manuelacantasaetas en 19-01-2012, 23:50 (Jueves)
Hola buenas noches a todos.

He leído el post y me parece muy interesante la labor que hacéis.

Llevo tiempo trasteando con openwrt, incluso empezando a compilar, pero solo sé que no se nada al ver los gurús que hay aquí.

Me gustaría poder ayudar con este tema del Huawei 556 para lo cual voy a pedir a danitool que me guie en los primeros pasos para poder compilar una imagen e incluso me pase el config de la compilación del trunk para poder hacer pruebas y ayudar en lo que pueda.

He instalado su firmware y funciona perfectamente, pero por ejemplo quiero instalar qos (con algunas otras también pasa) y me sale el siguiente error:

Installing luci-app-qos (trunk+svn8176-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/brcm63xx/packages/luci-app-qos_trunk+svn8176-1_brcm63xx.ipk.

               Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-app-qos:
 *    kernel (= 2.6.39.4-1-92e1af7a65c943fcbced4c948adc401c) *    kernel (= 2.6.39.4-1-92e1af7a65c943fcbced4c948adc401c) *    kernel (= 2.6.39.4-1-92e1af7a65c943fcbced4c948adc401c) *    kernel (= 2.6.39.4-1-92e1af7a65c943fcbced4c948adc401c) *    kernel (= 2.6.39.4-1-92e1af7a65c943fcbced4c948adc401c) *    kernel (= 2.6.39.4-1-92e1af7a65c943fcbced4c948adc401c) *
 * opkg_install_cmd: Cannot install package luci-app-qos.

---------------------
Supongo que debe ser tema de la compilación que no se lleva bien con los repositorios.

Un saludo.



A mi también me sale el error con otros paquetes, sera por el parche ese de anonimo que le cambiara el nombre al kernel.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 20-01-2012, 08:51 (Viernes)
Y otra pregunta:

¿ Se podría anular el wifi y que transmita datos EXCLUSIVAMENTE por cable (etho) ?

Por supuesto.
Además, por defecto el wifi está desactivado.

Una pregunta....

¿No hay ningun firmware para este router que soporte el adsl?

No.

Otra pregunta...... ;D

¿ Como se configuran las VLAN ? Que me seria de gran ayuda.

Switch Ports (for VLANs): http://wiki.openwrt.org/toh/huawei/hg556a (http://wiki.openwrt.org/toh/huawei/hg556a)

Título: Re: OpenWRT en Huawei hg556a
Publicado por: gmtii en 28-01-2012, 13:53 (Sábado)
Buenos días,

Justo abrí el mío de Vodafone HGS55VDFA VER.C HG556a) y lleva una flash Spansion S29GL128P10 ... de la lectura del wiki de openwrt no veo referencia alguna sobre si es compatible o no... alguna noticia?

Muchísimas gracias.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: iluso en 29-01-2012, 11:35 (Domingo)
Elimino el post porque da muchos problemas.
Cuando me funcione colgaré las instrucciones.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Antolequia en 29-01-2012, 12:28 (Domingo)
Hola
En primer lugar un agradecimiento a todos los que comparten sus conocimientos con los
profanos como yo.Sigo este foro desde hace tiempo (empece trasteando un Comtrend 5361) y ahora que tenia un HG556 de segunda mano he visto la luz.Le he metido el firm y
me ha sido más facil configurarlo que el 5361, me funciona el wifi y parece más estable que
el Comtrend.
Y ahora la pregunta quiero conectar el router a un reproductor multimedia con NFS para
a traves de los puertos usb,s poder ver contenidos en el repro, que he de hacer.Soy profano en Linux osea que como si fuese "tontito" ;).
Muchas gracias.
Un saludo
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 29-01-2012, 14:05 (Domingo)
Y ahora la pregunta quiero conectar el router a un reproductor multimedia con NFS para
a traves de los puertos usb,s poder ver contenidos en el repro, que he de hacer.Soy profano en Linux osea que como si fuese "tontito" ;).
Muchas gracias.
Un saludo

No tengo muy claro lo que quieres hacer, pero imagino que con instalar samba y el soporte usb te valdría. Aquí tienes cómo hacerlo (paso a paso): https://foro.seguridadwireless.net/openwrt/instalacion-(facil)-de-openwrt-en-huawei-553/msg203059/#msg203059
El tutorial es para otro router (un huawei hg553) pero te vale igual.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Antolequia en 29-01-2012, 23:35 (Domingo)
Y ahora la pregunta quiero conectar el router a un reproductor multimedia con NFS para
a traves de los puertos usb,s poder ver contenidos en el repro, que he de hacer.Soy profano en Linux osea que como si fuese "tontito" ;).
Muchas gracias.
Un saludo

No tengo muy claro lo que quieres hacer, pero imagino que con instalar samba y el soporte usb te valdría. Aquí tienes cómo hacerlo (paso a paso): https://foro.seguridadwireless.net/openwrt/instalacion-(facil)-de-openwrt-en-huawei-553/msg203059/#msg203059
El tutorial es para otro router (un huawei hg553) pero te vale igual.
Bueno es un receptor satélite y multimedia (Azbox HD con E2) y quiero ponerle al lado el
HG556 como punto de acceso wifi (esto parece solucionado) y servidor de HDD para reproducir multimedia (a traves de los usb,s).Y direis porque no usas los puertos usb,s
del deco pues porque no me van por un problema de mala actualización que me dejo el
deco un poco cojo y utilizar los puertos usb,s del router sería una solución.
Por cierto he visto en los log del router que reconoce los usb,s que le pincho e incluso me dice que uno es 1.1 que diria que es el frontal, ¿me equivoco?.
Por lo demás sigo leyendo y veo que al ser todo Linux debo orientarme a Samba o NFS
ya que CIFS estaría más orientado a Windows.
Muchas gracias a ambos y obviamente sigo leyendo,leyendo,leyendo .... >:D
Título: Re: OpenWRT en Huawei hg556a
Publicado por: gmtii en 30-01-2012, 19:18 (Lunes)
Hola,

Efectivamente, parecen equivalentes. Funcionando con Wifi sin problemas. Muchas gracias!

Código: [Seleccionar]
[    0.316000] bcm963xx: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002101
[    0.324000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.332000]   Amd/Fujitsu Extended Query version 1.3.
[    0.336000] number of CFI chips: 1
[    0.340000] bcm963xx_flash: Read Signature value of CFE1CFE1
[    0.344000] bcm963xx-flash bcm963xx-flash.0: CFE bootloader detected
[    0.352000] bcm963xx_flash: CFE boot tag found with version 8 and board type HW556
[    0.360000] bcm963xx_flash: Partition 0 is CFE offset 0 and length 20000
[    0.368000] bcm963xx_flash: Partition 1 is kernel offset 20100 and length dff00
[    0.376000] bcm963xx_flash: Partition 2 is rootfs offset 100000 and length d00000
[    0.384000] bcm963xx_flash: Partition 3 is ath_data offset e00000 and length 1e0000
[    0.392000] bcm963xx_flash: Partition 4 is nvram offset fe0000 and length 20000
[    0.400000] bcm963xx_flash: Partition 5 is linux offset 20000 and length de0000
[    0.404000] bcm963xx_flash: Spare partition is 360000 offset and length aa0000
[    0.412000] Creating 6 MTD partitions on "bcm963xx":
[    0.420000] 0x000000000000-0x000000020000 : "CFE"
[    0.428000] 0x000000020100-0x000000100000 : "kernel"
[    0.432000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.448000] 0x000000100000-0x000000e00000 : "rootfs"
[    0.456000] mtd: partition "rootfs" set to be root filesystem
[    0.464000] mtd: partition "rootfs_data" created automatically, ofs=340000, len=AC0000
[    0.472000] 0x000000340000-0x000000e00000 : "rootfs_data"
[    0.480000] 0x000000e00000-0x000000fe0000 : "ath_data"
[    0.492000] 0x000000fe0000-0x000001000000 : "nvram"
[    0.500000] 0x000000020000-0x000000e00000 : "linux"


Buenos días,

Justo abrí el mío de Vodafone HGS55VDFA VER.C HG556a) y lleva una flash Spansion S29GL128P10 ... de la lectura del wiki de openwrt no veo referencia alguna sobre si es compatible o no... alguna noticia?

Muchísimas gracias.

Por lo que vi en el datasheet de esa memoria flash, debería ser identica a la MX29GL128EH ya que ambas tienen 128 sectores.
Por tanto el firmware:
http://files.myopera.com/danitool/linux/openwrt-HW556-squashfs-cfe_r29606.zip
sería el candidato para esta flash.

Si te funciona informa del resultado
Título: Re: OpenWRT en Huawei hg556a
Publicado por: gmtii en 03-02-2012, 00:25 (Viernes)
muy buenas,

Pues radio wifi funcionando de miedo con el cliente de stream de música por internet MPD y gestionado desde un android por ejemplo, con esta tarjeta de sonido USB:

http://www.dealextreme.com/p/usb-3d-sound-adapter-color-assorted-5831 (http://www.dealextreme.com/p/usb-3d-sound-adapter-color-assorted-5831)

La cosa es que quiero ponerle un arduino con el módulo kmod-usb-acm para mostrar los títulos de las emisoras y canciones en una pequeña pantalla LCD, y un teclado y me parece que el que está en los repositorios no vale para la instalación; imagino que toca recompilar.  >:(

Código: [Seleccionar]
Downloading http://downloads.openwrt.org/snapshots/trunk/brcm63xx/packages/kmod-usb-acm_2.6.39.4-1_brcm63xx.ipk.
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-acm:
 * kernel (= 2.6.39.4-1-92e1af7a65c943fcbced4c948adc401c) *
 * opkg_install_cmd: Cannot install package kmod-usb-acm.

Saludos.

Título: Re: OpenWRT en Huawei hg556a
Publicado por: manuelacantasaetas en 03-02-2012, 00:32 (Viernes)
muy buenas,

Pues radio wifi funcionando de miedo con el cliente de stream de música por internet MPD y gestionado desde un android por ejemplo, con esta tarjeta de sonido USB:

http://www.dealextreme.com/p/usb-3d-sound-adapter-color-assorted-5831 (http://www.dealextreme.com/p/usb-3d-sound-adapter-color-assorted-5831)

La cosa es que quiero ponerle un arduino con el módulo kmod-usb-acm para mostrar los títulos de las emisoras y canciones en una pequeña pantalla LCD, y un teclado y me parece que el que está en los repositorios no vale para la instalación; imagino que toca recompilar.  >:(

Código: [Seleccionar]
Downloading http://downloads.openwrt.org/snapshots/trunk/brcm63xx/packages/kmod-usb-acm_2.6.39.4-1_brcm63xx.ipk.
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-acm:
 * kernel (= 2.6.39.4-1-92e1af7a65c943fcbced4c948adc401c) *
 * opkg_install_cmd: Cannot install package kmod-usb-acm.

Saludos.



Se ve que el día 30 actualizaron los paquetes del la rama trunk.

¿ Que hay que hacer para compilar con el parche de danitool?

unsaludo ;D
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 15-02-2012, 18:02 (Miércoles)
anonimo alguna compilación nueva con el kernel 3.0.18 ?
O instrucciones para hacerlo, please  ;)
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 15-02-2012, 20:50 (Miércoles)
anonimo alguna compilación nueva con el kernel 3.0.18 ?
O instrucciones para hacerlo, please  ;)

Me uno a la petición, sería de agradecer :D

Espero que no se cuelguen tanto como con el firmware de Vodafone...

Hago un pequeño inciso, ¿Cómo va el tema del WDS entre estos routers? (googleando, no he visto resultados satisfactorios (editando el backup.conf))
Tengo 3 x HG556a (1 para adsl). Por lo que puedo hacer pruebas :D

Gracias de nuevo por el currele que os pegais.


Título: Re: OpenWRT en Huawei hg556a
Publicado por: manuelacantasaetas en 16-02-2012, 17:49 (Jueves)
Ir probando.

http://wiki.openwrt.org/toh/huawei/hg556a

https://dev.openwrt.org/ticket/10741

 ;)
Título: Re: OpenWRT en Huawei hg556a
Publicado por: kayakista en 20-02-2012, 16:40 (Lunes)
Tengo este router parado y la verdad que nunca he instalado firmware ni abierto el router, pero ya esta abierto y el problema es que no se donde esta la flash.
He quitado todas las chapas de metal y no veo ninguna numeracion que coincida con las 3 que habeis puesto.
¿Alguien seria tan amable de decirme en que chapa de metal o donde debo mirar para averiguarlo ?
Gracias

Título: Re: OpenWRT en Huawei hg556a
Publicado por: kayakista en 20-02-2012, 16:56 (Lunes)
Bueno pues deduzco despues de fijarme mas profundamente que la flash
es MX29LV128DB ya que he podido leer V128DBT21-90Q, el principio de las
letras no me deja ver la cruz de hierro.
En fin voy a instalar a ver que pasa y cuento
Título: Re: OpenWRT en Huawei hg556a
Publicado por: manuelacantasaetas en 21-02-2012, 23:11 (Martes)
Ir probando.

http://wiki.openwrt.org/toh/huawei/hg556a

https://dev.openwrt.org/ticket/10741

 ;)

https://dev.openwrt.org/attachment/ticket/10741/bcm63xx_hg556a.patch

Con el parche este de anonimo y modificandolo para los nuevos paquetes he conseguido compilar el firmware y funcionaba he incluso detectaba el wifi, pero no conseguia poner el wifi en marcha.  :'(

Haber si alguno lo quiere intentar y lo consigue.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: gmtii en 22-02-2012, 23:36 (Miércoles)
muchísimas gracias!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: manuelacantasaetas en 23-02-2012, 22:42 (Jueves)
He compilado de nuevo OpenWrt para este router, en la última revisión con el kernel 3.0. Esta vez hice un único firmware que debiera funcionar en las tres memorias flash conocidas hasta ahora. Aunque yo solo lo he testeado en la MX29GL128EH.

http://files.myopera.com/danitool/linux/OpenWrt_hg556a_r30676.zip

El zip incluye el parche, un script para ejecutar el parche, y el archivo de configuración que he usado en el make menuconfig.

Nota para los que quieran compilar ellos mismos: el parche debiera ser aplicado después de haber compilado previamente un openwrt "fresco". Luego se ejecuta el script y se hace make V=99 de nuevo. No añadiré más información debiera con esto quedar más que claro.


Te mereces un monumento.

 >:( >:( >:( >:( >:( >:( >:( >:( >:( >:( >:( >:( >:( >:( >:( >:( >:( >:( >:( >:( >:( >:( >:( >:(
Título: Re: OpenWRT en Huawei hg556a
Publicado por: manuelacantasaetas en 23-02-2012, 23:51 (Jueves)
Probare con el EH y si nos que le den y lo desmontare. Ya os informare.

Una ultima pregunta, conoceis algún router que le funcione el módem de adsl con openwrt.

Estoy buscando por ahí y no encuentro nada sobre eso.

Ya sé que hace tiempo preguntaste esto, pero creo que únicamente para adsl y openwrt existe la plataforma Lantiq de la cual hay varios routers (ninguno que conozca de los que circulan en España).

No me quedó claro, ¿tú memoria era una GL o una LV?, para saber si este último firmware efectivamente funciona en las LV ya que yo solo tengo el router con la GL.


Tengo uno con GL y otro con LV, por ahora he probado el ultimo firmware en el GL, en cuanto pueda lo probare con el LV.

Una cuestión, en tu ultimo firmware, ademas de este, esta el parche, un script para aplicarlo, el archivo de configuración del network y un archivo config.
El archivo config ese a la hora de compilar para que es, porque indica los paquetes que hacen falta pero no se como aplicarlo.


Por cierto los routers que les funciona el adsl con openwrt son los DLINK con chip ar7.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: manuelacantasaetas en 24-02-2012, 12:38 (Viernes)
Probado en los dos que tengo y funciona.

También he conseguido compilar con el parche y también funciona, por cierto ya es la revisión r30706.

Una pregunta: Cual es la diferencias en squashfs y jffs2?

Que venga buscarlo en internet y no me queda claro.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 24-02-2012, 14:18 (Viernes)
Probado en los dos que tengo y funciona.

También he conseguido compilar con el parche y también funciona, por cierto ya es la revisión r30706.

Puedes explicar cómo lo has hecho (lo más detalladamente posible, please) ... porque yo no lo consigo (debo tener el día tonto  ^-^)

Una pregunta: Cual es la diferencias en squashfs y jffs2?

Que venga buscarlo en internet y no me queda claro.

5.1 dixit:
Citar
jffs2-factory            : Son para flashear por primera vez el router desde un firm diferente del tipo WRT y tienen un sistema de archivos de lectura/escritura.
jffs2-sysupgrade       : Son para hacer una actualización del firm si ya estás en OPEN WRT y tienen sistema de archivos de lectura/escritura.
squashfs-factory       : Son para flashear  el router desde un firm diferente del tipo WRT y tienen un sistema de archivos de SOLO lectura.
squashfs-sysupgrade : Son para hacer una actualización del firm si ya estás en OPEN WRT y tienen sistema de archivos de SOLO lectura.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: manuelacantasaetas en 24-02-2012, 15:07 (Viernes)
Probado en los dos que tengo y funciona.

También he conseguido compilar con el parche y también funciona, por cierto ya es la revisión r30706.

Puedes explicar cómo lo has hecho (lo más detalladamente posible, please) ... porque yo no lo consigo (debo tener el día tonto  ^-^)

Una pregunta: Cual es la diferencias en squashfs y jffs2?

Que venga buscarlo en internet y no me queda claro.

5.1 dixit:
Citar
jffs2-factory            : Son para flashear por primera vez el router desde un firm diferente del tipo WRT y tienen un sistema de archivos de lectura/escritura.
jffs2-sysupgrade       : Son para hacer una actualización del firm si ya estás en OPEN WRT y tienen sistema de archivos de lectura/escritura.
squashfs-factory       : Son para flashear  el router desde un firm diferente del tipo WRT y tienen un sistema de archivos de SOLO lectura.
squashfs-sysupgrade : Son para hacer una actualización del firm si ya estás en OPEN WRT y tienen sistema de archivos de SOLO lectura.

1º  Descargar lo ultimo.

mkdir ~/openwrt
cd openwrt
svn co svn://svn.openwrt.org/openwrt/trunk/
cd trunk
./scripts/feeds update -a
./scripts/feeds install -a

2º Seleccionar los paquetes. 
make menuconfig

Target System (Broadcom BCM63xx)
Target Profile (Atheros WiFi (default))

elegir los paquetes que hagan falta y muy importante:
(Que es por lo que puede que no te valla)

kmod-ath9k
kmod-madwifi

Salimos y guardamos.

3º Compilarlo todo

make

4º Aplicar el parche

Copiar bcm63xx_hg556a.patch y bcm63xx_hg556a.sh en ~/openwrt/trunk que es la carpeta donde trabajamos.

Ejecutar el script  bcm63xx_hg556a.sh

5º Volver a compilar

make

Y ya tiene que estar en la carpeta de bin

 ^-^

PD: Lo de sistema de archivo de solo lectura y de lectura escritura realmente como funciona.




 
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 25-02-2012, 09:53 (Sábado)
manuelacantasaetas gracias por la explicación.
Así es como lo hacía, pero ya digo que ayer debía tener el día tonto porque no se me generaban los ficheros para el hg556a tras volver a compilar  ??? ???
Hoy he vuelto a probar y 'bingo'.
Aunque al parchearlo me ha soltado un error

Código: [Seleccionar]
rm: no se puede borrar «build_dir/linux-brcm63xx/linux-3.0.18/arch/mips/bcm63xx/pci-ath9k-fixup.o»: No existe el archivo o el directorio
patching file build_dir/linux-brcm63xx/compat-wireless-2012-02-06/drivers/net/wireless/ath/ath9k/init.c
patching file build_dir/linux-brcm63xx/linux-3.0.18/arch/mips/bcm63xx/boards/board_bcm963xx.c
patching file build_dir/linux-brcm63xx/linux-3.0.18/arch/mips/bcm63xx/Makefile
patching file build_dir/linux-brcm63xx/linux-3.0.18/arch/mips/bcm63xx/pci-ath9k-fixup.c
patching file build_dir/linux-brcm63xx/linux-3.0.18/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
patching file build_dir/linux-brcm63xx/linux-3.0.18/arch/mips/include/asm/mach-bcm63xx/pci-ath9k-fixup.h
patching file build_dir/linux-brcm63xx/linux-3.0.18/drivers/mtd/maps/bcm963xx-flash.c
patching file target/linux/brcm63xx/base-files/etc/defconfig/HW556/network
patching file target/linux/brcm63xx/image/Makefile
bye

He instalado el firm, y activado el wifi y parece que funciona, aunque cuando hago un scan, todos los puntos de acceso los veo al 100 %.
Además si me intento unir a una red mediante LuCi, me da un error con una página en blanco ??? ???
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 25-02-2012, 16:30 (Sábado)
http://pastebin.com/2HnkEaXE  ;)
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 25-02-2012, 18:08 (Sábado)
Desde el CFE por ?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: ivisan2 en 28-02-2012, 17:07 (Martes)
Buenas a todos!!! tengo un hg556a muerto de risa y he decidido ponerlo a funcionar como cliente torrent y servidor samba con un disco duro externo. He aquí mis dudas:
1º He instalado el firmware que viene en la primera página para todos los tipos de memorias.
2º He modificado el fichero /etc/config/network para usar el vlans, es más desde el router uso las utilidades de diagnostico y hace ping y navego por cable en el ordenador con router de por medio,  En la opción option macaddr he puesto la mac de router huawei ¿es correcto?
3º mi router principal tiene como ip 192.168.1.1 y le he puesto al huawei 192.168.1.2 para poder acceder a los dos routers.

4º No soy capaz de instalar ningún paquete ¿como se hace? ¿que necesito para instalar el servidor samba y el cliente torrent?
5º ¿podré escribir en particiones ntfs?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 28-02-2012, 19:21 (Martes)
Es posible que no hayas configurado el servidor DNS y/o el Gateway ;)
A parte de lo comentado por danitool, en este hilo tienes explicado como instalar diferentes paquetes/aplicaciones: https://foro.seguridadwireless.net/openwrt/instalacion-(facil)-de-openwrt-en-huawei-553/
Título: Re: OpenWRT en Huawei hg556a
Publicado por: ivisan2 en 29-02-2012, 11:04 (Miércoles)
2º He modificado el fichero /etc/config/network para usar el vlans, es más desde el router uso las utilidades de diagnostico y hace ping y navego por cable en el ordenador con router de por medio,  En la opción option macaddr he puesto la mac de router huawei ¿es correcto?
Si usaste las mismas opciones del fichero network incluidas en el zip del firmware, la opción macaddr debiera tener una mac aleatoria y nunca la del propio router, aunque tal como lo has puesto también puede ser válido.

desde dentro del router puedes hacer ping?
Código: [Seleccionar]
ping google.comEse es el primer requisito para poder instalar paquetes almacenados en  repositorios de internet.

Después de comprobar la conectividad con ping
Podrás instalar los paquetes
Código: [Seleccionar]
opkg update
opkg install loquesea
en caso contrario los servidores estarían caidos o el sistema obsoleto.

La segunda posibilidad es compilar los paquetes uno mismo e instalarlos sin internet. O bien descargarlos manualmente e instalarlos de la misma forma desde openwrt, lo cual es más tedioso.

danitool gracias por la ayuda, al final era problema de la mac que puse, al cambiarla el router ya cogió internet y actualizó los paquetes aunque luego no hice algo bien, logré instalar samba e instalé el cliente torrent (transmission) pero algo falló.

Otra pregunta ya que te veo que eres un crack con esto, el router lo quiero para tenerlo de cliente samba y torrent, y por lo que veo el mejor sistema de archivos es EXT4 ya que NTFS no lo maneja y voy a descargar archivos HD, es correcto? la wifi la voy a dejar desactivada, le voy a enchufar al router principal en la boca LAN4 , ¿por el resto de bocas si enchufo algo por cable debería navegar no? Ya que ayer cuando estaba instalado paquetes no podía navegar con el portatil enchufado por cable y con DHCP en el portatil
Una vez instalado el torrent con que dirección+puerto accedo a él?
Seguro que me salen más preguntas ya os iré preguntando.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: ivisan2 en 29-02-2012, 11:08 (Miércoles)
Es posible que no hayas configurado el servidor DNS y/o el Gateway ;)
A parte de lo comentado por danitool, en este hilo tienes explicado como instalar diferentes paquetes/aplicaciones: https://foro.seguridadwireless.net/openwrt/instalacion-(facil)-de-openwrt-en-huawei-553/

Al final si lo logré pero algo hice mal y voy a empezar el proceso desde 0.
Nunca me había dado por trastear así pero se aprenden cosas, muchas gracias y seguiré con las preguntas fijo.
Una pregunta de vago y es que no me llevo muy allá con Linux y nunca me hizo gracia cuando estaba estudiando, ¿sería posible que vosotros que sois unos cracks que compilarais un firm con el servidor samba, ftp, de impresión y cliente torrent ya integrado? Porque yo creo que es lo que mucha gente busca, luego ya cada cual que tocara los settings pero que ya estuviera todo.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 29-02-2012, 19:29 (Miércoles)
Aquí tienes un firm compilado hace un par de días: http://www.mediafire.com/?r3c2zx400qskdb0 (kernel 3.0 r30710)

Incluye LuCi, FPU Emulation, Transmission, Pure-ftpd, sporte USB (discos NTFS, ext4, vfat), servidor de impresión, WOL, etc.
Vamos que solo te falta instalar el servidor samba ;) (yo no lo uso en este router, de ahí que no lo incluera en la compilación).
No olvides desactivar el servidor DHCP (porque tener 2 en la misma red, puede dar problemas) si lo tienes activado en el router principal.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: ivisan2 en 29-02-2012, 23:01 (Miércoles)
Aquí tienes un firm compilado hace un par de días: http://www.mediafire.com/?r3c2zx400qskdb0 (kernel 3.0 r30710)

Incluye LuCi, FPU Emulation, Transmission, Pure-ftpd, sporte USB (discos NTFS, ext4, vfat), servidor de impresión, WOL, etc.
Vamos que solo te falta instalar el servidor samba ;) (yo no lo uso en este router, de ahí que no lo incluera en la compilación).
No olvides desactivar el servidor DHCP (porque tener 2 en la misma red, puede dar problemas) si lo tienes activado en el router principal.

voy a probarlo ahora mismo, jar229 tienes novia?
jajaja muchas gracias
Título: Re: OpenWRT en Huawei hg556a
Publicado por: ivisan2 en 29-02-2012, 23:24 (Miércoles)
la wifi la voy a dejar desactivada, le voy a enchufar al router principal en la boca LAN4 , ¿por el resto de bocas si enchufo algo por cable debería navegar no? Ya que ayer cuando estaba instalado paquetes no podía navegar con el portatil enchufado por cable y con DHCP en el portatil
Una vez instalado el torrent con que dirección+puerto accedo a él?
Seguro que me salen más preguntas ya os iré preguntando.


No sé si necesitas usar vlans realmente en tu configuración de red, o dicho de otra forma si necesitas tener un puerto wan. Sino es así sería mejor desactivarlo y hacer que el switch funcione como eso como un switch. Si el propósito es simplemente usarlo como una especie de servidor nas+aplicaciones de descarga, lo mejor será que quites todo lo que no necesites. Para la transferencia en red desde el router mejorará el rendimiento el quitar las iptables o más bien los módulos asociados del kernel kmod-ipt*, de esta forma no se podrá routear ni usar un puerto wan, pero el beneficio es notable en la transferencia.

Siempre hago inciso en esto de las iptables. Con los módulos iptables cargados el router inspeccionará todos y cada uno de los paquetes que pasan por la red, hagamos routeado de los mismos o no, y esto consume bastante cpu cuando transferimos literalmente cientos de megas.

muchas gracias danitool!!! lo entiendo perfectamente y voy a desinstalar los paquetes kmod-ipt* y modificar el fichero /etc/config/network para que no indique nada de los puertos rj45
Título: Re: OpenWRT en Huawei hg556a
Publicado por: ivisan2 en 05-03-2012, 09:55 (Lunes)
Buenos días maestros, tengo un "pequeño problema", eliminé como os puse los paquetes kmod-ipt*, eliminé el servidor dhcp, con lo cual lo dejé simplemente como un cliente de mi red, con una configuración LAN fija del tipo ip:192.168.1.2 mask:255.255.255.0  Gateway 192.168.1.1 DNS: 8.8.8.8 , la historia viene a partir de aquí, con el router de telefónica la luz de actividad del puerto LAN donde está enchufado el Huawei se pone a funcionar todo el rato, al mismo tiempo que el disco duro montado se pone en actividad y me bloquea toda la red y me tira el acceso WAN, ¿porqué puede ser?

Después puse un router de jazztel configurado para telefónica y ya no me tira la red,
conseguí descargar con el transmission, aunque no pasa de 500-600 kbps (cuando el portatil se pone al máximo de línea 1 mb/s), y una vez que el transmission ha terminado intenté mover al portatil por wifi un archivo desde el disco duro y la velocidad era de risa, 2,5 Mb/s, que para una red Wifi g (54Mb/s) es de risa, ¿porque puede ser?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 06-03-2012, 13:45 (Martes)
La verdad es que no se de qué modo afecta el que hayas borrado las iptables, al problema que planteas.
En cuanto a lo router en sí, la velocidad del transmission no depende únicamente del router, sino de lo que estés bajando, del número de peers, etc.. Yo sí he visto velocidades superiores a 1 mb/s.
El tema de la velocidad por wifi, has probado a hacerlo entre 2 pc's ? Qué velocidades alcanzas ?
Y ya para terminar, no puedes pretender que un router con una cpu de 300 mhz y 64 megas de Ram, rinda igual que un PC de sobremesa o portatil.
Si quieres algo así, tendrás que buscarte un NAS. Y claro ... prepárate a soltar unos cuantos cientos de euros  ;D
Título: Re: OpenWRT en Huawei hg556a
Publicado por: denis111 en 08-03-2012, 11:58 (Jueves)
Puede ser que la velocidad de 2,5 MB/s es normal. Aunque la conexion es a veces a más de 100MB/s yo con mi portatil y router con un disco NAS en distintas habitaciones a veces no alcanzo 1MB/s. El problema puede ser en adaptadores de wifi (tanto en router como en clientes) y también el protocolo SMB de m$ es bastante lento para transferencia de ficheros porque se transfieren muchas cosas más. Es una pena que mi disco no tiene FTP o NFS :(
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 08-03-2012, 14:57 (Jueves)
Siempre hago inciso en esto de las iptables. Con los módulos iptables cargados el router inspeccionará todos y cada uno de los paquetes que pasan por la red, hagamos routeado de los mismos o no, y esto consume bastante cpu cuando transferimos literalmente cientos de megas.

Crees que también mejoraría al usarlo como cliente/puente wifi ?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 18-03-2012, 21:01 (Domingo)
Gracias por el nuevo parche, danitool  ;)
Bajando la nueva compilación para probarla, en breve  >:(
Título: Re: OpenWRT en Huawei hg556a
Publicado por: dr.abatoll en 20-03-2012, 17:12 (Martes)
Hola a todos.

Soy nuevo en el foro.
Ante todo deseo dar las gracias por las enormes contribuciones que estáis haciendo.

Dispongo de un MX29GL128EH y voy a proceder a su actualización con
openwrt.
A ver si tengo suerte. Os voy contando...

Un saludo.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: dr.abatoll en 21-03-2012, 18:30 (Miércoles)
Hola.
Al cargar el firmware he seleccionado la imagen para el hg553 y no para el hg556a.
Se ha instalado el sistema y puedo entrar en él aunque imagino que no es lo correcto.
¿Se puede hacer algo en este punto para volver a cargar el firmware correcto?

Agradecería mucho vuestra opinión.

Saludos.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: dr.abatoll en 21-03-2012, 18:56 (Miércoles)
Buenas otra vez.
Estoy intentando solucionar el tema del firmware a ver si puedo meterle el que toca.

Tengo instalado este:
http://www.mediafire.com/?6kd3hjpbuc469z1
que publicais en este post https://foro.seguridadwireless.net/openwrt/instalacion-(facil)-de-openwrt-en-huawei-553/20/

He colgado los logs:
http://pastebin.com/TdwWQb3x - kernel log
http://pastebin.com/RS9rcge4 - log del sistema

No sé si voy por buen camino...
Título: Re: OpenWRT en Huawei hg556a
Publicado por: dr.abatoll en 21-03-2012, 20:27 (Miércoles)
Hola danitool,
entiendo lo que me dices, aunque ha sido un error tan tonto como no elegir el fichero adecuado al cargarle el nuevo firmware.

Ahora le he metido el firm. de este hilo con mtd write, estos son los logs:
http://pastebin.com/rx5DkNPv - kernel log
http://pastebin.com/baWYLAiL - log del sistema

Puedo acceder correctamente al sistema a través de Luci y por Putty.

La idea que tenía era configurar la wlan como cliente de un punto de acceso y dejar que el servidor dhcp de dicho punto de acceso asigne las direcciones a los clientes de la LAN conectados por cable. He visto que hay diversas configuraciones posibles pero para mi propósito, ¿sería correcto utilizarla configuración de cliente enrutado?

Tendré más cuidado la próxima vez ya que estos aparatos pueden ser muy versátiles para lo poco que pueden llegar a costar...

Saludos..
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 22-03-2012, 08:29 (Jueves)
Pues a mi sí me funciona (aunque no lo utilizo normalmente, la verdad):

Código: [Seleccionar]
[770806.264000] wlan0: associated
[770881.032000] wlan0: authenticate with 38:72:c0:a6:09:49
[770881.040000] wlan0: send auth to 38:72:c0:a6:09:49 (try 1/3)
[770881.044000] wlan0: authenticated
[770881.056000] wlan0: associate with 38:72:c0:a6:09:49 (try 1/3)
[770881.056000] wlan0: RX AssocResp from 38:72:c0:a6:09:49 (capab=0x411 status=0                                            aid=1)
[770881.056000] wlan0: associated
[1250982.900000] usb 1-2: new high speed USB device number 3 using bcm63xx_ehci
[1250983.052000] scsi0 : usb-storage 1-2:1.0
[1250984.064000] scsi 0:0:0:0: Direct-Access     USB0912B Flash Disk       8.07                                            PQ: 0 ANSI: 2
[1250984.084000] sd 0:0:0:0: [sda] 3948544 512-byte logical blocks: (2.02 GB/1.8                                           8 GiB)
[1250984.096000] sd 0:0:0:0: [sda] Write Protect is off
[1250984.104000] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
[1250984.104000] sd 0:0:0:0: [sda] No Caching mode page present
[1250984.112000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[1250984.128000] sd 0:0:0:0: [sda] No Caching mode page present
[1250984.132000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[1250984.484000]  sda: sda1
[1250984.508000] sd 0:0:0:0: [sda] No Caching mode page present
[1250984.516000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[1250984.520000] sd 0:0:0:0: [sda] Attached SCSI removable disk
root@Huawei2:~#

Uso una compilación mía, la r30710

Lo que sí me ocurre, es que de tanto en tanto, si reboto el router, me entra en el CFE (modo recuperación).
Te pasa a tí también ?
Sabes porqué puede ser ?
Esto es bastante habitual en el hg553.

La idea que tenía era configurar la wlan como cliente de un punto de acceso y dejar que el servidor dhcp de dicho punto de acceso asigne las direcciones a los clientes de la LAN conectados por cable. He visto que hay diversas configuraciones posibles pero para mi propósito, ¿sería correcto utilizarla configuración de cliente enrutado?

Si no necesitas que el hg556a y los equipos conectados a él por cable, estén en la misma subred que el punto de acceso, el modo cliente enrutado te vale (pero tienes que tener el dhcp activado).
Si por el contrario quieres/necesitas que todos los equipos estén en la misma subred, tendrás que hacer uso de relayd (Routed Client with relayd -Pseudobridge): http://wiki.openwrt.org/doc/recipes/relayclient
Título: Re: OpenWRT en Huawei hg556a
Publicado por: dr.abatoll en 22-03-2012, 10:31 (Jueves)
Citar
Uso una compilación mía, la r30710
[/quoute]

Creo que yo también la estoy utilizando, ¿puede ser?
OpenWrt Firmware Attitude Adjustment (r30710) / LuCI Trunk (trunk+svn8321)

Citar
Lo que sí me ocurre, es que de tanto en tanto, si reboto el router, me entra en el CFE (modo recuperación).
Te pasa a tí también ?
Sabes porqué puede ser ?
Esto es bastante habitual en el hg553.

Hasta el momento lo he podido reiniciar sin anomalías, no sé por qué a ti te entra en el CFE.

Citar
Si no necesitas que el hg556a y los equipos conectados a él por cable, estén en la misma subred que el punto de acceso, el modo cliente enrutado te vale (pero tienes que tener el dhcp activado).
Si por el contrario quieres/necesitas que todos los equipos estén en la misma subred, tendrás que hacer uso de relayd (Routed Client with relayd -Pseudobridge): http://wiki.openwrt.org/doc/recipes/relayclient

Voy allá con el cliente enrutado, probando configuraciones...

Saludos
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 22-03-2012, 17:28 (Jueves)
Lo de que se pare tu cfe en modo recuperación suena a que o bien no es capaz de descomprimir el kernel, o una vez descomprimido no encuentra el punto de entrada, o este mismo falla.

Así que parece problema de tu CFE, estaría bien que supieses que versión de CFE tienes instalada, por comprobar que es la misma que mi router y otros usan.  Aunque para saber la versión igual necesita de conectar el puerto serie TTL.


Añado: Por cierto no sé cual es el motivo de que uses imagen jffs2, pero en caso de usarla deberías usar la openwrt-HW556-jffs2-128k-cfe.bin.
128k es el tamaño de bloque de estas flash, no 64k. Excepto en las MX29LV128DB en cuyo caso el tamaño de bloque sí que es 64k

Y recordad que la vida de una flash es limitada: 100 mil escrituras. Uno se puede hartar a flashear sin problemas. Pero ojo, una aplicación ejecutándose en el router que lee y escribe contínuamente de la flash enseguida puede agotar la flash. Por ello existe el directorio /tmp, que es memoria ram, una aplicación que escriba datos temporales de vez en cuendo debería hacerlo en ese directorio. Esto lo digo por aplicaciones un tanto inusuales que estais usando como el edonkey.

Pues el tema de que se quede en el modo recuperación me pasa a mí, y a un amigo que también tiene el hg556a.
Y si miras en el hilo del hg553 nos viene pasando a unos cuantos, así que me da la impresión de que no es un problema de mi CFE  ;D
Lo de usar las imagenes en formato jffs2 ... pues lo hacía por inercia, porque en la wiki de openwrt del hg553 hacen referencia a ella.
Tomo nota de lo de los 128 ks (si cuelgo versiones del firmware, lo haré en formato squashfs para evitar problemas).
Y sobre el tema de la escritura en la flash, yo tengo mldonkey configurado para escribir en un hd externo (tanto los ficheros temporales, como los terminados). Igualmente gracias por el aviso  ;)

En cuanto pueda, voy a flashear el último firm que has puesto. Que quiero probar a configurar la wifi como cliente WDS a ver qué resultado da ...
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 22-03-2012, 21:07 (Jueves)
Código: [Seleccionar]
[1250982.900000] usb 1-2: new high speed USB device number 3 using bcm63xx_ehci
[1250983.052000] scsi0 : usb-storage 1-2:1.0
[1250984.064000] scsi 0:0:0:0: Direct-Access     USB0912B Flash Disk       8.07 PQ: 0 ANSI: 2
[1250984.084000] sd 0:0:0:0: [sda] 3948544 512-byte logical blocks: (2.02 GB/1.88 GiB)
[1250984.096000] sd 0:0:0:0: [sda] Write Protect is off
[1250984.104000] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
[1250984.104000] sd 0:0:0:0: [sda] No Caching mode page present
[1250984.112000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[1250984.128000] sd 0:0:0:0: [sda] No Caching mode page present
[1250984.132000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[1250984.484000]  sda: sda1
[1250984.508000] sd 0:0:0:0: [sda] No Caching mode page present
[1250984.516000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[1250984.520000] sd 0:0:0:0: [sda] Attached SCSI removable disk
[1296509.704000] usb 1-2: USB disconnect, device number 3
[1296534.120000] usb 1-2: new high speed USB device number 4 using bcm63xx_ehci
[1296534.272000] scsi1 : usb-storage 1-2:1.0
[1296535.276000] scsi 1:0:0:0: Direct-Access     USB2.0   FlashDisk        0.00 PQ: 0 ANSI: 2
[1296535.292000] sd 1:0:0:0: [sda] 4028936 512-byte logical blocks: (2.06 GB/1.92 GiB)
[1296535.308000] sd 1:0:0:0: [sda] Write Protect is off
[1296535.312000] sd 1:0:0:0: [sda] Mode Sense: 00 00 00 00
[1296535.316000] sd 1:0:0:0: [sda] Asking for cache data failed
[1296535.320000] sd 1:0:0:0: [sda] Assuming drive cache: write through
[1296535.336000] sd 1:0:0:0: [sda] Asking for cache data failed
[1296535.344000] sd 1:0:0:0: [sda] Assuming drive cache: write through
[1296535.452000]  sda: sda1
[1296535.572000] sd 1:0:0:0: [sda] Asking for cache data failed
[1296535.580000] sd 1:0:0:0: [sda] Assuming drive cache: write through
[1296535.588000] sd 1:0:0:0: [sda] Attached SCSI removable disk
[1296651.440000] usb 1-2: USB disconnect, device number 4
[1296660.656000] usb 1-2: new high speed USB device number 5 using bcm63xx_ehci
root@Huawei2:~#

Por orden:
El mismo pen de antes, luego otro pen distinto (de 2 gigas también), y finalmente, un tarjeta wireless usb.
No se si te habrás aclarado ...  ;D
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 24-03-2012, 17:37 (Sábado)
jar229 podrías hacer un backup de tu CFE?
Quiero compararlo con el mío.

Es sencillo de hacer
Código: [Seleccionar]
dd if=/dev/mtd0 of=/tmp/CFE_backup.rom
Gracias.

Por supuesto  ;)

Enviado.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 26-03-2012, 22:08 (Lunes)
HG556a bricked!

Creo que se me ha muerto un router :p

Después de flashear el firmware OpenWrt_hg556a_r30964.zip desde recovery. Acceder a Luci, cambiar la password de root. Desenchufo el router, y ZAS, ya no encienden las luces :|

Bueno mientras escribía esto, no podía dejar de pensar, y si lo desmontas...

Hasta que quité la pegatina y me puse a indagar con el polímetro.
Los 12V los saca bien. (Tengo 3HG556a por lo que probé en otros router).
Comprobamos tensión en componentes cercanos, 0 patatero
Buscamos algún fusible... a simple vista no encontré nada, Salvo unos puentes SMD.
Color extraño, no hay continuidad, zas puente estropeado, sueldo un puente con un cablecito. IT'S ALIVE :D
(http://i.imgur.com/D3S1e.jpg)
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 26-03-2012, 23:11 (Lunes)
Al final sigo sin Wifi, probado ambos firmwares. He flasheado el SP03, por si era algún problema extraño, ahi si "reconoce el wifi".

EDIT: Vease POST anterior...
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 27-03-2012, 08:46 (Martes)
Parece que tu router se ha librado por los pelos  ;D ;D
Y después de meter el firm de vodafone, has probado a volver a la última compilación de danitool ?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 27-03-2012, 09:20 (Martes)
He vuelto a poner la 30964 y la 306xx.
No aparece en luci, no aparece en ifconfig, y no aparece en /etc/config/network

Al llegar a casa pruebo de nuevo y pasteo un dmesg.
(Tengo ya un HG533 funcionando, CT5365 , 5361) He hecho como todos.

Si me da tiempo me compilo la última del svn con el parche de danitool.

Menudo susto con el cacharro, me da cosa hasta probar en el otro HG556a que tengo de reserva.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: dr.abatoll en 29-03-2012, 12:54 (Jueves)
jar229, instalé inicialmente tu compilación pero como dice danitool, la flash es de 128k y el firm para 64k.

El problema viene al intentar meterle la nueva compilación con mtd write, pero imagino que al ser squashfs la partición ya existente, no pudeo actualizarla.

¿Cómo podría meterle la última compilación de danitool?

Saludos.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 29-03-2012, 17:33 (Jueves)
Bueno, he vuelto a flashear el SP03 configurado el wifi  (funciona).

Desde Recovery flasheado: http://files.myopera.com/danitool/linux/OpenWrt_hg556a_r30964.zip
Arranco LuCi :  Cambio clave de root.
Accedo SSH, dmesg= http://pastebin.com/qrzYRXeT
Hago copia del CFE de paso para danitool: http://localhostr.com/file/Mwczwfa/CFE_backup.rom

Sigue sin aparecer la interfaz wifi:

Código: [Seleccionar]
root@OpenWrt:~# ifconfig
br-lan    Link encap:Ethernet  HWaddr 84:A8:E4:4B:CA:AB 
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1478 errors:0 dropped:5 overruns:0 frame:0
          TX packets:942 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:131309 (128.2 KiB)  TX bytes:185953 (181.5 KiB)

eth0      Link encap:Ethernet  HWaddr 84:A8:E4:4B:CA:AB 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1479 errors:0 dropped:0 overruns:0 frame:0
          TX packets:942 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:152061 (148.4 KiB)  TX bytes:185953 (181.5 KiB)
          Interrupt:14

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1296 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1296 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:88128 (86.0 KiB)  TX bytes:88128 (86.0 KiB)

¿Funciona el relayd bien?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 29-03-2012, 17:56 (Jueves)
jar229, instalé inicialmente tu compilación pero como dice danitool, la flash es de 128k y el firm para 64k.

El problema viene al intentar meterle la nueva compilación con mtd write, pero imagino que al ser squashfs la partición ya existente, no pudeo actualizarla.

¿Cómo podría meterle la última compilación de danitool?

Saludos.

Deberías poder hacerlo sin ningún problema con mtd write.
Pero vamos, que también puedes entrar en el modo recovery y hacerlo desde allí.

¿Funciona el relayd bien?

Desde que me cambiaron el router principal por un Comtrend ar5387un, funciona muy bien  ;)
Sin embargo con el anterior, un huawei hg532c, iba fatal  :-\
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 30-03-2012, 01:18 (Viernes)
Este HG556a, estaba como llegó de ebay. Estuvo 2 meses junto a otro HG556a sin usar. Lo enchufé miré qué versión tenían. Comprobé que funcionaba el wifi y todo, le instalé tu última compilación. Cambié pass de root, y al ver que no tenía wifi, le quité la corriente. No volvió a encender, y de ahí que lo desmontase y encontrara el fallo del puente quemado.

Luego pasó por el SP03 para ver que todo iba ok, la compilación anterior de febrero, vuelta al stock, y vuelta a tu última compilación.

Dump del aht_data.rom >> http://localhostr.com/file/Kziv3V3/ath_data.rom


Jar229, menuda alegría me das :p A ver si consigo hacer un enlace a 300mbps y con al menos 8mb/s entre ambos router. Tengo una colección de 3 HG556a pero el WDS como que nanai.

Con los Comtrend a ver si logro hacer un router client. Masquerated client, va perfecto para dar internet, pero no para envíar archivos por FTP :( (Tema aparte).
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 30-03-2012, 08:44 (Viernes)
Gracias por la respuesta. Como he dicho antes, con el original funciona perfectamente el wifi. Activado 40mhz, cambiado SSID, conectado y entrado al panel de configuración desde wifi.

Por lo que el "wifi funciona". A ver si flasheo el otro HG556a que tengo y compruebo que en si funciona wifi, una vez funcione le meto sus datos de configuración.

Gracias!

Título: Re: OpenWRT en Huawei hg556a
Publicado por: eq7mavala en 30-03-2012, 09:15 (Viernes)
Buenos dias, ando un poco perdido con el tema, tengo un HG556a la version que acaba en EH (verificado),  no se que tengo que poner, o instalar o ya ando perdido del todo.

Mi idea es poner el amuled, para que descargue y algun sistema voip para usar el del propio router, ademas de conseguir tener wifi que no hay manera...

PD: ME meto a la braba, no controlo mucho el tema, compilar al que simpre haceis referencia... El año pasado cuando compilabamos en programacion (Soy informatico... ) haciamos archivos de texto a pelo con gedit, luego lo compilabamos (Este paso no lo recuerdo) y el resultante era un archivo *.sh, el cual ejecutabamos...

Esto tendra alguna referencia con lo que se precisa imagino, si alguien me ilumina un poco le estare eternamente agradecido...

GRACIAS :)
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 30-03-2012, 09:44 (Viernes)
eq7mavala no tienes que compilar nada (si no quieres), puedes instalar cualquiera de los firmwares que ha ido posteando danitool.
Eso sí, recuerda que si instalas openWRT en este router, no podrás hacer servir la parte de modem ADSL.
Dicho esto, para instalar amule, no tienes más que conectar por ssh al router, actualizar la lista de paquetes y luego el cliente p2p

Código: [Seleccionar]
opkg update
opkg install amule

Luego configurarlo y hacer que funcione bien, ya será otra guerra ...  ;D

Como consejo, yo te recomendaría mldonkey: http://mldonkey.sourceforge.net/phpBB2/viewtopic.php?t=4890
Es mucho más estable que amule y consume menos recursos (y esto en un hardware limitado como un router, es muy importante).
Como inconveniente, sólo funcionará en openWRT si se ha compilado con 'FPU emulation'.

A ver si un día saco tiempo y me animo a escribir un mini manual para la instalación/configuración de mldonkey ...  ^-^
Título: Re: OpenWRT en Huawei hg556a
Publicado por: eq7mavala en 30-03-2012, 09:59 (Viernes)
Muchas gracias por la rapida contestacion, el wifi como lo activo? ifup no funciona ( directamente no me aparece la interfaz en iwconfig), lo que me lo complica bastante... Gracias
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 30-03-2012, 13:25 (Viernes)
Lo más fácil es hacerlo desde LuCi  ;D
Título: Re: OpenWRT en Huawei hg556a
Publicado por: eq7mavala en 30-03-2012, 14:04 (Viernes)
He agregado la interfaz, pero no me emite señal si alguno fuera tan amable de decirme los pasos... ^-^
Título: Re: OpenWRT en Huawei hg556a
Publicado por: eq7mavala en 30-03-2012, 14:12 (Viernes)
La semana que viene tengo tiempo libre, por lo que hare algun tutorial basico, flasheo, instalacion de servidor samba, sftp y activación de la tarjeta wifi...  ;D
Título: Re: OpenWRT en Huawei hg556a
Publicado por: feluco en 31-03-2012, 01:40 (Sábado)
Les cuento: tenia el router  con la version irlandesa, que segun dicen cambiaba el CFE, no entraba en modo de recuperacion ni queriendo, siempre me volvia a salir la dichosa versión.

Actualice a openwrt desde la interfaz web de vodafone, perfecto me la pillo sin problemas, tenia wifi..etc  todo bien, pero al modificar algun parametro ya no puedo entrar a Luci. Intento de nuevo el modo de recuperacion y nada, manteniendo el reset pulsado no se apaga el led de power.

Tengo la luz roja de power encendida, pero no responde a nada, no entro ni por web ni putty, ni nada, en fin me da que se jodio... :-\, alguna sugerencia....
Título: Re: OpenWRT en Huawei hg556a
Publicado por: feluco en 31-03-2012, 16:47 (Sábado)
Recuperado.... ;D, me disponia a hacer la cirugia al router, ya con el destornillador en la mano y buscando encuentro esto:
Fuente pagina web de Kisumu:
El método de rescate de firmware corrupto manteniendo pulsado el boton de reset y encender el router, usados en otros routers con arquitectura BCM63xx tales como el Huawei HG553 o el Comtrend CT536, varía levemente. Hay que pulsar el boton de restart en vez del reset por lo que es método recomendado para actulizar el firmware cuando esté corrupto. Recuerdo los pasos: 1.- Con el router apagado pulsar boton de restart y mantenerlo pulsado. 2.- Encender el router y seguir manteniendo pulsado al 20 segundos. 3.- Soltar boton restart. 4.- Con la IP configurada en el ordenador para 192.168.1.x/255.255.255.0, acceder a la dirección : http://192.168.1.1

En fin el fallo era mio ya que pulsaba el boton de Reset, en vez del Restart, a la primera entro en recuperación.
Vuelvo a tener Luci... ;)
Título: Re: OpenWRT en Huawei hg556a
Publicado por: feluco en 01-04-2012, 01:18 (Domingo)
Si si esta claro...es que venia ciego del router HG553, que tiene el boton de reset solamente. En fin...
Ahora estoy peleado con el modo cliente, que no logro ponerlo...estamos  en ello pero me armo un lio con las interfaz...saludos.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: eq7mavala en 01-04-2012, 11:08 (Domingo)
"Solucionados" mis problemas de wifi...

Tenia 2 556a., cambiando el que estaba haciendo probatinas por el otro solucionado y chuta el wifi, sobre los del VOIP, alguien puede ayudarme? Gracias
Título: Re: OpenWRT en Huawei hg556a
Publicado por: maniel en 02-04-2012, 19:35 (Lunes)
Hola estoi algo perdido queriendo conecar el router HG556a a mi red wifi que es emitida por un OBSERVA TELECOM, AW4062. El caso es que desde LuCi e editado la direccion IP lan a 192.168.1.94 para no tener conflicto entre mi router adsl y el HG556a y en la parte de wifi de LuCi Configuro la ESSID de mi router adsl pongo la contraseña del ruter (WPA-PSK) y el HG556a aparentemente no hace nada. Por eso pido ayuda ya que mis planes serian tener conectado el HG556a via wifi al router adsl y este mismo conectado a mi television via lan.
Por favor pido ayuda ya qu e leido de algunaos que an conseguido lo de conecar el cliente y a ser posible que este esplicado como para "tontos" por que la verdad me interesa.
Gracias de antemano. Salu2
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Chumpy en 02-04-2012, 20:18 (Lunes)
Yo me liee con eso una bestialidad, con luci hay un botoncito que pone scan, que te busca las redes a su alrededor, y desde ahí seleccionas la red a la que quieres que se conecte.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: feluco en 02-04-2012, 23:10 (Lunes)
Te cuento como lo tengo:

En Network: Wifi- Editar-Activas el Wifi. Picas de nuevo sobre Network : Wifi y hay un botón de scan, te encontrara tu red y le das a Join Network.
Te aparecerá el canal de emisión de tu router adsl. En Transmit Power lo pones al máximo 20 dBm. Te aparece el ESSID y en Mode tiene que estar en Cliente. Solo tienes que poner en Wireless Security la  clave de tu router y le das a guardar los cambios.

Ahora vas a Network-Interfaces: LAN
En General Setup: protocolo. Tengo puesta una ip estática (static adress)
IPv4 adress. 192.168.0.1. En una subred distinta a la del router adsl (supongamos a éste en la 192.168.1.1)
IPv4 Netmask…255.255.255.0
IPv4 Gateway…192.168.1.1 (la del router adsl).
No tengo marcado Disable DHCP, por tanto el HG556a me dará ip, así la tarjeta de red del PC la tengo en automático sin ninguna ip.
En la pestaña Physical settings. Tengo marcado dos; creates a bridge over specified interface y la de Ethernet Adapter eth0 lan.

Ahora en Network –Interface WWAN
General setup- protocol. DHCP client. El router adsl le da la ip.
En Physical Settings. Solo tengo marcada la de wireless Network Client.

Con esto te debería de funcionar, espero que te sirva un saludo.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: maniel en 03-04-2012, 12:10 (Martes)
Muchisimas gracias a los dos por la informacion. Ya estoi conectado por wifi. Ahora a meterme en las diferentes aplicaciones de openwrt y a testear un poquito.
Gracias otra vez. Salu2.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 03-04-2012, 12:29 (Martes)
Te cuento como lo tengo:

En Network: Wifi- Editar-Activas el Wifi. Picas de nuevo sobre Network : Wifi y hay un botón de scan, te encontrara tu red y le das a Join Network.
Te aparecerá el canal de emisión de tu router adsl. En Transmit Power lo pones al máximo 20 dBm. Te aparece el ESSID y en Mode tiene que estar en Cliente. Solo tienes que poner en Wireless Security la  clave de tu router y le das a guardar los cambios.

Ahora vas a Network-Interfaces: LAN
En General Setup: protocolo. Tengo puesta una ip estática (static adress)
IPv4 adress. 192.168.0.1. En una subred distinta a la del router adsl (supongamos a éste en la 192.168.1.1)
IPv4 Netmask…255.255.255.0
IPv4 Gateway…192.168.1.1 (la del router adsl).
No tengo marcado Disable DHCP, por tanto el HG556a me dará ip, así la tarjeta de red del PC la tengo en automático sin ninguna ip.
En la pestaña Physical settings. Tengo marcado dos; creates a bridge over specified interface y la de Ethernet Adapter eth0 lan.

Ahora en Network –Interface WWAN
General setup- protocol. DHCP client. El router adsl le da la ip.
En Physical Settings. Solo tengo marcada la de wireless Network Client.

Con esto te debería de funcionar, espero que te sirva un saludo.


Te funciona en el HG556a el acceso desde el exterior a los equipos conectados por eth al router openwrt?

Yo he intentado configurar varios openWRT como bridge, y sólo funcionan en si están en diferentes redes y no se comunican. Desde el router openWRT puedo acceder a todos los equipos, no asi al revés.

A ver si hoy quito tiempo y arreglo el wifi del HG556a.

Para hacer un dump completo de la flash del router con firm vodafone ¿serie o jtag?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: feluco en 03-04-2012, 13:18 (Martes)
No puedo ver los equipos conectados, ni de un lado ni de otro. Con el explorador de windows en redes, no me aparece ningun equipo.
El router adsl esta en la red 192.168.1.1 y la lan del Hg556a está en 192.168.0.1, por tanto en subredes distintas.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 03-04-2012, 13:27 (Martes)
No puedo ver los equipos conectados, ni de un lado ni de otro. Con el explorador de windows en redes, no me aparece ningun equipo.
El router adsl esta en la red 192.168.1.1 y la lan del Hg556a está en 192.168.0.1, por tanto en subredes distintas.

En mi caso tengo.
HG556a --- 10.0.0.1 , WPA2 PSK
5365 openwrt -> Desde Luci, "busco wifi y me conecto como cliente". Y nada más. 192.168.1.1 p.e., DHCP on.
Entonces, desde equipos por lan, entro a la config sin problemas del router 10.0.0.1

Tengo que probar cuando tenga tiempo a configurar Routed Client y Relayd en los HG556a. Dado que en ellos no funciona el WDS :(
Título: Re: OpenWRT en Huawei hg556a
Publicado por: feluco en 03-04-2012, 20:37 (Martes)
Ok tool, tal como lo has explicado, tambien puedo entrar a la configuración del router adsl, sin problemas, pero al reves no entro el el hg556a con openwrt.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 03-04-2012, 23:01 (Martes)
feluco: si quieres que los equipos se 'vean' y esten en la misma subred, debes usar obligatoriamente el paquete relayd: http://wiki.openwrt.org/doc/recipes/relayclient
En este hilo tienes una explicación de como hacerlo en un hg553 (te vale igualmente para este router): https://foro.seguridadwireless.net/openwrt/instalacion-(facil)-de-openwrt-en-huawei-553/

De todas formas, este 'problema' (que en realidad no es tal) está avisado en el primer post de este hilo:

Citar
Problemas conocidos:

El wifi atheros, no permite hacer 'puente cliente transparente', así que para lograrlo hay que hacer servir el paquete relayd: http://wiki.openwrt.org/doc/recipes/relayclient

Hay que leer un poquito más eh ?  :P
Título: Re: OpenWRT en Huawei hg556a
Publicado por: feluco en 03-04-2012, 23:58 (Martes)
gracias jar229 por el consejo...estamos en ello... ;), de todas formas para mi no es un problema que los equipos no se vean, era la respuesta al amigo tool, que me preguntaba si funcionaba el acceso desde el exterior a los equipos conectados al hg556a.

Seguimos aprendiendo....ya me funciona el transmisión, descargo al pendrive, pero si saco el pendrive y lo conecto al pc, para copiar el archivo descargado, me dice que debo de formatear el pen, windows no lo reconoce; es raro porque el pendrive lo formate inicialmente como ntfs.
Bueno un saludo y gracias por la ayuda.
Título: Re: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 04-04-2012, 11:34 (Miércoles)
No andes conectando y desconectando el pen. Usa el ftp, para transferir los ficheros al PC ;)

Otro adicto al foro, enviando mensajes desde el móvil ;-)
Título: Re: OpenWRT en Huawei hg556a
Publicado por: feluco en 05-04-2012, 11:11 (Jueves)
Maravilloso...maestro  >:(, ahora si funciona todo de ...madre, si un dia vienes por canarias te invito a un sancocho... ;)
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 05-04-2012, 20:44 (Jueves)
Maravilloso...maestro  >:(, ahora si funciona todo de ...madre, si un dia vienes por canarias te invito a un sancocho... ;)

Me lo apunto  ;D
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Yoko en 16-04-2012, 17:35 (Lunes)
Buenos días,

 soy nueva en el foro. Os he estado leyendo un par de días y he conseguido instalar OpenWRT en mu Huawei 556a. El problema es que no consigo configurar una VPN (he probado openvpn, pptpd) sin que cuando conecte un cliente se resetee el router.

¿Le ha pasado a alguien?, y lo mejor, ¿Sabe alguien solucionarlo)
He usado el primer firmware de "TODAS"

Muchas gracias...
Título: Re: OpenWRT en Huawei hg556a
Publicado por: feluco en 16-04-2012, 22:45 (Lunes)
Yo utilizo la r30964, la encuentras en la respuesta nº 84. Con esta versión no tengo problemas... ;), aunque no utilizo VPN.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: eq7mavala en 16-04-2012, 23:48 (Lunes)
Alguien podria poner una version actualizada con el FPU activado? Voy a darle caña al mldonkey...

Gracias por el tuto del 553 ;)
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 17-04-2012, 08:18 (Martes)
r30964 con FPU emulation, samba, transmission, ftp, etc: http://www.mediafire.com/?wkfz56udimu821x
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Antolequia en 17-04-2012, 13:17 (Martes)
Muchas gracias,Jar.Lo del Samba me interesa mucho para el deco.
¿Se puede usar un usb en el router como almacenamiento para un deco
multimedia,supongo que si configurándolo adecuadamente?.
Un saludo.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 17-04-2012, 14:36 (Martes)
Si el deco tiene soporte samba (o ftp), pues sí.
De lo contrario, me imagino que tengas que instalar un servidor dlna en el router.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: locko en 17-04-2012, 14:50 (Martes)
para el hg520 serviria o es demasiado antiguo??
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 18-04-2012, 08:36 (Miércoles)
No sirve.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Yoko en 18-04-2012, 10:13 (Miércoles)
Muy buenas,

  he probado el ultimo firmware y openvpn sigue colgandose el proceso o reiniciando el router.
  Lo tengo en modo tun y si pongo rango de ips 10.8.0.0 255.255.255.0 al conectar un cliente no se cuelga, pero al primer ping que haga desde la iface tun0 a cualquier otra ip se cuelga el proceso.

 Tengo puesto el router con IP fija y DHCP desactivado en la LAN porque lo tengo detrás de un cablemodem router cisco. He pensado que el servidor dhcp sea el cisco.
¿Alguna idea?

MuCHAS GRACiASSSS
 :-[
 
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Yoko en 18-04-2012, 23:06 (Miércoles)
Hola Danitool,

  al final me he decantado por la solución tradicional. Putty + RDP, Putty + VNc ... Putty + todo.
  Me parecía interesante el tema de la vpn con openvpn, pero al final me da más problemas que otra cosa.
La idea de usar vpn era para acceder a mi red de casa con un HTC Wildfire Android.
Al final gracias a Irsi connect bot hago lo mismo que con Putty.

Muchas gracias a todos.

De todas formas si se os ocurre algo mejor... 8)
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Yoko en 19-04-2012, 16:36 (Jueves)
Configuración de samba

Aunque solo consigo hacer funcionar samba desde Windows con el directorio /tmp, y me sigo peleando con el /mnt/sda1 sobre el que no consigo escribir desde windows, os pongo un truco que he tenido que emplear para que samba autoinicie.

He deshabilitado el symlink (S60samba) desde el menu de Luci y en vez de eso, lo he puesto en rc.local PERO con un sleep 20 por delante que si no, no arrancaba nunca.

Por cierto, si se os ocurre algo de samba con /mnt/sda1...
he probado todo, chmod, chown...
Igual que en este vinculo, me pasa lo mismo que a este usuario:

https://forum.openwrt.org/viewtopic.php?id=30034

Please... snif, snif

Por cierto: Chown -R nobody /mnt/sda1 me da "Operation not permited" ???

Título: Re: OpenWRT en Huawei hg556a
Publicado por: Yoko en 19-04-2012, 17:11 (Jueves)
Block mount

aún más divertido y desconcertante es esto. Me voy a volver loca.

Si conecto un disco al Huawei en NTFS, block-mount lo monta y "parece" que puedo escribir en el disco desde /mnt/sdb1.

Pues bien, lo desmonto con umount /mnt/sdb1 y al enchufarlo al windows....

 no hay nada!!! ¿Alguien sabe algo de esto?

Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 19-04-2012, 19:26 (Jueves)
Tienes instalado el paquete ntfs-3g ?
Y si pasas de block-mount y lo montas tú con "ntfs-3g /dev/sdb1 /mnt/usb-ntfs -o rw,sync" qué ocurre ?
El disco que yo tengo conectado a mi hg533 ('hermano' del hg566a) está en ext2 y no tengo ningún tipo de problema (tampoco con samba)  ???
Desde que versión de windows intentas conectar ?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Yoko en 20-04-2012, 13:43 (Viernes)
hola jar229,
Tenías razón, error de principiante. La option sync me ha jugado una mala pasada.
  
El problema es que Luci lo monta así: /dev/sdb1 /mnt/sdb1 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096 0 0
 es decir, sin el sync.

Si desmonto lo que hace Luci (Block-mount) y hago
mount -o rw,sync -t ntfs-3g /dev/sdb1 /mnt/sdb1 lo hace bien.

¿Se puede automatizar que Luci lo monte con "sync"?
Muchas gracias
Título: Re: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 20-04-2012, 20:15 (Viernes)
Mítate el hilo del hg553 (en este mismo subforo), debería aclararte muchas dudas.

Otro adicto al foro, enviando mensajes desde el móvil ;-)
Título: Re: OpenWRT en Huawei hg556a
Publicado por: eq7mavala en 21-04-2012, 11:06 (Sábado)
Buenos dias, muchas gracias a todos!!!

Ya tengo mi hg556 con mldonkey, servidor samba+servidor FTP+AP...

Ahora la preguntilla, es normal que lo maximo que escriba/lea bien sea por samba o por FTP sean en torno a los 2 mb/s? Es que el servidor samba del sobremesa chuta a a12 y no se si es por limitacion del router o que...

Mirando el dmseg me da la impresion de que solo funciona la version USB 1, no con el 2.0, con el cuello de botella que puede dar esto, un saludo y gracias
Título: Re: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 21-04-2012, 12:38 (Sábado)
En que formato está el disco duro?
Si la respuesta es NTFS, ahí está el problema.

Otro adicto al foro, enviando mensajes desde el móvil ;-)
Título: Re: OpenWRT en Huawei hg556a
Publicado por: eq7mavala en 21-04-2012, 13:35 (Sábado)
tengo un discoduro de 40 gb de 5400rpm el cual esta en fotmato ext4 y un pen de 4gb que esta en ext2 y el resultado es el mismo...
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Yoko en 21-04-2012, 16:56 (Sábado)
Hola a todos,

 Muchas gracias a todos, ya lo tengo.
Mis recomendaciones : Olvidaros de NTFS. funciona, pero satura la máquina.
Para Transmissions uso dos pendrives con EXT2 y la cpu no pasa del 10% de carga, antes iba al 100% y los clientes como transmission GUI iban a trompicones.

Por cierto, hay que leerse bien el foro del hg553. Muchas gracias jar por tus comentarios!!!

un abrazo a tod@s y a disfrutar de nuestro nuevo servidor linux totalmente funcional!!!

Yoko
Huawei 556a OpenWRt: Samba + DDNS + Printer + Transminissions + SSH (Lástima lo de openvpn) + SFTP + Luci + ... yokese
Título: Re: OpenWRT en Huawei hg556a
Publicado por: carlos-openwrt en 21-04-2012, 18:00 (Sábado)
Hola a todos. Muchas gracias por hacer esto posible, especialmente a danitool  ;)
He desempolvado el hg556 que me mando vodafone sin pedirselo  ??? y probando tus firmwares he estado intentando hacerlo funcionar con un pincho usb 3g. Resulta que como es la bleeding edge he tenido problemas con el paquete kmod-usb-serial. Con la versión antigua el error es distinto. He intentado aplicar tu parche a la versión trunk sin éxito. Si pudieras hacer un parche para la última versión o para la backfire 10.03.1-rc6 te estaría super agradecido, estoy seguro que solucionaría mis problemas. Si lo consigo voy a colgar un tuto explicando bien cómo hacer funcionar un pincho usb 3g, basado en la guía de http://wiki.openwrt.org/doc/recipes/3gdongle
Gracias a todos por mantener esta comunidad!
Título: Re: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 21-04-2012, 18:12 (Sábado)
Y porque no explicas el error que te da?
Igual así das alguna pista mejor del problema ...

Yoko, me alegro de tus progresos :D

Otro adicto al foro, enviando mensajes desde el móvil ;-)
Título: Re: OpenWRT en Huawei hg556a
Publicado por: carlos-openwrt en 21-04-2012, 18:21 (Sábado)
Tienes razon jar229, éste es el principal problema con la ultima versión, cuando enchufo el pen 3g (es un copy/paste de dmesg)
http://ivpaste.com/v/jS013bCH
El problema es con el kmod-usb-serial. Gracias.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: eq7mavala en 21-04-2012, 18:27 (Sábado)
No puedo copiar a mas 2-2,5 mb/seg desde samba, el tipo de particionado es EXT4, por lo que imagino que no debiera de suponer un problema...  No?

Gracias
Título: Re: OpenWRT en Huawei hg556a
Publicado por: carlos-openwrt en 21-04-2012, 18:33 (Sábado)
@eq7mavala yo creo que lo mejor es que pruebes con ext2 y veas la diferencia. Saludos.
Título: Re: Re: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 21-04-2012, 18:35 (Sábado)
tengo un discoduro de 40 gb de 5400rpm el cual esta en fotmato ext4 y un pen de 4gb que esta en ext2 y el resultado es el mismo...

Qué versión del firmware tienes instalada?
Tienes todos los paquetes de USB?
Y, la velocidad de la que hablas es por cable o por WiFi?

No puedes comparar el rendimiento de un PC con el de un router. De todas formas ya se ha comentado en este mismo hilo sobre el tema de la velocidad :-\

Otro adicto al foro, enviando mensajes desde el móvil ;-)
Título: Re: OpenWRT en Huawei hg556a
Publicado por: eq7mavala en 21-04-2012, 20:58 (Sábado)
tanta diferencia hay entre ext4 y ext2? tengo la version que subistes en la pagina anterior con el fpu, samba e impresora...

evidentemente no puede ser igual de rapido en el movimiento de archivos por el hecho de ram, cpu, etc, etc
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Yoko en 22-04-2012, 11:20 (Domingo)
Hola,

  con respecto a las velocidades de transferencia y procesadores MIPS (los que llevan los routers, los discos multimedia ... etc... en mi experiencia, nunca he pasado de 2Mb/segundo (2000 Kb/s).
Tengo un Storex Aivx con un samba y ftp y funciona por el estilo.
En el caso del HDD Multimedia (Storex), tengo FAT32 y NTFS (RO) y la verdad es dificil pasar de 1,8 Mb/s. Si mirais la carga de la cpu (top) o la memoria disponible (free), vereis que samba las agota.

Al final, son procesadores lentos para qur no se calienten, sin ventiladores...
De todas formas el Hg556a es un maquinon al lado de muchos HDD multimedia o NAS. Me ha sorprendido como mueve transmissions y el mldonkey!!

Si conseguis mas velocidad please postearlo!

Danitool y Jar229, muchas gracias por el trabajo que las q vemos de lejos los tiempos en los que recompilabamos kernels y modulos ad-hoc, nos alegramos de que haya gente con ganas y sobretodo tiempo!

 ;)Un abrazo para tod@s!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Yoko en 22-04-2012, 11:31 (Domingo)
Por cierto....

  alguien a probado X-wrt en el hg556a?  rendimiento mejor???

  No lo conozco y estoy contenta con Luci  ¿os gusta x-wrt?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Antolequia en 23-04-2012, 00:28 (Lunes)
Hola a todos. Muchas gracias por hacer esto posible, especialmente a danitool  ;)
He desempolvado el hg556 que me mando vodafone sin pedirselo  ??? y probando tus firmwares he estado intentando hacerlo funcionar con un pincho usb 3g. Resulta que como es la bleeding edge he tenido problemas con el paquete kmod-usb-serial. Con la versión antigua el error es distinto. He intentado aplicar tu parche a la versión trunk sin éxito. Si pudieras hacer un parche para la última versión o para la backfire 10.03.1-rc6 te estaría super agradecido, estoy seguro que solucionaría mis problemas. Si lo consigo voy a colgar un tuto explicando bien cómo hacer funcionar un pincho usb 3g, basado en la guía de http://wiki.openwrt.org/doc/recipes/3gdongle
Gracias a todos por mantener esta comunidad!
Supongo que ya lo sabrás pero con el firm "irlandés" funcionan los USB-3G
yo tengo uno de Simyo que utilizo puntualmente en casa de mis padres pero me imagino que la idea es lograrlo bajo openwrt.
Un saludo.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: carlos-openwrt en 23-04-2012, 00:46 (Lunes)
Hola a todos. Muchas gracias por hacer esto posible, especialmente a danitool  ;)
He desempolvado el hg556 que me mando vodafone sin pedirselo  ??? y probando tus firmwares he estado intentando hacerlo funcionar con un pincho usb 3g. Resulta que como es la bleeding edge he tenido problemas con el paquete kmod-usb-serial. Con la versión antigua el error es distinto. He intentado aplicar tu parche a la versión trunk sin éxito. Si pudieras hacer un parche para la última versión o para la backfire 10.03.1-rc6 te estaría super agradecido, estoy seguro que solucionaría mis problemas. Si lo consigo voy a colgar un tuto explicando bien cómo hacer funcionar un pincho usb 3g, basado en la guía de http://wiki.openwrt.org/doc/recipes/3gdongle
Gracias a todos por mantener esta comunidad!
Supongo que ya lo sabrás pero con el firm "irlandés" funcionan los USB-3G
yo tengo uno de Simyo que utilizo puntualmente en casa de mis padres pero me imagino que la idea es lograrlo bajo openwrt.
Un saludo.

Exacto, ha sido la solución, aunque me he quedado con las ganas de hacerlo funcionar con openwrt  :'(
Lo que no deja hacer el firmware irlandes es dejar usuario y contraseña en blanco para el acceso 3g (por ejemplo Yoigo).
Saludos.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: aguera-competicion en 23-04-2012, 16:56 (Lunes)
hola tengo esta memoria MX29LV128DB veo que hay tres posibles firmware, pero no se cuales son las principales ventajas y desventajas entre ellos . Alguien me podria hacer un resumen.

Gracias.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 23-04-2012, 20:20 (Lunes)
hola tengo esta memoria MX29LV128DB veo que hay tres posibles firmware, pero no se cuales son las principales ventajas y desventajas entre ellos . Alguien me podria hacer un resumen.

Gracias.

Son diferentes compilaciones.
Yo de tí, empezaría usando la más reciente: OpenWrt_hg556a_r30964.zip

Con respecto al tema de la velocidad, una imagen vale más que mil palabras  ;D
Y por cierto, eso con únicamente 2 descargas activas, aumentando el número, aumentamos la velocidad de transferencia (aunque no exponencialmente, claro)  ;)

(https://lh5.googleusercontent.com/-pdNUOqSsi4c/T5Wcc-uUGJI/AAAAAAAAANA/VYaJ81bT8K0/s800/ftp.jpg)

Por curiosidad, alguien ha probado a compilar usando el último parche de danitool, con la versión más reciente de la rama trunk ?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: aguera-competicion en 23-04-2012, 21:38 (Lunes)
Segui tu consejo e instale OpenWrt_hg556a_r30964.zip

En el conprimido biene un parche pero por mis conocimientos no se el procedimiento basico de parchear  sabrias si hay algun tutorial o sitio de guia para realizar el procedimiento para torpes? la verdad que me estoy metiendo en este mundo pero estoy "pez"

Gracias.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 24-04-2012, 00:15 (Martes)
El parche sólo es necesario para compilar.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Yoko en 28-04-2012, 22:56 (Sábado)
Hola chicos,

  recomendais utilizar la partición swap en un pendrive? Mejora algo el rendimiento?
Ultimamente Trasnsmissions me agota la memoria del router...

Gracias
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 29-04-2012, 12:28 (Domingo)
Yo tengo activada una partición swap en el disco duro (en el hg553 que es dónde tengo funcionando transmission y mldonkey) y me va todo perfecto.
Lo curioso, es que sea transmission el que te agote la RAM  ???
En mi caso, me consume más memoria mldonkey.
Cuantos torrents tienes activos ?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Yoko en 29-04-2012, 16:07 (Domingo)
Con 3 torrents activos al hacer un "free", le quedan escasos 3000 Kbytes  :(
Voy a probar el swap, pero en vez de discos duros estoy usando dos pendrives con EXT2.

Voy a probar a ver qué tal.

P.D. en un HD multimedia que tengo, es el samba el que "frie" la RAM pero solo cuando está en uso, es decir, en transferencia.

Aquí tengo samba, transmissions, yb un cliente ddns.
En principio todo va bien, pero al usar transmissions, si bien veo sobrecargarse la CPU todo el tiempo, la RAM "desaparece"

EDITO: Acabo de probar cambiando el pen a EXT3, y un solo torrent consume 15 - 20 Mb de la RAM del hg556a  (1200 Kb libres). Transmissions gui se cuelga bastante y se queda sin datos.
Por cierto, 'top' indica la carga de transmissions entre 0% - 33% y 77% a ratos, nunca de contínuo.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 30-04-2012, 08:07 (Lunes)
Yo uso htop para controlar la RAM y el uso de CPU.
Esos porcentajes de uso de cpu, son perfectamente correctos.
En cuanto al webui, a mi no me pasa.
Qué versión de transmission tienes instalada ?
Si creas una partición de swap, con 128 megas tienes suficiente.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: eq7mavala en 30-04-2012, 14:15 (Lunes)
Alguien puede explicarme como pongo la memoria interna (/ ) para que este en un pen externo? La idea es poner un pen de 2 gb y que funcione el sistema con eso, posteriormente montar /mnt/hdd_red/ y que esto sea //192.168.2.200/hddnet...

Si alguien me ayuda le estare agradecido, ya tengo funionando mldonkey pero solo con un hdd de 40 escasos gb conectado por usb y me interesa que el directorio de descargas sea un HDD de red, gracias
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 30-04-2012, 14:50 (Lunes)
Alguien puede explicarme como pongo la memoria interna (/ ) para que este en un pen externo? La idea es poner un pen de 2 gb y que funcione el sistema con eso, posteriormente montar /mnt/hdd_red/ y que esto sea //192.168.2.200/hddnet...

Si alguien me ayuda le estare agradecido, ya tengo funionando mldonkey pero solo con un hdd de 40 escasos gb conectado por usb y me interesa que el directorio de descargas sea un HDD de red, gracias

http://wiki.openwrt.org/doc/howto/extroot
http://wiki.openwrt.org/doc/howto/cifs.client

Si pretendes usar un disco de red, que al menos sea por cable, no por wifi.
No tengo claro si con tanta cosa el sistema será estable ...  ^-^

Lo que no entiendo es lo del pen de 2 gigas  ???
Título: Re: OpenWRT en Huawei hg556a
Publicado por: eq7mavala en 30-04-2012, 16:32 (Lunes)
Esos 2 enlaces ya los he toquiteado, pero no he conseguido nada, lo de montar la unidad me dice que el sistema (CIFS) no esta soportado en mi sistema... (Ya habia instalado todos los paquetes...)

Y respecto a la de rootfs, tambien lo he intentado, pero como no tengo claro que version tenemos ni en que rama pues me he puesto a probar cosas y por 3 veces he perdido el router y todas las configuraciones... Lo que me da un poco de yuyu...

Gracias
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Yoko en 30-04-2012, 22:39 (Lunes)
Hola jar229,

 uso transmission 2.51. Me he basado en la compilación que posteasteis con soporte FPU.
 He pensado en lo de la swap, y claro, al ser un pendrive, no se que me da que va ir peor. Aún así voy a hacer una partición y voy a probar.

 Usando SAMBA, tampoco paso de 1 Mb /s (1000 Kb/s), y veo lo mismo, se come la RAM.
 Yo creo que es el límite del pobre router.

En cuanto a transmissions, según el número de peers o de seeds, quizás satura las conexiones.
Como lo tengo detrás del router de cable como un cliente, estoy pensando en desactiviar el firewall a ver si gano algo de rendimiento. He pensado incluso en desinstalar iptables

Os pongo los resultados.

que buena! htop: 75 % de cpu para mount de ntfs!!!!
Sin embargo con ext3, tampoco pasa de 1,21 Mb/s

Transmissions sobre ext3 igual que sobre ext2
Probare ext4...

quitar el firewall no sirve para nada. :-(
Título: Re: OpenWRT en Huawei hg556a
Publicado por: eq7mavala en 30-04-2012, 22:57 (Lunes)
la velocidad de transmisión en samba o ftp es lamentable, por lo que yo hare que las descargas las ponga directamente en un hdd de red y arreando
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Yoko en 30-04-2012, 23:02 (Lunes)
Ya pero a ver que velocidad tiene tu NAS. Espero que sea un NAS de verdad y no como mis "apaños" linuxeros sobre discos multimedia, routeres... etc. ja ja ja
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Yoko en 30-04-2012, 23:06 (Lunes)
Hasta ahora, mi gozo en un pozo, yo quería OpenVPN y no he podido. Al  final tuneles SSH.

Jar, tienes que postear tu compilación, que a mi el transmissions al final también, yo no se que pasa, que hasta lo he tenido que deshabilitar del inicio, porque sino ya me arrancaba el router ahogado con solo 1000 Kb libres.

Venga Jar... enrollate un poco  :-)
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 01-05-2012, 00:38 (Martes)
La compilación que yo uso es la de este post: https://foro.seguridadwireless.net/openwrt/openwrt-en-huaweig-hg556a/msg241001/#msg241001
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 01-05-2012, 12:57 (Martes)
Vamos a ir aclarando conceptos.
Esto es un router con un hardware limitado, y no podemos 'pedirle peras al olmo'  ;D

Partiendo de ahí y teniendo claro que no podemos pretender que se comporte como un PC, ni siquiera como un NAS, podemos intentar mejorar el rendimiento.
Yo ahora mismo tengo el hg556a únicamente como cliente wifi. Ya que con el interfaz atheros 'n' tengo una velocidad bastante decente.

Todo el 'peso' del tema de descargas lo he puesto en el hg553, que tengo conectado por cable a mi router principal.
El hardware de ambos routers es idéntico (cpu, placa y ram) excepto por la wifi, que es 'g' (ahora mismo está desactivada).
En el hg553 tengo en marcha y funcionando las 24 horas: transmission, mldonkey y servidor ftp y es estable totalmente.
Por ejemplo ahora tengo bajando un torrent (de un tracker privado) a 1,4 mbs.

(https://lh5.googleusercontent.com/-iKU7gE9SQQE/T5--1Xj0prI/AAAAAAAAAOA/yTakiYPAbWc/s800/transmission.jpg)

Lógicamente el router está a todo trapo (como se puede ver en la captura de htop)

(https://lh5.googleusercontent.com/-MyGQYzXcdKk/T5--2GwJgmI/AAAAAAAAAOE/tJVi-Gc56bA/s800/htop.jpg)

Y además el mldonkey subiendo a 6 o 7 clientes.

Pero a pesar de que el uso de CPU es muy alto, el router responde perfectamente a LuCi y puedo poner a bajar cosas del FTP, pero claro a una velocidad mucho menor de lo normal.

Esta es una captura ya puesta en otro mensaje anterior en este mismo hilo de la velocidad por FTP que alcanza:

(https://lh5.googleusercontent.com/-pdNUOqSsi4c/T5Wcc-uUGJI/AAAAAAAAANA/VYaJ81bT8K0/s800/ftp.jpg)

Y aquí un gráfico del uso del uso de CPU de la última semana:

(https://lh6.googleusercontent.com/-s2DR7iN9OGg/T5--xENSAbI/AAAAAAAAAN4/S_cyJTVx3Ng/s800/cpu.png)

A mi me parece que no está nada mal para un equipo que te 'regalan' no ?  ;D

Como véis yo tengo una partición swap de 1 giga (que ya estaba en el disco, de ahí ese tamaño un poco bruto  ;))  y un disco de 120 gigas IDE de 7200 RPM conectado por USB.
Igual es que estáis conectándole al router unos pendrives que son una 'castaña' ...  ^-^
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Yoko en 01-05-2012, 18:39 (Martes)
Hola jar229,

  muchas gracias por toda la información que has puesto, que creo que es de gran ayuda.
  Por supuesto que es un router y no se le puede pedir peras al olmo.

 Yo también tengo al hg556a como cliente (ethernet en mi caso). Tambien consigo descargas a 1,2 - 1,3 mb/s, y por supuesto que la cpu se resiente tal como comentas.
Lo que me "preocupa" es que si bien LuCi y dropbear siempre responden, no entiendo por qué no responde el gui de transmissions a veces, ni la propia interfaz web del mismo.

El tema de Samba, comentadísimo ya, está claro que no va a ir mejor, (He conseguido 1 Mb/s de bajada y 2,29 Mb/s de subida desde el router con ntfs-3g)

En cualquier caso, agradecerte de todo corazón tanto tus respuestas como tu trabajo aquí en el foro.

El mldonkey al final no lo configuré porque lo tengo en otro disco multimedia, y al final no lo uso tanto, así que tengo solo Printer (que no uso), DDNS, SAMBA y Transmissions, en cualquier caso, todo un lujo por un hardware regalado.

Tengo un disco duro de 200 Gb USB 2.0 (internamente es IDE) que con Windows nunca ha pasado de 10-20 Mb/s.  yuando descargo por la noche, para el tema del ruido y porqué no, por el tema del consumo, tiro de pendrives de 8Gb que hasta ahora han ido bastante bien con los resultados que hemos comentado.

Me queda una duda.  Apagais el router a pelo o solo cuando transmissions ha terminado?
una vez apagué el router y el pendrive me lo montaba como solo lectura pasado un rato.
tuve que formatearlo. Con Debian nunca me había pasado, que yo recuerde.

Parais algún servicio en particular antes de apagarlo?


Muchas gracias a todos

Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 01-05-2012, 19:42 (Martes)
Yo no apago nunca el router ... siempre tengo algo bajando/subiendo  ;D
Hace poco se actualizó la versión de transmission. Mira a ver si tienes la última (2.51).
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Yoko en 01-05-2012, 23:28 (Martes)
Tengo la 2.51-1, que es la ultima. :(

He hecho pruebas con el pure-ftpd y la verdad mejora bastante la transferencia.

Me ha gustado lo de tener siempre descargando algo  8)

Yo suelo dejar apagado todo por lo general, y por eso preguntaba el tema de apagar algún servicio antes. O por ejemplo, enviar el comando poweroff o yo ke se.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: aelorenzo en 05-05-2012, 22:50 (Sábado)
Hola a todos,

Gracias al trabajo de Jar parece que la instalación de Opemwrt en este router comienza a ser viable. Ante todo gracias.

Me he leído el post pero no me queda claro casi nada, tengo algunas preguntas:

1) hay alguna firm precompilada e independiente del hardware (mi modelo de memoria es el MX29GL128EHT2I-90G) para este router con soporte WIFI y módem usb? Creo que algunas versiones van con Atheros, para el mío usa un Ralink (RT3062F).
2) no se le puede poner ADSL?
3) Si quisiese/tuviese que compilarme la firm, hay algún tutorial o conjunto de instrucciones más o menos fiable? Que incluya como hacer backup completo deL estado previo del router. He leído problemas de pérdida de calibrados y otros que quisiera evitar.

Soy novato en openwrt.... pero no en el mundo Linux! Me encantaría echar una mano en alguna cosa. Por ahora es empezar...

Muchas gracias

Pd: Editado por sERASEr por motivos de administracion, no volver a editar.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: aelorenzo en 06-05-2012, 14:06 (Domingo)
He estado mirando el tema de la memoria y parece que la mia, MX29GL128EHT, es hermana y compatible con la MX29GL128EHS. Por lo que me vale en un principio la firm precompilada de JAR.

JAR, ¿la del primer post es la ultima versión? ¿es estable? Tengo entendido que nunca apagas el router y te va bien y ligera. ¿es la que usas tú?

Entiendo que para que me funcione la WIFI debería compilarme el módulo del chip que lleva mi router, porque la tuya vendrá preparada para Atheros, no?

Soportaría WDS con un rotuer Xavi 7698r?

Un saludo y gracias!
Título: Re: Re: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 07-05-2012, 21:53 (Lunes)
r30964 con FPU emulation, samba, transmission, ftp, etc: http://www.mediafire.com/?wkfz56udimu821x

Esta es la versión que yo uso.
No sabía que hubiera diferentes chipsets para el wifi ???

Enviado desde mi u8500 usando Tapatalk 2
Título: squashfs HG556a
Publicado por: franrg1 en 12-05-2012, 15:42 (Sábado)
Hola!

He empezado a interesarme por trastear con los muchos routers que tengo en casa y van surgiendo muchas dudas, ya que mis conocimientos de linux no son muy avanzados.

Me gustaría generar un firm propio, ya que estoy personalizando el HG556a a mi gusto. Para ello estoy partiendo de un firm oficial. El problema es que he usado una pequeña aplicación que hace un unsquashfs, para tener todo el sistema de ficheros y poder modificarlo para después volver a unirlo todo en un .bin

No se muy bien como funciona el tema, lo que he intentado hacer es hacer lo mismo con el firm "openwrt-HW556-squashfs-cfe_r29606.zip". Pero la tool (unsquashfs) que tengo acepta hasta la versión 3.0 de squashfs. Querría saber de donde puedo obtener algo que me sirva para seguir ese proceso. Y así poder modificar el .bin de openwrt a mi gusto y volver a unirlo en un .bin

Probablemente esté mezclando cosas, así que todo en lo que me podáis ayudar será bienvenido.

Un saludo y gracias!
Título: Re: squashfs HG556a
Publicado por: jar229 en 13-05-2012, 11:39 (Domingo)
Lo que tienes que hacer es compilar un firmware a tu gusto.
Es mucho más sencillo que andar 'añadiendo' cosas al de OpenWRT.
http://wiki.openwrt.org/doc/howto/build

Por cierto, he unido tu nuevo hilo al ya existente del hg566a (que es dónde debiste postear)  ^-^
Título: Re: OpenWRT en Huawei hg556a
Publicado por: yoma en 13-05-2012, 17:25 (Domingo)
Buenas tardes:

A ver si alguien me ayuda

Dispongo de los siguientes equipos:

Router1 con acesso a internet

Nombre del Router DD-WRT
Modelo de Router TP-Link TL-WR1043ND
versión de Firmware DD-WRT v24-sp2 (08/07/10) std - build 14896

Router2 repetidor

Router Name   huawei hg556a
Versión del firmware    OpenWrt Firmware Attitude Adjustment (r30964) / LuCI Trunk (trunk+svn8554)
Kernel Version   3.0.18


He intentado enlazarlos por wds.

1,- Para ello en el router1 he configurado la mac del router2 para que lo enlace por wds

2,- En el router 2 he seguido los pasos para instalar el paquete lucy-proto-relay

3,- En el router 2 he seguido los pasos del tutorial https://foro.seguridadwireless.net/openwrt/instalacion-(facil)-de-openwrt-en-huawei-553/.

el resultado es el siguiente:

1.-En el router 1 veo el router 2 como si fuera un cliente normal

2.-En el router 2 veo que está enlazado al router 1

En principio parece que todo estaría bien.

Mi problema es que no me puedo conectar por wifi al router 2

¿alguien sabe por qué?
Título: Re: squashfs HG556a
Publicado por: franrg1 en 13-05-2012, 20:28 (Domingo)
Lo que tienes que hacer es compilar un firmware a tu gusto.
Es mucho más sencillo que andar 'añadiendo' cosas al de OpenWRT.
http://wiki.openwrt.org/doc/howto/build

Por cierto, he unido tu nuevo hilo al ya existente del hg566a (que es dónde debiste postear)  ^-^

Gracias Jar229!

Le echaré un ojo a todo ello y si me surge alguna duda ya os lo comento.

Un saludo!  ;D
Título: Re: OpenWRT en Huawei hg556a
Publicado por: franrg1 en 13-05-2012, 20:34 (Domingo)
Buenas tardes:

A ver si alguien me ayuda

Dispongo de los siguientes equipos:

Router1 con acesso a internet

Nombre del Router DD-WRT
Modelo de Router TP-Link TL-WR1043ND
versión de Firmware DD-WRT v24-sp2 (08/07/10) std - build 14896

Router2 repetidor

Router Name   huawei hg556a
Versión del firmware    OpenWrt Firmware Attitude Adjustment (r30964) / LuCI Trunk (trunk+svn8554)
Kernel Version   3.0.18


He intentado enlazarlos por wds.

1,- Para ello en el router1 he configurado la mac del router2 para que lo enlace por wds

2,- En el router 2 he seguido los pasos para instalar el paquete lucy-proto-relay

3,- En el router 2 he seguido los pasos del tutorial https://foro.seguridadwireless.net/openwrt/instalacion-(facil)-de-openwrt-en-huawei-553/.

el resultado es el siguiente:

1.-En el router 1 veo el router 2 como si fuera un cliente normal

2.-En el router 2 veo que está enlazado al router 1

En principio parece que todo estaría bien.

Mi problema es que no me puedo conectar por wifi al router 2

¿alguien sabe por qué?

Hola yoma,

supongo que hayas quitado el DHCP en el router 2. Si es así, prueba a hacer lo mismo pero dejando el DCHP activo. A mí con otros routers (xavi y homestation movistar) me pasaba lo mismo, y cuando dejé activo el DCHP ya me conectaba. Dicen que te puede dar problemas, pero a mi de momento me va perfecto.

Un saludo!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 13-05-2012, 20:35 (Domingo)


He intentado enlazarlos por wds.

1,- Para ello en el router1 he configurado la mac del router2 para que lo enlace por wds

2,- En el router 2 he seguido los pasos para instalar el paquete lucy-proto-relay

3,- En el router 2 he seguido los pasos del tutorial https://foro.seguridadwireless.net/openwrt/instalacion-(facil)-de-openwrt-en-huawei-553/.

el resultado es el siguiente:

1.-En el router 1 veo el router 2 como si fuera un cliente normal

2.-En el router 2 veo que está enlazado al router 1

En principio parece que todo estaría bien.

Mi problema es que no me puedo conectar por wifi al router 2

¿alguien sabe por qué?

Si leyeras bien el hilo al que haces referencia, en todo momento se indica el modo cliente, no repetidor  ^-^
Para el modo repetidor , mírate este otro hilo: https://foro.seguridadwireless.net/openwrt/huawei-hg556a-modo-repetidor-(-openwrt)/
Título: Re: OpenWRT en Huawei hg556a
Publicado por: manumuve en 14-05-2012, 00:53 (Lunes)

Entiendo que para que me funcione la WIFI debería compilarme el módulo del chip que lleva mi router, porque la tuya vendrá preparada para Atheros, no?
Por aquí otro agraciado con un HG556a con wifi Ralink RT3062F. Me lo compré a raíz de vuestro hilo porque la semana pasada una tormenta me ha dejado frito el circuito de mi fiel Linksys WRT150N y parece que junto al compañero aelorenzo vamos a ser a los que más nos va a costar poner OpenWRT en marcha en nuestros routers.

A ver si en los próximos días tengo tiempo para ponerme con él y solucionarlo.

Si alguien tiene algún consejillo, siempre es de agradecer ;)


Un saludo!!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: aelorenzo en 14-05-2012, 11:01 (Lunes)
Pues ya saes lo qeu toca manumuve...

http://www.ralinktech.com/en/04_support/support.php?sn=501

Coger los fuentes y:

1) compilarlos en el propio HG556a para evitar montar una toolchain (a dia de hoy yo me siento inutil en esto..., soy viejo viciado de linux pero nunca monte una toolchain para mips)
2) o perdir a alguien majo que tenga una firm precompilada con driver wifi en modulo que nos lo compile en su toolchain y nos pase el modulo y la firm. Vamos, cualquiercosa.

Yo quiero montar este router con OpenWrt soportando la WIFI, modem usb 3g y appletalk para una vieja maquina de impresion que solo usa appletalk a lo crudo, y hacer esa máquina wireless con un bridge en openwrt que soporte tambien appletalk.

El hardware sería un HG556a y un Xavi 7968.

Por ahora estoy dándole vueltas.

Cualquier avance lo postearé aquí.

Un saludo!!!!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: eq7mavala en 14-05-2012, 23:01 (Lunes)
se sabe algo de si se podran usar los puertos fxs para el voip? he visto que para los routers de ya.com ya esta operativo, con algo de danube o sofia, intente instalar este ultimo paquete y no puedo muchas gracias por todo!

yo tengo 2 hg556, 1 hg553, 2 5361, 2 zyxel pw660, 1 livebox viejo, un par de 5365, 2 wrt54gl, y no mucho mas que yo recuerde, en los 556 solo me funciona el wifi en uno y me juego a que si los abro llevan chipset wifi diferentes...

si alguien sabe algo al respecto...
Título: Re: OpenWRT en Huawei hg556a
Publicado por: eq7mavala en 14-05-2012, 23:05 (Lunes)
creo que mi chipset wifi es el ralink rt3062Fy es un mx29gl128eht2i-90g...

gracias
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 15-05-2012, 08:54 (Martes)
Por problemas que no vienen a cuento, danitool, ha decidido dejar el foro y borrar todos sus mensajes.
Además y sin previo aviso, ha borrado (de su server) todas las compilaciones que estaban enlazadas desde este hilo.
He puesto (en el primer mensaje) los firmwares que yo conservaba en mediafire. Si alguien tiene el fichero openwrt-HG556a_MX29LV128DB-squashfs-cfe.bin.zip[/b], que me avise por MP.

Editado: gracias a Antolequia ya tenemos el fichero que faltaba  ;)
Título: Re: OpenWRT en Huawei hg556a
Publicado por: eq7mavala en 16-05-2012, 10:28 (Miércoles)
Alguien sabe algo del tema VOIP en este gran cacharrin???

PD: Este finde mirare a ver si lo tengo ese archivo por el disco duro...

He tenido un pequeño problema con la tabla de particiones de mi HDD y he perdido todo...

Título: Re: OpenWRT en Huawei hg556a
Publicado por: eq7mavala en 17-05-2012, 12:06 (Jueves)
El sistema fisico lo tiene, y el de software en el firmware orginal tambien, el problema es que para poder usar el voip, tienes que usar el router como modem ADSL o via pincho, esto se debe a que tienes que especificar en la configuracion SIP el proveedor de internet y esto tiene que ver con la configuracion de internet que hay para el modem...

Lo que significa que si no tienes conexion ADSL o USB no puedes usar el VOIP, al menos de momento, yo estoy en esa tesitura tambien, pero ando en un callejon sin salida...
Título: Re: OpenWRT en Huawei hg556a
Publicado por: aguera-competicion en 27-05-2012, 13:48 (Domingo)
testeado, Kernel 3.0.18, sin ADSL

testeado, Kernel 3.0.18, sin ADSL, transmission, FPU, pure-ftp, etc.

Hola soy novato en este tema de versiones y funciones, ¿que diferencia me da el poner uno u otro?

¿ventajas e inconvenientes?

Gracias.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 27-05-2012, 20:15 (Domingo)
testeado, Kernel 3.0.18, sin ADSL

testeado, Kernel 3.0.18, sin ADSL, transmission, FPU, pure-ftp, etc.

Hola soy novato en este tema de versiones y funciones, ¿que diferencia me da el poner uno u otro?

¿ventajas e inconvenientes?

Gracias.

El usar una u otra, sólo depende de tus necesidades.
En una está lo 'básico', y en la encontra se incluye un cliente torrent, un servidor ftp, un servidor de impresión y algunas cosas más  ;)
Título: Re: OpenWRT en Huawei hg556a
Publicado por: aguera-competicion en 28-05-2012, 10:30 (Lunes)
testeado, Kernel 3.0.18, sin ADSL

testeado, Kernel 3.0.18, sin ADSL, transmission, FPU, pure-ftp, etc.

Hola soy novato en este tema de versiones y funciones, ¿que diferencia me da el poner uno u otro?

¿ventajas e inconvenientes?

Gracias.

El usar una u otra, sólo depende de tus necesidades.
En una está lo 'básico', y en la encontra se incluye un cliente torrent, un servidor ftp, un servidor de impresión y algunas cosas más  ;)

Gracias por tu ayuda, acabo de poner la version mas reducida ya que yo lo usare mas que nada para el tema de la wifi, y estoy mirando las opciones en el apartado wireless y veo que son limitada por ejemplo me interesaría ajustar el "rate" de velocidad en auto pero no veo que tenga ninguna opción solo tiene la opción "B, G, N" pero funciona a piñon fijo sin dar opción a ajuste de velocidad automática por degradación de señal.

Sabéis si es que necesito instalar paquetes adicionales.

Gracias.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: gercris en 31-05-2012, 13:12 (Jueves)


He intentado enlazarlos por wds.

1,- Para ello en el router1 he configurado la mac del router2 para que lo enlace por wds

2,- En el router 2 he seguido los pasos para instalar el paquete lucy-proto-relay

3,- En el router 2 he seguido los pasos del tutorial https://foro.seguridadwireless.net/openwrt/instalacion-(facil)-de-openwrt-en-huawei-553/.

el resultado es el siguiente:

1.-En el router 1 veo el router 2 como si fuera un cliente normal

2.-En el router 2 veo que está enlazado al router 1

En principio parece que todo estaría bien.

Mi problema es que no me puedo conectar por wifi al router 2

¿alguien sabe por qué?

Si leyeras bien el hilo al que haces referencia, en todo momento se indica el modo cliente, no repetidor  ^-^
Para el modo repetidor , mírate este otro hilo: https://foro.seguridadwireless.net/openwrt/huawei-hg556a-modo-repetidor-(-openwrt)/
hola buens dias por no heberos hecho caso aqui me veo.
LLevo varios dias leyendo el foro y me decidi a poner open wrt en el hg556a.
Hasta aqui todo bien el problema esta en que lo configure como brigde y ahora no puedo acceder a el, he probado por telnet en modo recate com dicen en el foro de hg553 y nada el problema es que no me proporciona una ip y no hayo mla maera de hacerle un hard reset. si pudieseis hecharme ona mano os lo agradeceria y sino igualmente gracias por leer el mensage por lo menos
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 31-05-2012, 18:54 (Jueves)
hola buens dias por no heberos hecho caso aqui me veo.
LLevo varios dias leyendo el foro y me decidi a poner open wrt en el hg556a.
Hasta aqui todo bien el problema esta en que lo configure como brigde y ahora no puedo acceder a el, he probado por telnet en modo recate com dicen en el foro de hg553 y nada el problema es que no me proporciona una ip y no hayo mla maera de hacerle un hard reset. si pudieseis hecharme ona mano os lo agradeceria y sino igualmente gracias por leer el mensage por lo menos

En el primer mensaje del hilo está explicado:

Citar
Modo de instalación recomendado:

    Con el router apagado pulsar botón de RESTART y mantenerlo pulsado.
    Encender el router y seguir con el botón apretado durante 20 segundos.
    Soltar el botón.
    Configurar la IP del ordenador como 192.168.1.2 y máscara de subred 255.255.255.0
    Abrir el navegador y acceder a http://192.168.1.1

Si así no lo consigues ... :-X
Título: Re: OpenWRT en Huawei hg556a
Publicado por: aguelo20 en 06-06-2012, 13:47 (Miércoles)
Hola soy nuevo en esto. me han regalado un hg556a, he instalado el firmware que viene con todo.pero no me funciona la wifi. He leido que aplicando el patch...pero no se como hacerlo...si alguien fuera tan amable de pasarme el bin o explicarme minuciosamente como hacerlo se lo agradeceria bastante.

por adelantado gracias

Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 06-06-2012, 14:07 (Miércoles)
Del mensaje inicial:

Citar
Mucho cuidado, porque parece ser que hay diferentes versiones del mismo router. La que tratamos aquí, tiene el chipset wifi de atheros. Si tienes una con Ralink, NO uses ninguna de las compilaciones del hilo.

Si has instalado una de las compilaciones del hilo y no te funciona la wifi, casi con toda probabilidad tienes uno de estos routers.
Si quieres asegurarte, toca abrirlo.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: aguelo20 en 06-06-2012, 14:40 (Miércoles)
si tenias razon he sido un afortunado con la ralink...y creo que nadie ha hecho avances con eso? bueno mi gozo en un pozo....

Estare atento a ver si se puede hacer algo

Gracias
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 09-06-2012, 18:18 (Sábado)
Menudo síndrome de adquisición de routers. Hoy he visto un HG556a por 4€ y no me he podido resistir...

Me he puesto a leer como iba el tema, y pffff primero que hay versiones con realtek... (Creo que el que no me iba el wifi era uno de eses...) Digo, va seguro que danitool ha avanzado algo... ZAS veo que ha dejado el foro :(

Aún con algo de moqueo le meto openWRT y a ver si hay suerte. Boom! Reconoce el Wifi :D Alegría alegría :D

Ahora a trastear con relayd y ver si consigo velocidades decentes por bridge.

Título: Re: OpenWRT en Huawei hg556a
Publicado por: Yoko en 10-06-2012, 13:55 (Domingo)
Hola jar229,

 Con la nueva versión de transmissions (2.52) y la app de Android "Remote Transmissions" (la que es BETA y free), ha mejorado el rendimiento notablemente.
 Ya casi no se bloquea el Gui, y gestiono todo desde el movil.
Además si apagas el router y vuelves a cargar los torrents, la re-carga es a toda velocidad no como antes.

Por otro lado...
Me estoy pensando lo de la velocidad de los pendrives, ya que veo que para descargas de 300 Kb/seg van bien, pero cuando descargas a 1000 Kb/s van a golpes, así que me temo que el cuello de botella es la E/S...

un abrazo a tod@s
Yoko
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 10-06-2012, 14:17 (Domingo)
Hola jar229,

 Con la nueva versión de transmissions (2.52) y la app de Android "Remote Transmissions" (la que es BETA y free), ha mejorado el rendimiento notablemente.
 Ya casi no se bloquea el Gui, y gestiono todo desde el movil.
Además si apagas el router y vuelves a cargar los torrents, la re-carga es a toda velocidad no como antes.

Por otro lado...
Me estoy pensando lo de la velocidad de los pendrives, ya que veo que para descargas de 300 Kb/seg van bien, pero cuando descargas a 1000 Kb/s van a golpes, así que me temo que el cuello de botella es la E/S...

un abrazo a tod@s
Yoko

Hay pendrives ... y pendrives ...  ;D
Quiero decir que no todos tienen el mismo rendimiento (igual que los discos duros).

Por otro lado, ya no tengo el hg556a (lo he vendido, tengo ya demasiados cacharros  ;D).
Pero conservo el hg553  ;)
A mi transmission (yo aún tengo la 2.51) me va estupendamente, idem de mldonkey  ;)
Un día de estos tengo que sacar tiempo y enredar con pyload.

tool, si te sobra uno de esos a los que no le funcionan el wifi ...  yo estoy dispuesto a 'adoptarlo'  >:D
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 10-06-2012, 15:27 (Domingo)
Hay pendrives ... y pendrives ...  ;D
Quiero decir que no todos tienen el mismo rendimiento (igual que los discos duros).

Por otro lado, ya no tengo el hg556a (lo he vendido, tengo ya demasiados cacharros  ;D).
Pero conservo el hg553  ;)
A mi transmission (yo aún tengo la 2.51) me va estupendamente, idem de mldonkey  ;)
Un día de estos tengo que sacar tiempo y enredar con pyload.

tool, si te sobra uno de esos a los que no le funcionan el wifi ...  yo estoy dispuesto a 'adoptarlo'  >:D

Ahora que he acabado exámenes, a ver si revivo el HG556a, tenía el post de danitool, como se hacía para copiar la calibración wifi (extraer ya sé), a ver si sigue por algún quote.

El router ese que no va el wifi en openwrt, fue el mismo que se decidió autosuicidar y que reviví.

Si no logro hacer funcionar el asunto ya te lo enviaré ya que está pillando polvo y demasiados cacharros por casa :S

De momento me ha dado una alegría ya tengo uno funcionando como repetidor wifi. Con diferente SSID.

Ahora a probar el Cliente transparente y que funcione. Voy a pasar de Luci, ya que editando a mano salen mejor las cosas :D

Sobre la velocidad de transferencia, qué se podría conseguir con un enlace a 300mbps en modo bridge transparente con el principal HG556a vodafone? (Cable--- Wifi--300mbps---Wifi---Cable).

Lo de copiar por el router, me acuerdo en mis pruebas con el HG556a de vodafone por FTP, con disco duro 2.5" NTFS no se movía ni 1mb/s o menos. Compartiendo una SD con un lector de tarjetas FAT32, creo que pasaba de 5, ya haré las pruebas.

Título: Re: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 10-06-2012, 20:45 (Domingo)
NTFS da muy mal rendimiento (ya se ha comentado varias veces en este hilo y en el del hg553).
Si los ficheros que vas a descargar no son mayores de 4 gigas puedes usar fat32, si son más grandes, tendrás que usar ext2.
Con respecto a la velocidad, dependerá de muchos factores: la calidad del enlace wifi, etc.

Suerte con la 'resurrección' ;)

Enviado desde mi u8500 usando Tapatalk 2
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 10-06-2012, 21:49 (Domingo)
Una pena que danitool borrase sus mensajes, no tengo el quote dónde decía como restaurar la partición mtd3    ath_data   

Tengo dos iguales HW HG56BZRB VER.A, a ver si hago dump siguiendo esto:
http://wiki.openwrt.org/toh/linksys/wag160n#hints

El nuevo que me compré y que funciona perfectamente es un versión C, como el que tengo que me ha dado Vodafone.

Mañana a ver si hay suerte.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 11-06-2012, 01:42 (Lunes)
Tengo un par de HG556a. Los dos son HG55VDFA VER.C. Sin embargo, uno tiene el logo de la etiqueta de color rojo e incluye un código de aplicación DLNA. Su MAC empieza por F4:C7. El otro tiene el logo negro y de código DLNA nada. Su MAC empieza por 64:16. Todavía no les he metido mano. Ya iré comentando.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 11-06-2012, 09:03 (Lunes)
Una pena que danitool borrase sus mensajes, no tengo el quote dónde decía como restaurar la partición mtd3    ath_data   


Creo que era así:

cat /tmp/ath_data > /dev/mtdblock3  ???

Tengo un par de HG556a. Los dos son HG55VDFA VER.C. Sin embargo, uno tiene el logo de la etiqueta de color rojo e incluye un código de aplicación DLNA. Su MAC empieza por F4:C7. El otro tiene el logo negro y de código DLNA nada. Su MAC empieza por 64:16. Todavía no les he metido mano. Ya iré comentando.

Me apostaría algo a que el router que incluye DLNA tiene el wifi ralink.
El otro, casi con toda seguridad es el que se trata en este hilo, con chipset atheros.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: gmtii en 11-06-2012, 10:08 (Lunes)
hola,

tengo las dos versiones, con atheros y ralink; ambas llevan servidor DLNA así que por ahí no los distingues... si los abres enseguida se diferencian...

estuve intentando añadir soporte ralink pero es una rt3062 y no tengo claro si está soportado o no en el driver rt2x00 de trunk; aún con todo la detecta como rt3572, carga bien firmware y viendo el debug todo parece correcto, pero no consigo que funcione en ningún modo... o bien la detecta mal y no hay soporte u otra cosa que se me escapa...

tampoco hay referencias de otros routers (excepto un modelo de Astoria que lleva este chipset)

encima, en las ralink suele extraerse una eeprom de la flash que junto con el firmware son las dos cosas que hacen falta para inicializarla... pues ni en el firmware original ni en ninguna partición de la flash la encuentro :(

vamos, que estoy atascado del todo

PD: una tarjeta ralink por USB funciona perfectamente, probadas una rt73 y una rt2872.

saludos.



Una pena que danitool borrase sus mensajes, no tengo el quote dónde decía como restaurar la partición mtd3    ath_data   


Creo que era así:

cat /tmp/ath_data > /dev/mtdblock3  ???

Tengo un par de HG556a. Los dos son HG55VDFA VER.C. Sin embargo, uno tiene el logo de la etiqueta de color rojo e incluye un código de aplicación DLNA. Su MAC empieza por F4:C7. El otro tiene el logo negro y de código DLNA nada. Su MAC empieza por 64:16. Todavía no les he metido mano. Ya iré comentando.

Me apostaría algo a que el router que incluye DLNA tiene el wifi ralink.
El otro, casi con toda seguridad es el que se trata en este hilo, con chipset atheros.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Chumpy en 11-06-2012, 12:20 (Lunes)
Supongo que han montando chipsets diferentes en tiempos diferentes, y por tanto supongo que sus macs empezaran por número diferentes, podríamos hacer una tabla con los comienzos de las macs y a que chipsets corresponden.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 11-06-2012, 12:50 (Lunes)
Supongo que han montando chipsets diferentes en tiempos diferentes, y por tanto supongo que sus macs empezaran por número diferentes, podríamos hacer una tabla con los comienzos de las macs y a que chipsets corresponden.
Yo todavía no los he abierto, pero en cuanto lo haga lo comento por aquí. ¿O se puede averiguar sin abrirlos?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Chumpy en 11-06-2012, 13:17 (Lunes)
Del mensaje inicial:

Citar
Mucho cuidado, porque parece ser que hay diferentes versiones del mismo router. La que tratamos aquí, tiene el chipset wifi de atheros. Si tienes una con Ralink, NO uses ninguna de las compilaciones del hilo.

Si has instalado una de las compilaciones del hilo y no te funciona la wifi, casi con toda probabilidad tienes uno de estos routers.
Si quieres asegurarte, toca abrirlo.


Parece ser que aún no, por eso he propuesto lo de hacer la lista, luego podrías mirar la mac de tu router en la lista y saber que chipset lleva..  Es posible que si buscas por internet encuentres algo, puede que a alguien se le haya ocurrido lo mismo.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 11-06-2012, 14:53 (Lunes)
hola,

tengo las dos versiones, con atheros y ralink; ambas llevan servidor DLNA así que por ahí no los distingues... si los abres enseguida se diferencian...


Vaya, pues has tirado por tierra mi 'maravillosa' teoría  ;D
Lo de la lista de las MAC, que yo recuerde los 3 que he visto/tenido empezaban por 64:16  ^-^
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Chumpy en 11-06-2012, 15:22 (Lunes)
y los tres montaban el atheros verdad?
Título: Re: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 11-06-2012, 18:03 (Lunes)
Sí, los 3 tenían atheros


Enviado desde mi u8500 usando Tapatalk 2
Título: Re: OpenWRT en Huawei hg556a
Publicado por: darkvier en 13-06-2012, 03:13 (Miércoles)
Si le meto el wrt podre volver al oficial, lo abeis probado?


El modo repetidor funciona bien??

Me gustaria usarlo de repetidor (el modo ese k no hay k configurar el router principal)
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Chumpy en 13-06-2012, 03:28 (Miércoles)
Pues la verdad no se si alguien habrá probado a devolverlo al firm de Vodafone, aunque en principio debería poder, supongo.

Para ponerlo en modo repetidor solo tenías que seguir leyendo chinchetas  ;) :

https://foro.seguridadwireless.net/openwrt/huawei-hg556a-modo-repetidor-%28-openwrt%29/
Título: Re: OpenWRT en Huawei hg556a
Publicado por: darkvier en 14-06-2012, 00:08 (Jueves)
Pues la verdad no se si alguien habrá probado a devolverlo al firm de Vodafone, aunque en principio debería poder, supongo.

Para ponerlo en modo monitor solo tenías que seguir leyendo chinchetas  ;) :

https://foro.seguridadwireless.net/openwrt/huawei-hg556a-modo-repetidor-%28-openwrt%29/

tipico sindrome airodump jajajajaja

PD: Ese hilo ya lo habia leido, pero estoy buscando y rebuscando ifno sobre el wds/repeater y demas en varios routers y la gente usa el termino repeater muy a la ligera.....solo queria asegurarme

Muchas gracias a todos
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Chumpy en 14-06-2012, 00:20 (Jueves)
Estoy intentando desintoxicarme, pero en este foro no es facil XD

Relayd es lo más parecido a modo repetidor, sin WDS, que puede conseguirse ahora mismo con ese router, por aquí intentamos llamar a cada cosa por su nombre, aunque no siempre se consiga  ;)
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 14-06-2012, 19:14 (Jueves)
Supongo que han montando chipsets diferentes en tiempos diferentes, y por tanto supongo que sus macs empezaran por número diferentes, podríamos hacer una tabla con los comienzos de las macs y a que chipsets corresponden.
Yo todavía no los he abierto, pero en cuanto lo haga lo comento por aquí. ¿O se puede averiguar sin abrirlos?
Ya he abierto el primero y esto es lo que hay:
ETIQUETA
  Logo: Negro
  HW version: HG55VDFA VER.C
  DLNA: No se menciona
  MAC 64:16
HARDWARE
  Wifi: Atheros AR9223
  Mem. flash: MX29GL128EH
SOFTWARE
  Versión: V100R001C10B031SP03

(Edito para añadir versión del software)
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Chumpy en 14-06-2012, 21:34 (Jueves)
64:16 - Atheros AR9223 (4/4  ;) )
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 16-06-2012, 08:44 (Sábado)
...tengo las dos versiones, con atheros y ralink; ambas llevan servidor DLNA así que por ahí no los distingues... si los abres enseguida se diferencian...
Vamos a averiguar qué dispositivo wifi monta nuestro hg556a sin recurrir a la autopsia.
Arrancamos el router y conectamos por telnet 192.168.0.1
Tras introducir login: admin y password VF-EShg556 accedemos a la consola.
Código: [Seleccionar]
Huawei Home Gateway
Login: admin
Password:
Huawei-HG556a>
Invocamos el shell tecleando sh
Código: [Seleccionar]
Huawei-HG556a> sh

BusyBox v1.00 (2011.12.29-03:36+0000) Built-in shell (msh)
Enter 'help' for a list of built-in commands.

#
Ya en BusyBox, tecleamos el comando iwconfig
Código: [Seleccionar]
# iwconfig
lo        no wireless extensions.

atm0      no wireless extensions.

cpcs0     no wireless extensions.

dsl0      no wireless extensions.

eth0      no wireless extensions.

br0       no wireless extensions.

nas_0_44  no wireless extensions.

ipa_0_34  no wireless extensions.

wifi0     no wireless extensions.

ath0   IEEE 802.11ng  ESSID:"vodafoneXXXX"
          Mode:Master  Frequency:2.437 GHz  Access Point: F4:C7:XX:XX:XX:XX
          Bit Rate:0 kb/s   Tx-Power=14 dBm   Sensitivity=0/3
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX [2]   Security
mode:open
          Power Management:off
          Link Quality=0/94  Signal level=-108 dBm  Noise level=-108 dBm
          Rx invalid nwid:18  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

#
La línea
ath0   IEEE 802.11ng  ESSID:"vodafoneXXXX"
nos revela que es una atheros.
De haber sido una ralink pondría
ra0   IEEE 802.11ng  ESSID:"vodafoneXXXX"

ath0 -> Atheros
ra0 -> Ralink

Título: Re: OpenWRT en Huawei hg556a
Publicado por: Chumpy en 16-06-2012, 10:57 (Sábado)
Oye, el tio este es liso!!  >:(

La mac? Tenemos un hg556a con Atheros y mac F4:C7?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 16-06-2012, 13:07 (Sábado)
La mac? Tenemos un hg556a con Atheros y mac F4:C7?
Pues sí. Pero para no quedarnos con la duda he preferido abrirlo.
(http://img845.imageshack.us/img845/2663/img1999pz.jpg)
ETIQUETA
  Logo: Rojo
  HW versión: HG55VDFA VER.C
  DLNA: Certified by TWONKY (hay un código bastante largo)
  MAC F4:C7
HARDWARE
  Wifi: Atheros AR9223
  Mem. flash: S29GL128P10TF101
SOFTWARE
  Versión: V100R001C10B070SP03

(Edito para añadir versión del software)
Título: Re: OpenWRT en Huawei hg556a
Publicado por: darkvier en 17-06-2012, 15:25 (Domingo)
y digo yo, solo con la mac del wifi detras del router debe valer no?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Chumpy en 17-06-2012, 19:02 (Domingo)
y digo yo, solo con la mac del wifi detras del router debe valer no?

Pues en eso estamos, en saber a que mac corresponde cada adaptador. Quizás se pueda buscar en internet a que fabricante corresponde cada mac, pero aún nadie lo ha hecho tampoco.

Ahora que lo pienso la mac creo que la compraba el fabricante, por lo que lo que estamos haciendo, en el fondo, es un poco tontería. La mac la fijan Atheros y Ralink, no Hauwei. Si no me equivoco.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 18-06-2012, 10:50 (Lunes)
y digo yo, solo con la mac del wifi detras del router debe valer no?

Pues en eso estamos, en saber a que mac corresponde cada adaptador. Quizás se pueda buscar en internet a que fabricante corresponde cada mac, pero aún nadie lo ha hecho tampoco.

Ahora que lo pienso la mac creo que la compraba el fabricante, por lo que lo que estamos haciendo, en el fondo, es un poco tontería. La mac la fijan Atheros y Ralink, no Hauwei. Si no me equivoco.
Por lo que parece, la MAC la pone el fabricante del router. En nuestro caso Huawei. Ni Atheros ni Ralink.

Resultados obtenidos mediante la página http://www.base64online.com/mac_address.php
Mac address: 64:16:F0 Vendor: Shehzhen Shehzhen Huawei Communication Technologies Co., Ltd.
Mac address: F4:C7:14 Vendor: HuaweiDe Huawei Device Co., Ltd
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Chumpy en 18-06-2012, 13:25 (Lunes)
Pues tienes razón raphik, las macs salen a nombre de Huawei, así que tendremos que volver al método que propones y conectarnos por shell o abrirlo, a gusto del consumidor, para poder seguir haciendo la lista.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 18-06-2012, 15:31 (Lunes)
Pues tienes razón raphik, las macs salen a nombre de Huawei, así que tendremos que volver al método que propones y conectarnos por shell o abrirlo, a gusto del consumidor, para poder seguir haciendo la lista.
Así es, pero fíjate que hay muchísimas más MACs a nombre de Huawei.
http://hwaddress.com/?q=Huawei (pincha el link para verlas)
¿Es posible que cada una se corresponda con un modelo de router?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 18-06-2012, 19:43 (Lunes)
Yo estoy a la espera de recibir uno.
Ya comentaré mac y tipo de wifi  ;)
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Chumpy en 18-06-2012, 21:45 (Lunes)
Pues tienes razón raphik, las macs salen a nombre de Huawei, así que tendremos que volver al método que propones y conectarnos por shell o abrirlo, a gusto del consumidor, para poder seguir haciendo la lista.
Así es, pero fíjate que hay muchísimas más MACs a nombre de Huawei.
http://hwaddress.com/?q=Huawei (pincha el link para verlas)
¿Es posible que cada una se corresponda con un modelo de router?

No eres el único curioso, ya lo había mirado antes, cuando has puesto el enlace. Supongo que cada una de las veces corresponde a una petición de Macs, pero piensa que Huawei fabrica routers, móviles... para todo el mundo y es posible que de una sola vez hayan pedido macs para varios dispositivos, con lo que no tiene por que lo más probable es que no exista una vinculación directa.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 19-06-2012, 14:00 (Martes)
Yo estoy a la espera de recibir uno.
Ya comentaré mac y tipo de wifi  ;)
¿Otro? Pero si hace nada vendiste uno porque ya no te cabían en casa... vicio, vicio ;)
Bueno, quisiera trasladaros una cuestión relacionada con el hg556a, aunque no con OpenWRT. Intento conseguir Internet y telefonía a partir de una tarjeta Simyo montada en el pincho 3G. Consigo Internet sin ninguna dificultad, pero la telefonía no llega a los conectores rj11 tel1 y tel2. El caso es similar a este: http://bandaancha.eu/foros/hg556-3g-usb-simyo-firm-irlandes-sin-1677137
¿Lo habéis intentado y/o conseguido?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 19-06-2012, 14:26 (Martes)
Citar
¿Otro? Pero si hace nada vendiste uno porque ya no te cabían en casa... vicio, vicio

Cierto, cierto ... lo vendí, pero me arrepentí.
Tengo 2 routers enlazados por WDS (con WPA), pero el rendimiento es inferior al que tenía con el hg556a en modo cliente  :-[

Del otro tema, ni idea, lo lamento  :-X
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 20-06-2012, 10:22 (Miércoles)
Ya tengo por aquí el router.
Nueva MAC 5C:4C:A9
Wifi: atheros  ;D

En breve, a meterle OpenWRT  ;)
Título: Re: OpenWRT en Huawei hg556a
Publicado por: kokomen en 22-06-2012, 17:46 (Viernes)
Estoy iniciandome en esto del OpenWRT, tengo un hg556a con chip Atheros y no soy capaz de iniciar conexion con otro router para usarlo como cliente/repetidor.
Tras varios intentos lo más que he conseguido es conectarme a traves de wifi como punto de acceso, siguiendo el código del inicio de este post no soy capaz de entrar en la red principal a traves de éste router...
Se me hace dificil...
Tras leer miles de paginas y post, no consigo nada.
Alguna ayuda??
Título: Re: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 22-06-2012, 21:51 (Viernes)
Estas usando el paquete relayd?
Porque al menos en mi router he detectado ciertos problemas.
Si no es eso, da más detalles para que veamos dónde puede estar el fallo.

Enviado desde mi u8500 usando Tapatalk 2
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 24-06-2012, 09:29 (Domingo)
Pues radio wifi funcionando de miedo con el cliente de stream de música por internet MPD y gestionado desde un android por ejemplo, con esta tarjeta de sonido USB:
http://www.dealextreme.com/p/usb-3d-sound-adapter-color-assorted-5831 (http://www.dealextreme.com/p/usb-3d-sound-adapter-color-assorted-5831)
Enhorabuena. Yo también lo estoy intentando. Sigo las indicaciones de http://mightyohm.com/blog/2008/10/building-a-wifi-radio-part-1-introduction/ Le he puesto una tarjeta de sonido USB que he comprado en dealextreme. Es similar a la tuya:
(http://img.dxcdn.com/productimages/sku_22475_1_small.jpg)
Funciona perfectamente en un hg553.

La cosa es que quiero ponerle un arduino con el módulo kmod-usb-acm para mostrar los títulos de las emisoras y canciones en una pequeña pantalla LCD, y un teclado y me parece que el que está en los repositorios no vale para la instalación; imagino que toca recompilar.
Para mostrar los títulos de la emisora no necesitas el Arduino. Basta una pantalla serie http://s.dealextreme.com/search/136922 y redirigir la información hacia el puerto serie del HG556a:
Código: [Seleccionar]
echo "currentsong" | nc localhost 6600 | grep -e "^Title: " -e "^Name: " > /dev/tts/0
Suerte  ;)

EDITO: Disculpad el error. La pantalla a la que he hecho referencia NO se puede conectar directamente a puerto serie (el RS232 de toda la vida). Es una pantalla para bus I2C.
Ésta sí es RS232 -> http://www.made-in-china.com/showroom/michelle50/product-detailnMemGNwoEPcj/China-Serial-LCD-Module-RS232.html
Título: Re: OpenWRT en Huawei hg556a
Publicado por: feluco en 24-06-2012, 17:20 (Domingo)
TRANSFERIR ARCHIVOS AL HG556A CON OPENWRT DESDE INTERNET

Se trata de transferir o bajar archivos al pendrive conectado al router o acceder a los archivos de openwrt,  mediante ftp, desde internet, fuera de tu red local.
Los pasos a seguir serian:

1º) Darse de alta en no-ip, para así tener localizado a nuestro router. Este proceso es sencillo y hay mucha información en la red de cómo hacerlo.
2º) El hg556a lo tengo conectado como cliente de mi router ADSL, por tanto la primera barrera será el router ADSL, al cual hay que abrir el puerto 21 a la dirección ip que coge el hg556a.

Ip router adsl 192.168.1.1.
Ip  HG556a 192.168.1.103

Al estar el hg556a como cliente, coge una ip de la misma subred.
Entramos en la configuración de nuestro router adsl 192.168.1.1 y en NAT Virtual Servers abrimos el Puerto.

(http://img62.imageshack.us/img62/9867/abrirpuerto21alrouterad.jpg)

3º) Ahora entramos en la configuración del HG556a e instalamos el paquete luci-app-ddns

(http://img208.imageshack.us/img208/3508/instalarddnss.jpg)

Una vez instalado en la pestaña Services nos aparece la configuración de Dynamic DNS, que tendremos que rellenar con los datos que pusimos cuando nos dimos de alta en no-ip.

(http://img265.imageshack.us/img265/3478/noipconfiguracionenopen.jpg)

4º) Ahora debemos ir al firewall y permitir que desde internet a través del puerto 21 permita el acceso a la ip del hg556a.

(http://img594.imageshack.us/img594/3954/firewallregla.jpg)

Ojo- Hay que poner la ip de la LAN del hg556a, en mi caso 192.168.0.1
Ya podemos acceder desde el exterior de nuestra red a los archivos de openwrt, mediante el navegador, Filezilla...etc

(http://img844.imageshack.us/img844/9313/entraralrouterdesdefuer.jpg)

Un saludo..espero que les sirva  ;)
Título: Re: Re: OpenWRT en Huawei hg556a
Publicado por: kokomen en 24-06-2012, 21:37 (Domingo)
Estas usando el paquete relayd?
Porque al menos en mi router he detectado ciertos problemas.
Si no es eso, da más detalles para que veamos dónde puede estar el fallo.

Enviado desde mi u8500 usando Tapatalk 2
Pues no, no uso relayd.
Lo he intentado con el modo repetidor y tambien con el modo cliente, pero no logro hacer funcionar la ethernet con la wifi enganchada al router principal, es decir, no consigo ver internet a traves de la wifi, a pesar de que parece que recibe datos de éste router principal.
Me da la impresión que el problema lo tengo en "los puentes" entre interfaces, que no me logro hacer la idea de como debieran ir...
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 24-06-2012, 21:55 (Domingo)
kokomen

https://foro.seguridadwireless.net/openwrt/huawei-hg556a-modo-repetidor-(-openwrt)/msg244074/#msg244074

A ver si así te funciona.

feluco, pondré en el post princpal un enlace a tu mensaje  ;)

raphik, un amigo, quiere usar el router para reproducir mp3's de un disco duro pinchado por usb, sería viable usando mtd + un móvil android como interface ?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: kokomen en 24-06-2012, 22:02 (Domingo)
kokomen

https://foro.seguridadwireless.net/openwrt/huawei-hg556a-modo-repetidor-(-openwrt)/msg244074/#msg244074

A ver si así te funciona.

Fue precisamente asi como probé y la impresión es que "faltaba" algo. Tal cual está ahi no funcionaba... Lo que no se si se da algo por sentado que yo no sé...

Gracias¡¡
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 24-06-2012, 22:28 (Domingo)
Te falta instalar relayd, y ejecutarlo al inicio (/etc/init,d/relayd enable).
Título: Re: OpenWRT en Huawei hg556a
Publicado por: kokomen en 24-06-2012, 23:27 (Domingo)
Tambien para el repetidor?
Eso seguro que no contaba con ello.
Mas tarde intentare hacerme con la instalación...
Gracias!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 24-06-2012, 23:48 (Domingo)
Citar
Modo 1: Puente Repetidor o Repeater Bridge:
Citar
Repetidor inalámbico con DHCP & NAT deshabilitado, clientes en misma subred del AP anfitrión (router primario). Esto es, todos los equipos se pueden ver entre ellos.

Antes de nada, necesitaremos tener el router conectado por cable a internet e instalar el paquete relayd

Para este sí hace falta relayd, para el repetidor normal, no.

Y puedo asegurarte que ambos métodos funcionan  ;)
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 25-06-2012, 01:12 (Lunes)
Citar
Modo 1: Puente Repetidor o Repeater Bridge:
Citar
Repetidor inalámbico con DHCP & NAT deshabilitado, clientes en misma subred del AP anfitrión (router primario). Esto es, todos los equipos se pueden ver entre ellos.

Antes de nada, necesitaremos tener el router conectado por cable a internet e instalar el paquete relayd

Para este sí hace falta relayd, para el repetidor normal, no.

Y puedo asegurarte que ambos métodos funcionan  ;)
Hay una forma de habilitar la comunicación de los clientes de ambas subredes para el modo "Modo 2: Repetidor o Repeater".
De hecho, esta es la forma que utilizo yo siempre. No me gusta el relayd, me da mal rollo.

Si la subred del router principal es, por ejemplo 192.168.1.x (192.168.1.0/24), bastaría con poner la subred LAN del router con openwrt en modo cliente como, por ejemplo, 192.168.2.x (192.168.2.0/24).
Únicamente con este paso conseguiríais que los clientes de la subred 192.168.2.x (router secundario) se puedan comunicar con los clientes de la subred 192.168.1.x (router primario).
192.168.2.0/24 -> LAN
0.0.0.0/0 -> WAN (192.168.1.3, 8.8.8.8, etc)

Sin embargo, al recibir el router primario peticiones para la subred 192.168.2.x, ve que esa subred no está directamente conectada a ninguna de las interfaces y lo intentará enviar por la puerta de enlace de la WAN (hacia el exterior). Al darse esta situación, el paquete será descartado, ya que al pertencer la ip al subrango usado para direcciones locales ningún router de internet va a transportar dicho paquete.
192.168.1.0/24 -> LAN
0.0.0.0/0 -> WAN  (192.168.2.3, 8.8.8.8, etc)

Para corregir esta situación, basta con agregar manualmente una entrada a la tabla route del router principal. Dicha regla consiste en decirle que queremos que el rango de direcciones 192.168.2.0/24 vayan a través de la IP LAN del router secundario, por ejemplo, la 192.168.1.2.
Para hacer esto en cualquier router de movistar basta con ir a Advanced Setup->Routing->Static Route y añadir una nueva entrada para LAN:
Destination Network Address: 192.168.2.0 (subred del router secundario)
Subnet Mask: 255.255.255.0 (máscara de subred del router secundario)
Use Gateway IP Address: 192.168.1.2 (IP en la red primaria del router secundario)
(https://dl.dropbox.com/u/4708147/seguridadwireless/wlan/subnet_static_route1.png) (https://dl.dropbox.com/u/4708147/seguridadwireless/wlan/subnet_static_route1.png)
(https://dl.dropbox.com/u/4708147/seguridadwireless/wlan/subnet_static_route2.png) (https://dl.dropbox.com/u/4708147/seguridadwireless/wlan/subnet_static_route2.png)

De esta forma, la nueva tabla de routing del router principal sería:
192.168.1.0/24 -> LAN
192.168.2.0/24 -> 192.168.1.2
0.0.0.0/0 -> WAN  (192.168.2.3, 8.8.8.8, etc)

No sé si me he explicado bien. Si tenéis alguna duda preguntad ;D.

Saludos!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 25-06-2012, 07:57 (Lunes)
Muy bien explicado Noltari  ;D
Por cierto, imagino que con este método, el router secundario (el que tiene openwrt) debe tener el DHCP habilitado, no es así?
Porqué te da mal 'rollo' relayd ?
A mi me venía funcionando perfectamente, hasta que en la última instalación que he hecho, he visto, que tengo que iniciarlo con un script y un delay, de lo contrario no me funciona ¿?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 25-06-2012, 11:15 (Lunes)
Muy bien explicado Noltari  ;D
Por cierto, imagino que con este método, el router secundario (el que tiene openwrt) debe tener el DHCP habilitado, no es así?
Porqué te da mal 'rollo' relayd ?
A mi me venía funcionando perfectamente, hasta que en la última instalación que he hecho, he visto, que tengo que iniciarlo con un script y un delay, de lo contrario no me funciona ¿?
Sí, el router secundario tiene que tener el servidor DHCP habilitado en la LAN si no quieres configurar las IPs de los equipos manualmente, claro :P.


Me da mal rollo porque no es más que un hack. Lo que hace el relayd es que el router secundario capture los paquetes de sus clientes y lo reenvíe, pero para hacer eso es necesario procesamiento de CPU, ya que tiene que identificar las peticiones DHCP y pasarlas al router primario, y demás mierdas que no hacen otra cosa que disminuir el rendimiento de la red.

Lo correcto es poner la configuración que os he puesto porque así es como se montan las redes. Cada router tiene que tener su propia subred asignada y tiene que saber a que puerta de enlace de cada interfaz tiene que mandar los paquetes que recibe.

Sin embargo, he de reconocer que esta configuración tiene una pega que el relayd no tiene: se necesita acceso al router primario para configurar la ruta estática.

De todas formas, como buen informático que soy, os aseguro que el método de las dos subredes con la ruta estática es como debe hacerse ;).

Saludos!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: kokomen en 25-06-2012, 12:37 (Lunes)
Abandono... :'(
De nuevo volví a intentar hacerme con los métodos, lograr conexion de internet para el router y usar paquetes relayd, pero esta vez, después de perder todo tipo de conexión con el router hg no entra en modo restaurar firmware, por lo que parece que lo he perdido.

Gracias  y un saludo.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 25-06-2012, 14:17 (Lunes)
Siempre me había gustado relayd porque me parecía más cómodo tener los equipos en la misma subred. Pero viéndolo así ... probaré a ver  ;)

kokomen no te desanimes. Dale tiempo suficiente a que entre en el modo rescate e inténtalo de nuevo, que seguro que sale.
OpenWRT es un firmware muy completo, pero necesita un proceso de aprendizaje/práctica. Con el tiempo lo ves todo más claro  ;)
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 25-06-2012, 17:21 (Lunes)
Otro router con F4:C7:14 y wifi Atheros  ;D
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 25-06-2012, 21:34 (Lunes)
raphik, un amigo, quiere usar el router para reproducir mp3's de un disco duro pinchado por usb, sería viable usando mtd + un móvil android como interface ?
Sí, pero... mpd no es un servidor de archivos. La gestión del disco duro hay que hacerla con otra aplicación (samba).
MPD (Music Player Daemon) es un servior de sonido. Puede decodificar una gran variedad de archivos de sonido, mp3 y ogg incluídos. Y también streamers de audio, como shoutcast.
Es posible controlar MPD local o remotamente. Entre las aplicaciones remotas hay algunas para Android y para Java, pero también las hay para Windows, Linux o MacOS.

Yo he instalado MPD en un hg553 partiendo de una imagen actualizada de openwrt-HW553-squashfs-cfe.bin. Después he instado soporte para USB (opkg install kmod-usb2 kmod-usb-core kmod-usb-ohci), para sonido (opkg install kmod-usb-audio) y mpd/mpc (opkg install mpd-full mpc). Lo uso para streamers de shoutcast y funciona bien.

También he intentado instalarlo en un hg556 partiendo de la versión r29606, pero al instalar el soporte para audio (kmod-usb-audio) me pide un kernel más actualizado. Actualizar el kernel "a pelo" no funciona. Esta misma tarde pensaba hacer unas pruebas con la versión r30964. Ya te contaré.

EDITO: la versión r30964 lleva un kernel 3.0.18 y el paquete kmod-usb-audio pide un 3.3.8. Toca recompilar o buscar paquete usb-audio compatible.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: eq7mavala en 27-06-2012, 23:43 (Miércoles)
Se ha avanzado algo al respecto de usar los puertos FXS para VOIP? Un saludo y gracias
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 01-07-2012, 14:29 (Domingo)
Al final me salió rana el Router este que no tenía la configuración wifi.

Se quema un fusible, y luego no va openwrt.

Aquí dejo una foto de la placa del susodicho RALINK!

(http://i.imgur.com/tbDlD.jpg)

MAC:
84:  ---- :AB

HG556A
HW Version: HG56BZRB VER.A
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 01-07-2012, 16:17 (Domingo)
Al final me salió rana el Router este que no tenía la configuración wifi.

Se quema un fusible, y luego no va openwrt.

Aquí dejo una foto de la placa del susodicho RALINK!

(http://i.imgur.com/tbDlD.jpg)

MAC:
84:  ---- :AB

HG556A
HW Version: HG56BZRB VER.A
Puedes poner un bootlog?

Estoy mirando los parches de Openwrt con el fin conseguir soporte oficial. Y me gustaría tener un bootlog de un router con Ralink en vez de atheros.

Saludos.
Título: Re: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 01-07-2012, 17:07 (Domingo)
gmtti tenía también uno con wifi ralink

Enviado desde mi u8500 usando Tapatalk 2
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 01-07-2012, 20:26 (Domingo)
Aquí traigo una compilación y unos parches para la última versión de Openwrt.

AVISO: Puede que los datos del Wifi se vayan a tomar por culo. No debería pasar, ya que me he basado en el código de danitool y lo he adaptado a la última versión. Sin embargo, probadlo bajo vuestra responsabilidad, ya que no me hago responsable de lo que le pueda pasar a vuestro router.

Parches: https://dl.dropbox.com/u/4708147/openwrt/hg556a/HG556a_svn.patch
Firmware: https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_test.bin

P.D: Recomiendo que le echéis un ojo a los parches y si los véis correctos pasamos a probarlos.

Saludos.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: aguera-competicion en 01-07-2012, 21:44 (Domingo)
Aquí traigo una compilación y unos parches para la última versión de Openwrt.

AVISO: Puede que los datos del Wifi se vayan a tomar por culo. No debería pasar, ya que me he basado en el código de danitool y lo he adaptado a la última versión. Sin embargo, probadlo bajo vuestra responsabilidad, ya que no me hago responsable de lo que le pueda pasar a vuestro router.

Parches: https://dl.dropbox.com/u/4708147/openwrt/hg556a/HG556a_svn.patch
Firmware: https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_test.bin

P.D: Recomiendo que le echéis un ojo a los parches y si los véis correctos pasamos a probarlos.

Saludos.

Hola yo soy de los que controlan poco,
¿que diferencias hay entre este que as realizado y el anterior que realizo el compañero danitool?

Gracias por tu esfuerzo.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 01-07-2012, 23:50 (Domingo)
Aquí traigo una compilación y unos parches para la última versión de Openwrt.

AVISO: Puede que los datos del Wifi se vayan a tomar por culo. No debería pasar, ya que me he basado en el código de danitool y lo he adaptado a la última versión. Sin embargo, probadlo bajo vuestra responsabilidad, ya que no me hago responsable de lo que le pueda pasar a vuestro router.

Parches: https://dl.dropbox.com/u/4708147/openwrt/hg556a/HG556a_svn.patch
Firmware: https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_test.bin

P.D: Recomiendo que le echéis un ojo a los parches y si los véis correctos pasamos a probarlos.

Saludos.

Hola yo soy de los que controlan poco,
¿que diferencias hay entre este que as realizado y el anterior que realizo el compañero danitool?

Gracias por tu esfuerzo.
Lo que pretendo es poder incorporar los parches necesarios para este router a Openwrt, y que sea soportado de forma oficial.
La única diferencia es que estos parches están basados en las últimas versiones de Openwrt y por tanto se pueden compilar firmwares más actualizados.

¡Saludos y a disfrutarlo, que somos campeones de Europa!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: aguera-competicion en 01-07-2012, 23:56 (Domingo)
Gracias por tu aclaración, yo tengo uno de estos con openwrt aunque lo tengo funcionando de manera ininterrumpida si hay algo que aportar .. hago una copia de seguridad de la configuración y lo pongo en la sala de operaciones.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 02-07-2012, 00:02 (Lunes)
Gracias por tu aclaración, yo tengo uno de estos con openwrt aunque lo tengo funcionando de manera ininterrumpida si hay algo que aportar .. hago una copia de seguridad de la configuración y lo pongo en la sala de operaciones.
Tenéis que entender que si por algún motivo algo sale mal (ya sea mi equivocación u otros motivos) os podéis quedar con un router sin Wifi, lo que no creo que os haga mucha gracia. Por eso pido al foro que revise los parches primero y den su opinión.
Saludos.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 02-07-2012, 00:18 (Lunes)
Mañana lo pruebo y ya contaré ...  ;D
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 02-07-2012, 00:25 (Lunes)
Mañana lo pruebo y ya contaré ...  ;D
Para probarlo con seguridad, que no quiero que os quedéis sin wifi.

Primero, con el firmware de danitool que sabemos que funciona, ejecutad el comando:
dd if=/dev/mtd3 of=/ath.bin
Por supuesto copiad el archivo ath.bin del router. La forma más sencilla si el firmware tiene LuCI es copiarlo a la carpeta www y bajarlo por http.
cp ath.bin /www
Navegador en PC: 192.168.1.1/ath.bin

Luego, si por algún motivo nos cargamos los datos, podremos recuperarlos con un firmware que os pasaré con el comando:
flashcp -v ath.bin /dev/mtd3

Saludos!

P.D: danitool me ha echado una mano  con esto.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 02-07-2012, 01:00 (Lunes)
Probado.
Después de instalar el nuevo firm y rebotar, el router deja de responder  :-[
He vuelto al anterior, y todo parece correcto.
Siento no poder dar más pistas ...  pero como no tengo cable serial ... ^-^
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 02-07-2012, 01:04 (Lunes)
Probado.
Después de instalar el nuevo firm y rebotar, el router deja de responder  :-[
He vuelto al anterior, y todo parece correcto.
Siento no poder dar más pistas ...  pero como no tengo cable serial ... ^-^
Pues para solucionar eso voy a necesitar bootlog :$...
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 02-07-2012, 01:07 (Lunes)
Claro, por eso lo decía ... tendrá que probarlo alguien con cable serial ...  ^-^

Por cierto, me alegro de que danitool, te haya ayudado  ;)
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 02-07-2012, 02:01 (Lunes)
Claro, por eso lo decía ... tendrá que probarlo alguien con cable serial ...  ^-^

Por cierto, me alegro de que danitool, te haya ayudado  ;)
Si puedes mañan prueba este porfa ;):
https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_master-erasesize.bin
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 02-07-2012, 10:11 (Lunes)
Noltari, para los Ralink el bootlog, para la semana que viene le sueldo el serial y te saco logs, y lo que quieras, o el JTAG.

A estos Ralink a uno le flashee el del atheros, por consiguiente tenía un openwrt funcional, pero sin wifi, la partición de calibración no contenía datos, volver al firmware oficial = tener wifi.

Estaría genial poder tener wifi N con estos ralinks, quizás funcione sin relayd!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 02-07-2012, 17:35 (Lunes)

Si puedes mañan prueba este porfa ;):
https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_master-erasesize.bin

Probado.
Tampoco funciona  ???
Tendrá que probarlo alguien con cable serial ...  ^-^
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 03-07-2012, 17:34 (Martes)
Si puedes mañan prueba este porfa ;):
https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_master-erasesize.bin
Probado.
Tampoco funciona  ???
Tendrá que probarlo alguien con cable serial ...  ^-^
Yo tengo un cable serie. Es algo cutre, porque cuando la tasa de transferencia es a muchos baudios no funciona. En cuanto pueda lo flasheo y comento.
EDITO:
- Instalada r30964 con Kernel 3.0.18, transmission, FPU, pure-ftp, etc.
- Hecha copia de seguridad de fichero /dev/mtd3
Código: [Seleccionar]
root@OpenWrt:~# dd if=/dev/mtd3 of=/ath.bin
17664+0 records in
17664+0 records out
(Quiero creer que estará bien hecha)
Tengo dificultades con el backup.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 03-07-2012, 22:25 (Martes)
Pues ahora a probar las nuevas compilaciones, a ver si le das a Noltari alguna pista de porqué se queda el router 'frito'  ;D
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 04-07-2012, 00:05 (Miércoles)
Última compilación. He cambiado radicalmente de estrategia a la hora de detectar los datos del wifi.
https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_simple.bin

Parches SVN: https://dl.dropbox.com/u/4708147/openwrt/hg556a/HG556a_svn.patch

POR FAVOR QUE NO LA PRUEBE NADIE QUE NO HAYA HECHO UN BACKUP DE LOS DATOS.

Saludos!
Título: Re: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 04-07-2012, 10:21 (Miércoles)
Probada la nueva versión. Como las anteriores, el router deja de responder.
Lamento no poder ofrecer más datos :o

Enviado desde mi u8500 usando Tapatalk 2
Título: Re: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 04-07-2012, 13:36 (Miércoles)
Probada la nueva versión. Como las anteriores, el router deja de responder.
Lamento no poder ofrecer más datos :o

Enviado desde mi u8500 usando Tapatalk 2
Este sí debería iniciarse :$.

El problema podría deberse a un fallo en el crc de linux, por lo que voy a recompilar la imagen añadiendo la placa a la comprobación del crc para que éste sea generado de nuevo.

Al igual que en el ADB pido disculpas por las pruebas inútiles que hayan hecho perder el tiempo.

EDIT: Firmware -> https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_fixcrc.bin

Saludos.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 04-07-2012, 15:06 (Miércoles)
Tampoco funciona. Se queda 'frito'  :-[
Y de disculparse, nada. Con el trabajo que te estás llevando .... !!!!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 04-07-2012, 15:18 (Miércoles)
Tampoco funciona. Se queda 'frito'  :-[
Y de disculparse, nada. Con el trabajo que te estás llevando .... !!!!
Pues oficialmente lo dejo aquí parado a la espera de que alguien con cable serial pueda probarlo.

Saludos!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 04-07-2012, 21:39 (Miércoles)
... Para probarlo con seguridad, que no quiero que os quedéis sin wifi.

Primero, con el firmware de danitool que sabemos que funciona, ejecutad el comando:
dd if=/dev/mtd3 of=/ath.bin
Por supuesto copiad el archivo ath.bin del router. La forma más sencilla si el firmware tiene LuCI es copiarlo a la carpeta www y bajarlo por http.
cp ath.bin /www

Navegador en PC: 192.168.1.1/ath.bin
...

Tengo problemas con la copia de seguridad de los datos de calibración wifi. He hecho tres copias en tres momentos distintos. Los tres ficheros tiene el mismo tamaño (9.043.968 bits) pero al compararlos con "fc /B ath_01.bin ath_02.bin" sale muchas diferencias entre ellos. Los tres son distintos.
Voy a volver a repetirlas, pero con el wifi desactivado, a ver qué pasa.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 04-07-2012, 22:16 (Miércoles)
... Para probarlo con seguridad, que no quiero que os quedéis sin wifi.

Primero, con el firmware de danitool que sabemos que funciona, ejecutad el comando:
dd if=/dev/mtd3 of=/ath.bin
Por supuesto copiad el archivo ath.bin del router. La forma más sencilla si el firmware tiene LuCI es copiarlo a la carpeta www y bajarlo por http.
cp ath.bin /www

Navegador en PC: 192.168.1.1/ath.bin
...

Tengo problemas con la copia de seguridad de los datos de calibración wifi. He hecho tres copias en tres momentos distintos. Los tres ficheros tiene el mismo tamaño (9.043.968 bits) pero al compararlos con "fc /B ath_01.bin ath_02.bin" sale muchas diferencias entre ellos. Los tres son distintos.
Voy a volver a repetirlas, pero con el wifi desactivado, a ver qué pasa.
Ponme un bootlog. Sin eso no sé qué decirte.

Viendo el bootlog de danitool en la wiki de openwrt:
Citar
[    0.408000] bcm963xx-flash bcm963xx-flash.0: CFE bootloader detected
[    0.416000] bcm963xx_flash: CFE boot tag found with version 8 and board type HW556
[    0.424000] bcm963xx_flash: Partition 0 is CFE offset 0 and length 20000
[    0.428000] bcm963xx_flash: Partition 1 is kernel offset 20100 and length dff00
[    0.436000] bcm963xx_flash: Partition 2 is rootfs offset 100000 and length d00000
[    0.444000] bcm963xx_flash: Partition 3 is ath_data offset e00000 and length 1e0000
[    0.452000] bcm963xx_flash: Partition 4 is nvram offset fe0000 and length 20000
[    0.460000] bcm963xx_flash: Partition 5 is linux offset 20000 and length de0000
[    0.468000] bcm963xx_flash: Spare partition is 340000 offset and length ac0000
Si te fijas, la partición 3 se llama "ath_data". Ésa es la partición que contiene los datos del wifi atheros.
Si no has modificado el firmware de ninguna forma y sólo has tenido firmwares oficiales o el de danitool deberías tener lo mismo o parecido en el bootlog.

Un saludo!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 04-07-2012, 22:21 (Miércoles)
Quereis algún bootlog del Ralink (aunque le puse openwrt, ahora está con el último de vodafone).

A ver si me fabrico el Serie si eso.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 04-07-2012, 22:49 (Miércoles)
Quereis algún bootlog del Ralink (aunque le puse openwrt, ahora está con el último de vodafone).

A ver si me fabrico el Serie si eso.
Sí, ya lo pedí hace tiempo. Me vendría bien para ver las similitudes/diferencias e intentar hacer una imagen con Openwrt para él.

Saludos!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 04-07-2012, 23:55 (Miércoles)
Si te sirve de algo, openwrt arrancaba perfectamente la compilacion del primer link. Salvo el wifi
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 05-07-2012, 00:07 (Jueves)
Si te sirve de algo, openwrt arrancaba perfectamente la compilacion del primer link. Salvo el wifi
Este link? https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_test.bin

EDIT: ¿Qué hay del resto?
Más bien, del último: https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_fixcrc.bin
y penúltimo: https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_simple.bin

Podrías poner bootlogs?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 05-07-2012, 00:43 (Jueves)
Noltari, creo que se refiere a la compilación del primer post del hilo (las que llevaban los antiguos parches de danitool).

Ah, y por si alguien tiene miedo de perder el wifi, puedo asegurar que volviendo a la compilación 30964 de OpenWrt (supongo que también el firm original) todo va perfectamente  ;)
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 05-07-2012, 01:36 (Jueves)
... Para probarlo con seguridad, que no quiero que os quedéis sin wifi.

Primero, con el firmware de danitool que sabemos que funciona, ejecutad el comando:
dd if=/dev/mtd3 of=/ath.bin
Por supuesto copiad el archivo ath.bin del router. La forma más sencilla si el firmware tiene LuCI es copiarlo a la carpeta www y bajarlo por http.
cp ath.bin /www

Navegador en PC: 192.168.1.1/ath.bin
...

Tengo problemas con la copia de seguridad de los datos de calibración wifi. He hecho tres copias en tres momentos distintos. Los tres ficheros tiene el mismo tamaño (9.043.968 bits) pero al compararlos con "fc /B ath_01.bin ath_02.bin" sale muchas diferencias entre ellos. Los tres son distintos.
Voy a volver a repetirlas, pero con el wifi desactivado, a ver qué pasa.
Ponme un bootlog. Sin eso no sé qué decirte.

Viendo el bootlog de danitool en la wiki de openwrt:
Citar
[    0.408000] bcm963xx-flash bcm963xx-flash.0: CFE bootloader detected
[    0.416000] bcm963xx_flash: CFE boot tag found with version 8 and board type HW556
[    0.424000] bcm963xx_flash: Partition 0 is CFE offset 0 and length 20000
[    0.428000] bcm963xx_flash: Partition 1 is kernel offset 20100 and length dff00
[    0.436000] bcm963xx_flash: Partition 2 is rootfs offset 100000 and length d00000
[    0.444000] bcm963xx_flash: Partition 3 is ath_data offset e00000 and length 1e0000
[    0.452000] bcm963xx_flash: Partition 4 is nvram offset fe0000 and length 20000
[    0.460000] bcm963xx_flash: Partition 5 is linux offset 20000 and length de0000
[    0.468000] bcm963xx_flash: Spare partition is 340000 offset and length ac0000
Si te fijas, la partición 3 se llama "ath_data". Ésa es la partición que contiene los datos del wifi atheros.
Si no has modificado el firmware de ninguna forma y sólo has tenido firmwares oficiales o el de danitool deberías tener lo mismo o parecido en el bootlog.

Un saludo!
Efectivamente, sólo ha tenido softwares oficiales. Justo ahora por primera vez le he puesto el de danitool para hacer la copia de seguridad de los datos de calibración. La sorpresa es que nunca he conseguido dos backups iguales : ???
Para mayor irritación tampoco consigo datos por puerto serie ni con Tera Term ni con Putty. Supongo que estas conexiones son correctas: 
/-----------------------------------\
|           A n t e n a             |
\-----------------------------------/

  /-----------------------------\
  | Rx  |  ?  | 3.3V | GND | Tx |
  \-----------------------------/


y que los parámetros de conexión son : 115200/8bit/sin paridad/1 bit de parada/sin flujo de control.
Pues nada, no consigo comunicar con el CFE. Lo seguiré intentando...

Un saludo.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 05-07-2012, 01:54 (Jueves)
... Para probarlo con seguridad, que no quiero que os quedéis sin wifi.

Primero, con el firmware de danitool que sabemos que funciona, ejecutad el comando:
dd if=/dev/mtd3 of=/ath.bin
Por supuesto copiad el archivo ath.bin del router. La forma más sencilla si el firmware tiene LuCI es copiarlo a la carpeta www y bajarlo por http.
cp ath.bin /www

Navegador en PC: 192.168.1.1/ath.bin
...

Tengo problemas con la copia de seguridad de los datos de calibración wifi. He hecho tres copias en tres momentos distintos. Los tres ficheros tiene el mismo tamaño (9.043.968 bits) pero al compararlos con "fc /B ath_01.bin ath_02.bin" sale muchas diferencias entre ellos. Los tres son distintos.
Voy a volver a repetirlas, pero con el wifi desactivado, a ver qué pasa.
Ponme un bootlog. Sin eso no sé qué decirte.

Viendo el bootlog de danitool en la wiki de openwrt:
Citar
[    0.408000] bcm963xx-flash bcm963xx-flash.0: CFE bootloader detected
[    0.416000] bcm963xx_flash: CFE boot tag found with version 8 and board type HW556
[    0.424000] bcm963xx_flash: Partition 0 is CFE offset 0 and length 20000
[    0.428000] bcm963xx_flash: Partition 1 is kernel offset 20100 and length dff00
[    0.436000] bcm963xx_flash: Partition 2 is rootfs offset 100000 and length d00000
[    0.444000] bcm963xx_flash: Partition 3 is ath_data offset e00000 and length 1e0000
[    0.452000] bcm963xx_flash: Partition 4 is nvram offset fe0000 and length 20000
[    0.460000] bcm963xx_flash: Partition 5 is linux offset 20000 and length de0000
[    0.468000] bcm963xx_flash: Spare partition is 340000 offset and length ac0000
Si te fijas, la partición 3 se llama "ath_data". Ésa es la partición que contiene los datos del wifi atheros.
Si no has modificado el firmware de ninguna forma y sólo has tenido firmwares oficiales o el de danitool deberías tener lo mismo o parecido en el bootlog.

Un saludo!
Efectivamente, sólo ha tenido softwares oficiales. Justo ahora por primera vez le he puesto el de danitool para hacer la copia de seguridad de los datos de calibración. La sorpresa es que nunca he conseguido dos backups iguales : ???
Para mayor irritación tampoco consigo datos por puerto serie ni con Tera Term ni con Putty. Supongo que estas conexiones son correctas: 
/-----------------------------------\
|           A n t e n a             |
\-----------------------------------/

  /-----------------------------\
  | Rx  |  ?  | 3.3V | GND | Tx |
  \-----------------------------/


y que los parámetros de conexión son : 115200/8bit/sin paridad/1 bit de parada/sin flujo de control.
Pues nada, no consigo comunicar con el CFE. Lo seguiré intentando...

Un saludo.
De acuerdo con la wiki de openwrt lo estás haciendo bien (gracias a danitool).
(http://wiki.openwrt.org/_detail/toh/huawei/hg556a_serial_ttl.jpg?id=toh%3Ahuawei%3Ahg556a) (http://wiki.openwrt.org/_detail/toh/huawei/hg556a_serial_ttl.jpg?id=toh%3Ahuawei%3Ahg556a)

¿Te aparece algo al hacer la conexión? Normalmente si el cable no está bien configurado o falla suelen salir símbolos raros y sin sentido. Pero si no te sale nada es que probablemente lo estás conectando mal :$.

Saludos.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: gmtii en 05-07-2012, 20:22 (Jueves)
Buenas,

He compilado un fw con WIFI funcional para el HG556 con tarjeta RALINK RT3062F (RT 3572 RF 3 REV 0223).

* * * * * * ESTE FIRMWARE ES SOLO PARA EL HG556 CON RALINK. NO FLASHEAR EN EL QUE TIENE ATHEROS * * * * * *

Se puede flashear con total tranquilidad porque no hay partición con MAC ni datos de calibración. De hecho el problema de este router es que la RALINK no tiene EEPROM (o yo no la he sabido encontrar  >:D ) y hay que cargar una externa.

No he implementado aún la detección de MAC así que va con una fija.

El fw de prueba es este: http://www.mediafire.com/download.php?916e8xqzuty71n3 (http://www.mediafire.com/download.php?916e8xqzuty71n3)

Para volver al fw original: http://www.mediafire.com/download.php?a4dhht9dlx4o1nx (http://www.mediafire.com/download.php?a4dhht9dlx4o1nx)

EDITO: para ver si tu router tiene RALINK podemos hacer algo como:

telnet 192.168.1.1

login admin password  VF-EShg556

Aparece >. Escribimos sh.

Escribimos dmesg y si tenemos algo como lo siguiente:

Código: [Seleccionar]
Sean@WLAN CHIP Vendor=<RaLink>, ProductId=<0x3592>
init syslog is end
line [2711] file [wlmngr.cpp] acMacPara ["mac=6A:A8:E4:5E:53:14"]
line [2695] file [wlmngr.cpp] insert cmd [insmod /lib/modules/rt3062ap.ko "mac=6A:A8:E4:5E:53:14"]
PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
PCI: Setting latency timer of device 0000:00:01.0 to 64

Pinta tiene que es RALINK.

Saludos!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 06-07-2012, 00:38 (Viernes)
Fenomenal noticia gmtti  >:( >:( >:(

En cuanto me digáis, modifico el primer post del hilo, pongo el nuevo firm y de paso la forma de averiguar el chipset wifi (ya se había apuntado otro método para hacerlo)  ;)
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 06-07-2012, 00:47 (Viernes)
Fenomenal noticia gmtti  >:( >:( >:(

En cuanto me digáis, modifico el primer post del hilo, pongo el nuevo firm y de paso la forma de averiguar el chipset wifi (ya se había apuntado otro método para hacerlo)  ;)
jar229, te recomendaría no hacerlo, ya que si alguno con el wifi atheros lo instala por error, se quedaría sin wifi :$.

O si lo haces ponlo bien separado y bien señalizado en rojo especificando el peligro xD.

Te digo esto, porque si consigo hacer funcionar los parches como quiero debería evitar estos riesgos.

Saludos!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 06-07-2012, 01:40 (Viernes)
Podría ser que algún botón no estuviera bien configurado y que eso estuviera bloqueando el inicio del router.

Por eso he hecho este firmware eliminando los botones.
https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_nobuttons.bin

Si alguien, ya sea con serial o no puede probarlo me haría un favor ;).
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 06-07-2012, 10:17 (Viernes)
Qué gran noticia gmtti!!!

Contad con mis 2 ralink para pruebas!

Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 06-07-2012, 10:35 (Viernes)
Por cierto gmtii, tú que tienes cable serial, podrías probar el último firmware (ya sé que no va a funcionar el wifi) por favor?

https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_nobuttons.bin
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 06-07-2012, 10:52 (Viernes)
Cuál es la configuración para el puerto serie, y lo sueldo hoy a la tarde que tengo unos pocos DB9 guardados.

Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 06-07-2012, 11:02 (Viernes)
Cuál es la configuración para el puerto serie, y lo sueldo hoy a la tarde que tengo unos pocos DB9 guardados.
Está detallada por danitool en la wiki de Openwrt:
http://wiki.openwrt.org/toh/huawei/hg556a
(http://wiki.openwrt.org/_media/toh/huawei/hg556a_serial_ttl.jpg) (http://wiki.openwrt.org/_media/toh/huawei/hg556a_serial_ttl.jpg)

De todas formas, sabes que necesitas un cable especial, que no puedes conectar directamente el puerto serie del ordenador al router porque lo fríes no?
(https://dl.dropbox.com/u/4708147/rs232/original.jpg) (https://dl.dropbox.com/u/4708147/rs232/original.jpg)
(https://dl.dropbox.com/u/4708147/rs232/rs232.png) (https://dl.dropbox.com/u/4708147/rs232/rs232.png)
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 06-07-2012, 11:11 (Viernes)
Gracias por el aviso, casi me cargo el router :(

En la wiki de danitool, lo que no especificaba, o al menos no lo encontré a primeras, son los baudios, pardidad etc.

Puede ser:  1200bps, 7 databits, 1 stop-bit


Una pena, a la hora que salgo esté cerrado todo, y esos transistores no los tengo por casa, pero creo que son equivalentes a los 2N3904 que tengo por aquí.

Si encuentro lo necesario pruebo y te comento.


En cuanto al router, los Ralink son diferentes:

(http://i.imgur.com/tbDlD.jpg)

Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 06-07-2012, 11:27 (Viernes)
Podría ser que algún botón no estuviera bien configurado y que eso estuviera bloqueando el inicio del router.

Por eso he hecho este firmware eliminando los botones.
https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_nobuttons.bin

Si alguien, ya sea con serial o no puede probarlo me haría un favor ;).

Pues parece que tampoco es tema de botones.
Idem que los anteriores, el router se queda 'tieso'  :-X
Título: Re: OpenWRT en Huawei hg556a
Publicado por: gmtii en 06-07-2012, 13:07 (Viernes)
ok, esta noche sin falta lo pruebo y te comento...

Por cierto gmtii, tú que tienes cable serial, podrías probar el último firmware (ya sé que no va a funcionar el wifi) por favor?

https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_nobuttons.bin
Título: Re: OpenWRT en Huawei hg556a
Publicado por: gmtii en 06-07-2012, 13:10 (Viernes)
flashea y me comentas ... he metido luci de modo que apuntas con el navegador a la http://192.168.1.1 y pruebas a configurar el wifi.

Saludos.

Qué gran noticia gmtti!!!

Contad con mis 2 ralink para pruebas!


Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 06-07-2012, 13:25 (Viernes)
Vale, creo que ya he encontrado el fallo...
Se me había ido la olla a la hora de calcular el offset de lectura y estaba leyendo en una posición no existente, lo que me imagino estaría causando una excepción.

Firmware: https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_offsetfix.bin
SVN Patches: https://dl.dropbox.com/u/4708147/openwrt/hg556a/HG556a_svn.patch

Saludos!
Título: Re: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 06-07-2012, 14:07 (Viernes)
En un rato lo pruebo y comento ;D

Enviado desde mi u8500 usando Tapatalk 2
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 06-07-2012, 15:51 (Viernes)
...
De acuerdo con la wiki de openwrt lo estás haciendo bien (gracias a danitool).
¿Te aparece algo al hacer la conexión? Normalmente si el cable no está bien configurado o falla suelen salir símbolos raros y sin sentido. Pero si no te sale nada es que probablemente lo estás conectando mal :$.
...
Pues esa es la cosa, que no aparece nada en la ventana del Tera Term. Estoy usando el interfaz tiny 3-wire de Giskard (el mismo que has posteado más arriba). Sé que funciona porque con él he flasheado con éxito un ZyXEL P660HW-D1. Eso sí, a 115200 baudios no iba fino pero al menos se veían caracteres en el terminal.

Saludos.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 06-07-2012, 16:31 (Viernes)
Vale, creo que ya he encontrado el fallo...
Se me había ido la olla a la hora de calcular el offset de lectura y estaba leyendo en una posición no existente, lo que me imagino estaría causando una excepción.

Firmware: https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_offsetfix.bin
SVN Patches: https://dl.dropbox.com/u/4708147/openwrt/hg556a/HG556a_svn.patch

Saludos!

Nada, tampoco funciona  :'(
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 06-07-2012, 17:40 (Viernes)
Vale, creo que ya he encontrado el fallo...
Se me había ido la olla a la hora de calcular el offset de lectura y estaba leyendo en una posición no existente, lo que me imagino estaría causando una excepción.

Firmware: https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_offsetfix.bin
SVN Patches: https://dl.dropbox.com/u/4708147/openwrt/hg556a/HG556a_svn.patch

Saludos!
Nada, tampoco funciona  :'(
Os tengo que pedir un favor, si no os importa, que no requiere flashear el router ni nada. Es para comprobar un posible patrón en los HG556a.
Simplemente necesito un backup del bootloader.
Podéis hacerlo de la siguiente manera:
Con el firmware de danitool, ejecuta el siguiente comando:
Código: [Seleccionar]
dd if=/dev/mtd0 of=/www/cfe.binId en el navegador a http://192.168.1.1/cfe.bin

Pasadme el archivo, ya sea por este post o por privado. Es que me parece que podría haber un patrón en el CFE que podría diferenciar los HG556a. Si podéis, adjuntad también un bootlog.
Código: [Seleccionar]
dmesg > /www/dmesg.txtId en el navegador a http://192.168.1.1/dmesg.txt

Saludos!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 06-07-2012, 18:00 (Viernes)
Datos por privado  ;)
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 06-07-2012, 19:07 (Viernes)
Datos por privado  ;)
Prueba este nuevo firmware cuando puedas:
https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_debug.bin

Saludos!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 06-07-2012, 19:11 (Viernes)
Bueno, ya he probado el Firmware para el Ralink.

La luz del Wifi enciende, "reconoce la interfaz", pero no encuentra ningún wifi ni tampoco el que crea aparece.

Luego subo screenshots.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 06-07-2012, 20:12 (Viernes)
Bueno, ya he probado el Firmware para el Ralink.

La luz del Wifi enciende, "reconoce la interfaz", pero no encuentra ningún wifi ni tampoco el que crea aparece.

Luego subo screenshots.
Puedes subir un bootlog y un backup del cfe por favor? (del firmware de danitool modificado para ralink)

EDIT: O cualquier otra persona con un HG556a con Ralink...
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 06-07-2012, 21:14 (Viernes)
Noltari, cfe.bin y dmesg.txt en tu cuenta gmail.
EDITO: Atheros. Ralink no tengo.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 06-07-2012, 21:16 (Viernes)
Noltari, cfe.bin y dmesg.txt en tu cuenta gmail.
EDITO: Atheros. Ralink no tengo.
Muchas gracias, me sirve para compararlo con el de jar229.

Me siguen faltando bootlog de la flash MX29LV128DB (atheros) y del ralink.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 06-07-2012, 22:09 (Viernes)
Decirme lo que queréis y os lo hago ahora, que tengo un openwrt con atheros funcionando, npi la memoria.

Y un ralink con openwrt los dos.

EDIT:  Aquí dejo el Ralink : https://dl.dropbox.com/u/256167/openwrt/HG556a-Ralink-Cfe%2Bdmesg.zip

(http://i.imgur.com/8LK2n.png)
(http://i.imgur.com/PgUXb.png)
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 06-07-2012, 22:18 (Viernes)
Podéis hacerlo de la siguiente manera:
Con el firmware de danitool, ejecuta el siguiente comando:
Código: [Seleccionar]
dd if=/dev/mtd0 of=/www/cfe.binId en el navegador a http://192.168.1.1/cfe.bin

Pasadme el archivo, ya sea por este post o por privado. Es que me parece que podría haber un patrón en el CFE que podría diferenciar los HG556a. Si podéis, adjuntad también un bootlog.
Código: [Seleccionar]
dmesg > /www/dmesg.txtId en el navegador a http://192.168.1.1/dmesg.txt

Hazlo para ambos, separando los ficheros en dos carpetas ;).
Puedes mandármelo al correo: noltari@gmail.com
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 07-07-2012, 00:27 (Sábado)
Noltari, ya tienes eso en el post anterior, fue leer tu post y recordar lo de dmesg, ya los había subido, repasteo:
https://dl.dropbox.com/u/256167/openwrt/HG556a-Ralink-Cfe%2Bdmesg.zip
Título: Re: Re: Re: OpenWRT en Huawei hg556a
Publicado por: gmtii en 07-07-2012, 10:04 (Sábado)
Buenas

He actualizado el fw del ralink. Podrías flashear de nuevo y probar el wifi?

Gracias.

Decirme lo que queréis y os lo hago ahora, que tengo un openwrt con atheros funcionando, npi la memoria.

Y un ralink con openwrt los dos.

EDIT:  Aquí dejo el Ralink : https://dl.dropbox.com/u/256167/openwrt/HG556a-Ralink-Cfe%2Bdmesg.zip

(http://i.imgur.com/8LK2n.png)
(http://i.imgur.com/PgUXb.png)

Enviado desde mi GT-I9000 usando Tapatalk 2
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 07-07-2012, 11:22 (Sábado)
Link del FW?
Título: Re: Re: OpenWRT en Huawei hg556a
Publicado por: gmtii en 07-07-2012, 11:37 (Sábado)
En el mismo mensaje original.

http://www.mediafire.com/?916e8xqzuty71n3

Enviado desde mi GT-P6810 usando Tapatalk 2
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 07-07-2012, 12:21 (Sábado)
Ya lo busqué en el mensaje original, antes de que postearas, comprobé los md5.

Le he puesto la nueva, con md5 07db9eedf2773fb75cec8bd84b68c1dc

Mismo resultado, reconoce activa, pero no da señal, ni busca, y la MAC la ha puesto diferente, te envio por PM la mac original?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: gmtii en 07-07-2012, 13:08 (Sábado)
dale al botón "escanear" y también  intenta configurarla como cliente de tu router adsl wifi por ejemplo a ver...


Ya lo busqué en el mensaje original, antes de que postearas, comprobé los md5.

Le he puesto la nueva, con md5 07db9eedf2773fb75cec8bd84b68c1dc

Mismo resultado, reconoce activa, pero no da señal, ni busca, y la MAC la ha puesto diferente, te envio por PM la mac original?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 07-07-2012, 13:19 (Sábado)
Le he dado a escanear, pero no encuentra ninguna wifi. Ni creando un AP.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 07-07-2012, 18:08 (Sábado)
Vale, creo que ya he encontrado el fallo...
Se me había ido la olla a la hora de calcular el offset de lectura y estaba leyendo en una posición no existente, lo que me imagino estaría causando una excepción.

Firmware: https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_offsetfix.bin
SVN Patches: https://dl.dropbox.com/u/4708147/openwrt/hg556a/HG556a_svn.patch

Saludos!
Reparada la avería de mi interfaz rs232 TTL. ¡Ya puedo capturar bootlogs!  ;D
Enviados los bootlogs de los firmwares de danitool y de noltari a la cuenta google de noltari.

¡Suerte, maestro!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 07-07-2012, 18:12 (Sábado)
Vale, creo que ya he encontrado el fallo...
Se me había ido la olla a la hora de calcular el offset de lectura y estaba leyendo en una posición no existente, lo que me imagino estaría causando una excepción.

Firmware: https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_offsetfix.bin
SVN Patches: https://dl.dropbox.com/u/4708147/openwrt/hg556a/HG556a_svn.patch

Saludos!
Reparada la avería de mi interfaz rs232 TTL. ¡Ya puedo capturar bootlogs!  ;D
Enviados los bootlogs de los firmwares de danitool y de noltari a la cuenta google de noltari.

¡Suerte, maestro!
Sí, muchas gracias ya lo he visto ;).

Te he contestado al correo. Échale un ojo cuando puedas.

Saludos.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 07-07-2012, 18:46 (Sábado)
Ya he probado el primero y no se ve el dispositivo wifi. Cuando pruebe el segundo te reporto los resultados.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 07-07-2012, 19:19 (Sábado)
Ya he probado el primero y no se ve el dispositivo wifi. Cuando pruebe el segundo te reporto los resultados.
No hace falta que pruebes el otro que te he mandado por privado, hacen prácticamente lo mismo ;).

Sin embargo, me gustaría que probaras este firmware, que es exactamente igual al que has probado y me has mandado el bootlog, pero con ciertos debugs para ver qué pasa con el wifi.

https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_mac_caldata2_debug.bin

Un saludo.

EDIT: Me vale que lo pruebes tú o jar229, cualquiera de los dos ;).
EDIT2: He estado mirando bootlogs y me da que va a ser problema del slot pci, que está mal configurado, pero para arreglarlo necesito un bootlog ;).
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 08-07-2012, 16:37 (Domingo)
A ver si pruebo diferencias entre el Ralink y el Atheros con el Firmware oficial de Vodafone. Parece que nadie lo ha hecho.

A ver si hago pruebas usando el mismo backup con la configuración del atheros restaurada en el Ralink.

Las pruebas serían simplemente enfocadas a la diferencia ralink-atheros? O algo más.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 08-07-2012, 17:04 (Domingo)
A ver si pruebo diferencias entre el Ralink y el Atheros con el Firmware oficial de Vodafone. Parece que nadie lo ha hecho.

A ver si hago pruebas usando el mismo backup con la configuración del atheros restaurada en el Ralink.

Las pruebas serían simplemente enfocadas a la diferencia ralink-atheros? O algo más.

Prueba este firmware para el Ralink:
https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_atheros_ralink_linux_size.bin
Título: Re: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 08-07-2012, 20:37 (Domingo)
Ya lo siento, pero creo que hasta dentro de un par de días no voy a poder ayudar con las pruebas ... :'(

Enviado desde mi u8500 usando Tapatalk 2
Título: Re: OpenWRT en Huawei hg556a
Publicado por: gmtii en 09-07-2012, 00:17 (Lunes)
buenas,

tool, podrías probar esta otra compilación por favor?

EDITO: recompilado de nuevo. ahora creo que la eeprom es la buena. sigue faltando la detección de mac automática y el led...

http://www.mediafire.com/?rz6m8ul0kcsmlzm (http://www.mediafire.com/?rz6m8ul0kcsmlzm)

Gracias.

Le he dado a escanear, pero no encuentra ninguna wifi. Ni creando un AP.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 09-07-2012, 09:23 (Lunes)
Ya he probado el primero y no se ve el dispositivo wifi. Cuando pruebe el segundo te reporto los resultados.
No hace falta que pruebes el otro que te he mandado por privado, hacen prácticamente lo mismo ;).

Sin embargo, me gustaría que probaras este firmware, que es exactamente igual al que has probado y me has mandado el bootlog, pero con ciertos debugs para ver qué pasa con el wifi.

https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_mac_caldata2_debug.bin

Un saludo.

EDIT: Me vale que lo pruebes tú o jar229, cualquiera de los dos ;).
EDIT2: He estado mirando bootlogs y me da que va a ser problema del slot pci, que está mal configurado, pero para arreglarlo necesito un bootlog ;).

Esta tarde lo flasheo y te envío el bootlog.

Un saludo.

EDITO: Router flaseado. Sigue sin detectar el dispositivo wifi. Bootlog enviado por privado.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 09-07-2012, 15:59 (Lunes)
Ya he probado el primero y no se ve el dispositivo wifi. Cuando pruebe el segundo te reporto los resultados.
No hace falta que pruebes el otro que te he mandado por privado, hacen prácticamente lo mismo ;).

Sin embargo, me gustaría que probaras este firmware, que es exactamente igual al que has probado y me has mandado el bootlog, pero con ciertos debugs para ver qué pasa con el wifi.

https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_mac_caldata2_debug.bin

Un saludo.

EDIT: Me vale que lo pruebes tú o jar229, cualquiera de los dos ;).
EDIT2: He estado mirando bootlogs y me da que va a ser problema del slot pci, que está mal configurado, pero para arreglarlo necesito un bootlog ;).

Esta tarde lo flasheo y te envío el bootlog.

Un saludo.

EDITO: Router flaseado. Sigue sin detectar el dispositivo wifi. Bootlog enviado por privado.
¿Puedes enviarme un backup del cal_data?
dd if=/dev/mtd3 of=/www/ath_data.bin

Saludos.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 09-07-2012, 16:26 (Lunes)
¿Puedes enviarme un backup del cal_data?
dd if=/dev/mtd3 of=/www/ath_data.bin

Saludos.

Enviado. Voy a reflashear con algún firm original, a ver si detecta bien ath_data.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 09-07-2012, 16:31 (Lunes)
¿Puedes enviarme un backup del cal_data?
dd if=/dev/mtd3 of=/www/ath_data.bin

Saludos.

Enviado. Voy a reflashear con algún firm original, a ver si detecta bien ath_data.
Te he contestado al correo, pidiéndote el backup de los datos del wifi.

Saludos!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 09-07-2012, 16:44 (Lunes)
¿Puedes enviarme un backup del cal_data?
dd if=/dev/mtd3 of=/www/ath_data.bin

Saludos.

Enviado. Voy a reflashear con algún firm original, a ver si detecta bien ath_data.
Te he contestado al correo, pidiéndote el backup de los datos del wifi.

Saludos!
Sí, sí. Y te lo he enviado. Te lo vuelvo a enviar en un segundo.
EDITO: Ya está enviado ¿lo tienes?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 09-07-2012, 17:02 (Lunes)
¿Puedes enviarme un backup del cal_data?
dd if=/dev/mtd3 of=/www/ath_data.bin

Saludos.

Enviado. Voy a reflashear con algún firm original, a ver si detecta bien ath_data.
Te he contestado al correo, pidiéndote el backup de los datos del wifi.

Saludos!
Sí, sí. Y te lo he enviado. Te lo vuelvo a enviar en un segundo.
EDITO: Ya está enviado ¿lo tienes?
Lo tengo, pero de momento no puedo hacer nada, hasta que no esté solucionado el fallo de protección.

Necesito que pruebes el otro firmware que te he mandado.

Saludos.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 09-07-2012, 17:22 (Lunes)
Lo tengo, pero de momento no puedo hacer nada, hasta que no esté solucionado el fallo de protección.

Necesito que pruebes el otro firmware que te he mandado.

Saludos.
Probado. No hay wifi. El cal_data original ya te lo envié. El del último firmware te lo envío en unos momentos (tarda un rato en hacerse la copia).
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 09-07-2012, 17:29 (Lunes)
Ok, pero voy a necesitar que otra persona con un router atheros con la flash S29GL128P10 realice un backup del ath_data en el firmware de danitool y nos la proporcione.

Para saber si vuestro router tiene esta flash, en el dmesg debería aparecer lo siguiente:
Código: [Seleccionar]
bcm963xx: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002101
Para hacer el backup (con el firmware de danitool):
Código: [Seleccionar]
dd if=/dev/mtd4 of=/www/ath_data.binIr en el PC a la siguiente url http://192.168.1.1/ath_data.bin

Saludos!

P.D: Le he pedido esto mismo a jar229 por mp, pero como anda algo liado no sé si va a poder. Os pido a los demás que ayudéis en esto, porque no os cuesta nada y los que tenéis el firmware de danitool puesto no tenéis ni que cambiar el firmware...
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 09-07-2012, 17:47 (Lunes)
Lo tengo, pero de momento no puedo hacer nada, hasta que no esté solucionado el fallo de protección.

Necesito que pruebes el otro firmware que te he mandado.

Saludos.
Probado. No hay wifi. El cal_data original ya te lo envié. El del último firmware te lo envío en unos momentos (tarda un rato en hacerse la copia).
Enviado cal_data_new.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 09-07-2012, 17:56 (Lunes)
Resulta que me equivoqué a la hora de dar los comandos para hacer el backup de los datos del wifi...

Me fijé en las particiones iniciales, en lugar de fijarme en que al utilizar squashfs se crea una adicional para rootfs_data, que es la mtd3. También aparecían esos datos en la wiki, así que lo pasé por alto...

Si alguien puede hacer el backup de los datos como he indicado antes, para intentar arreglar el router de raphik se agradecería...
Título: Re: OpenWRT en Huawei hg556a
Publicado por: geminis_demon en 09-07-2012, 18:10 (Lunes)
buenas,

tool, podrías probar esta otra compilación por favor?

http://www.mediafire.com/?bi29rp33b1tb4d6

Gracias.

Le he dado a escanear, pero no encuentra ninguna wifi. Ni creando un AP.

Hola a todos, hace unos días que estoy trasteando con openwrt y hoy me he agenciado de un cacharro de estos con ralink.

He probado esta compilación y furula correctamente tanto en modo cliente como AP, creo que has dado en el clavo, felicidades.

No tengo cable de serie pero puedo dejar un dmesg por si sirve de algo.

[spoiler=root@OpenWrt:~# dmesg]
add
[    0.408000] device: 'mtdblock1': device_add
[    0.408000] 0x000000120000-0x000000fe0000 : "rootfs"
[    0.412000] device: 'mtd2': device_add
[    0.412000] device: 'mtd2ro': device_add
[    0.416000] device: '31:2': device_add
[    0.416000] device: 'mtdblock2': device_add
[    0.416000] mtd: partition "rootfs" set to be root filesystem
[    0.424000] mtd: partition "rootfs_data" created automatically, ofs=340000, len=CA0000
[    0.432000] 0x000000340000-0x000000fe0000 : "rootfs_data"
[    0.436000] device: 'mtd3': device_add
[    0.436000] device: 'mtd3ro': device_add
[    0.440000] device: '31:3': device_add
[    0.440000] device: 'mtdblock3': device_add
[    0.440000] 0x000000fe0000-0x000001000000 : "nvram"
[    0.448000] device: 'mtd4': device_add
[    0.448000] device: 'mtd4ro': device_add
[    0.448000] device: '31:4': device_add
[    0.448000] device: 'mtdblock4': device_add
[    0.452000] 0x000000020000-0x000000fe0000 : "linux"
[    0.456000] device: 'mtd5': device_add
[    0.456000] device: 'mtd5ro': device_add
[    0.456000] device: '31:5': device_add
[    0.460000] device: 'mtdblock5': device_add
[    0.460000] driver: 'physmap-flash.0': driver_bound: bound to device 'physmap-flash'
[    0.460000] bus: 'platform': really_probe: bound device physmap-flash.0 to driver physmap-flash
[    0.460000] bus: 'spi': add driver m25p80
[    0.460000] bus: 'platform': add driver bcm63xx-hsspi
[    0.460000] bus: 'platform': add driver spi_gpio
[    0.464000] bus: 'mdio_bus': add driver Broadcom BCM63XX (1)
[    0.464000] bus: 'mdio_bus': add driver Broadcom BCM63XX (2)
[    0.464000] bus: 'platform': add driver bcm63xx_enet_shared
[    0.464000] bus: 'platform': driver_probe_device: matched device bcm63xx_enet_shared.0 with driver bcm63xx_enet_shared
[    0.464000] bus: 'platform': really_probe: probing driver bcm63xx_enet_shared with device bcm63xx_enet_shared.0
[    0.464000] driver: 'bcm63xx_enet_shared.0': driver_bound: bound to device 'bcm63xx_enet_shared'
[    0.464000] bus: 'platform': really_probe: bound device bcm63xx_enet_shared.0 to driver bcm63xx_enet_shared
[    0.464000] bus: 'platform': add driver bcm63xx_enet
[    0.464000] bus: 'platform': driver_probe_device: matched device bcm63xx_enet.1 with driver bcm63xx_enet
[    0.464000] bus: 'platform': really_probe: probing driver bcm63xx_enet with device bcm63xx_enet.1
[    0.464000] device: 'eth0': device_add
[    0.468000] driver: 'bcm63xx_enet.1': driver_bound: bound to device 'bcm63xx_enet'
[    0.468000] bus: 'platform': really_probe: bound device bcm63xx_enet.1 to driver bcm63xx_enet
[    0.468000] bus: 'platform': add driver bcm63xx_enetsw
[    0.472000] bus: 'platform': add driver bcm63xx-wdt
[    0.472000] bus: 'platform': driver_probe_device: matched device bcm63xx-wdt with driver bcm63xx-wdt
[    0.472000] bus: 'platform': really_probe: probing driver bcm63xx-wdt with device bcm63xx-wdt
[    0.472000] device: 'watchdog': device_add
[    0.472000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.476000] driver: 'bcm63xx-wdt': driver_bound: bound to device 'bcm63xx-wdt'
[    0.476000] bus: 'platform': really_probe: bound device bcm63xx-wdt to driver bcm63xx-wdt
[    0.480000] bus: 'platform': add driver leds-gpio
[    0.480000] bus: 'platform': driver_probe_device: matched device leds-gpio.0 with driver leds-gpio
[    0.480000] bus: 'platform': really_probe: probing driver leds-gpio with device leds-gpio.0
[    0.480000] device: 'message': device_add
[    0.480000] Registered led device: message
[    0.480000] device: 'hspa': device_add
[    0.480000] Registered led device: hspa
[    0.480000] device: 'dsl': device_add
[    0.480000] Registered led device: dsl
[    0.480000] device: 'power': device_add
[    0.484000] Registered led device: power
[    0.484000] device: 'all_leds': device_add
[    0.484000] Registered led device: all_leds
[    0.484000] driver: 'leds-gpio.0': driver_bound: bound to device 'leds-gpio'
[    0.484000] bus: 'platform': really_probe: bound device leds-gpio.0 to driver leds-gpio
[    0.484000] TCP cubic registered
[    0.488000] NET: Registered protocol family 17
[    0.492000] 8021q: 802.1Q VLAN Support v1.8
[    0.504000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.516000] Freeing unused kernel memory: 196k freed
[    3.316000] eth0: link forced UP - 100/full - flow control off/off
[    3.492000] roboswitch: Probing device eth0: found a 5325! It's a 5350.
[    4.560000] There is already a switch registered on the device 'eth0'
[    5.808000] device class 'input': registering
[    6.032000] Button Hotplug driver version 0.4.1
[   13.584000] Compat-wireless backport release: compat-wireless-2012-06-14
[   13.592000] Backport based on wireless-testing.git master-2012-06-14
[   13.596000] compat.git: wireless-testing.git
[   13.660000] device class 'ieee80211': registering
[   13.660000] Registering platform device 'regulatory.0'. Parent at platform
[   13.660000] device: 'regulatory.0': device_add
[   13.660000] bus: 'platform': add device regulatory.0
[   13.664000] cfg80211: Calling CRDA to update world regulatory domain
[   13.668000] cfg80211: World regulatory domain updated:
[   13.676000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   13.684000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.692000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.700000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.708000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.716000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.340000] device class 'scsi_host': registering
[   14.344000] bus: 'scsi': registered
[   14.344000] device class 'scsi_device': registering
[   14.344000] SCSI subsystem initialized
[   14.432000] There is already a switch registered on the device 'eth0'
[   14.784000] bus: 'usb': registered
[   14.784000] bus: 'usb': add driver usbfs
[   14.784000] usbcore: registered new interface driver usbfs
[   14.792000] bus: 'usb': add driver hub
[   14.792000] usbcore: registered new interface driver hub
[   14.800000] bus: 'usb': add driver usb
[   14.800000] usbcore: registered new device driver usb
[   15.404000] bus: 'pci': add driver rt2800pci
[   15.404000] bus: 'pci': driver_probe_device: matched device 0000:00:01.0 with driver rt2800pci
[   15.404000] bus: 'pci': really_probe: probing driver rt2800pci with device 0000:00:01.0
[   15.404000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[   15.408000] rt2800pci 0000:00:01.0: enabling bus mastering
[   15.408000] rt2800pci 0000:00:01.0: setting latency timer to 64
[   15.412000] phy0 -> rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'RT3062.eeprom'.
[   15.420000] rt2800pci 0000:00:01.0: firmware: requesting RT3062.eeprom
[   15.420000] device: '0000:00:01.0': device_add
[   15.600000] device: '0000:00:01.0': device_unregister
[   15.600000] phy0 -> rt2x00_set_chip: Info - Chipset detected - rt: 3572, rf: 0005, rev: 0223.
[   15.608000] device: 'phy0': device_add
[   15.608000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   15.612000] device: 'wlan0': device_add
[   15.612000] device: 'rt2800pci-phy0::radio': device_add
[   15.612000] Registered led device: rt2800pci-phy0::radio
[   15.612000] device: 'rt2800pci-phy0::assoc': device_add
[   15.612000] Registered led device: rt2800pci-phy0::assoc
[   15.612000] device: 'rt2800pci-phy0::quality': device_add
[   15.612000] Registered led device: rt2800pci-phy0::quality
[   15.612000] driver: '0000:00:01.0': driver_bound: bound to device 'rt2800pci'
[   15.612000] bus: 'pci': really_probe: bound device 0000:00:01.0 to driver rt2800pci
[   15.800000] bus: 'bcma': registered
[   15.800000] bus: 'pci': add driver bcma-pci-bridge
[   16.500000] device class 'sound': registering
[   17.008000] device: 'timer': device_add
[   17.476000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   17.908000] device class 'scsi_disk': registering
[   17.908000] bus: 'scsi': add driver sd
[   17.948000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   17.956000] bus: 'platform': add driver bcm63xx_ehci
[   17.956000] bus: 'platform': driver_probe_device: matched device bcm63xx_ehci.0 with driver bcm63xx_ehci
[   17.956000] bus: 'platform': really_probe: probing driver bcm63xx_ehci with device bcm63xx_ehci.0
[   18.060000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[   18.064000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[   18.100000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
[   18.116000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[   18.124000] device: 'usb1': device_add
[   18.124000] bus: 'usb': add device usb1
[   18.124000] bus: 'usb': driver_probe_device: matched device usb1 with driver usb
[   18.124000] bus: 'usb': really_probe: probing driver usb with device usb1
[   18.124000] device: '1-0:1.0': device_add
[   18.124000] bus: 'usb': add device 1-0:1.0
[   18.124000] bus: 'usb': driver_probe_device: matched device 1-0:1.0 with driver hub
[   18.124000] bus: 'usb': really_probe: probing driver hub with device 1-0:1.0
[   18.124000] hub 1-0:1.0: USB hub found
[   18.128000] hub 1-0:1.0: 2 ports detected
[   18.132000] driver: '1-0:1.0': driver_bound: bound to device 'hub'
[   18.132000] bus: 'usb': really_probe: bound device 1-0:1.0 to driver hub
[   18.132000] device: 'ep_81': device_add
[   18.132000] driver: 'usb1': driver_bound: bound to device 'usb'
[   18.132000] bus: 'usb': really_probe: bound device usb1 to driver usb
[   18.132000] device: 'ep_00': device_add
[   18.132000] driver: 'bcm63xx_ehci.0': driver_bound: bound to device 'bcm63xx_ehci'
[   18.132000] bus: 'platform': really_probe: bound device bcm63xx_ehci.0 to driver bcm63xx_ehci
[   18.132000] bus: 'pci': add driver ehci_hcd
[   18.328000] nf_conntrack version 0.5.0 (970 buckets, 3880 max)
[   19.032000] bus: 'i2c': registered
[   19.032000] bus: 'i2c': add driver dummy
[   19.064000] i2c /dev entries driver
[   19.064000] device class 'i2c-dev': registering
[   19.240000] bus: 'usb': add driver cdc_acm
[   19.240000] usbcore: registered new interface driver cdc_acm
[   19.244000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   19.488000] bus: 'usb': add driver snd-usb-audio
[   19.488000] usbcore: registered new interface driver snd-usb-audio
[   19.628000] Initializing USB Mass Storage driver...
[   19.632000] bus: 'usb': add driver usb-storage
[   19.632000] usbcore: registered new interface driver usb-storage
[   19.636000] USB Mass Storage support registered.
[   19.824000] Linux video capture interface: v2.00
[   19.828000] device class 'video4linux': registering
[   20.184000] bus: 'platform': add driver gpio-keys-polled
[   20.188000] bus: 'platform': driver_probe_device: matched device gpio-keys-polled.0 with driver gpio-keys-polled
[   20.188000] bus: 'platform': really_probe: probing driver gpio-keys-polled with device gpio-keys-polled.0
[   20.188000] device: 'input0': device_add
[   20.188000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   20.196000] driver: 'gpio-keys-polled.0': driver_bound: bound to device 'gpio-keys-polled'
[   20.196000] bus: 'platform': really_probe: bound device gpio-keys-polled.0 to driver gpio-keys-polled
[   20.332000] bus: 'usb': add driver uvcvideo
[   20.332000] usbcore: registered new interface driver uvcvideo
[   20.336000] USB Video Class driver (1.1.1)
[   26.580000] device: 'br-lan': device_add
[   26.580000] eth0: link forced UP - 100/full - flow control off/off
[   26.596000] device eth0 entered promiscuous mode
[   26.604000] br-lan: port 1(eth0) entered forwarding state
[   26.608000] br-lan: port 1(eth0) entered forwarding state
[   28.612000] br-lan: port 1(eth0) entered forwarding state
[   50.968000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   50.984000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   50.988000] jffs2_build_filesystem(): erasing all blocks after the end marker...
[   79.668000] device: 'tmp.radio0': device_add
[   79.680000] device: 'tmp.radio0': device_add
[   85.568000] device: 'tmp.radio0': device_add
[   85.592000] device: 'tmp.radio0': device_add
[  127.040000] done.
[  127.044000] JFFS2 notice: (1161) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[  155.732000] device: 'tmp.radio0': device_add
[  155.752000] device: 'tmp.radio0': device_add
[  160.692000] device: 'tmp.radio0': device_add
[  160.716000] device: 'tmp.radio0': device_add
[  166.860000] device: 'tmp.radio0': device_add
[  166.884000] device: 'tmp.radio0': device_add
[  176.560000] device: 'tmp.radio0': device_add
[  176.580000] device: 'tmp.radio0': device_add
[  181.476000] device: 'tmp.radio0': device_add
[  181.500000] device: 'tmp.radio0': device_add
[  184.696000] device: 'tmp.radio0': device_add
[  188.464000] device: 'tmp.radio0': device_add
[  188.492000] device: 'tmp.radio0': device_add
[  190.648000] device: 'tmp.radio0': device_add
[  190.668000] device: 'tmp.radio0': device_add
[  195.380000] device: 'tmp.radio0': device_add
[  195.412000] device: 'tmp.radio0': device_add
[  197.024000] device: 'tmp.radio0': device_add
[  200.384000] device: 'tmp.radio0': device_add
[  200.408000] device: 'tmp.radio0': device_add
[  200.964000] device: 'wlan0': device_add
[  202.148000] phy0 -> rt2x00lib_request_firmware: Info - Loading firmware file 'rt2860.bin'.
[  202.156000] rt2800pci 0000:00:01.0: firmware: requesting rt2860.bin
[  202.156000] device: '0000:00:01.0': device_add
[  202.380000] device: '0000:00:01.0': device_unregister
[  202.380000] phy0 -> rt2x00lib_request_firmware: Info - Firmware detected - version: 0.34.
[  205.636000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  205.648000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  205.656000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  205.668000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  205.724000] device wlan0 entered promiscuous mode
[  208.972000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 3, CWmax: 4, Aifs: 2, TXop: 102.
[  208.984000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 5, Aifs: 2, TXop: 188.
[  208.992000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 5, CWmax: 10, Aifs: 3, TXop: 0.
[  209.004000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 5, CWmax: 10, Aifs: 7, TXop: 0.
[  209.112000] br-lan: port 2(wlan0) entered forwarding state
[  209.116000] br-lan: port 2(wlan0) entered forwarding state
[  209.140000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 2, CWmax: 3, Aifs: 1, TXop: 47.
[  209.164000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 3, CWmax: 4, Aifs: 1, TXop: 94.
[  209.196000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 6, Aifs: 3, TXop: 0.
[  209.216000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 7, TXop: 0.
[  211.120000] br-lan: port 2(wlan0) entered forwarding state

[/spoiler]

Si hace falta que haga mas pruebas estoy disponible.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 09-07-2012, 18:38 (Lunes)
Por cierto, gracias a las pruebas que ha hecho raphik ya están terminados todos los parches para el router:
Parches SVN: https://dl.dropbox.com/u/4708147/openwrt/hg556a/HG556a_svn.patch
Firmware: https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_r32654.bin

Saludos y a ver si podemos ayudarle a recuperar el wifi de su router...
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 09-07-2012, 19:38 (Lunes)
Alguien puede subir la última compilación del ralink, no funciona.
No funciona :  http://www.mediafire.com/?bi29rp33b1tb4d6
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 09-07-2012, 19:42 (Lunes)
Alguien puede subir la última compilación del ralink, no funciona.
No funciona :  http://www.mediafire.com/?bi29rp33b1tb4d6
Este firmware debería funciona también en los ralink:
https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_r32654.bin

Es el último que he posteado.
Título: Re: Re: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 09-07-2012, 19:53 (Lunes)
Por cierto, gracias a las pruebas que ha hecho raphik ya están terminados todos los parches para el router:
Parches SVN: https://dl.dropbox.com/u/4708147/openwrt/hg556a/HG556a_svn.patch
Firmware: https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_r32654.bin

Saludos y a ver si podemos ayudarle a recuperar el wifi de su router...

Así pues, los parches y el firm, son compatibles tanto para routers con wifi atheros como ralink?
En cuanto llegue a casa mando los datos que pides.

Enviado desde mi u8500 usando Tapatalk 2
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 09-07-2012, 20:11 (Lunes)
Alguien puede subir la última compilación del ralink, no funciona.
No funciona :  http://www.mediafire.com/?bi29rp33b1tb4d6
Este firmware debería funciona también en los ralink:
https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_r32654.bin

Es el último que he posteado.

Nada con tu firmware no funciona el Wifi. Lo reconoce pero no encuenta nada, ni crea ningún Wifi.

A ver si vuelve a postear el link de mediafire.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 09-07-2012, 20:29 (Lunes)
Por cierto, gracias a las pruebas que ha hecho raphik ya están terminados todos los parches para el router:
Parches SVN: https://dl.dropbox.com/u/4708147/openwrt/hg556a/HG556a_svn.patch
Firmware: https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_r32654.bin

Saludos y a ver si podemos ayudarle a recuperar el wifi de su router...

Así pues, los parches y el firm, son compatibles tanto para routers con wifi atheros como ralink?
En cuanto llegue a casa mando los datos que pides.

Enviado desde mi u8500 usando Tapatalk 2
Para que funcione el wifi con openwrt hay que compilar el firmware con los drivers apropiados.
He compilado el firmware con los drivers del atheros y del ralink, por lo que debería funciona en ambos.
Si no me equivoco el firmware que comentáis que funciona para el ralink ha sido compilado seleccionando el paquete "kmod-rt2800-pci".

Alguien puede subir la última compilación del ralink, no funciona.
No funciona :  http://www.mediafire.com/?bi29rp33b1tb4d6
Este firmware debería funciona también en los ralink:
https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_r32654.bin

Es el último que he posteado.
¿Puedes poner el bootlog?
dmesg > /www/dmesg.txt
Nada con tu firmware no funciona el Wifi. Lo reconoce pero no encuenta nada, ni crea ningún Wifi.

A ver si vuelve a postear el link de mediafire.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 09-07-2012, 20:35 (Lunes)
No sé, el caso es que lo reconoce el Wifi, pero no encuentra ni tampoco emite señal.

Al usuario geminis_demon, le funcionó la compilación de mediafire, de gmtii
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 09-07-2012, 20:41 (Lunes)
No sé, el caso es que lo reconoce el Wifi, pero no encuentra ni tampoco emite señal.

Al usuario geminis_demon, le funcionó la compilación de mediafire, de gmtii
He escrito "Puedes poner un bootlog?" donde no debía xDDD.

Podrías poner un bootlog de mi firmware por favor?

Para hacer un bootlog completo sin perder datos tienes que sacarlo a un fichero y descargarlo (el bootlog que me pasaste con el cfe estaba incompleto).
dmesg > /www/dmesg.txt

Saludos!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 09-07-2012, 21:04 (Lunes)
No sé, el caso es que lo reconoce el Wifi, pero no encuentra ni tampoco emite señal.

Al usuario geminis_demon, le funcionó la compilación de mediafire, de gmtii
He escrito "Puedes poner un bootlog?" donde no debía xDDD.

Podrías poner un bootlog de mi firmware por favor?

Para hacer un bootlog completo sin perder datos tienes que sacarlo a un fichero y descargarlo (el bootlog que me pasaste con el cfe estaba incompleto).
dmesg > /www/dmesg.txt

Saludos!
[spoiler=DMESG]
Código: [Seleccionar]
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Mon Jul 9 18:30:20 CEST 2012
[    0.000000] Detected Broadcom 0x6358 CPU revision a1
[    0.000000] CPU frequency is 300 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] registering 40 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 39 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xbe000000
[    0.000000] board_bcm963xx: CFE version: 100.48.56-49.46
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a010 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: HW556
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 8029f750, node_mem_map 81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16256 pages, LIFO batch:3
[    0.000000] Reserving 0MB of memory at 0MB for crashkernel
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Memory: 61896k/65536k available (2225k kernel code, 3640k reserved, 398k data, 196k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 299.26 BogoMIPS (lpj=598528)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.052000] NET: Registered protocol family 16
[    0.068000] registering PCI controller with io_map_base unset
[    0.088000] bio: create slab <bio-0> at 0
[    0.096000] PCI host bridge to bus 0000:00
[    0.100000] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[    0.104000] pci_bus 0000:00: root bus resource [io  0x8000000-0x800ffff]
[    0.108000] pci 0000:00:01.0: [1814:3592] type 0 class 0x000280
[    0.108000] pci 0000:00:01.0: reg 10: [mem 0xffff0000-0xffffffff]
[    0.120000] pci 0000:00:01.0: PME# supported from D0 D3hot D3cold
[    0.120000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x3000ffff]
[    0.124000] Switching to clocksource MIPS
[    0.136000] NET: Registered protocol family 2
[    0.140000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.148000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.156000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.164000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.172000] TCP reno registered
[    0.172000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.180000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.188000] NET: Registered protocol family 1
[    0.192000] PCI: CLS 0 bytes, default 16
[    0.196000] audit: initializing netlink socket (disabled)
[    0.200000] type=2000 audit(0.200:1): initialized
[    0.208000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.216000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.224000] msgmni has been set to 120
[    0.228000] io scheduler noop registered
[    0.232000] io scheduler deadline registered (default)
[    0.240000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10) is a bcm63xx_uart
[    0.248000] console [ttyS0] enabled, bootconsole disabled
[    0.268000] physmap platform flash device: 02000000 at 1e000000
[    0.272000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x00227e
[    0.284000] physmap-flash.0: Found an alias at 0x1000000 for the chip at 0x0
[    0.284000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.288000]   Amd/Fujitsu Extended Query version 1.3.
[    0.296000] number of CFI chips: 1
[    0.300000] bcm63xxpart: CFE boot tag found with version 8 and board type HW556
[    0.304000] bcm63xxpart: Partition 0 is CFE offset 0 and length 20000
[    0.312000] bcm63xxpart: Partition 1 is kernel offset 20100 and length fff00
[    0.320000] bcm63xxpart: Partition 2 is rootfs offset 120000 and length ea0000
[    0.328000] bcm63xxpart: Partition 3 is cal_data offset ee0000 and length 20000
[    0.336000] bcm63xxpart: Partition 4 is nvram offset fe0000 and length 20000
[    0.344000] bcm63xxpart: Partition 5 is linux offset 20000 and length ec0000
[    0.348000] bcm63xxpart: Spare partition is offset 340004 and length c7fffc
[    0.356000] 6 bcm63xxpart partitions found on MTD device physmap-flash.0
[    0.364000] Creating 6 MTD partitions on "physmap-flash.0":
[    0.368000] 0x000000000000-0x000000020000 : "CFE"
[    0.380000] 0x000000020100-0x000000120000 : "kernel"
[    0.384000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.400000] 0x000000120000-0x000000fc0000 : "rootfs"
[    0.408000] mtd: partition "rootfs" set to be root filesystem
[    0.416000] mtd: partition "rootfs_data" created automatically, ofs=340000, len=C80000
[    0.424000] 0x000000340000-0x000000fc0000 : "rootfs_data"
[    0.432000] 0x000000ee0000-0x000000f00000 : "cal_data"
[    0.444000] 0x000000fe0000-0x000001000000 : "nvram"
[    0.452000] 0x000000020000-0x000000ee0000 : "linux"
[    0.472000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.480000] Registered led device: HW556::message
[    0.480000] Registered led device: HW556::hspa
[    0.480000] Registered led device: HW556::dsl
[    0.484000] Registered led device: HW556::power
[    0.484000] Registered led device: HW556::all
[    0.484000] TCP cubic registered
[    0.488000] NET: Registered protocol family 17
[    0.492000] 8021q: 802.1Q VLAN Support v1.8
[    0.504000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.516000] Freeing unused kernel memory: 196k freed
[    3.412000] roboswitch: Probing device eth0: found a 5325! It's a 5350.
[    4.480000] There is already a switch registered on the device 'eth0'
[    9.128000] JFFS2 notice: (317) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 7 of xref (0 dead, 2 orphan) found.
[   12.272000] Compat-wireless backport release: compat-wireless-2012-06-14
[   12.276000] Backport based on wireless-testing.git master-2012-06-14
[   12.284000] compat.git: wireless-testing.git
[   12.352000] cfg80211: Calling CRDA to update world regulatory domain
[   12.356000] cfg80211: World regulatory domain updated:
[   12.364000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.372000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.380000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.388000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.396000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.404000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.852000] NET: Registered protocol family 10
[   13.300000] SCSI subsystem initialized
[   13.396000] There is already a switch registered on the device 'eth0'
[   13.752000] usbcore: registered new interface driver usbfs
[   13.760000] usbcore: registered new interface driver hub
[   13.768000] usbcore: registered new device driver usb
[   14.908000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[   14.916000] rt2800pci 0000:00:01.0: setting latency timer to 64
[   14.932000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   14.936000] Registered led device: rt2800pci-phy0::radio
[   14.936000] Registered led device: rt2800pci-phy0::assoc
[   14.936000] Registered led device: rt2800pci-phy0::quality
[   14.968000] Button Hotplug driver version 0.4.1
[   15.292000] PPP generic driver version 2.4.2
[   15.684000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   15.976000] NET: Registered protocol family 24
[   16.176000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   16.288000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[   16.292000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[   16.328000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
[   16.344000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[   16.352000] hub 1-0:1.0: USB hub found
[   16.356000] hub 1-0:1.0: 2 ports detected
[   16.536000] nf_conntrack version 0.5.0 (970 buckets, 3880 max)
[   16.920000] usb 1-2: new high-speed USB device number 2 using bcm63xx_ehci
[   17.064000] hub 1-2:1.0: USB hub found
[   17.072000] hub 1-2:1.0: 4 ports detected
[   17.368000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   17.788000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   17.896000] bcm63xx_ohci bcm63xx_ohci.0: BCM63XX integrated OHCI controller
[   17.900000] bcm63xx_ohci bcm63xx_ohci.0: new USB bus registered, assigned bus number 2
[   17.908000] bcm63xx_ohci bcm63xx_ohci.0: irq 13, io mem 0xfffe1400
[   17.976000] hub 2-0:1.0: USB hub found
[   17.980000] hub 2-0:1.0: 1 port detected
[   18.156000] Initializing USB Mass Storage driver...
[   18.160000] usbcore: registered new interface driver usb-storage
[   18.168000] USB Mass Storage support registered.
[   18.204000] usbcore: registered new interface driver ums-alauda
[   18.240000] usbcore: registered new interface driver ums-cypress
[   18.280000] usbcore: registered new interface driver ums-datafab
[   18.316000] usbcore: registered new interface driver ums-freecom
[   18.356000] usbcore: registered new interface driver ums-isd200
[   18.392000] usbcore: registered new interface driver ums-jumpshot
[   18.432000] usbcore: registered new interface driver ums-karma
[   18.468000] usbcore: registered new interface driver ums-sddr09
[   18.508000] usbcore: registered new interface driver ums-sddr55
[   18.548000] usbcore: registered new interface driver ums-usbat
[   18.584000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   24.080000] eth0: link forced UP - 100/full - flow control off/off
[   24.088000] device eth0 entered promiscuous mode
[   24.100000] br-lan: port 1(eth0) entered forwarding state
[   24.104000] br-lan: port 1(eth0) entered forwarding state
[   26.108000] br-lan: port 1(eth0) entered forwarding state
[   35.096000] eth0: no IPv6 routers present
[/spoiler]
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 09-07-2012, 21:08 (Lunes)
No sé, el caso es que lo reconoce el Wifi, pero no encuentra ni tampoco emite señal.

Al usuario geminis_demon, le funcionó la compilación de mediafire, de gmtii
He escrito "Puedes poner un bootlog?" donde no debía xDDD.

Podrías poner un bootlog de mi firmware por favor?

Para hacer un bootlog completo sin perder datos tienes que sacarlo a un fichero y descargarlo (el bootlog que me pasaste con el cfe estaba incompleto).
dmesg > /www/dmesg.txt

Saludos!
[spoiler=DMESG]
Código: [Seleccionar]
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Mon Jul 9 18:30:20 CEST 2012
[    0.000000] Detected Broadcom 0x6358 CPU revision a1
[    0.000000] CPU frequency is 300 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] registering 40 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 39 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xbe000000
[    0.000000] board_bcm963xx: CFE version: 100.48.56-49.46
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a010 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: HW556
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 8029f750, node_mem_map 81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16256 pages, LIFO batch:3
[    0.000000] Reserving 0MB of memory at 0MB for crashkernel
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Memory: 61896k/65536k available (2225k kernel code, 3640k reserved, 398k data, 196k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 299.26 BogoMIPS (lpj=598528)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.052000] NET: Registered protocol family 16
[    0.068000] registering PCI controller with io_map_base unset
[    0.088000] bio: create slab <bio-0> at 0
[    0.096000] PCI host bridge to bus 0000:00
[    0.100000] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[    0.104000] pci_bus 0000:00: root bus resource [io  0x8000000-0x800ffff]
[    0.108000] pci 0000:00:01.0: [1814:3592] type 0 class 0x000280
[    0.108000] pci 0000:00:01.0: reg 10: [mem 0xffff0000-0xffffffff]
[    0.120000] pci 0000:00:01.0: PME# supported from D0 D3hot D3cold
[    0.120000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x3000ffff]
[    0.124000] Switching to clocksource MIPS
[    0.136000] NET: Registered protocol family 2
[    0.140000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.148000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.156000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.164000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.172000] TCP reno registered
[    0.172000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.180000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.188000] NET: Registered protocol family 1
[    0.192000] PCI: CLS 0 bytes, default 16
[    0.196000] audit: initializing netlink socket (disabled)
[    0.200000] type=2000 audit(0.200:1): initialized
[    0.208000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.216000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.224000] msgmni has been set to 120
[    0.228000] io scheduler noop registered
[    0.232000] io scheduler deadline registered (default)
[    0.240000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10) is a bcm63xx_uart
[    0.248000] console [ttyS0] enabled, bootconsole disabled
[    0.268000] physmap platform flash device: 02000000 at 1e000000
[    0.272000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x00227e
[    0.284000] physmap-flash.0: Found an alias at 0x1000000 for the chip at 0x0
[    0.284000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.288000]   Amd/Fujitsu Extended Query version 1.3.
[    0.296000] number of CFI chips: 1
[    0.300000] bcm63xxpart: CFE boot tag found with version 8 and board type HW556
[    0.304000] bcm63xxpart: Partition 0 is CFE offset 0 and length 20000
[    0.312000] bcm63xxpart: Partition 1 is kernel offset 20100 and length fff00
[    0.320000] bcm63xxpart: Partition 2 is rootfs offset 120000 and length ea0000
[    0.328000] bcm63xxpart: Partition 3 is cal_data offset ee0000 and length 20000
[    0.336000] bcm63xxpart: Partition 4 is nvram offset fe0000 and length 20000
[    0.344000] bcm63xxpart: Partition 5 is linux offset 20000 and length ec0000
[    0.348000] bcm63xxpart: Spare partition is offset 340004 and length c7fffc
[    0.356000] 6 bcm63xxpart partitions found on MTD device physmap-flash.0
[    0.364000] Creating 6 MTD partitions on "physmap-flash.0":
[    0.368000] 0x000000000000-0x000000020000 : "CFE"
[    0.380000] 0x000000020100-0x000000120000 : "kernel"
[    0.384000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.400000] 0x000000120000-0x000000fc0000 : "rootfs"
[    0.408000] mtd: partition "rootfs" set to be root filesystem
[    0.416000] mtd: partition "rootfs_data" created automatically, ofs=340000, len=C80000
[    0.424000] 0x000000340000-0x000000fc0000 : "rootfs_data"
[    0.432000] 0x000000ee0000-0x000000f00000 : "cal_data"
[    0.444000] 0x000000fe0000-0x000001000000 : "nvram"
[    0.452000] 0x000000020000-0x000000ee0000 : "linux"
[    0.472000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.480000] Registered led device: HW556::message
[    0.480000] Registered led device: HW556::hspa
[    0.480000] Registered led device: HW556::dsl
[    0.484000] Registered led device: HW556::power
[    0.484000] Registered led device: HW556::all
[    0.484000] TCP cubic registered
[    0.488000] NET: Registered protocol family 17
[    0.492000] 8021q: 802.1Q VLAN Support v1.8
[    0.504000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.516000] Freeing unused kernel memory: 196k freed
[    3.412000] roboswitch: Probing device eth0: found a 5325! It's a 5350.
[    4.480000] There is already a switch registered on the device 'eth0'
[    9.128000] JFFS2 notice: (317) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 7 of xref (0 dead, 2 orphan) found.
[   12.272000] Compat-wireless backport release: compat-wireless-2012-06-14
[   12.276000] Backport based on wireless-testing.git master-2012-06-14
[   12.284000] compat.git: wireless-testing.git
[   12.352000] cfg80211: Calling CRDA to update world regulatory domain
[   12.356000] cfg80211: World regulatory domain updated:
[   12.364000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.372000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.380000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.388000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.396000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.404000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.852000] NET: Registered protocol family 10
[   13.300000] SCSI subsystem initialized
[   13.396000] There is already a switch registered on the device 'eth0'
[   13.752000] usbcore: registered new interface driver usbfs
[   13.760000] usbcore: registered new interface driver hub
[   13.768000] usbcore: registered new device driver usb
[   14.908000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[   14.916000] rt2800pci 0000:00:01.0: setting latency timer to 64
[   14.932000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   14.936000] Registered led device: rt2800pci-phy0::radio
[   14.936000] Registered led device: rt2800pci-phy0::assoc
[   14.936000] Registered led device: rt2800pci-phy0::quality
[   14.968000] Button Hotplug driver version 0.4.1
[   15.292000] PPP generic driver version 2.4.2
[   15.684000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   15.976000] NET: Registered protocol family 24
[   16.176000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   16.288000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[   16.292000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[   16.328000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
[   16.344000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[   16.352000] hub 1-0:1.0: USB hub found
[   16.356000] hub 1-0:1.0: 2 ports detected
[   16.536000] nf_conntrack version 0.5.0 (970 buckets, 3880 max)
[   16.920000] usb 1-2: new high-speed USB device number 2 using bcm63xx_ehci
[   17.064000] hub 1-2:1.0: USB hub found
[   17.072000] hub 1-2:1.0: 4 ports detected
[   17.368000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   17.788000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   17.896000] bcm63xx_ohci bcm63xx_ohci.0: BCM63XX integrated OHCI controller
[   17.900000] bcm63xx_ohci bcm63xx_ohci.0: new USB bus registered, assigned bus number 2
[   17.908000] bcm63xx_ohci bcm63xx_ohci.0: irq 13, io mem 0xfffe1400
[   17.976000] hub 2-0:1.0: USB hub found
[   17.980000] hub 2-0:1.0: 1 port detected
[   18.156000] Initializing USB Mass Storage driver...
[   18.160000] usbcore: registered new interface driver usb-storage
[   18.168000] USB Mass Storage support registered.
[   18.204000] usbcore: registered new interface driver ums-alauda
[   18.240000] usbcore: registered new interface driver ums-cypress
[   18.280000] usbcore: registered new interface driver ums-datafab
[   18.316000] usbcore: registered new interface driver ums-freecom
[   18.356000] usbcore: registered new interface driver ums-isd200
[   18.392000] usbcore: registered new interface driver ums-jumpshot
[   18.432000] usbcore: registered new interface driver ums-karma
[   18.468000] usbcore: registered new interface driver ums-sddr09
[   18.508000] usbcore: registered new interface driver ums-sddr55
[   18.548000] usbcore: registered new interface driver ums-usbat
[   18.584000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   24.080000] eth0: link forced UP - 100/full - flow control off/off
[   24.088000] device eth0 entered promiscuous mode
[   24.100000] br-lan: port 1(eth0) entered forwarding state
[   24.104000] br-lan: port 1(eth0) entered forwarding state
[   26.108000] br-lan: port 1(eth0) entered forwarding state
[   35.096000] eth0: no IPv6 routers present
[/spoiler]
¿Y estás seguro de que el wifi no funciona?

Código: [Seleccionar]
[   14.916000] rt2800pci 0000:00:01.0: setting latency timer to 64
[   14.932000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   14.936000] Registered led device: rt2800pci-phy0::radio
[   14.936000] Registered led device: rt2800pci-phy0::assoc
[   14.936000] Registered led device: rt2800pci-phy0::quality
La tarjeta pci desde luego la detecta. A ver si es problema de la configuración o algo...

EDIT: He leído algo de que gmtii ha hecho cambios para una eeprom.

¿gmtii podrías postear los cambios de tu firmware para que los pueda actualizar al trunk de openwrt?

Saludos!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: gmtii en 09-07-2012, 21:15 (Lunes)
estupendo... te rogaría que probaras esta otra compilación. Si te funciona, pongo la detección automática de MAC y el led wifi y listo.

http://www.mediafire.com/download.php?rz6m8ul0kcsmlzm (http://www.mediafire.com/download.php?rz6m8ul0kcsmlzm)

Saludos!

buenas,

tool, podrías probar esta otra compilación por favor?

http://www.mediafire.com/?bi29rp33b1tb4d6

Gracias.

Le he dado a escanear, pero no encuentra ninguna wifi. Ni creando un AP.

Hola a todos, hace unos días que estoy trasteando con openwrt y hoy me he agenciado de un cacharro de estos con ralink.

He probado esta compilación y furula correctamente tanto en modo cliente como AP, creo que has dado en el clavo, felicidades.

No tengo cable de serie pero puedo dejar un dmesg por si sirve de algo.

[spoiler=root@OpenWrt:~# dmesg]
add
[    0.408000] device: 'mtdblock1': device_add
[    0.408000] 0x000000120000-0x000000fe0000 : "rootfs"
[    0.412000] device: 'mtd2': device_add
[    0.412000] device: 'mtd2ro': device_add
[    0.416000] device: '31:2': device_add
[    0.416000] device: 'mtdblock2': device_add
[    0.416000] mtd: partition "rootfs" set to be root filesystem
[    0.424000] mtd: partition "rootfs_data" created automatically, ofs=340000, len=CA0000
[    0.432000] 0x000000340000-0x000000fe0000 : "rootfs_data"
[    0.436000] device: 'mtd3': device_add
[    0.436000] device: 'mtd3ro': device_add
[    0.440000] device: '31:3': device_add
[    0.440000] device: 'mtdblock3': device_add
[    0.440000] 0x000000fe0000-0x000001000000 : "nvram"
[    0.448000] device: 'mtd4': device_add
[    0.448000] device: 'mtd4ro': device_add
[    0.448000] device: '31:4': device_add
[    0.448000] device: 'mtdblock4': device_add
[    0.452000] 0x000000020000-0x000000fe0000 : "linux"
[    0.456000] device: 'mtd5': device_add
[    0.456000] device: 'mtd5ro': device_add
[    0.456000] device: '31:5': device_add
[    0.460000] device: 'mtdblock5': device_add
[    0.460000] driver: 'physmap-flash.0': driver_bound: bound to device 'physmap-flash'
[    0.460000] bus: 'platform': really_probe: bound device physmap-flash.0 to driver physmap-flash
[    0.460000] bus: 'spi': add driver m25p80
[    0.460000] bus: 'platform': add driver bcm63xx-hsspi
[    0.460000] bus: 'platform': add driver spi_gpio
[    0.464000] bus: 'mdio_bus': add driver Broadcom BCM63XX (1)
[    0.464000] bus: 'mdio_bus': add driver Broadcom BCM63XX (2)
[    0.464000] bus: 'platform': add driver bcm63xx_enet_shared
[    0.464000] bus: 'platform': driver_probe_device: matched device bcm63xx_enet_shared.0 with driver bcm63xx_enet_shared
[    0.464000] bus: 'platform': really_probe: probing driver bcm63xx_enet_shared with device bcm63xx_enet_shared.0
[    0.464000] driver: 'bcm63xx_enet_shared.0': driver_bound: bound to device 'bcm63xx_enet_shared'
[    0.464000] bus: 'platform': really_probe: bound device bcm63xx_enet_shared.0 to driver bcm63xx_enet_shared
[    0.464000] bus: 'platform': add driver bcm63xx_enet
[    0.464000] bus: 'platform': driver_probe_device: matched device bcm63xx_enet.1 with driver bcm63xx_enet
[    0.464000] bus: 'platform': really_probe: probing driver bcm63xx_enet with device bcm63xx_enet.1
[    0.464000] device: 'eth0': device_add
[    0.468000] driver: 'bcm63xx_enet.1': driver_bound: bound to device 'bcm63xx_enet'
[    0.468000] bus: 'platform': really_probe: bound device bcm63xx_enet.1 to driver bcm63xx_enet
[    0.468000] bus: 'platform': add driver bcm63xx_enetsw
[    0.472000] bus: 'platform': add driver bcm63xx-wdt
[    0.472000] bus: 'platform': driver_probe_device: matched device bcm63xx-wdt with driver bcm63xx-wdt
[    0.472000] bus: 'platform': really_probe: probing driver bcm63xx-wdt with device bcm63xx-wdt
[    0.472000] device: 'watchdog': device_add
[    0.472000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.476000] driver: 'bcm63xx-wdt': driver_bound: bound to device 'bcm63xx-wdt'
[    0.476000] bus: 'platform': really_probe: bound device bcm63xx-wdt to driver bcm63xx-wdt
[    0.480000] bus: 'platform': add driver leds-gpio
[    0.480000] bus: 'platform': driver_probe_device: matched device leds-gpio.0 with driver leds-gpio
[    0.480000] bus: 'platform': really_probe: probing driver leds-gpio with device leds-gpio.0
[    0.480000] device: 'message': device_add
[    0.480000] Registered led device: message
[    0.480000] device: 'hspa': device_add
[    0.480000] Registered led device: hspa
[    0.480000] device: 'dsl': device_add
[    0.480000] Registered led device: dsl
[    0.480000] device: 'power': device_add
[    0.484000] Registered led device: power
[    0.484000] device: 'all_leds': device_add
[    0.484000] Registered led device: all_leds
[    0.484000] driver: 'leds-gpio.0': driver_bound: bound to device 'leds-gpio'
[    0.484000] bus: 'platform': really_probe: bound device leds-gpio.0 to driver leds-gpio
[    0.484000] TCP cubic registered
[    0.488000] NET: Registered protocol family 17
[    0.492000] 8021q: 802.1Q VLAN Support v1.8
[    0.504000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.516000] Freeing unused kernel memory: 196k freed
[    3.316000] eth0: link forced UP - 100/full - flow control off/off
[    3.492000] roboswitch: Probing device eth0: found a 5325! It's a 5350.
[    4.560000] There is already a switch registered on the device 'eth0'
[    5.808000] device class 'input': registering
[    6.032000] Button Hotplug driver version 0.4.1
[   13.584000] Compat-wireless backport release: compat-wireless-2012-06-14
[   13.592000] Backport based on wireless-testing.git master-2012-06-14
[   13.596000] compat.git: wireless-testing.git
[   13.660000] device class 'ieee80211': registering
[   13.660000] Registering platform device 'regulatory.0'. Parent at platform
[   13.660000] device: 'regulatory.0': device_add
[   13.660000] bus: 'platform': add device regulatory.0
[   13.664000] cfg80211: Calling CRDA to update world regulatory domain
[   13.668000] cfg80211: World regulatory domain updated:
[   13.676000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   13.684000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.692000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.700000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.708000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.716000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.340000] device class 'scsi_host': registering
[   14.344000] bus: 'scsi': registered
[   14.344000] device class 'scsi_device': registering
[   14.344000] SCSI subsystem initialized
[   14.432000] There is already a switch registered on the device 'eth0'
[   14.784000] bus: 'usb': registered
[   14.784000] bus: 'usb': add driver usbfs
[   14.784000] usbcore: registered new interface driver usbfs
[   14.792000] bus: 'usb': add driver hub
[   14.792000] usbcore: registered new interface driver hub
[   14.800000] bus: 'usb': add driver usb
[   14.800000] usbcore: registered new device driver usb
[   15.404000] bus: 'pci': add driver rt2800pci
[   15.404000] bus: 'pci': driver_probe_device: matched device 0000:00:01.0 with driver rt2800pci
[   15.404000] bus: 'pci': really_probe: probing driver rt2800pci with device 0000:00:01.0
[   15.404000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[   15.408000] rt2800pci 0000:00:01.0: enabling bus mastering
[   15.408000] rt2800pci 0000:00:01.0: setting latency timer to 64
[   15.412000] phy0 -> rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'RT3062.eeprom'.
[   15.420000] rt2800pci 0000:00:01.0: firmware: requesting RT3062.eeprom
[   15.420000] device: '0000:00:01.0': device_add
[   15.600000] device: '0000:00:01.0': device_unregister
[   15.600000] phy0 -> rt2x00_set_chip: Info - Chipset detected - rt: 3572, rf: 0005, rev: 0223.
[   15.608000] device: 'phy0': device_add
[   15.608000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   15.612000] device: 'wlan0': device_add
[   15.612000] device: 'rt2800pci-phy0::radio': device_add
[   15.612000] Registered led device: rt2800pci-phy0::radio
[   15.612000] device: 'rt2800pci-phy0::assoc': device_add
[   15.612000] Registered led device: rt2800pci-phy0::assoc
[   15.612000] device: 'rt2800pci-phy0::quality': device_add
[   15.612000] Registered led device: rt2800pci-phy0::quality
[   15.612000] driver: '0000:00:01.0': driver_bound: bound to device 'rt2800pci'
[   15.612000] bus: 'pci': really_probe: bound device 0000:00:01.0 to driver rt2800pci
[   15.800000] bus: 'bcma': registered
[   15.800000] bus: 'pci': add driver bcma-pci-bridge
[   16.500000] device class 'sound': registering
[   17.008000] device: 'timer': device_add
[   17.476000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   17.908000] device class 'scsi_disk': registering
[   17.908000] bus: 'scsi': add driver sd
[   17.948000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   17.956000] bus: 'platform': add driver bcm63xx_ehci
[   17.956000] bus: 'platform': driver_probe_device: matched device bcm63xx_ehci.0 with driver bcm63xx_ehci
[   17.956000] bus: 'platform': really_probe: probing driver bcm63xx_ehci with device bcm63xx_ehci.0
[   18.060000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[   18.064000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[   18.100000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
[   18.116000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[   18.124000] device: 'usb1': device_add
[   18.124000] bus: 'usb': add device usb1
[   18.124000] bus: 'usb': driver_probe_device: matched device usb1 with driver usb
[   18.124000] bus: 'usb': really_probe: probing driver usb with device usb1
[   18.124000] device: '1-0:1.0': device_add
[   18.124000] bus: 'usb': add device 1-0:1.0
[   18.124000] bus: 'usb': driver_probe_device: matched device 1-0:1.0 with driver hub
[   18.124000] bus: 'usb': really_probe: probing driver hub with device 1-0:1.0
[   18.124000] hub 1-0:1.0: USB hub found
[   18.128000] hub 1-0:1.0: 2 ports detected
[   18.132000] driver: '1-0:1.0': driver_bound: bound to device 'hub'
[   18.132000] bus: 'usb': really_probe: bound device 1-0:1.0 to driver hub
[   18.132000] device: 'ep_81': device_add
[   18.132000] driver: 'usb1': driver_bound: bound to device 'usb'
[   18.132000] bus: 'usb': really_probe: bound device usb1 to driver usb
[   18.132000] device: 'ep_00': device_add
[   18.132000] driver: 'bcm63xx_ehci.0': driver_bound: bound to device 'bcm63xx_ehci'
[   18.132000] bus: 'platform': really_probe: bound device bcm63xx_ehci.0 to driver bcm63xx_ehci
[   18.132000] bus: 'pci': add driver ehci_hcd
[   18.328000] nf_conntrack version 0.5.0 (970 buckets, 3880 max)
[   19.032000] bus: 'i2c': registered
[   19.032000] bus: 'i2c': add driver dummy
[   19.064000] i2c /dev entries driver
[   19.064000] device class 'i2c-dev': registering
[   19.240000] bus: 'usb': add driver cdc_acm
[   19.240000] usbcore: registered new interface driver cdc_acm
[   19.244000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   19.488000] bus: 'usb': add driver snd-usb-audio
[   19.488000] usbcore: registered new interface driver snd-usb-audio
[   19.628000] Initializing USB Mass Storage driver...
[   19.632000] bus: 'usb': add driver usb-storage
[   19.632000] usbcore: registered new interface driver usb-storage
[   19.636000] USB Mass Storage support registered.
[   19.824000] Linux video capture interface: v2.00
[   19.828000] device class 'video4linux': registering
[   20.184000] bus: 'platform': add driver gpio-keys-polled
[   20.188000] bus: 'platform': driver_probe_device: matched device gpio-keys-polled.0 with driver gpio-keys-polled
[   20.188000] bus: 'platform': really_probe: probing driver gpio-keys-polled with device gpio-keys-polled.0
[   20.188000] device: 'input0': device_add
[   20.188000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   20.196000] driver: 'gpio-keys-polled.0': driver_bound: bound to device 'gpio-keys-polled'
[   20.196000] bus: 'platform': really_probe: bound device gpio-keys-polled.0 to driver gpio-keys-polled
[   20.332000] bus: 'usb': add driver uvcvideo
[   20.332000] usbcore: registered new interface driver uvcvideo
[   20.336000] USB Video Class driver (1.1.1)
[   26.580000] device: 'br-lan': device_add
[   26.580000] eth0: link forced UP - 100/full - flow control off/off
[   26.596000] device eth0 entered promiscuous mode
[   26.604000] br-lan: port 1(eth0) entered forwarding state
[   26.608000] br-lan: port 1(eth0) entered forwarding state
[   28.612000] br-lan: port 1(eth0) entered forwarding state
[   50.968000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   50.984000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   50.988000] jffs2_build_filesystem(): erasing all blocks after the end marker...
[   79.668000] device: 'tmp.radio0': device_add
[   79.680000] device: 'tmp.radio0': device_add
[   85.568000] device: 'tmp.radio0': device_add
[   85.592000] device: 'tmp.radio0': device_add
[  127.040000] done.
[  127.044000] JFFS2 notice: (1161) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[  155.732000] device: 'tmp.radio0': device_add
[  155.752000] device: 'tmp.radio0': device_add
[  160.692000] device: 'tmp.radio0': device_add
[  160.716000] device: 'tmp.radio0': device_add
[  166.860000] device: 'tmp.radio0': device_add
[  166.884000] device: 'tmp.radio0': device_add
[  176.560000] device: 'tmp.radio0': device_add
[  176.580000] device: 'tmp.radio0': device_add
[  181.476000] device: 'tmp.radio0': device_add
[  181.500000] device: 'tmp.radio0': device_add
[  184.696000] device: 'tmp.radio0': device_add
[  188.464000] device: 'tmp.radio0': device_add
[  188.492000] device: 'tmp.radio0': device_add
[  190.648000] device: 'tmp.radio0': device_add
[  190.668000] device: 'tmp.radio0': device_add
[  195.380000] device: 'tmp.radio0': device_add
[  195.412000] device: 'tmp.radio0': device_add
[  197.024000] device: 'tmp.radio0': device_add
[  200.384000] device: 'tmp.radio0': device_add
[  200.408000] device: 'tmp.radio0': device_add
[  200.964000] device: 'wlan0': device_add
[  202.148000] phy0 -> rt2x00lib_request_firmware: Info - Loading firmware file 'rt2860.bin'.
[  202.156000] rt2800pci 0000:00:01.0: firmware: requesting rt2860.bin
[  202.156000] device: '0000:00:01.0': device_add
[  202.380000] device: '0000:00:01.0': device_unregister
[  202.380000] phy0 -> rt2x00lib_request_firmware: Info - Firmware detected - version: 0.34.
[  205.636000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  205.648000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  205.656000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  205.668000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  205.724000] device wlan0 entered promiscuous mode
[  208.972000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 3, CWmax: 4, Aifs: 2, TXop: 102.
[  208.984000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 5, Aifs: 2, TXop: 188.
[  208.992000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 5, CWmax: 10, Aifs: 3, TXop: 0.
[  209.004000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 5, CWmax: 10, Aifs: 7, TXop: 0.
[  209.112000] br-lan: port 2(wlan0) entered forwarding state
[  209.116000] br-lan: port 2(wlan0) entered forwarding state
[  209.140000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 2, CWmax: 3, Aifs: 1, TXop: 47.
[  209.164000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 3, CWmax: 4, Aifs: 1, TXop: 94.
[  209.196000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 6, Aifs: 3, TXop: 0.
[  209.216000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 7, TXop: 0.
[  211.120000] br-lan: port 2(wlan0) entered forwarding state

[/spoiler]

Si hace falta que haga mas pruebas estoy disponible.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 09-07-2012, 21:30 (Lunes)
A todo esto, ¿alguien podría decirme el color de cada uno de los LEDs?

message -> ?
hspa -> ?
dsl -> ?
power -> ?

El GPIO 6 que danitool definió como "all" imagino que enciende todos los LEDs...
Título: Re: OpenWRT en Huawei hg556a
Publicado por: geminis_demon en 09-07-2012, 22:21 (Lunes)
estupendo... te rogaría que probaras esta otra compilación. Si te funciona, pongo la detección automática de MAC y el led wifi y listo.

http://www.mediafire.com/download.php?rz6m8ul0kcsmlzm (http://www.mediafire.com/download.php?rz6m8ul0kcsmlzm)

Saludos!

buenas,

tool, podrías probar esta otra compilación por favor?

http://www.mediafire.com/?bi29rp33b1tb4d6

Gracias.

Le he dado a escanear, pero no encuentra ninguna wifi. Ni creando un AP.

Hola a todos, hace unos días que estoy trasteando con openwrt y hoy me he agenciado de un cacharro de estos con ralink.

He probado esta compilación y furula correctamente tanto en modo cliente como AP, creo que has dado en el clavo, felicidades.

No tengo cable de serie pero puedo dejar un dmesg por si sirve de algo.

[spoiler=root@OpenWrt:~# dmesg]
add
[    0.408000] device: 'mtdblock1': device_add
[    0.408000] 0x000000120000-0x000000fe0000 : "rootfs"
[    0.412000] device: 'mtd2': device_add
[    0.412000] device: 'mtd2ro': device_add
[    0.416000] device: '31:2': device_add
[    0.416000] device: 'mtdblock2': device_add
[    0.416000] mtd: partition "rootfs" set to be root filesystem
[    0.424000] mtd: partition "rootfs_data" created automatically, ofs=340000, len=CA0000
[    0.432000] 0x000000340000-0x000000fe0000 : "rootfs_data"
[    0.436000] device: 'mtd3': device_add
[    0.436000] device: 'mtd3ro': device_add
[    0.440000] device: '31:3': device_add
[    0.440000] device: 'mtdblock3': device_add
[    0.440000] 0x000000fe0000-0x000001000000 : "nvram"
[    0.448000] device: 'mtd4': device_add
[    0.448000] device: 'mtd4ro': device_add
[    0.448000] device: '31:4': device_add
[    0.448000] device: 'mtdblock4': device_add
[    0.452000] 0x000000020000-0x000000fe0000 : "linux"
[    0.456000] device: 'mtd5': device_add
[    0.456000] device: 'mtd5ro': device_add
[    0.456000] device: '31:5': device_add
[    0.460000] device: 'mtdblock5': device_add
[    0.460000] driver: 'physmap-flash.0': driver_bound: bound to device 'physmap-flash'
[    0.460000] bus: 'platform': really_probe: bound device physmap-flash.0 to driver physmap-flash
[    0.460000] bus: 'spi': add driver m25p80
[    0.460000] bus: 'platform': add driver bcm63xx-hsspi
[    0.460000] bus: 'platform': add driver spi_gpio
[    0.464000] bus: 'mdio_bus': add driver Broadcom BCM63XX (1)
[    0.464000] bus: 'mdio_bus': add driver Broadcom BCM63XX (2)
[    0.464000] bus: 'platform': add driver bcm63xx_enet_shared
[    0.464000] bus: 'platform': driver_probe_device: matched device bcm63xx_enet_shared.0 with driver bcm63xx_enet_shared
[    0.464000] bus: 'platform': really_probe: probing driver bcm63xx_enet_shared with device bcm63xx_enet_shared.0
[    0.464000] driver: 'bcm63xx_enet_shared.0': driver_bound: bound to device 'bcm63xx_enet_shared'
[    0.464000] bus: 'platform': really_probe: bound device bcm63xx_enet_shared.0 to driver bcm63xx_enet_shared
[    0.464000] bus: 'platform': add driver bcm63xx_enet
[    0.464000] bus: 'platform': driver_probe_device: matched device bcm63xx_enet.1 with driver bcm63xx_enet
[    0.464000] bus: 'platform': really_probe: probing driver bcm63xx_enet with device bcm63xx_enet.1
[    0.464000] device: 'eth0': device_add
[    0.468000] driver: 'bcm63xx_enet.1': driver_bound: bound to device 'bcm63xx_enet'
[    0.468000] bus: 'platform': really_probe: bound device bcm63xx_enet.1 to driver bcm63xx_enet
[    0.468000] bus: 'platform': add driver bcm63xx_enetsw
[    0.472000] bus: 'platform': add driver bcm63xx-wdt
[    0.472000] bus: 'platform': driver_probe_device: matched device bcm63xx-wdt with driver bcm63xx-wdt
[    0.472000] bus: 'platform': really_probe: probing driver bcm63xx-wdt with device bcm63xx-wdt
[    0.472000] device: 'watchdog': device_add
[    0.472000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.476000] driver: 'bcm63xx-wdt': driver_bound: bound to device 'bcm63xx-wdt'
[    0.476000] bus: 'platform': really_probe: bound device bcm63xx-wdt to driver bcm63xx-wdt
[    0.480000] bus: 'platform': add driver leds-gpio
[    0.480000] bus: 'platform': driver_probe_device: matched device leds-gpio.0 with driver leds-gpio
[    0.480000] bus: 'platform': really_probe: probing driver leds-gpio with device leds-gpio.0
[    0.480000] device: 'message': device_add
[    0.480000] Registered led device: message
[    0.480000] device: 'hspa': device_add
[    0.480000] Registered led device: hspa
[    0.480000] device: 'dsl': device_add
[    0.480000] Registered led device: dsl
[    0.480000] device: 'power': device_add
[    0.484000] Registered led device: power
[    0.484000] device: 'all_leds': device_add
[    0.484000] Registered led device: all_leds
[    0.484000] driver: 'leds-gpio.0': driver_bound: bound to device 'leds-gpio'
[    0.484000] bus: 'platform': really_probe: bound device leds-gpio.0 to driver leds-gpio
[    0.484000] TCP cubic registered
[    0.488000] NET: Registered protocol family 17
[    0.492000] 8021q: 802.1Q VLAN Support v1.8
[    0.504000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.516000] Freeing unused kernel memory: 196k freed
[    3.316000] eth0: link forced UP - 100/full - flow control off/off
[    3.492000] roboswitch: Probing device eth0: found a 5325! It's a 5350.
[    4.560000] There is already a switch registered on the device 'eth0'
[    5.808000] device class 'input': registering
[    6.032000] Button Hotplug driver version 0.4.1
[   13.584000] Compat-wireless backport release: compat-wireless-2012-06-14
[   13.592000] Backport based on wireless-testing.git master-2012-06-14
[   13.596000] compat.git: wireless-testing.git
[   13.660000] device class 'ieee80211': registering
[   13.660000] Registering platform device 'regulatory.0'. Parent at platform
[   13.660000] device: 'regulatory.0': device_add
[   13.660000] bus: 'platform': add device regulatory.0
[   13.664000] cfg80211: Calling CRDA to update world regulatory domain
[   13.668000] cfg80211: World regulatory domain updated:
[   13.676000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   13.684000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.692000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.700000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.708000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.716000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.340000] device class 'scsi_host': registering
[   14.344000] bus: 'scsi': registered
[   14.344000] device class 'scsi_device': registering
[   14.344000] SCSI subsystem initialized
[   14.432000] There is already a switch registered on the device 'eth0'
[   14.784000] bus: 'usb': registered
[   14.784000] bus: 'usb': add driver usbfs
[   14.784000] usbcore: registered new interface driver usbfs
[   14.792000] bus: 'usb': add driver hub
[   14.792000] usbcore: registered new interface driver hub
[   14.800000] bus: 'usb': add driver usb
[   14.800000] usbcore: registered new device driver usb
[   15.404000] bus: 'pci': add driver rt2800pci
[   15.404000] bus: 'pci': driver_probe_device: matched device 0000:00:01.0 with driver rt2800pci
[   15.404000] bus: 'pci': really_probe: probing driver rt2800pci with device 0000:00:01.0
[   15.404000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[   15.408000] rt2800pci 0000:00:01.0: enabling bus mastering
[   15.408000] rt2800pci 0000:00:01.0: setting latency timer to 64
[   15.412000] phy0 -> rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'RT3062.eeprom'.
[   15.420000] rt2800pci 0000:00:01.0: firmware: requesting RT3062.eeprom
[   15.420000] device: '0000:00:01.0': device_add
[   15.600000] device: '0000:00:01.0': device_unregister
[   15.600000] phy0 -> rt2x00_set_chip: Info - Chipset detected - rt: 3572, rf: 0005, rev: 0223.
[   15.608000] device: 'phy0': device_add
[   15.608000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   15.612000] device: 'wlan0': device_add
[   15.612000] device: 'rt2800pci-phy0::radio': device_add
[   15.612000] Registered led device: rt2800pci-phy0::radio
[   15.612000] device: 'rt2800pci-phy0::assoc': device_add
[   15.612000] Registered led device: rt2800pci-phy0::assoc
[   15.612000] device: 'rt2800pci-phy0::quality': device_add
[   15.612000] Registered led device: rt2800pci-phy0::quality
[   15.612000] driver: '0000:00:01.0': driver_bound: bound to device 'rt2800pci'
[   15.612000] bus: 'pci': really_probe: bound device 0000:00:01.0 to driver rt2800pci
[   15.800000] bus: 'bcma': registered
[   15.800000] bus: 'pci': add driver bcma-pci-bridge
[   16.500000] device class 'sound': registering
[   17.008000] device: 'timer': device_add
[   17.476000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   17.908000] device class 'scsi_disk': registering
[   17.908000] bus: 'scsi': add driver sd
[   17.948000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   17.956000] bus: 'platform': add driver bcm63xx_ehci
[   17.956000] bus: 'platform': driver_probe_device: matched device bcm63xx_ehci.0 with driver bcm63xx_ehci
[   17.956000] bus: 'platform': really_probe: probing driver bcm63xx_ehci with device bcm63xx_ehci.0
[   18.060000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[   18.064000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[   18.100000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
[   18.116000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[   18.124000] device: 'usb1': device_add
[   18.124000] bus: 'usb': add device usb1
[   18.124000] bus: 'usb': driver_probe_device: matched device usb1 with driver usb
[   18.124000] bus: 'usb': really_probe: probing driver usb with device usb1
[   18.124000] device: '1-0:1.0': device_add
[   18.124000] bus: 'usb': add device 1-0:1.0
[   18.124000] bus: 'usb': driver_probe_device: matched device 1-0:1.0 with driver hub
[   18.124000] bus: 'usb': really_probe: probing driver hub with device 1-0:1.0
[   18.124000] hub 1-0:1.0: USB hub found
[   18.128000] hub 1-0:1.0: 2 ports detected
[   18.132000] driver: '1-0:1.0': driver_bound: bound to device 'hub'
[   18.132000] bus: 'usb': really_probe: bound device 1-0:1.0 to driver hub
[   18.132000] device: 'ep_81': device_add
[   18.132000] driver: 'usb1': driver_bound: bound to device 'usb'
[   18.132000] bus: 'usb': really_probe: bound device usb1 to driver usb
[   18.132000] device: 'ep_00': device_add
[   18.132000] driver: 'bcm63xx_ehci.0': driver_bound: bound to device 'bcm63xx_ehci'
[   18.132000] bus: 'platform': really_probe: bound device bcm63xx_ehci.0 to driver bcm63xx_ehci
[   18.132000] bus: 'pci': add driver ehci_hcd
[   18.328000] nf_conntrack version 0.5.0 (970 buckets, 3880 max)
[   19.032000] bus: 'i2c': registered
[   19.032000] bus: 'i2c': add driver dummy
[   19.064000] i2c /dev entries driver
[   19.064000] device class 'i2c-dev': registering
[   19.240000] bus: 'usb': add driver cdc_acm
[   19.240000] usbcore: registered new interface driver cdc_acm
[   19.244000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   19.488000] bus: 'usb': add driver snd-usb-audio
[   19.488000] usbcore: registered new interface driver snd-usb-audio
[   19.628000] Initializing USB Mass Storage driver...
[   19.632000] bus: 'usb': add driver usb-storage
[   19.632000] usbcore: registered new interface driver usb-storage
[   19.636000] USB Mass Storage support registered.
[   19.824000] Linux video capture interface: v2.00
[   19.828000] device class 'video4linux': registering
[   20.184000] bus: 'platform': add driver gpio-keys-polled
[   20.188000] bus: 'platform': driver_probe_device: matched device gpio-keys-polled.0 with driver gpio-keys-polled
[   20.188000] bus: 'platform': really_probe: probing driver gpio-keys-polled with device gpio-keys-polled.0
[   20.188000] device: 'input0': device_add
[   20.188000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   20.196000] driver: 'gpio-keys-polled.0': driver_bound: bound to device 'gpio-keys-polled'
[   20.196000] bus: 'platform': really_probe: bound device gpio-keys-polled.0 to driver gpio-keys-polled
[   20.332000] bus: 'usb': add driver uvcvideo
[   20.332000] usbcore: registered new interface driver uvcvideo
[   20.336000] USB Video Class driver (1.1.1)
[   26.580000] device: 'br-lan': device_add
[   26.580000] eth0: link forced UP - 100/full - flow control off/off
[   26.596000] device eth0 entered promiscuous mode
[   26.604000] br-lan: port 1(eth0) entered forwarding state
[   26.608000] br-lan: port 1(eth0) entered forwarding state
[   28.612000] br-lan: port 1(eth0) entered forwarding state
[   50.968000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   50.984000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   50.988000] jffs2_build_filesystem(): erasing all blocks after the end marker...
[   79.668000] device: 'tmp.radio0': device_add
[   79.680000] device: 'tmp.radio0': device_add
[   85.568000] device: 'tmp.radio0': device_add
[   85.592000] device: 'tmp.radio0': device_add
[  127.040000] done.
[  127.044000] JFFS2 notice: (1161) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[  155.732000] device: 'tmp.radio0': device_add
[  155.752000] device: 'tmp.radio0': device_add
[  160.692000] device: 'tmp.radio0': device_add
[  160.716000] device: 'tmp.radio0': device_add
[  166.860000] device: 'tmp.radio0': device_add
[  166.884000] device: 'tmp.radio0': device_add
[  176.560000] device: 'tmp.radio0': device_add
[  176.580000] device: 'tmp.radio0': device_add
[  181.476000] device: 'tmp.radio0': device_add
[  181.500000] device: 'tmp.radio0': device_add
[  184.696000] device: 'tmp.radio0': device_add
[  188.464000] device: 'tmp.radio0': device_add
[  188.492000] device: 'tmp.radio0': device_add
[  190.648000] device: 'tmp.radio0': device_add
[  190.668000] device: 'tmp.radio0': device_add
[  195.380000] device: 'tmp.radio0': device_add
[  195.412000] device: 'tmp.radio0': device_add
[  197.024000] device: 'tmp.radio0': device_add
[  200.384000] device: 'tmp.radio0': device_add
[  200.408000] device: 'tmp.radio0': device_add
[  200.964000] device: 'wlan0': device_add
[  202.148000] phy0 -> rt2x00lib_request_firmware: Info - Loading firmware file 'rt2860.bin'.
[  202.156000] rt2800pci 0000:00:01.0: firmware: requesting rt2860.bin
[  202.156000] device: '0000:00:01.0': device_add
[  202.380000] device: '0000:00:01.0': device_unregister
[  202.380000] phy0 -> rt2x00lib_request_firmware: Info - Firmware detected - version: 0.34.
[  205.636000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  205.648000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  205.656000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  205.668000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  205.724000] device wlan0 entered promiscuous mode
[  208.972000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 3, CWmax: 4, Aifs: 2, TXop: 102.
[  208.984000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 5, Aifs: 2, TXop: 188.
[  208.992000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 5, CWmax: 10, Aifs: 3, TXop: 0.
[  209.004000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 5, CWmax: 10, Aifs: 7, TXop: 0.
[  209.112000] br-lan: port 2(wlan0) entered forwarding state
[  209.116000] br-lan: port 2(wlan0) entered forwarding state
[  209.140000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 2, CWmax: 3, Aifs: 1, TXop: 47.
[  209.164000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 3, CWmax: 4, Aifs: 1, TXop: 94.
[  209.196000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 6, Aifs: 3, TXop: 0.
[  209.216000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 7, TXop: 0.
[  211.120000] br-lan: port 2(wlan0) entered forwarding state

[/spoiler]

Si hace falta que haga mas pruebas estoy disponible.

Probado y funcionando OK, nose que diferencia tiene con respecto al anterior porque funciona igual de bien, modo cliente y AP, eres un crack.

[spoiler=dmesg]
000] 0x000000020100-0x000000120000 : "kernel"
[    0.392000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.404000] device: 'mtd1': device_add
[    0.404000] device: 'mtd1ro': device_add
[    0.404000] device: '31:1': device_add
[    0.408000] device: 'mtdblock1': device_add
[    0.408000] 0x000000120000-0x000000fe0000 : "rootfs"
[    0.412000] device: 'mtd2': device_add
[    0.412000] device: 'mtd2ro': device_add
[    0.416000] device: '31:2': device_add
[    0.416000] device: 'mtdblock2': device_add
[    0.416000] mtd: partition "rootfs" set to be root filesystem
[    0.424000] mtd: partition "rootfs_data" created automatically, ofs=340000, len=CA0000
[    0.432000] 0x000000340000-0x000000fe0000 : "rootfs_data"
[    0.436000] device: 'mtd3': device_add
[    0.436000] device: 'mtd3ro': device_add
[    0.440000] device: '31:3': device_add
[    0.440000] device: 'mtdblock3': device_add
[    0.440000] 0x000000fe0000-0x000001000000 : "nvram"
[    0.448000] device: 'mtd4': device_add
[    0.448000] device: 'mtd4ro': device_add
[    0.448000] device: '31:4': device_add
[    0.448000] device: 'mtdblock4': device_add
[    0.452000] 0x000000020000-0x000000fe0000 : "linux"
[    0.456000] device: 'mtd5': device_add
[    0.456000] device: 'mtd5ro': device_add
[    0.456000] device: '31:5': device_add
[    0.460000] device: 'mtdblock5': device_add
[    0.460000] driver: 'physmap-flash.0': driver_bound: bound to device 'physmap-flash'
[    0.460000] bus: 'platform': really_probe: bound device physmap-flash.0 to driver physmap-flash
[    0.460000] bus: 'spi': add driver m25p80
[    0.460000] bus: 'platform': add driver bcm63xx-hsspi
[    0.460000] bus: 'platform': add driver spi_gpio
[    0.464000] bus: 'mdio_bus': add driver Broadcom BCM63XX (1)
[    0.464000] bus: 'mdio_bus': add driver Broadcom BCM63XX (2)
[    0.464000] bus: 'platform': add driver bcm63xx_enet_shared
[    0.464000] bus: 'platform': driver_probe_device: matched device bcm63xx_enet_shared.0 with driver bcm63xx_enet_shared
[    0.464000] bus: 'platform': really_probe: probing driver bcm63xx_enet_shared with device bcm63xx_enet_shared.0
[    0.464000] driver: 'bcm63xx_enet_shared.0': driver_bound: bound to device 'bcm63xx_enet_shared'
[    0.464000] bus: 'platform': really_probe: bound device bcm63xx_enet_shared.0 to driver bcm63xx_enet_shared
[    0.464000] bus: 'platform': add driver bcm63xx_enet
[    0.464000] bus: 'platform': driver_probe_device: matched device bcm63xx_enet.1 with driver bcm63xx_enet
[    0.464000] bus: 'platform': really_probe: probing driver bcm63xx_enet with device bcm63xx_enet.1
[    0.464000] device: 'eth0': device_add
[    0.468000] driver: 'bcm63xx_enet.1': driver_bound: bound to device 'bcm63xx_enet'
[    0.468000] bus: 'platform': really_probe: bound device bcm63xx_enet.1 to driver bcm63xx_enet
[    0.468000] bus: 'platform': add driver bcm63xx_enetsw
[    0.472000] bus: 'platform': add driver bcm63xx-wdt
[    0.472000] bus: 'platform': driver_probe_device: matched device bcm63xx-wdt with driver bcm63xx-wdt
[    0.472000] bus: 'platform': really_probe: probing driver bcm63xx-wdt with device bcm63xx-wdt
[    0.472000] device: 'watchdog': device_add
[    0.472000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.476000] driver: 'bcm63xx-wdt': driver_bound: bound to device 'bcm63xx-wdt'
[    0.476000] bus: 'platform': really_probe: bound device bcm63xx-wdt to driver bcm63xx-wdt
[    0.480000] bus: 'platform': add driver leds-gpio
[    0.480000] bus: 'platform': driver_probe_device: matched device leds-gpio.0 with driver leds-gpio
[    0.480000] bus: 'platform': really_probe: probing driver leds-gpio with device leds-gpio.0
[    0.480000] device: 'message': device_add
[    0.480000] Registered led device: message
[    0.480000] device: 'hspa': device_add
[    0.480000] Registered led device: hspa
[    0.480000] device: 'dsl': device_add
[    0.480000] Registered led device: dsl
[    0.480000] device: 'power': device_add
[    0.484000] Registered led device: power
[    0.484000] device: 'all_leds': device_add
[    0.484000] Registered led device: all_leds
[    0.484000] driver: 'leds-gpio.0': driver_bound: bound to device 'leds-gpio'
[    0.484000] bus: 'platform': really_probe: bound device leds-gpio.0 to driver leds-gpio
[    0.484000] TCP cubic registered
[    0.488000] NET: Registered protocol family 17
[    0.492000] 8021q: 802.1Q VLAN Support v1.8
[    0.504000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.516000] Freeing unused kernel memory: 196k freed
[    3.308000] eth0: link forced UP - 100/full - flow control off/off
[    3.488000] roboswitch: Probing device eth0: found a 5325! It's a 5350.
[    4.556000] There is already a switch registered on the device 'eth0'
[    5.804000] device class 'input': registering
[    6.024000] Button Hotplug driver version 0.4.1
[   13.580000] Compat-wireless backport release: compat-wireless-2012-06-14
[   13.588000] Backport based on wireless-testing.git master-2012-06-14
[   13.596000] compat.git: wireless-testing.git
[   13.656000] device class 'ieee80211': registering
[   13.656000] Registering platform device 'regulatory.0'. Parent at platform
[   13.656000] device: 'regulatory.0': device_add
[   13.656000] bus: 'platform': add device regulatory.0
[   13.660000] cfg80211: Calling CRDA to update world regulatory domain
[   13.664000] cfg80211: World regulatory domain updated:
[   13.672000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   13.680000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.688000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.696000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.704000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.712000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.340000] device class 'scsi_host': registering
[   14.340000] bus: 'scsi': registered
[   14.340000] device class 'scsi_device': registering
[   14.340000] SCSI subsystem initialized
[   14.428000] There is already a switch registered on the device 'eth0'
[   14.784000] bus: 'usb': registered
[   14.784000] bus: 'usb': add driver usbfs
[   14.784000] usbcore: registered new interface driver usbfs
[   14.788000] bus: 'usb': add driver hub
[   14.788000] usbcore: registered new interface driver hub
[   14.796000] bus: 'usb': add driver usb
[   14.796000] usbcore: registered new device driver usb
[   15.404000] bus: 'pci': add driver rt2800pci
[   15.404000] bus: 'pci': driver_probe_device: matched device 0000:00:01.0 with driver rt2800pci
[   15.404000] bus: 'pci': really_probe: probing driver rt2800pci with device 0000:00:01.0
[   15.404000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[   15.408000] rt2800pci 0000:00:01.0: enabling bus mastering
[   15.412000] rt2800pci 0000:00:01.0: setting latency timer to 64
[   15.412000] phy0 -> rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'RT3062.eeprom'.
[   15.420000] rt2800pci 0000:00:01.0: firmware: requesting RT3062.eeprom
[   15.420000] device: '0000:00:01.0': device_add
[   15.600000] device: '0000:00:01.0': device_unregister
[   15.600000] phy0 -> rt2x00_set_chip: Info - Chipset detected - rt: 3572, rf: 0008, rev: 0223.
[   15.608000] device: 'phy0': device_add
[   15.612000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   15.612000] device: 'wlan0': device_add
[   15.612000] device: 'rt2800pci-phy0::radio': device_add
[   15.612000] Registered led device: rt2800pci-phy0::radio
[   15.612000] device: 'rt2800pci-phy0::assoc': device_add
[   15.612000] Registered led device: rt2800pci-phy0::assoc
[   15.612000] device: 'rt2800pci-phy0::quality': device_add
[   15.612000] Registered led device: rt2800pci-phy0::quality
[   15.612000] driver: '0000:00:01.0': driver_bound: bound to device 'rt2800pci'
[   15.612000] bus: 'pci': really_probe: bound device 0000:00:01.0 to driver rt2800pci
[   15.800000] bus: 'bcma': registered
[   15.800000] bus: 'pci': add driver bcma-pci-bridge
[   16.500000] device class 'sound': registering
[   17.008000] device: 'timer': device_add
[   17.476000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   17.912000] device class 'scsi_disk': registering
[   17.912000] bus: 'scsi': add driver sd
[   17.952000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   17.956000] bus: 'platform': add driver bcm63xx_ehci
[   17.956000] bus: 'platform': driver_probe_device: matched device bcm63xx_ehci.0 with driver bcm63xx_ehci
[   17.956000] bus: 'platform': really_probe: probing driver bcm63xx_ehci with device bcm63xx_ehci.0
[   18.060000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[   18.064000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[   18.100000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
[   18.116000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[   18.124000] device: 'usb1': device_add
[   18.124000] bus: 'usb': add device usb1
[   18.124000] bus: 'usb': driver_probe_device: matched device usb1 with driver usb
[   18.124000] bus: 'usb': really_probe: probing driver usb with device usb1
[   18.124000] device: '1-0:1.0': device_add
[   18.124000] bus: 'usb': add device 1-0:1.0
[   18.124000] bus: 'usb': driver_probe_device: matched device 1-0:1.0 with driver hub
[   18.124000] bus: 'usb': really_probe: probing driver hub with device 1-0:1.0
[   18.124000] hub 1-0:1.0: USB hub found
[   18.128000] hub 1-0:1.0: 2 ports detected
[   18.132000] driver: '1-0:1.0': driver_bound: bound to device 'hub'
[   18.132000] bus: 'usb': really_probe: bound device 1-0:1.0 to driver hub
[   18.132000] device: 'ep_81': device_add
[   18.132000] driver: 'usb1': driver_bound: bound to device 'usb'
[   18.132000] bus: 'usb': really_probe: bound device usb1 to driver usb
[   18.132000] device: 'ep_00': device_add
[   18.132000] driver: 'bcm63xx_ehci.0': driver_bound: bound to device 'bcm63xx_ehci'
[   18.132000] bus: 'platform': really_probe: bound device bcm63xx_ehci.0 to driver bcm63xx_ehci
[   18.132000] bus: 'pci': add driver ehci_hcd
[   18.328000] nf_conntrack version 0.5.0 (970 buckets, 3880 max)
[   19.028000] bus: 'i2c': registered
[   19.028000] bus: 'i2c': add driver dummy
[   19.060000] i2c /dev entries driver
[   19.064000] device class 'i2c-dev': registering
[   19.240000] bus: 'usb': add driver cdc_acm
[   19.240000] usbcore: registered new interface driver cdc_acm
[   19.244000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   19.488000] bus: 'usb': add driver snd-usb-audio
[   19.488000] usbcore: registered new interface driver snd-usb-audio
[   19.628000] Initializing USB Mass Storage driver...
[   19.632000] bus: 'usb': add driver usb-storage
[   19.632000] usbcore: registered new interface driver usb-storage
[   19.640000] USB Mass Storage support registered.
[   19.824000] Linux video capture interface: v2.00
[   19.828000] device class 'video4linux': registering
[   20.188000] bus: 'platform': add driver gpio-keys-polled
[   20.188000] bus: 'platform': driver_probe_device: matched device gpio-keys-polled.0 with driver gpio-keys-polled
[   20.188000] bus: 'platform': really_probe: probing driver gpio-keys-polled with device gpio-keys-polled.0
[   20.188000] device: 'input0': device_add
[   20.188000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   20.196000] driver: 'gpio-keys-polled.0': driver_bound: bound to device 'gpio-keys-polled'
[   20.196000] bus: 'platform': really_probe: bound device gpio-keys-polled.0 to driver gpio-keys-polled
[   20.332000] bus: 'usb': add driver uvcvideo
[   20.332000] usbcore: registered new interface driver uvcvideo
[   20.340000] USB Video Class driver (1.1.1)
[   26.572000] device: 'br-lan': device_add
[   26.576000] eth0: link forced UP - 100/full - flow control off/off
[   26.584000] device eth0 entered promiscuous mode
[   26.592000] br-lan: port 1(eth0) entered forwarding state
[   26.596000] br-lan: port 1(eth0) entered forwarding state
[   28.600000] br-lan: port 1(eth0) entered forwarding state
[   50.692000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   50.708000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   50.712000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[  125.200000] JFFS2 notice: (1165) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[  163.272000] device: 'tmp.radio0': device_add
[  163.292000] device: 'tmp.radio0': device_add
[  167.340000] device: 'tmp.radio0': device_add
[  167.360000] device: 'tmp.radio0': device_add
[  173.760000] device: 'tmp.radio0': device_add
[  173.784000] device: 'tmp.radio0': device_add
[  178.592000] device: 'tmp.radio0': device_add
[  178.612000] device: 'tmp.radio0': device_add
[  182.420000] device: 'tmp.radio0': device_add
[  184.772000] device: 'tmp.radio0': device_add
[  184.804000] device: 'tmp.radio0': device_add
[  188.116000] device: 'tmp.radio0': device_add
[  188.128000] device: 'tmp.radio0': device_add
[  193.484000] device: 'tmp.radio0': device_add
[  193.520000] device: 'tmp.radio0': device_add
[  194.592000] device: 'tmp.radio0': device_add
[  198.304000] device: 'tmp.radio0': device_add
[  198.332000] device: 'tmp.radio0': device_add
[  198.360000] device: 'wlan0': device_add
[  199.696000] phy0 -> rt2x00lib_request_firmware: Info - Loading firmware file 'rt2860.bin'.
[  199.704000] rt2800pci 0000:00:01.0: firmware: requesting rt2860.bin
[  199.704000] device: '0000:00:01.0': device_add
[  199.932000] device: '0000:00:01.0': device_unregister
[  199.932000] phy0 -> rt2x00lib_request_firmware: Info - Firmware detected - version: 0.34.
[  200.092000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  200.104000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  200.112000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  200.124000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  200.172000] device wlan0 entered promiscuous mode
[  200.332000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 3, CWmax: 4, Aifs: 2, TXop: 102.
[  200.344000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 5, Aifs: 2, TXop: 188.
[  200.352000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 5, CWmax: 10, Aifs: 3, TXop: 0.
[  200.364000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 5, CWmax: 10, Aifs: 7, TXop: 0.
[  200.440000] br-lan: port 2(wlan0) entered forwarding state
[  200.444000] br-lan: port 2(wlan0) entered forwarding state
[  200.460000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 2, CWmax: 3, Aifs: 1, TXop: 47.
[  200.496000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 3, CWmax: 4, Aifs: 1, TXop: 94.
[  200.520000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 6, Aifs: 3, TXop: 0.
[  200.544000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 7, TXop: 0.
[  202.448000] br-lan: port 2(wlan0) entered forwarding state

[/spoiler]

A todo esto, ¿alguien podría decirme el color de cada uno de los LEDs?

message -> ?
hspa -> ?
dsl -> ?
power -> ?

El GPIO 6 que danitool definió como "all" imagino que enciende todos los LEDs...

Todos los leds son rojos (o eso creo), yo solo veo encendido el de power y el de wifi cuando está el wifi activado, pero cuando dejo pulsado el botón reset se encienden todos y todos son rojos.

No se si es eso lo que estas preguntando o te refieres a otra cosa.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 09-07-2012, 22:43 (Lunes)
Perfecto, posteando desde el Ralink!

Parece que tiene "menos potencia wifi", que el Atheros.

A ver si estos días le doy más pruebas, y pruebo el modo cliente transparente, que no funcionaba en Atheros (relayd).

Gracias a todos por el currele!


Ahora arreglar la detección de mac, y router perfecto!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: gmtii en 09-07-2012, 22:51 (Lunes)
muchas gracias por las pruebas!

La diferencia es que el primero suponía que el chip RF era un RF3020 0x5 que es un 1TR1, y ahora un 0x8  RF3022 que es 2T2R, en resumen, que usa 2 canales y coge los 300 mbps  ;D

He hablado con Noltari que se ha currado la parte dura con su parche para integrar el soporte del Ralink  y tener un firmware único para todos los modelos de HG556  >:(

 

estupendo... te rogaría que probaras esta otra compilación. Si te funciona, pongo la detección automática de MAC y el led wifi y listo.

http://www.mediafire.com/download.php?rz6m8ul0kcsmlzm (http://www.mediafire.com/download.php?rz6m8ul0kcsmlzm)

Saludos!

buenas,

tool, podrías probar esta otra compilación por favor?

http://www.mediafire.com/?bi29rp33b1tb4d6

Gracias.

Le he dado a escanear, pero no encuentra ninguna wifi. Ni creando un AP.

Hola a todos, hace unos días que estoy trasteando con openwrt y hoy me he agenciado de un cacharro de estos con ralink.

He probado esta compilación y furula correctamente tanto en modo cliente como AP, creo que has dado en el clavo, felicidades.

No tengo cable de serie pero puedo dejar un dmesg por si sirve de algo.

[spoiler=root@OpenWrt:~# dmesg]
add
[    0.408000] device: 'mtdblock1': device_add
[    0.408000] 0x000000120000-0x000000fe0000 : "rootfs"
[    0.412000] device: 'mtd2': device_add
[    0.412000] device: 'mtd2ro': device_add
[    0.416000] device: '31:2': device_add
[    0.416000] device: 'mtdblock2': device_add
[    0.416000] mtd: partition "rootfs" set to be root filesystem
[    0.424000] mtd: partition "rootfs_data" created automatically, ofs=340000, len=CA0000
[    0.432000] 0x000000340000-0x000000fe0000 : "rootfs_data"
[    0.436000] device: 'mtd3': device_add
[    0.436000] device: 'mtd3ro': device_add
[    0.440000] device: '31:3': device_add
[    0.440000] device: 'mtdblock3': device_add
[    0.440000] 0x000000fe0000-0x000001000000 : "nvram"
[    0.448000] device: 'mtd4': device_add
[    0.448000] device: 'mtd4ro': device_add
[    0.448000] device: '31:4': device_add
[    0.448000] device: 'mtdblock4': device_add
[    0.452000] 0x000000020000-0x000000fe0000 : "linux"
[    0.456000] device: 'mtd5': device_add
[    0.456000] device: 'mtd5ro': device_add
[    0.456000] device: '31:5': device_add
[    0.460000] device: 'mtdblock5': device_add
[    0.460000] driver: 'physmap-flash.0': driver_bound: bound to device 'physmap-flash'
[    0.460000] bus: 'platform': really_probe: bound device physmap-flash.0 to driver physmap-flash
[    0.460000] bus: 'spi': add driver m25p80
[    0.460000] bus: 'platform': add driver bcm63xx-hsspi
[    0.460000] bus: 'platform': add driver spi_gpio
[    0.464000] bus: 'mdio_bus': add driver Broadcom BCM63XX (1)
[    0.464000] bus: 'mdio_bus': add driver Broadcom BCM63XX (2)
[    0.464000] bus: 'platform': add driver bcm63xx_enet_shared
[    0.464000] bus: 'platform': driver_probe_device: matched device bcm63xx_enet_shared.0 with driver bcm63xx_enet_shared
[    0.464000] bus: 'platform': really_probe: probing driver bcm63xx_enet_shared with device bcm63xx_enet_shared.0
[    0.464000] driver: 'bcm63xx_enet_shared.0': driver_bound: bound to device 'bcm63xx_enet_shared'
[    0.464000] bus: 'platform': really_probe: bound device bcm63xx_enet_shared.0 to driver bcm63xx_enet_shared
[    0.464000] bus: 'platform': add driver bcm63xx_enet
[    0.464000] bus: 'platform': driver_probe_device: matched device bcm63xx_enet.1 with driver bcm63xx_enet
[    0.464000] bus: 'platform': really_probe: probing driver bcm63xx_enet with device bcm63xx_enet.1
[    0.464000] device: 'eth0': device_add
[    0.468000] driver: 'bcm63xx_enet.1': driver_bound: bound to device 'bcm63xx_enet'
[    0.468000] bus: 'platform': really_probe: bound device bcm63xx_enet.1 to driver bcm63xx_enet
[    0.468000] bus: 'platform': add driver bcm63xx_enetsw
[    0.472000] bus: 'platform': add driver bcm63xx-wdt
[    0.472000] bus: 'platform': driver_probe_device: matched device bcm63xx-wdt with driver bcm63xx-wdt
[    0.472000] bus: 'platform': really_probe: probing driver bcm63xx-wdt with device bcm63xx-wdt
[    0.472000] device: 'watchdog': device_add
[    0.472000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.476000] driver: 'bcm63xx-wdt': driver_bound: bound to device 'bcm63xx-wdt'
[    0.476000] bus: 'platform': really_probe: bound device bcm63xx-wdt to driver bcm63xx-wdt
[    0.480000] bus: 'platform': add driver leds-gpio
[    0.480000] bus: 'platform': driver_probe_device: matched device leds-gpio.0 with driver leds-gpio
[    0.480000] bus: 'platform': really_probe: probing driver leds-gpio with device leds-gpio.0
[    0.480000] device: 'message': device_add
[    0.480000] Registered led device: message
[    0.480000] device: 'hspa': device_add
[    0.480000] Registered led device: hspa
[    0.480000] device: 'dsl': device_add
[    0.480000] Registered led device: dsl
[    0.480000] device: 'power': device_add
[    0.484000] Registered led device: power
[    0.484000] device: 'all_leds': device_add
[    0.484000] Registered led device: all_leds
[    0.484000] driver: 'leds-gpio.0': driver_bound: bound to device 'leds-gpio'
[    0.484000] bus: 'platform': really_probe: bound device leds-gpio.0 to driver leds-gpio
[    0.484000] TCP cubic registered
[    0.488000] NET: Registered protocol family 17
[    0.492000] 8021q: 802.1Q VLAN Support v1.8
[    0.504000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.516000] Freeing unused kernel memory: 196k freed
[    3.316000] eth0: link forced UP - 100/full - flow control off/off
[    3.492000] roboswitch: Probing device eth0: found a 5325! It's a 5350.
[    4.560000] There is already a switch registered on the device 'eth0'
[    5.808000] device class 'input': registering
[    6.032000] Button Hotplug driver version 0.4.1
[   13.584000] Compat-wireless backport release: compat-wireless-2012-06-14
[   13.592000] Backport based on wireless-testing.git master-2012-06-14
[   13.596000] compat.git: wireless-testing.git
[   13.660000] device class 'ieee80211': registering
[   13.660000] Registering platform device 'regulatory.0'. Parent at platform
[   13.660000] device: 'regulatory.0': device_add
[   13.660000] bus: 'platform': add device regulatory.0
[   13.664000] cfg80211: Calling CRDA to update world regulatory domain
[   13.668000] cfg80211: World regulatory domain updated:
[   13.676000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   13.684000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.692000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.700000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.708000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.716000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.340000] device class 'scsi_host': registering
[   14.344000] bus: 'scsi': registered
[   14.344000] device class 'scsi_device': registering
[   14.344000] SCSI subsystem initialized
[   14.432000] There is already a switch registered on the device 'eth0'
[   14.784000] bus: 'usb': registered
[   14.784000] bus: 'usb': add driver usbfs
[   14.784000] usbcore: registered new interface driver usbfs
[   14.792000] bus: 'usb': add driver hub
[   14.792000] usbcore: registered new interface driver hub
[   14.800000] bus: 'usb': add driver usb
[   14.800000] usbcore: registered new device driver usb
[   15.404000] bus: 'pci': add driver rt2800pci
[   15.404000] bus: 'pci': driver_probe_device: matched device 0000:00:01.0 with driver rt2800pci
[   15.404000] bus: 'pci': really_probe: probing driver rt2800pci with device 0000:00:01.0
[   15.404000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[   15.408000] rt2800pci 0000:00:01.0: enabling bus mastering
[   15.408000] rt2800pci 0000:00:01.0: setting latency timer to 64
[   15.412000] phy0 -> rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'RT3062.eeprom'.
[   15.420000] rt2800pci 0000:00:01.0: firmware: requesting RT3062.eeprom
[   15.420000] device: '0000:00:01.0': device_add
[   15.600000] device: '0000:00:01.0': device_unregister
[   15.600000] phy0 -> rt2x00_set_chip: Info - Chipset detected - rt: 3572, rf: 0005, rev: 0223.
[   15.608000] device: 'phy0': device_add
[   15.608000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   15.612000] device: 'wlan0': device_add
[   15.612000] device: 'rt2800pci-phy0::radio': device_add
[   15.612000] Registered led device: rt2800pci-phy0::radio
[   15.612000] device: 'rt2800pci-phy0::assoc': device_add
[   15.612000] Registered led device: rt2800pci-phy0::assoc
[   15.612000] device: 'rt2800pci-phy0::quality': device_add
[   15.612000] Registered led device: rt2800pci-phy0::quality
[   15.612000] driver: '0000:00:01.0': driver_bound: bound to device 'rt2800pci'
[   15.612000] bus: 'pci': really_probe: bound device 0000:00:01.0 to driver rt2800pci
[   15.800000] bus: 'bcma': registered
[   15.800000] bus: 'pci': add driver bcma-pci-bridge
[   16.500000] device class 'sound': registering
[   17.008000] device: 'timer': device_add
[   17.476000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   17.908000] device class 'scsi_disk': registering
[   17.908000] bus: 'scsi': add driver sd
[   17.948000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   17.956000] bus: 'platform': add driver bcm63xx_ehci
[   17.956000] bus: 'platform': driver_probe_device: matched device bcm63xx_ehci.0 with driver bcm63xx_ehci
[   17.956000] bus: 'platform': really_probe: probing driver bcm63xx_ehci with device bcm63xx_ehci.0
[   18.060000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[   18.064000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[   18.100000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
[   18.116000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[   18.124000] device: 'usb1': device_add
[   18.124000] bus: 'usb': add device usb1
[   18.124000] bus: 'usb': driver_probe_device: matched device usb1 with driver usb
[   18.124000] bus: 'usb': really_probe: probing driver usb with device usb1
[   18.124000] device: '1-0:1.0': device_add
[   18.124000] bus: 'usb': add device 1-0:1.0
[   18.124000] bus: 'usb': driver_probe_device: matched device 1-0:1.0 with driver hub
[   18.124000] bus: 'usb': really_probe: probing driver hub with device 1-0:1.0
[   18.124000] hub 1-0:1.0: USB hub found
[   18.128000] hub 1-0:1.0: 2 ports detected
[   18.132000] driver: '1-0:1.0': driver_bound: bound to device 'hub'
[   18.132000] bus: 'usb': really_probe: bound device 1-0:1.0 to driver hub
[   18.132000] device: 'ep_81': device_add
[   18.132000] driver: 'usb1': driver_bound: bound to device 'usb'
[   18.132000] bus: 'usb': really_probe: bound device usb1 to driver usb
[   18.132000] device: 'ep_00': device_add
[   18.132000] driver: 'bcm63xx_ehci.0': driver_bound: bound to device 'bcm63xx_ehci'
[   18.132000] bus: 'platform': really_probe: bound device bcm63xx_ehci.0 to driver bcm63xx_ehci
[   18.132000] bus: 'pci': add driver ehci_hcd
[   18.328000] nf_conntrack version 0.5.0 (970 buckets, 3880 max)
[   19.032000] bus: 'i2c': registered
[   19.032000] bus: 'i2c': add driver dummy
[   19.064000] i2c /dev entries driver
[   19.064000] device class 'i2c-dev': registering
[   19.240000] bus: 'usb': add driver cdc_acm
[   19.240000] usbcore: registered new interface driver cdc_acm
[   19.244000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   19.488000] bus: 'usb': add driver snd-usb-audio
[   19.488000] usbcore: registered new interface driver snd-usb-audio
[   19.628000] Initializing USB Mass Storage driver...
[   19.632000] bus: 'usb': add driver usb-storage
[   19.632000] usbcore: registered new interface driver usb-storage
[   19.636000] USB Mass Storage support registered.
[   19.824000] Linux video capture interface: v2.00
[   19.828000] device class 'video4linux': registering
[   20.184000] bus: 'platform': add driver gpio-keys-polled
[   20.188000] bus: 'platform': driver_probe_device: matched device gpio-keys-polled.0 with driver gpio-keys-polled
[   20.188000] bus: 'platform': really_probe: probing driver gpio-keys-polled with device gpio-keys-polled.0
[   20.188000] device: 'input0': device_add
[   20.188000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   20.196000] driver: 'gpio-keys-polled.0': driver_bound: bound to device 'gpio-keys-polled'
[   20.196000] bus: 'platform': really_probe: bound device gpio-keys-polled.0 to driver gpio-keys-polled
[   20.332000] bus: 'usb': add driver uvcvideo
[   20.332000] usbcore: registered new interface driver uvcvideo
[   20.336000] USB Video Class driver (1.1.1)
[   26.580000] device: 'br-lan': device_add
[   26.580000] eth0: link forced UP - 100/full - flow control off/off
[   26.596000] device eth0 entered promiscuous mode
[   26.604000] br-lan: port 1(eth0) entered forwarding state
[   26.608000] br-lan: port 1(eth0) entered forwarding state
[   28.612000] br-lan: port 1(eth0) entered forwarding state
[   50.968000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   50.984000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   50.988000] jffs2_build_filesystem(): erasing all blocks after the end marker...
[   79.668000] device: 'tmp.radio0': device_add
[   79.680000] device: 'tmp.radio0': device_add
[   85.568000] device: 'tmp.radio0': device_add
[   85.592000] device: 'tmp.radio0': device_add
[  127.040000] done.
[  127.044000] JFFS2 notice: (1161) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[  155.732000] device: 'tmp.radio0': device_add
[  155.752000] device: 'tmp.radio0': device_add
[  160.692000] device: 'tmp.radio0': device_add
[  160.716000] device: 'tmp.radio0': device_add
[  166.860000] device: 'tmp.radio0': device_add
[  166.884000] device: 'tmp.radio0': device_add
[  176.560000] device: 'tmp.radio0': device_add
[  176.580000] device: 'tmp.radio0': device_add
[  181.476000] device: 'tmp.radio0': device_add
[  181.500000] device: 'tmp.radio0': device_add
[  184.696000] device: 'tmp.radio0': device_add
[  188.464000] device: 'tmp.radio0': device_add
[  188.492000] device: 'tmp.radio0': device_add
[  190.648000] device: 'tmp.radio0': device_add
[  190.668000] device: 'tmp.radio0': device_add
[  195.380000] device: 'tmp.radio0': device_add
[  195.412000] device: 'tmp.radio0': device_add
[  197.024000] device: 'tmp.radio0': device_add
[  200.384000] device: 'tmp.radio0': device_add
[  200.408000] device: 'tmp.radio0': device_add
[  200.964000] device: 'wlan0': device_add
[  202.148000] phy0 -> rt2x00lib_request_firmware: Info - Loading firmware file 'rt2860.bin'.
[  202.156000] rt2800pci 0000:00:01.0: firmware: requesting rt2860.bin
[  202.156000] device: '0000:00:01.0': device_add
[  202.380000] device: '0000:00:01.0': device_unregister
[  202.380000] phy0 -> rt2x00lib_request_firmware: Info - Firmware detected - version: 0.34.
[  205.636000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  205.648000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  205.656000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  205.668000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  205.724000] device wlan0 entered promiscuous mode
[  208.972000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 3, CWmax: 4, Aifs: 2, TXop: 102.
[  208.984000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 5, Aifs: 2, TXop: 188.
[  208.992000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 5, CWmax: 10, Aifs: 3, TXop: 0.
[  209.004000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 5, CWmax: 10, Aifs: 7, TXop: 0.
[  209.112000] br-lan: port 2(wlan0) entered forwarding state
[  209.116000] br-lan: port 2(wlan0) entered forwarding state
[  209.140000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 2, CWmax: 3, Aifs: 1, TXop: 47.
[  209.164000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 3, CWmax: 4, Aifs: 1, TXop: 94.
[  209.196000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 6, Aifs: 3, TXop: 0.
[  209.216000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 7, TXop: 0.
[  211.120000] br-lan: port 2(wlan0) entered forwarding state

[/spoiler]

Si hace falta que haga mas pruebas estoy disponible.

Probado y funcionando OK, nose que diferencia tiene con respecto al anterior porque funciona igual de bien, modo cliente y AP, eres un crack.

[spoiler=dmesg]
000] 0x000000020100-0x000000120000 : "kernel"
[    0.392000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.404000] device: 'mtd1': device_add
[    0.404000] device: 'mtd1ro': device_add
[    0.404000] device: '31:1': device_add
[    0.408000] device: 'mtdblock1': device_add
[    0.408000] 0x000000120000-0x000000fe0000 : "rootfs"
[    0.412000] device: 'mtd2': device_add
[    0.412000] device: 'mtd2ro': device_add
[    0.416000] device: '31:2': device_add
[    0.416000] device: 'mtdblock2': device_add
[    0.416000] mtd: partition "rootfs" set to be root filesystem
[    0.424000] mtd: partition "rootfs_data" created automatically, ofs=340000, len=CA0000
[    0.432000] 0x000000340000-0x000000fe0000 : "rootfs_data"
[    0.436000] device: 'mtd3': device_add
[    0.436000] device: 'mtd3ro': device_add
[    0.440000] device: '31:3': device_add
[    0.440000] device: 'mtdblock3': device_add
[    0.440000] 0x000000fe0000-0x000001000000 : "nvram"
[    0.448000] device: 'mtd4': device_add
[    0.448000] device: 'mtd4ro': device_add
[    0.448000] device: '31:4': device_add
[    0.448000] device: 'mtdblock4': device_add
[    0.452000] 0x000000020000-0x000000fe0000 : "linux"
[    0.456000] device: 'mtd5': device_add
[    0.456000] device: 'mtd5ro': device_add
[    0.456000] device: '31:5': device_add
[    0.460000] device: 'mtdblock5': device_add
[    0.460000] driver: 'physmap-flash.0': driver_bound: bound to device 'physmap-flash'
[    0.460000] bus: 'platform': really_probe: bound device physmap-flash.0 to driver physmap-flash
[    0.460000] bus: 'spi': add driver m25p80
[    0.460000] bus: 'platform': add driver bcm63xx-hsspi
[    0.460000] bus: 'platform': add driver spi_gpio
[    0.464000] bus: 'mdio_bus': add driver Broadcom BCM63XX (1)
[    0.464000] bus: 'mdio_bus': add driver Broadcom BCM63XX (2)
[    0.464000] bus: 'platform': add driver bcm63xx_enet_shared
[    0.464000] bus: 'platform': driver_probe_device: matched device bcm63xx_enet_shared.0 with driver bcm63xx_enet_shared
[    0.464000] bus: 'platform': really_probe: probing driver bcm63xx_enet_shared with device bcm63xx_enet_shared.0
[    0.464000] driver: 'bcm63xx_enet_shared.0': driver_bound: bound to device 'bcm63xx_enet_shared'
[    0.464000] bus: 'platform': really_probe: bound device bcm63xx_enet_shared.0 to driver bcm63xx_enet_shared
[    0.464000] bus: 'platform': add driver bcm63xx_enet
[    0.464000] bus: 'platform': driver_probe_device: matched device bcm63xx_enet.1 with driver bcm63xx_enet
[    0.464000] bus: 'platform': really_probe: probing driver bcm63xx_enet with device bcm63xx_enet.1
[    0.464000] device: 'eth0': device_add
[    0.468000] driver: 'bcm63xx_enet.1': driver_bound: bound to device 'bcm63xx_enet'
[    0.468000] bus: 'platform': really_probe: bound device bcm63xx_enet.1 to driver bcm63xx_enet
[    0.468000] bus: 'platform': add driver bcm63xx_enetsw
[    0.472000] bus: 'platform': add driver bcm63xx-wdt
[    0.472000] bus: 'platform': driver_probe_device: matched device bcm63xx-wdt with driver bcm63xx-wdt
[    0.472000] bus: 'platform': really_probe: probing driver bcm63xx-wdt with device bcm63xx-wdt
[    0.472000] device: 'watchdog': device_add
[    0.472000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.476000] driver: 'bcm63xx-wdt': driver_bound: bound to device 'bcm63xx-wdt'
[    0.476000] bus: 'platform': really_probe: bound device bcm63xx-wdt to driver bcm63xx-wdt
[    0.480000] bus: 'platform': add driver leds-gpio
[    0.480000] bus: 'platform': driver_probe_device: matched device leds-gpio.0 with driver leds-gpio
[    0.480000] bus: 'platform': really_probe: probing driver leds-gpio with device leds-gpio.0
[    0.480000] device: 'message': device_add
[    0.480000] Registered led device: message
[    0.480000] device: 'hspa': device_add
[    0.480000] Registered led device: hspa
[    0.480000] device: 'dsl': device_add
[    0.480000] Registered led device: dsl
[    0.480000] device: 'power': device_add
[    0.484000] Registered led device: power
[    0.484000] device: 'all_leds': device_add
[    0.484000] Registered led device: all_leds
[    0.484000] driver: 'leds-gpio.0': driver_bound: bound to device 'leds-gpio'
[    0.484000] bus: 'platform': really_probe: bound device leds-gpio.0 to driver leds-gpio
[    0.484000] TCP cubic registered
[    0.488000] NET: Registered protocol family 17
[    0.492000] 8021q: 802.1Q VLAN Support v1.8
[    0.504000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.516000] Freeing unused kernel memory: 196k freed
[    3.308000] eth0: link forced UP - 100/full - flow control off/off
[    3.488000] roboswitch: Probing device eth0: found a 5325! It's a 5350.
[    4.556000] There is already a switch registered on the device 'eth0'
[    5.804000] device class 'input': registering
[    6.024000] Button Hotplug driver version 0.4.1
[   13.580000] Compat-wireless backport release: compat-wireless-2012-06-14
[   13.588000] Backport based on wireless-testing.git master-2012-06-14
[   13.596000] compat.git: wireless-testing.git
[   13.656000] device class 'ieee80211': registering
[   13.656000] Registering platform device 'regulatory.0'. Parent at platform
[   13.656000] device: 'regulatory.0': device_add
[   13.656000] bus: 'platform': add device regulatory.0
[   13.660000] cfg80211: Calling CRDA to update world regulatory domain
[   13.664000] cfg80211: World regulatory domain updated:
[   13.672000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   13.680000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.688000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.696000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.704000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.712000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.340000] device class 'scsi_host': registering
[   14.340000] bus: 'scsi': registered
[   14.340000] device class 'scsi_device': registering
[   14.340000] SCSI subsystem initialized
[   14.428000] There is already a switch registered on the device 'eth0'
[   14.784000] bus: 'usb': registered
[   14.784000] bus: 'usb': add driver usbfs
[   14.784000] usbcore: registered new interface driver usbfs
[   14.788000] bus: 'usb': add driver hub
[   14.788000] usbcore: registered new interface driver hub
[   14.796000] bus: 'usb': add driver usb
[   14.796000] usbcore: registered new device driver usb
[   15.404000] bus: 'pci': add driver rt2800pci
[   15.404000] bus: 'pci': driver_probe_device: matched device 0000:00:01.0 with driver rt2800pci
[   15.404000] bus: 'pci': really_probe: probing driver rt2800pci with device 0000:00:01.0
[   15.404000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[   15.408000] rt2800pci 0000:00:01.0: enabling bus mastering
[   15.412000] rt2800pci 0000:00:01.0: setting latency timer to 64
[   15.412000] phy0 -> rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'RT3062.eeprom'.
[   15.420000] rt2800pci 0000:00:01.0: firmware: requesting RT3062.eeprom
[   15.420000] device: '0000:00:01.0': device_add
[   15.600000] device: '0000:00:01.0': device_unregister
[   15.600000] phy0 -> rt2x00_set_chip: Info - Chipset detected - rt: 3572, rf: 0008, rev: 0223.
[   15.608000] device: 'phy0': device_add
[   15.612000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   15.612000] device: 'wlan0': device_add
[   15.612000] device: 'rt2800pci-phy0::radio': device_add
[   15.612000] Registered led device: rt2800pci-phy0::radio
[   15.612000] device: 'rt2800pci-phy0::assoc': device_add
[   15.612000] Registered led device: rt2800pci-phy0::assoc
[   15.612000] device: 'rt2800pci-phy0::quality': device_add
[   15.612000] Registered led device: rt2800pci-phy0::quality
[   15.612000] driver: '0000:00:01.0': driver_bound: bound to device 'rt2800pci'
[   15.612000] bus: 'pci': really_probe: bound device 0000:00:01.0 to driver rt2800pci
[   15.800000] bus: 'bcma': registered
[   15.800000] bus: 'pci': add driver bcma-pci-bridge
[   16.500000] device class 'sound': registering
[   17.008000] device: 'timer': device_add
[   17.476000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   17.912000] device class 'scsi_disk': registering
[   17.912000] bus: 'scsi': add driver sd
[   17.952000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   17.956000] bus: 'platform': add driver bcm63xx_ehci
[   17.956000] bus: 'platform': driver_probe_device: matched device bcm63xx_ehci.0 with driver bcm63xx_ehci
[   17.956000] bus: 'platform': really_probe: probing driver bcm63xx_ehci with device bcm63xx_ehci.0
[   18.060000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[   18.064000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[   18.100000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
[   18.116000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[   18.124000] device: 'usb1': device_add
[   18.124000] bus: 'usb': add device usb1
[   18.124000] bus: 'usb': driver_probe_device: matched device usb1 with driver usb
[   18.124000] bus: 'usb': really_probe: probing driver usb with device usb1
[   18.124000] device: '1-0:1.0': device_add
[   18.124000] bus: 'usb': add device 1-0:1.0
[   18.124000] bus: 'usb': driver_probe_device: matched device 1-0:1.0 with driver hub
[   18.124000] bus: 'usb': really_probe: probing driver hub with device 1-0:1.0
[   18.124000] hub 1-0:1.0: USB hub found
[   18.128000] hub 1-0:1.0: 2 ports detected
[   18.132000] driver: '1-0:1.0': driver_bound: bound to device 'hub'
[   18.132000] bus: 'usb': really_probe: bound device 1-0:1.0 to driver hub
[   18.132000] device: 'ep_81': device_add
[   18.132000] driver: 'usb1': driver_bound: bound to device 'usb'
[   18.132000] bus: 'usb': really_probe: bound device usb1 to driver usb
[   18.132000] device: 'ep_00': device_add
[   18.132000] driver: 'bcm63xx_ehci.0': driver_bound: bound to device 'bcm63xx_ehci'
[   18.132000] bus: 'platform': really_probe: bound device bcm63xx_ehci.0 to driver bcm63xx_ehci
[   18.132000] bus: 'pci': add driver ehci_hcd
[   18.328000] nf_conntrack version 0.5.0 (970 buckets, 3880 max)
[   19.028000] bus: 'i2c': registered
[   19.028000] bus: 'i2c': add driver dummy
[   19.060000] i2c /dev entries driver
[   19.064000] device class 'i2c-dev': registering
[   19.240000] bus: 'usb': add driver cdc_acm
[   19.240000] usbcore: registered new interface driver cdc_acm
[   19.244000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   19.488000] bus: 'usb': add driver snd-usb-audio
[   19.488000] usbcore: registered new interface driver snd-usb-audio
[   19.628000] Initializing USB Mass Storage driver...
[   19.632000] bus: 'usb': add driver usb-storage
[   19.632000] usbcore: registered new interface driver usb-storage
[   19.640000] USB Mass Storage support registered.
[   19.824000] Linux video capture interface: v2.00
[   19.828000] device class 'video4linux': registering
[   20.188000] bus: 'platform': add driver gpio-keys-polled
[   20.188000] bus: 'platform': driver_probe_device: matched device gpio-keys-polled.0 with driver gpio-keys-polled
[   20.188000] bus: 'platform': really_probe: probing driver gpio-keys-polled with device gpio-keys-polled.0
[   20.188000] device: 'input0': device_add
[   20.188000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   20.196000] driver: 'gpio-keys-polled.0': driver_bound: bound to device 'gpio-keys-polled'
[   20.196000] bus: 'platform': really_probe: bound device gpio-keys-polled.0 to driver gpio-keys-polled
[   20.332000] bus: 'usb': add driver uvcvideo
[   20.332000] usbcore: registered new interface driver uvcvideo
[   20.340000] USB Video Class driver (1.1.1)
[   26.572000] device: 'br-lan': device_add
[   26.576000] eth0: link forced UP - 100/full - flow control off/off
[   26.584000] device eth0 entered promiscuous mode
[   26.592000] br-lan: port 1(eth0) entered forwarding state
[   26.596000] br-lan: port 1(eth0) entered forwarding state
[   28.600000] br-lan: port 1(eth0) entered forwarding state
[   50.692000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   50.708000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   50.712000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[  125.200000] JFFS2 notice: (1165) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[  163.272000] device: 'tmp.radio0': device_add
[  163.292000] device: 'tmp.radio0': device_add
[  167.340000] device: 'tmp.radio0': device_add
[  167.360000] device: 'tmp.radio0': device_add
[  173.760000] device: 'tmp.radio0': device_add
[  173.784000] device: 'tmp.radio0': device_add
[  178.592000] device: 'tmp.radio0': device_add
[  178.612000] device: 'tmp.radio0': device_add
[  182.420000] device: 'tmp.radio0': device_add
[  184.772000] device: 'tmp.radio0': device_add
[  184.804000] device: 'tmp.radio0': device_add
[  188.116000] device: 'tmp.radio0': device_add
[  188.128000] device: 'tmp.radio0': device_add
[  193.484000] device: 'tmp.radio0': device_add
[  193.520000] device: 'tmp.radio0': device_add
[  194.592000] device: 'tmp.radio0': device_add
[  198.304000] device: 'tmp.radio0': device_add
[  198.332000] device: 'tmp.radio0': device_add
[  198.360000] device: 'wlan0': device_add
[  199.696000] phy0 -> rt2x00lib_request_firmware: Info - Loading firmware file 'rt2860.bin'.
[  199.704000] rt2800pci 0000:00:01.0: firmware: requesting rt2860.bin
[  199.704000] device: '0000:00:01.0': device_add
[  199.932000] device: '0000:00:01.0': device_unregister
[  199.932000] phy0 -> rt2x00lib_request_firmware: Info - Firmware detected - version: 0.34.
[  200.092000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  200.104000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  200.112000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  200.124000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  200.172000] device wlan0 entered promiscuous mode
[  200.332000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 3, CWmax: 4, Aifs: 2, TXop: 102.
[  200.344000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 5, Aifs: 2, TXop: 188.
[  200.352000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 5, CWmax: 10, Aifs: 3, TXop: 0.
[  200.364000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 5, CWmax: 10, Aifs: 7, TXop: 0.
[  200.440000] br-lan: port 2(wlan0) entered forwarding state
[  200.444000] br-lan: port 2(wlan0) entered forwarding state
[  200.460000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 2, CWmax: 3, Aifs: 1, TXop: 47.
[  200.496000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 3, CWmax: 4, Aifs: 1, TXop: 94.
[  200.520000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 6, Aifs: 3, TXop: 0.
[  200.544000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 7, TXop: 0.
[  202.448000] br-lan: port 2(wlan0) entered forwarding state

[/spoiler]

A todo esto, ¿alguien podría decirme el color de cada uno de los LEDs?

message -> ?
hspa -> ?
dsl -> ?
power -> ?

El GPIO 6 que danitool definió como "all" imagino que enciende todos los LEDs...

Todos los leds son rojos (o eso creo), yo solo veo encendido el de power y el de wifi cuando está el wifi activado, pero cuando dejo pulsado el botón reset se encienden todos y todos son rojos.

No se si es eso lo que estas preguntando o te refieres a otra cosa.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 09-07-2012, 23:58 (Lunes)
 >:(
Buenas noticias. He restaurado el router "sin wifi" con los datos de calibración de un segundo router hg556a. De momento parece que todo va bien. De hecho lo estoy usando para postear este mensaje. Lo único a destacar es que con el último firm de noltari no se podía porque daba un mensaje de "poco espacio disponible". Con el firm r29606 de danitool he podido restaurarlo con éxito.

Un saludo.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 10-07-2012, 00:01 (Martes)
>:(
Buenas noticias. He restaurado el router "sin wifi" con los datos de calibración de un segundo router hg556a. De momento parece que todo va bien. De hecho lo estoy usando para postear este mensaje. Lo único a destacar es que con el último firm de noltari no se podía porque daba un mensaje de "poco espacio disponible". Con el firm r29606 de danitool he podido restaurarlo con éxito.

Un saludo.
De **** madre tío!
Ya pensaba que por mi culpa te habías quedado sin WLAN :_(...

Puedes probar el último firmware en el "mártir" por favor y poner un bootlog?
https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_r32654.bin
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 10-07-2012, 00:22 (Martes)
De **** madre tío!
Ya pensaba que por mi culpa te habías quedado sin WLAN :_(...

Puedes probar el último firmware en el "mártir" por favor y poner un bootlog?
https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_r32654.bin
Acabo de probarle un firm original (el irlandés B025) y el paciente no se queja. Como curiosidad, mantiene el número de serie y la mac originales, pero el ssid es el mismo que el del router "donante".
Bueno, ahora mismo lo pruebo y te envío el bootlog por gmail.

EDITO: No reconoce el dispositivo wifi
  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 ATTITUDE ADJUSTMENT (Bleeding Edge, r32654)
 -----------------------------------------------------
  * 1/4 oz Vodka      Pour all ingredients into mixing
  * 1/4 oz Gin        tin with ice, strain into glass.
  * 1/4 oz Amaretto
  * 1/4 oz Triple sec
  * 1/4 oz Peach schnapps
  * 1/4 oz Sour mix
  * 1 splash Cranberry juice
 -----------------------------------------------------
root@OpenWrt:/# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

br-lan    no wireless extensions.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 10-07-2012, 00:52 (Martes)
De **** madre tío!
Ya pensaba que por mi culpa te habías quedado sin WLAN :_(...

Puedes probar el último firmware en el "mártir" por favor y poner un bootlog?
https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_r32654.bin
Acabo de probarle un firm original (el irlandés B025) y el paciente no se queja. Como curiosidad, mantiene el número de serie y la mac originales, pero el ssid es el mismo que el del router "donante".
Bueno, ahora mismo lo pruebo y te envío el bootlog por gmail.

EDITO: No reconoce el dispositivo wifi
 _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 ATTITUDE ADJUSTMENT (Bleeding Edge, r32654)
 -----------------------------------------------------
  * 1/4 oz Vodka      Pour all ingredients into mixing
  * 1/4 oz Gin        tin with ice, strain into glass.
  * 1/4 oz Amaretto
  * 1/4 oz Triple sec
  * 1/4 oz Peach schnapps
  * 1/4 oz Sour mix
  * 1 splash Cranberry juice
 -----------------------------------------------------
root@OpenWrt:/# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

br-lan    no wireless extensions.

Pensaba que la parte de la EEPROM del parche de danitool ya no hacía falta, pero no la está leyendo así que toca nuevo parche...

Podrías probar este firmware? (es decir, cuando tengas un rato, si es mañana, pues eso ;))
https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_r32654_EEPROM.bin

De todas formas, ya no debería haber peligro con los datos del wifi. Si vuelves al firmware de danitool imagino que tendrás wifi no?

EDIT: Simplemente comentarios sobre el bootlog.
Podemos ver que esta vez el fixup sí funciona, o sea que está detectando los datos de calibración del wifi:
Código: [Seleccionar]
[    0.192000] pci 0000:00:01.0: fixup device configuration
Esto es lo que falla ahora, no inicializa el dispositivo por la EEPROM, así que he añadido el parche que había descartado de danitool (1 sola línea).
Código: [Seleccionar]
[   14.904000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[   14.920000] ath: phy0: no band has been marked as supported in EEPROM
[   14.924000] ath: phy0: Unable to initialize hardware; initialization status:
-22
[   14.932000] ath9k 0000:00:01.0: Failed to initialize device
[   14.940000] ath9k: probe of 0000:00:01.0 failed with error -22
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 10-07-2012, 01:07 (Martes)
Funciona a 300mbps el Ralink!

Si alguno quiere backups de lo que sea, tengo 2 Ralink y 2 Atheros a vuestro servicio para cualquier prueba. A ver si esta semana me me insolo el rs232.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 10-07-2012, 11:27 (Martes)
Pensaba que la parte de la EEPROM del parche de danitool ya no hacía falta, pero no la está leyendo así que toca nuevo parche...

Podrías probar este firmware? (es decir, cuando tengas un rato, si es mañana, pues eso ;))
https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_r32654_EEPROM.bin

De todas formas, ya no debería haber peligro con los datos del wifi. Si vuelves al firmware de danitool imagino que tendrás wifi no?

EDIT: Simplemente comentarios sobre el bootlog.
Podemos ver que esta vez el fixup sí funciona, o sea que está detectando los datos de calibración del wifi:
Código: [Seleccionar]
[    0.192000] pci 0000:00:01.0: fixup device configuration
Esto es lo que falla ahora, no inicializa el dispositivo por la EEPROM, así que he añadido el parche que había descartado de danitool (1 sola línea).
Código: [Seleccionar]
[   14.904000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[   14.920000] ath: phy0: no band has been marked as supported in EEPROM
[   14.924000] ath: phy0: Unable to initialize hardware; initialization status:
-22
[   14.932000] ath9k 0000:00:01.0: Failed to initialize device
[   14.940000] ath9k: probe of 0000:00:01.0 failed with error -22

Esta tarde sigo con las pruebas. Primero le voy a poner un firm original, o el de danitool, para ver si sigue teniendo wifi. Después ya le pruebo el tuyo y te envío el bootlog.

Un saludo.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 10-07-2012, 12:01 (Martes)
Pensaba que la parte de la EEPROM del parche de danitool ya no hacía falta, pero no la está leyendo así que toca nuevo parche...

Podrías probar este firmware? (es decir, cuando tengas un rato, si es mañana, pues eso ;))
https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_r32654_EEPROM.bin

De todas formas, ya no debería haber peligro con los datos del wifi. Si vuelves al firmware de danitool imagino que tendrás wifi no?

EDIT: Simplemente comentarios sobre el bootlog.
Podemos ver que esta vez el fixup sí funciona, o sea que está detectando los datos de calibración del wifi:
Código: [Seleccionar]
[    0.192000] pci 0000:00:01.0: fixup device configuration
Esto es lo que falla ahora, no inicializa el dispositivo por la EEPROM, así que he añadido el parche que había descartado de danitool (1 sola línea).
Código: [Seleccionar]
[   14.904000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[   14.920000] ath: phy0: no band has been marked as supported in EEPROM
[   14.924000] ath: phy0: Unable to initialize hardware; initialization status:
-22
[   14.932000] ath9k 0000:00:01.0: Failed to initialize device
[   14.940000] ath9k: probe of 0000:00:01.0 failed with error -22

Esta tarde sigo con las pruebas. Primero le voy a poner un firm original, o el de danitool, para ver si sigue teniendo wifi. Después ya le pruebo el tuyo y te envío el bootlog.

Un saludo.
Me parece bien ese procedimiento :P, jar229 a lo mejor tiene algo de tiempo para hacer pruebas también.
Cualquier prueba que hagáis se pone por aquí y así el otro lo sabe ;).

Saludos!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 10-07-2012, 17:28 (Martes)
Perfecto, posteando desde el Ralink!

Parece que tiene "menos potencia wifi", que el Atheros.

A ver si estos días le doy más pruebas, y pruebo el modo cliente transparente, que no funcionaba en Atheros (relayd).

Gracias a todos por el currele!


Ahora arreglar la detección de mac, y router perfecto!
tool podrías, con mi firmware, hacer un backup de la partición mtd4 y enviármelo por favor?
dd if=/dev/mtd4 of=/www/mtd4.bin
http://192.168.1.8/mtd4.bin

https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_r32654_EEPROM.bin

Saludos!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 10-07-2012, 17:31 (Martes)
Me parece bien ese procedimiento :P, jar229 a lo mejor tiene algo de tiempo para hacer pruebas también.
Cualquier prueba que hagáis se pone por aquí y así el otro lo sabe ;).

Saludos!

Probado firmware openwrt-HW556-squashfs-cfe_r32654_EEPROM.bin
No hay wifi.
Recupera la wifi tras flashear con firm de danitool.
Bootlog enviado a noltari por privado.

Saludos.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 10-07-2012, 17:44 (Martes)
Me parece bien ese procedimiento :P, jar229 a lo mejor tiene algo de tiempo para hacer pruebas también.
Cualquier prueba que hagáis se pone por aquí y así el otro lo sabe ;).

Saludos!

Probado firmware openwrt-HW556-squashfs-cfe_r32654_EEPROM.bin
No hay wifi.
Recupera la wifi tras flashear con firm de danitool.
Bootlog enviado a noltari por privado.

Saludos.
Ok, gracias por las pruebas, te he mandado otro para que lo pruebes cuando tengas un rato ^^.

https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_r32654_EEPROM2.bin
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 10-07-2012, 17:45 (Martes)
tool podrías, con mi firmware, hacer un backup de la partición mtd4 y enviármelo por favor?
dd if=/dev/mtd4 of=/www/mtd4.bin
http://192.168.1.8/mtd4.bin

https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_r32654_EEPROM.bin

Saludos!

En cual Ralink o Atheros? A la noche te hago dónde pidas.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 10-07-2012, 17:53 (Martes)
tool podrías, con mi firmware, hacer un backup de la partición mtd4 y enviármelo por favor?
dd if=/dev/mtd4 of=/www/mtd4.bin
http://192.168.1.8/mtd4.bin

https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_r32654_EEPROM.bin

Saludos!

En cual Ralink o Atheros? A la noche te hago dónde pidas.
En el Ralink, perdona por no especificar :$.

Saludos.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 10-07-2012, 18:23 (Martes)
Ok, gracias por las pruebas, te he mandado otro para que lo pruebes cuando tengas un rato ^^.

https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_r32654_EEPROM2.bin

De nada. Gracias a ti por el curro que te estás dando.

Probado firmware openwrt-HW556-squashfs-cfe_r32654_EEPROM2.bin
Continúa sin wifi.
Recupera la wifi correctamente con el firm de danitool.

Saludos.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 10-07-2012, 18:36 (Martes)
He encontrado otro diseño de interfaz rs232 ttl. Es bastante parecido al "tiny 3 wire" de Giskard. En éste la novedad es que las cuatro resistencias son iguales. Parece que vale tanto para 5 como para 3.3V. En cuanto lo monte y lo pruebe os comento.

El artículo original está aquí ---> http://jimlaurwilliams.org/wordpress/?p=1573
Título: Re: OpenWRT en Huawei hg556a
Publicado por: gmtii en 10-07-2012, 19:02 (Martes)
buenas,

este firm ya tiene autodetección de mac. Pueden verificarlo por favor?

http://www.mediafire.com/download.php?30p04lend2l6pgf (http://www.mediafire.com/download.php?30p04lend2l6pgf)

Gracias!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 10-07-2012, 19:10 (Martes)

Probado firmware openwrt-HW556-squashfs-cfe_r32654_EEPROM2.bin
Continúa sin wifi.
Recupera la wifi correctamente con el firm de danitool.

Saludos.

Idem.
Probado, pero no aparece la wifi.
Ahí va el dmesg:

[spoiler]
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #3 Tue Jul 10 17:37:46 CEST 2012
[    0.000000] Detected Broadcom 0x6358 CPU revision a1
[    0.000000] CPU frequency is 300 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] registering 40 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 39 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xbe000000
[    0.000000] board_bcm963xx: CFE version: 100.48.56-49.46
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a010 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: HW556
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 8029f750, node_mem_map 81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16256 pages, LIFO batch:3
[    0.000000] Reserving 0MB of memory at 0MB for crashkernel
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc:
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Memory: 61896k/65536k available (2225k kernel code, 3640k reserved, 398k data, 196k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 299.26 BogoMIPS (lpj=598528)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.052000] NET: Registered protocol family 16
[    0.068000] registering PCI controller with io_map_base unset
[    0.088000] bio: create slab <bio-0> at 0
[    0.096000] PCI host bridge to bus 0000:00
[    0.100000] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[    0.104000] pci_bus 0000:00: root bus resource [io  0x8000000-0x800ffff]
[    0.108000] pci 0000:00:01.0: [168c:ff1d] type 0 class 0x000200
[    0.108000] pci 0000:00:01.0: reg 10: [mem 0x00000000-0x0000ffff]
[    0.120000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x3000ffff]
[    0.124000] Switching to clocksource MIPS
[    0.136000] NET: Registered protocol family 2
[    0.140000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.148000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.156000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.164000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.172000] TCP reno registered
[    0.172000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.180000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.188000] NET: Registered protocol family 1
[    0.192000] pci 0000:00:01.0: fixup device configuration
[    0.200000] PCI: CLS 0 bytes, default 16
[    0.204000] audit: initializing netlink socket (disabled)
[    0.212000] type=2000 audit(0.212:1): initialized
[    0.216000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.224000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.236000] msgmni has been set to 120
[    0.240000] io scheduler noop registered
[    0.244000] io scheduler deadline registered (default)
[    0.252000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10) is a bcm63xx_uart
[    0.260000] console [ttyS0] enabled, bootconsole disabled
[    0.276000] physmap platform flash device: 02000000 at 1e000000
[    0.284000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002101
[    0.292000] physmap-flash.0: Found an alias at 0x1000000 for the chip at 0x0
[    0.292000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.300000]   Amd/Fujitsu Extended Query version 1.3.
[    0.304000] number of CFI chips: 1
[    0.308000] bcm63xxpart: CFE boot tag found with version 8 and board type HW556
[    0.316000] bcm63xxpart: Partition 0 is CFE offset 0 and length 20000
[    0.320000] bcm63xxpart: Partition 1 is kernel offset 20100 and length fff00
[    0.328000] bcm63xxpart: Partition 2 is rootfs offset 120000 and length dc0000
[    0.336000] bcm63xxpart: Partition 3 is cal_data offset ee0000 and length 20000
[    0.344000] bcm63xxpart: Partition 4 is nvram offset fe0000 and length 20000
[    0.352000] bcm63xxpart: Partition 5 is linux offset 20000 and length ec0000
[    0.360000] bcm63xxpart: Spare partition is offset 340004 and length b9fffc
[    0.364000] 6 bcm63xxpart partitions found on MTD device physmap-flash.0
[    0.372000] Creating 6 MTD partitions on "physmap-flash.0":
[    0.380000] 0x000000000000-0x000000020000 : "CFE"
[    0.388000] 0x000000020100-0x000000120000 : "kernel"
[    0.392000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.408000] 0x000000120000-0x000000ee0000 : "rootfs"
[    0.420000] mtd: partition "rootfs" set to be root filesystem
[    0.424000] mtd: partition "rootfs_data" created automatically, ofs=340000, len=BA0000
[    0.432000] 0x000000340000-0x000000ee0000 : "rootfs_data"
[    0.444000] 0x000000ee0000-0x000000f00000 : "cal_data"
[    0.452000] 0x000000fe0000-0x000001000000 : "nvram"
[    0.460000] 0x000000020000-0x000000ee0000 : "linux"
[    0.480000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.488000] Registered led device: HW556::message
[    0.488000] Registered led device: HW556::hspa
[    0.492000] Registered led device: HW556::dsl
[    0.492000] Registered led device: HW556::power
[    0.492000] Registered led device: HW556::all
[    0.492000] TCP cubic registered
[    0.496000] NET: Registered protocol family 17
[    0.500000] 8021q: 802.1Q VLAN Support v1.8
[    0.512000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.524000] Freeing unused kernel memory: 196k freed
[    3.452000] roboswitch: Probing device eth0: found a 5325! It's a 5350.
[    4.520000] There is already a switch registered on the device 'eth0'
[   12.164000] Compat-wireless backport release: compat-wireless-2012-06-14
[   12.172000] Backport based on wireless-testing.git master-2012-06-14
[   12.176000] compat.git: wireless-testing.git
[   12.244000] cfg80211: Calling CRDA to update world regulatory domain
[   12.248000] cfg80211: World regulatory domain updated:
[   12.256000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.264000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.272000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.280000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.288000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.296000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.744000] NET: Registered protocol family 10
[   13.196000] SCSI subsystem initialized
[   13.288000] There is already a switch registered on the device 'eth0'
[   13.648000] usbcore: registered new interface driver usbfs
[   13.652000] usbcore: registered new interface driver hub
[   13.660000] usbcore: registered new device driver usb
[   14.768000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[   14.784000] ath: phy0: no band has been marked as supported in EEPROM
[   14.792000] ath: phy0: Unable to initialize hardware; initialization status: -22
[   14.796000] ath9k 0000:00:01.0: Failed to initialize device
[   14.804000] ath9k: probe of 0000:00:01.0 failed with error -22
[   14.876000] Button Hotplug driver version 0.4.1
[   15.188000] PPP generic driver version 2.4.2
[   15.580000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   15.876000] NET: Registered protocol family 24
[   16.076000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   16.188000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[   16.192000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[   16.228000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
[   16.244000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[   16.252000] hub 1-0:1.0: USB hub found
[   16.256000] hub 1-0:1.0: 2 ports detected
[   16.436000] nf_conntrack version 0.5.0 (970 buckets, 3880 max)
[   16.820000] usb 1-1: new high-speed USB device number 2 using bcm63xx_ehci
[   16.960000] hub 1-1:1.0: USB hub found
[   16.972000] hub 1-1:1.0: 2 ports detected
[   17.268000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   17.688000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   17.796000] bcm63xx_ohci bcm63xx_ohci.0: BCM63XX integrated OHCI controller
[   17.800000] bcm63xx_ohci bcm63xx_ohci.0: new USB bus registered, assigned bus number 2
[   17.808000] bcm63xx_ohci bcm63xx_ohci.0: irq 13, io mem 0xfffe1400
[   17.876000] hub 2-0:1.0: USB hub found
[   17.880000] hub 2-0:1.0: 1 port detected
[   18.056000] Initializing USB Mass Storage driver...
[   18.060000] usbcore: registered new interface driver usb-storage
[   18.064000] USB Mass Storage support registered.
[   18.104000] usbcore: registered new interface driver ums-alauda
[   18.140000] usbcore: registered new interface driver ums-cypress
[   18.180000] usbcore: registered new interface driver ums-datafab
[   18.216000] usbcore: registered new interface driver ums-freecom
[   18.256000] usbcore: registered new interface driver ums-isd200
[   18.292000] usbcore: registered new interface driver ums-jumpshot
[   18.328000] usbcore: registered new interface driver ums-karma
[   18.368000] usbcore: registered new interface driver ums-sddr09
[   18.408000] usbcore: registered new interface driver ums-sddr55
[   18.444000] usbcore: registered new interface driver ums-usbat
[   18.484000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   24.952000] eth0: link forced UP - 100/full - flow control off/off
[   24.960000] device eth0 entered promiscuous mode
[   24.984000] br-lan: port 1(eth0) entered forwarding state
[   24.988000] br-lan: port 1(eth0) entered forwarding state
[   26.992000] br-lan: port 1(eth0) entered forwarding state
[   35.928000] eth0: no IPv6 routers present
[   47.844000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   47.860000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   47.864000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[   98.656000] JFFS2 notice: (1003) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.

[/spoiler]
Título: Re: OpenWRT en Huawei hg556a
Publicado por: gmtii en 10-07-2012, 19:10 (Martes)
yo ni me molestaba :-) tengo 4 de estos en un hub :-D

http://alturl.com/feyge (http://alturl.com/feyge)

He encontrado otro diseño de interfaz rs232 ttl. Es bastante parecido al "tiny 3 wire" de Giskard. En éste la novedad es que las cuatro resistencias son iguales. Parece que vale tanto para 5 como para 3.3V. En cuanto lo monte y lo pruebe os comento.

El artículo original está aquí ---> http://jimlaurwilliams.org/wordpress/?p=1573
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 10-07-2012, 19:34 (Martes)
buenas,

este firm ya tiene autodetección de mac. Pueden verificarlo por favor?

http://www.mediafire.com/download.php?30p04lend2l6pgf (http://www.mediafire.com/download.php?30p04lend2l6pgf)

Gracias!

Pero este vale sólo para los ralink, no ?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: gmtii en 10-07-2012, 19:55 (Martes)
correcto!

buenas,

este firm ya tiene autodetección de mac. Pueden verificarlo por favor?

http://www.mediafire.com/download.php?30p04lend2l6pgf (http://www.mediafire.com/download.php?30p04lend2l6pgf)

Gracias!

Pero este vale sólo para los ralink, no ?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 10-07-2012, 20:48 (Martes)
Siguiente prueba para jar229 o raphik (atheros):
https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_r32656_test.bin

Adjuntadme un bootlog please ;).
Título: Re: OpenWRT en Huawei hg556a
Publicado por: geminis_demon en 10-07-2012, 22:37 (Martes)
buenas,

este firm ya tiene autodetección de mac. Pueden verificarlo por favor?

http://www.mediafire.com/download.php?30p04lend2l6pgf (http://www.mediafire.com/download.php?30p04lend2l6pgf)

Gracias!

No se si estoy entendiendo bien el significado de autodetección de mac, te explico las pruebas que he hecho..

He editado el archivo /etc/config/wireless y le he comentado la linea donde pone macaddr (supongo que debería detectar la mac el solo y por tanto esa linea no sirve para nada) quedando así:

Código: [Seleccionar]
config wifi-device 'radio0'
        option type 'mac80211'
#     option macaddr '00:11:22:33:44:55'
        option hwmode '11ng'
        option htmode 'HT20'
        list ht_capab 'GF'
        list ht_capab 'SHORT-GI-20'
        list ht_capab 'SHORT-GI-40'
        list ht_capab 'TX-STBC'
        list ht_capab 'RX-STBC12'
        option disabled '0'
        option channel '8'
        option country '00'

config wifi-iface
        option device 'radio0'
        option mode 'ap'
        option ssid 'OpenWrt'
        option encryption 'none'


Despues he hecho un reboot y no funcionaba el wifi.

Soy nuevo en Openwrt a si que no se si es que no funciona la autodetección de mac o es que estoy entendiendo mal el concepto.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: gmtii en 10-07-2012, 23:18 (Martes)
Tienes que flashear desde cero y se supone la MAC se pone igual que la que tiene el wifi con el firmware de serie.

Los firmware anteriores tenían una fija que empezaba por 6A. Si pusieras dos routers en la misma red con esta MAC no funcionarían :-)

Cuando hayas flasheado puedes ver la MAC en el fichero wireless como bien estás haciendo.

Ponme el bootlog si eres tan amable si no te funciona... gracias!

Saludos!



buenas,

este firm ya tiene autodetección de mac. Pueden verificarlo por favor?

http://www.mediafire.com/download.php?30p04lend2l6pgf (http://www.mediafire.com/download.php?30p04lend2l6pgf)

Gracias!

No se si estoy entendiendo bien el significado de autodetección de mac, te explico las pruebas que he hecho..

He editado el archivo /etc/config/wireless y le he comentado la linea donde pone macaddr (supongo que debería detectar la mac el solo y por tanto esa linea no sirve para nada) quedando así:

Código: [Seleccionar]
config wifi-device 'radio0'
        option type 'mac80211'
#     option macaddr '00:11:22:33:44:55'
        option hwmode '11ng'
        option htmode 'HT20'
        list ht_capab 'GF'
        list ht_capab 'SHORT-GI-20'
        list ht_capab 'SHORT-GI-40'
        list ht_capab 'TX-STBC'
        list ht_capab 'RX-STBC12'
        option disabled '0'
        option channel '8'
        option country '00'

config wifi-iface
        option device 'radio0'
        option mode 'ap'
        option ssid 'OpenWrt'
        option encryption 'none'


Despues he hecho un reboot y no funcionaba el wifi.

Soy nuevo en Openwrt a si que no se si es que no funciona la autodetección de mac o es que estoy entendiendo mal el concepto.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: geminis_demon en 11-07-2012, 00:05 (Miércoles)
A ver.. no encuentro donde descargar el firmware original que venía por defecto en el router,

el que he encontrado es este: http://forum.vodafone.ie/index.php?/topic/2111-huawei-hg556a-software-update/

está en ingles y el SSID es distinto, NO es del tipo vodafoneXXXX, asi que no se si servirá pero bueno

con el firmware de vodafone la mac es 6A:C0:6F:XX:XX:XX

con tu firmware de Openwrt la mac es 6A:A8:E4:XX:XX:XX


No tengo cable de serie, te pongo el dmesg por si te sirve. Saludos.

[spoiler=dmesg]
Button Hotplug driver version 0.4.1
[   13.588000] Compat-wireless backport release: compat-wireless-2012-06-14
[   13.592000] Backport based on wireless-testing.git master-2012-06-14
[   13.600000] compat.git: wireless-testing.git
[   13.660000] device class 'ieee80211': registering
[   13.664000] Registering platform device 'regulatory.0'. Parent at platform
[   13.664000] device: 'regulatory.0': device_add
[   13.664000] bus: 'platform': add device regulatory.0
[   13.668000] cfg80211: Calling CRDA to update world regulatory domain
[   13.672000] cfg80211: World regulatory domain updated:
[   13.680000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   13.688000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.696000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.704000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.712000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.720000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.348000] device class 'scsi_host': registering
[   14.348000] bus: 'scsi': registered
[   14.348000] device class 'scsi_device': registering
[   14.348000] SCSI subsystem initialized
[   14.436000] There is already a switch registered on the device 'eth0'
[   14.792000] bus: 'usb': registered
[   14.792000] bus: 'usb': add driver usbfs
[   14.792000] usbcore: registered new interface driver usbfs
[   14.796000] bus: 'usb': add driver hub
[   14.796000] usbcore: registered new interface driver hub
[   14.804000] bus: 'usb': add driver usb
[   14.808000] usbcore: registered new device driver usb
[   15.408000] bus: 'pci': add driver rt2800pci
[   15.408000] bus: 'pci': driver_probe_device: matched device 0000:00:01.0 with driver rt2800pci
[   15.408000] bus: 'pci': really_probe: probing driver rt2800pci with device 0000:00:01.0
[   15.408000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[   15.416000] rt2800pci 0000:00:01.0: enabling bus mastering
[   15.416000] rt2800pci 0000:00:01.0: setting latency timer to 64
[   15.416000] phy0 -> rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'RT3062.eeprom'.
[   15.424000] rt2800pci 0000:00:01.0: firmware: requesting RT3062.eeprom
[   15.424000] device: '0000:00:01.0': device_add
[   15.792000] device: '0000:00:01.0': device_unregister
[   15.792000] phy0 -> rt2x00_set_chip: Info - Chipset detected - rt: 3572, rf: 0008, rev: 0223.
[   15.804000] device: 'phy0': device_add
[   15.804000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   15.804000] device: 'wlan0': device_add
[   15.804000] device: 'rt2800pci-phy0::radio': device_add
[   15.804000] Registered led device: rt2800pci-phy0::radio
[   15.808000] device: 'rt2800pci-phy0::assoc': device_add
[   15.808000] Registered led device: rt2800pci-phy0::assoc
[   15.808000] device: 'rt2800pci-phy0::quality': device_add
[   15.808000] Registered led device: rt2800pci-phy0::quality
[   15.808000] driver: '0000:00:01.0': driver_bound: bound to device 'rt2800pci'
[   15.808000] bus: 'pci': really_probe: bound device 0000:00:01.0 to driver rt2800pci
[   15.996000] bus: 'bcma': registered
[   15.996000] bus: 'pci': add driver bcma-pci-bridge
[   16.692000] device class 'sound': registering
[   17.200000] device: 'timer': device_add
[   17.668000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   18.104000] device class 'scsi_disk': registering
[   18.104000] bus: 'scsi': add driver sd
[   18.144000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   18.148000] bus: 'platform': add driver bcm63xx_ehci
[   18.148000] bus: 'platform': driver_probe_device: matched device bcm63xx_ehci.0 with driver bcm63xx_ehci
[   18.148000] bus: 'platform': really_probe: probing driver bcm63xx_ehci with device bcm63xx_ehci.0
[   18.252000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[   18.256000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[   18.292000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
[   18.308000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[   18.316000] device: 'usb1': device_add
[   18.316000] bus: 'usb': add device usb1
[   18.316000] bus: 'usb': driver_probe_device: matched device usb1 with driver usb
[   18.316000] bus: 'usb': really_probe: probing driver usb with device usb1
[   18.316000] device: '1-0:1.0': device_add
[   18.316000] bus: 'usb': add device 1-0:1.0
[   18.316000] bus: 'usb': driver_probe_device: matched device 1-0:1.0 with driver hub
[   18.316000] bus: 'usb': really_probe: probing driver hub with device 1-0:1.0
[   18.316000] hub 1-0:1.0: USB hub found
[   18.320000] hub 1-0:1.0: 2 ports detected
[   18.324000] driver: '1-0:1.0': driver_bound: bound to device 'hub'
[   18.324000] bus: 'usb': really_probe: bound device 1-0:1.0 to driver hub
[   18.324000] device: 'ep_81': device_add
[   18.324000] driver: 'usb1': driver_bound: bound to device 'usb'
[   18.324000] bus: 'usb': really_probe: bound device usb1 to driver usb
[   18.324000] device: 'ep_00': device_add
[   18.324000] driver: 'bcm63xx_ehci.0': driver_bound: bound to device 'bcm63xx_ehci'
[   18.324000] bus: 'platform': really_probe: bound device bcm63xx_ehci.0 to driver bcm63xx_ehci
[   18.324000] bus: 'pci': add driver ehci_hcd
[   18.520000] nf_conntrack version 0.5.0 (970 buckets, 3880 max)
[   19.224000] bus: 'i2c': registered
[   19.224000] bus: 'i2c': add driver dummy
[   19.252000] i2c /dev entries driver
[   19.256000] device class 'i2c-dev': registering
[   19.432000] bus: 'usb': add driver cdc_acm
[   19.432000] usbcore: registered new interface driver cdc_acm
[   19.436000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   19.680000] bus: 'usb': add driver snd-usb-audio
[   19.680000] usbcore: registered new interface driver snd-usb-audio
[   19.820000] Initializing USB Mass Storage driver...
[   19.824000] bus: 'usb': add driver usb-storage
[   19.824000] usbcore: registered new interface driver usb-storage
[   19.832000] USB Mass Storage support registered.
[   20.016000] Linux video capture interface: v2.00
[   20.020000] device class 'video4linux': registering
[   20.380000] bus: 'platform': add driver gpio-keys-polled
[   20.380000] bus: 'platform': driver_probe_device: matched device gpio-keys-polled.0 with driver gpio-keys-polled
[   20.380000] bus: 'platform': really_probe: probing driver gpio-keys-polled with device gpio-keys-polled.0
[   20.380000] device: 'input0': device_add
[   20.380000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   20.388000] driver: 'gpio-keys-polled.0': driver_bound: bound to device 'gpio-keys-polled'
[   20.388000] bus: 'platform': really_probe: bound device gpio-keys-polled.0 to driver gpio-keys-polled
[   20.524000] bus: 'usb': add driver uvcvideo
[   20.524000] usbcore: registered new interface driver uvcvideo
[   20.532000] USB Video Class driver (1.1.1)
[   26.732000] device: 'br-lan': device_add
[   26.736000] eth0: link forced UP - 100/full - flow control off/off
[   26.744000] device eth0 entered promiscuous mode
[   26.752000] br-lan: port 1(eth0) entered forwarding state
[   26.756000] br-lan: port 1(eth0) entered forwarding state
[   28.760000] br-lan: port 1(eth0) entered forwarding state
[   50.680000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   50.696000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   50.700000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[  124.112000] JFFS2 notice: (1178) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[  197.492000] device: 'tmp.radio0': device_add
[  197.504000] device: 'tmp.radio0': device_add
[  202.752000] device: 'tmp.radio0': device_add
[  202.780000] device: 'tmp.radio0': device_add
[  206.944000] device: 'tmp.radio0': device_add
[  206.968000] device: 'tmp.radio0': device_add
[  211.964000] device: 'tmp.radio0': device_add
[  211.988000] device: 'tmp.radio0': device_add
[  216.964000] device: 'tmp.radio0': device_add
[  216.988000] device: 'tmp.radio0': device_add
[  221.908000] device: 'tmp.radio0': device_add
[  221.940000] device: 'tmp.radio0': device_add
[  226.916000] device: 'tmp.radio0': device_add
[  226.940000] device: 'tmp.radio0': device_add
[  231.940000] device: 'tmp.radio0': device_add
[  231.964000] device: 'tmp.radio0': device_add
[  236.908000] device: 'tmp.radio0': device_add
[  236.928000] device: 'tmp.radio0': device_add
[  241.968000] device: 'tmp.radio0': device_add
[  241.988000] device: 'tmp.radio0': device_add
[  246.964000] device: 'tmp.radio0': device_add
[  246.988000] device: 'tmp.radio0': device_add
[  251.904000] device: 'tmp.radio0': device_add
[  251.928000] device: 'tmp.radio0': device_add
[  256.916000] device: 'tmp.radio0': device_add
[  256.940000] device: 'tmp.radio0': device_add
[  261.916000] device: 'tmp.radio0': device_add
[  261.940000] device: 'tmp.radio0': device_add
[  266.952000] device: 'tmp.radio0': device_add
[  266.976000] device: 'tmp.radio0': device_add
[  273.076000] device: 'tmp.radio0': device_add
[  273.100000] device: 'tmp.radio0': device_add
[  281.124000] device: 'tmp.radio0': device_add
[  281.144000] device: 'tmp.radio0': device_add
[  293.208000] device: 'tmp.radio0': device_add
[  293.224000] phy0 -> rt2x00lib_request_firmware: Info - Loading firmware file 'rt2860.bin'.
[  293.232000] rt2800pci 0000:00:01.0: firmware: requesting rt2860.bin
[  293.232000] device: '0000:00:01.0': device_add
[  293.564000] device: '0000:00:01.0': device_unregister
[  293.564000] phy0 -> rt2x00lib_request_firmware: Info - Firmware detected - version: 0.34.
[  293.732000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  293.744000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  293.752000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  293.764000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  295.908000] device: 'tmp.radio0': device_add
[  296.052000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  296.064000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  296.072000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  296.084000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  298.240000] device: 'tmp.radio0': device_add
[  298.384000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  298.396000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  298.404000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  298.416000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  304.828000] device: 'tmp.radio0': device_add
[  304.972000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  304.984000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  304.992000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  305.004000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  339.940000] device: 'tmp.radio0': device_add
[  340.084000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  340.096000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  340.104000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  340.116000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  342.528000] device: 'tmp.radio0.netw': device_add
[  346.960000] device: 'tmp.radio0.netw': device_add
[  346.984000] device: 'tmp.radio0.netw': device_add
[  351.612000] device: 'tmp.radio0.netw': device_add
[  351.632000] device: 'tmp.radio0.netw': device_add
[  354.940000] device: 'tmp.radio0.netw': device_add
[  357.160000] device: 'tmp.radio0': device_add
[  357.184000] device: 'tmp.radio0': device_add
[  361.628000] device: 'tmp.radio0': device_add
[  361.660000] device: 'tmp.radio0': device_add
[  364.468000] device: 'wlan0': device_add
[  365.060000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  365.072000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  365.080000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  365.092000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  371.508000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 3, TXop: 0.
[  371.520000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 7, TXop: 0.
[  371.528000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 3, CWmax: 4, Aifs: 2, TXop: 94.
[  371.540000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 2, CWmax: 3, Aifs: 2, TXop: 47.
[  473.252000] br-lan: port 1(eth0) entered disabled state
[  473.272000] device eth0 left promiscuous mode
[  473.280000] br-lan: port 1(eth0) entered disabled state
[  473.312000] device: 'br-lan': device_add
[  473.316000] eth0: link forced UP - 100/full - flow control off/off
[  473.356000] device eth0 entered promiscuous mode
[  473.396000] br-lan: port 1(eth0) entered forwarding state
[  473.400000] br-lan: port 1(eth0) entered forwarding state
[  474.596000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 4, CWmax: 10, Aifs: 2, TXop: 0.
[  474.604000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 10, Aifs: 2, TXop: 0.
[  474.616000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 2, TXop: 0.
[  474.624000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 2, TXop: 0.
[  475.400000] device: 'wlan0': device_add
[  475.404000] br-lan: port 1(eth0) entered forwarding state
[  475.768000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  475.780000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  475.788000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  475.800000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[  479.660000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 3, TXop: 0.
[  479.668000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 7, TXop: 0.
[  479.680000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 3, CWmax: 4, Aifs: 2, TXop: 94.
[  479.688000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 2, CWmax: 3, Aifs: 2, TXop: 47.

[/spoiler]
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 11-07-2012, 01:08 (Miércoles)
He llegado tarde a casa, y se me ha hecho imposible hacer pruebas, mañana a ver si se tercia el día y pruebo la autodetección mac.

Puedes verlo de muchas formas, conectandote como cliente te debe aparecer por Luci la Mac del Wireless, o en la tabla DHCP del router Wifi Madre, deberías ver la IP del openwrt + su mac.

La mac original del router está detrás en una pegatina.


Sobre prueba, lo que queráis menos por serie :(, Atheros openwrt (con wifi), y ralink openwrt.

Una pena la decisión de danitool de desaparecer de la "scene" :(

Tengo que hacer pruebas con estos openwrt + modem yoigo USB. Hacen un buen router pagando 9€ por 1gb mensual.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 11-07-2012, 09:03 (Miércoles)
...
Tengo que hacer pruebas con estos openwrt + modem yoigo USB. Hacen un buen router pagando 9€ por 1gb mensual.
Tengo uno sin conexión ADSL por cobre, con el firmware original irlandés B028 + pincho USB huawei (movistar liberado) + simcard vodafone. Funciona bien. ¿Qué ventajas tendría instalarle el openwrt?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 11-07-2012, 09:32 (Miércoles)
Gracias. También los he visto nuevos y baratos en dealexteme. Pero más que nada es por el placer de montarlo yo mismo. Ayer compré la electrónica por 0'45€. Esta tarde me pondré a montarlo. Humm... ya me está dando el olorcillo a soldador...

yo ni me molestaba :-) tengo 4 de estos en un hub :-D
http://alturl.com/feyge (http://alturl.com/feyge)
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 11-07-2012, 10:04 (Miércoles)
...
Tengo que hacer pruebas con estos openwrt + modem yoigo USB. Hacen un buen router pagando 9€ por 1gb mensual.
Tengo uno sin conexión ADSL por cobre, con el firmware original irlandés B028 + pincho USB huawei (movistar liberado) + simcard vodafone. Funciona bien. ¿Qué ventajas tendría instalarle el openwrt?

Supongo que a parte del soporte de otros Modems USB que no soporte el firm de vodafone. Ventajas del irlandés vs español SP03 (Añadieron que cuando te quedas sin adsl, en el fijo sale una voz avisando!)

Sobre openwrt vs stock, pues la personalización, estadísticas, mayor control, las ventajas de un router neutro :D
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 11-07-2012, 10:09 (Miércoles)
...
Tengo que hacer pruebas con estos openwrt + modem yoigo USB. Hacen un buen router pagando 9€ por 1gb mensual.
Tengo uno sin conexión ADSL por cobre, con el firmware original irlandés B028 + pincho USB huawei (movistar liberado) + simcard vodafone. Funciona bien. ¿Qué ventajas tendría instalarle el openwrt?

Supongo que a parte del soporte de otros Modems USB que no soporte el firm de vodafone. Ventajas del irlandés vs español SP03 (Añadieron que cuando te quedas sin adsl, en el fijo sale una voz avisando!)

Sobre openwrt vs stock, pues la personalización, estadísticas, mayor control, las ventajas de un router neutro :D

Por cierto Raphik, tienes ahi la lista de componentes?
Para temas de cables y adaptadores, yo tengo esto comprado: http://www.dealextreme.com/p/30cm-breadboard-wires-for-electronic-diy-40-cable-pack-80207?item=34
http://www.dealextreme.com/p/single-port-female-to-female-jumper-wire-set-50-pack-20cm-length-55454?item=28
Son muy útiles para hacer conexiones.

A ver si este finde hago un esquemático canijo para insolar en pcb con los 4 pines, compacto.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: geminis_demon en 11-07-2012, 12:21 (Miércoles)
He llegado tarde a casa, y se me ha hecho imposible hacer pruebas, mañana a ver si se tercia el día y pruebo la autodetección mac.

Puedes verlo de muchas formas, conectandote como cliente te debe aparecer por Luci la Mac del Wireless, o en la tabla DHCP del router Wifi Madre, deberías ver la IP del openwrt + su mac.

La mac original del router está detrás en una pegatina.


Sobre prueba, lo que queráis menos por serie :(, Atheros openwrt (con wifi), y ralink openwrt.

Una pena la decisión de danitool de desaparecer de la "scene" :(

Tengo que hacer pruebas con estos openwrt + modem yoigo USB. Hacen un buen router pagando 9€ por 1gb mensual.


No hagas las pruebas mirando la mac que viene detras del router porque esa es la mac de la red lan, la que nos interesa es la del wifi, lo mas facil es mirar con airodump-ng, primero con el firmware de vodafone y luego con openwrt, y las comparas.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 11-07-2012, 13:42 (Miércoles)
Siguiente prueba para jar229 o raphik (atheros):
https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_r32656_test.bin

Adjuntadme un bootlog please ;).

Probado, seguimos sin wifi  ???

dmesg
[spoiler]
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #2 Tue Jul 10 20:45:31 CEST 2012
[    0.000000] Detected Broadcom 0x6358 CPU revision a1
[    0.000000] CPU frequency is 300 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] registering 40 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 39 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xbe000000
[    0.000000] board_bcm963xx: CFE version: 100.48.56-49.46
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a010 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: HW556
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 8029f750, node_mem_map 81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16256 pages, LIFO batch:3
[    0.000000] Reserving 0MB of memory at 0MB for crashkernel
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc:
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Memory: 61892k/65536k available (2225k kernel code, 3644k reserved, 398k data, 200k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 299.26 BogoMIPS (lpj=598528)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.052000] NET: Registered protocol family 16
[    0.068000] [HG556a] changed ath9k regdomain to 0xff
[    0.100000] registering PCI controller with io_map_base unset
[    0.120000] bio: create slab <bio-0> at 0
[    0.128000] PCI host bridge to bus 0000:00
[    0.132000] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[    0.136000] pci_bus 0000:00: root bus resource [io  0x8000000-0x800ffff]
[    0.140000] pci 0000:00:01.0: [168c:ff1d] type 0 class 0x000200
[    0.140000] pci 0000:00:01.0: reg 10: [mem 0x00000000-0x0000ffff]
[    0.152000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x3000ffff]
[    0.156000] Switching to clocksource MIPS
[    0.168000] NET: Registered protocol family 2
[    0.172000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.180000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.188000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.196000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.204000] TCP reno registered
[    0.208000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.212000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.220000] NET: Registered protocol family 1
[    0.224000] pci 0000:00:01.0: invalid calibration data
[    0.228000] PCI: CLS 0 bytes, default 16
[    0.232000] audit: initializing netlink socket (disabled)
[    0.240000] type=2000 audit(0.240:1): initialized
[    0.244000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.252000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.264000] msgmni has been set to 120
[    0.268000] io scheduler noop registered
[    0.272000] io scheduler deadline registered (default)
[    0.280000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10) is a bcm63xx_uart
[    0.288000] console [ttyS0] enabled, bootconsole disabled
[    0.304000] physmap platform flash device: 02000000 at 1e000000
[    0.312000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002101
[    0.320000] physmap-flash.0: Found an alias at 0x1000000 for the chip at 0x0
[    0.320000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.328000]   Amd/Fujitsu Extended Query version 1.3.
[    0.332000] number of CFI chips: 1
[    0.336000] bcm63xxpart: CFE boot tag found with version 8 and board type HW556
[    0.344000] bcm63xxpart: Partition 0 is CFE offset 0 and length 20000
[    0.352000] bcm63xxpart: Partition 1 is kernel offset 20100 and length fff00
[    0.356000] bcm63xxpart: Partition 2 is rootfs offset 120000 and length dc0000
[    0.364000] bcm63xxpart: Partition 3 is cal_data offset ee0000 and length 20000
[    0.372000] bcm63xxpart: Partition 4 is nvram offset fe0000 and length 20000
[    0.380000] bcm63xxpart: Partition 5 is linux offset 20000 and length ec0000
[    0.388000] bcm63xxpart: Spare partition is offset 320004 and length bbfffc
[    0.396000] 6 bcm63xxpart partitions found on MTD device physmap-flash.0
[    0.400000] Creating 6 MTD partitions on "physmap-flash.0":
[    0.408000] 0x000000000000-0x000000020000 : "CFE"
[    0.416000] 0x000000020100-0x000000120000 : "kernel"
[    0.420000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.440000] 0x000000120000-0x000000ee0000 : "rootfs"
[    0.448000] mtd: partition "rootfs" set to be root filesystem
[    0.452000] mtd: partition "rootfs_data" created automatically, ofs=320000, len=BC0000
[    0.460000] 0x000000320000-0x000000ee0000 : "rootfs_data"
[    0.472000] 0x000000ee0000-0x000000f00000 : "cal_data"
[    0.480000] 0x000000fe0000-0x000001000000 : "nvram"
[    0.488000] 0x000000020000-0x000000ee0000 : "linux"
[    0.508000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.516000] Registered led device: HW556:red:message
[    0.516000] Registered led device: HW556:red:hspa
[    0.520000] Registered led device: HW556:red:dsl
[    0.520000] Registered led device: HW556:red:power
[    0.520000] Registered led device: HW556:red:all
[    0.520000] TCP cubic registered
[    0.524000] NET: Registered protocol family 17
[    0.528000] 8021q: 802.1Q VLAN Support v1.8
[    0.540000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.552000] Freeing unused kernel memory: 200k freed
[    3.448000] roboswitch: Probing device eth0: found a 5325! It's a 5350.
[    4.512000] There is already a switch registered on the device 'eth0'
[   12.096000] Compat-wireless backport release: compat-wireless-2012-07-03-2-3-g7adf66e
[   12.104000] Backport based on wireless-testing.git master-2012-07-06
[   12.112000] compat.git: wireless-testing.git
[   12.176000] cfg80211: Calling CRDA to update world regulatory domain
[   12.180000] cfg80211: World regulatory domain updated:
[   12.188000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.196000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.204000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.212000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.220000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.228000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.668000] NET: Registered protocol family 10
[   12.980000] There is already a switch registered on the device 'eth0'
[   13.304000] usbcore: registered new interface driver usbfs
[   13.312000] usbcore: registered new interface driver hub
[   13.320000] usbcore: registered new device driver usb
[   14.340000] Button Hotplug driver version 0.4.1
[   14.532000] PPP generic driver version 2.4.2
[   14.764000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   15.188000] NET: Registered protocol family 24
[   15.228000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   15.340000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[   15.344000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[   15.380000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
[   15.396000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[   15.404000] hub 1-0:1.0: USB hub found
[   15.408000] hub 1-0:1.0: 2 ports detected
[   15.460000] nf_conntrack version 0.5.0 (970 buckets, 3880 max)
[   15.724000] usb 1-1: new high-speed USB device number 2 using bcm63xx_ehci
[   15.864000] hub 1-1:1.0: USB hub found
[   15.872000] hub 1-1:1.0: 2 ports detected
[   15.992000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   16.388000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   16.500000] bcm63xx_ohci bcm63xx_ohci.0: BCM63XX integrated OHCI controller
[   16.504000] bcm63xx_ohci bcm63xx_ohci.0: new USB bus registered, assigned bus number 2
[   16.512000] bcm63xx_ohci bcm63xx_ohci.0: irq 13, io mem 0xfffe1400
[   16.580000] hub 2-0:1.0: USB hub found
[   16.584000] hub 2-0:1.0: 1 port detected
[   16.624000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   23.216000] eth0: link forced UP - 100/full - flow control off/off
[   23.240000] device eth0 entered promiscuous mode
[   23.248000] br-lan: port 1(eth0) entered forwarding state
[   23.256000] br-lan: port 1(eth0) entered forwarding state
[   25.260000] br-lan: port 1(eth0) entered forwarding state
[   33.632000] eth0: no IPv6 routers present
[   45.040000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   45.052000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   45.056000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[  100.368000] JFFS2 notice: (989) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.

[/spoiler]
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 11-07-2012, 15:24 (Miércoles)
jar229 o raphik, probad este otro cuando podáis porfa:

https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_r32665.bin

*cruza los dedos* por dios, que funcione xDDD
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 11-07-2012, 15:44 (Miércoles)
Con éste tampoco hay wifi.
Bootlog enviado por correo.

jar229 o raphik, probad este otro cuando podáis porfa:

https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_r32665.bin

*cruza los dedos* por dios, que funcione xDDD
Título: Re: OpenWRT en Huawei hg556a
Publicado por: gmtii en 11-07-2012, 16:42 (Miércoles)
buenas,

otra revisión más (creo que la buena) para seguir abusando de vuestra paciencia  ;D flasheamos, y cuando arranque, vemos  la MAC en Luci o bien mirando el fichero /etc/config/wireless y que debe ser como sigue:

6A:XX:XX:XX:XX:YY donde XX serán igual a la mac de la pegatina, pero YY será +1. Así la calcula en el firmware original creo.

http://www.mediafire.com/download.php?9qq125ackq6w7go (http://www.mediafire.com/download.php?9qq125ackq6w7go)

Otros cambios que no se notan, pero están ahí es que:

- ya incluye la detección del HG556 y
- por los tres primeros dígitos de la MAC sabe además si es Ralink y aplica este parche automáticamente. (creo que todos los que tenemos routers con ralink la mac de la pegatina empieza por 84:A8:E4... pueden confirmarme esto por favor?

Gracias por la paciencia!!!  8)

He llegado tarde a casa, y se me ha hecho imposible hacer pruebas, mañana a ver si se tercia el día y pruebo la autodetección mac.

Puedes verlo de muchas formas, conectandote como cliente te debe aparecer por Luci la Mac del Wireless, o en la tabla DHCP del router Wifi Madre, deberías ver la IP del openwrt + su mac.

La mac original del router está detrás en una pegatina.


Sobre prueba, lo que queráis menos por serie :(, Atheros openwrt (con wifi), y ralink openwrt.

Una pena la decisión de danitool de desaparecer de la "scene" :(

Tengo que hacer pruebas con estos openwrt + modem yoigo USB. Hacen un buen router pagando 9€ por 1gb mensual.


No hagas las pruebas mirando la mac que viene detras del router porque esa es la mac de la red lan, la que nos interesa es la del wifi, lo mas facil es mirar con airodump-ng, primero con el firmware de vodafone y luego con openwrt, y las comparas.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 11-07-2012, 16:51 (Miércoles)
Con éste tampoco hay wifi.
Bootlog enviado por correo.
He metido un debug para averiguar cuales son las capacidades del hardware que lee de la eeprom, porque parece que es lo que está fallando...
https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_r32665_debug.bin

Cuando podáis lo probáis (raphik/jar229)

Por cierto, me alegra que hayas hecho progresos con el ralink gmtii. A ver si consigo terminar el atheros y unificamos parches ;).

Saludos!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 11-07-2012, 20:28 (Miércoles)
Probado. Bootlog enviado.

He metido un debug para averiguar cuales son las capacidades del hardware que lee de la eeprom, porque parece que es lo que está fallando...
https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_r32665_debug.bin
Cuando podáis lo probáis (rpahik/jar229)
Saludos!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 11-07-2012, 22:00 (Miércoles)
Probado. Bootlog enviado.

He metido un debug para averiguar cuales son las capacidades del hardware que lee de la eeprom, porque parece que es lo que está fallando...
https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_r32665_debug.bin
Cuando podáis lo probáis (rpahik/jar229)
Saludos!
Gracias por las pruebas. He llegado a la conclusión de que al leer los datos del wifi no detecta las bandas que soporta el wifi. He forzado la banda de 2GHz y añadido otro debug a ver si arroja algo de luz.

https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_r32665_debug_force_2ghz.bin

Saludos!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 11-07-2012, 22:24 (Miércoles)
Gracias a ti, que eres el que se lo está currando.
Seguimos sin wifi. Bootlog enviado.

Gracias por las pruebas. He llegado a la conclusión de que al leer los datos del wifi no detecta las bandas que soporta el wifi. He forzado la banda de 2GHz y añadido otro debug a ver si arroja algo de luz.
https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_r32665_debug_force_2ghz.bin
Título: Re: OpenWRT en Huawei hg556a
Publicado por: gmtii en 11-07-2012, 22:39 (Miércoles)
buenas,

Adjunto por fin parches y demás necesario para el HW556 version RALINK RT3062F. A ver si Noltari puede fusionar este rollo con su parche que a punto está de conseguir que funcione. ( felicidades por el trabajo!!!!)

Esto es una solución que tiene imposible cabida en trunk de Openwrt tal cual está ahora. Seguiré investigando la forma elegante de resolver la inicialización de la eeprom de la Ralink vía bus PCI y no con el atajo que he busqué mediante una eeprom externa y la asignación de mac adhoc.

Saludos a todos y gracias por los buenos momentos haciendo esto  >:(

http://www.mediafire.com/?fg923u8akxkt85c (http://www.mediafire.com/?fg923u8akxkt85c)

PD: Noltari, no tengas en cuenta mucho el formato porque soy novato novato   :D
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 12-07-2012, 00:40 (Jueves)
Gracias a ti, que eres el que se lo está currando.
Seguimos sin wifi. Bootlog enviado.

Gracias por las pruebas. He llegado a la conclusión de que al leer los datos del wifi no detecta las bandas que soporta el wifi. He forzado la banda de 2GHz y añadido otro debug a ver si arroja algo de luz.
https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_r32665_debug_force_2ghz.bin
Pues se me ha ido la olla y he parcheado parte en un directorio y parte en otro. Tengo el servidor de workspaces de openwrt petadísimo y me he hecho un lío con tanto router...

Ahí va la buena y lo siento por haberme equivocado xD: https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_r32665_debug_force_2ghz_correct.bin

buenas,

Adjunto por fin parches y demás necesario para el HW556 version RALINK RT3062F. A ver si Noltari puede fusionar este rollo con su parche que a punto está de conseguir que funcione. ( felicidades por el trabajo!!!!)

Esto es una solución que tiene imposible cabida en trunk de Openwrt tal cual está ahora. Seguiré investigando la forma elegante de resolver la inicialización de la eeprom de la Ralink vía bus PCI y no con el atajo que he busqué mediante una eeprom externa y la asignación de mac adhoc.

Saludos a todos y gracias por los buenos momentos haciendo esto  >:(

http://www.mediafire.com/?fg923u8akxkt85c (http://www.mediafire.com/?fg923u8akxkt85c)

PD: Noltari, no tengas en cuenta mucho el formato porque soy novato novato   :D
Le he echado un ojo por encima y lo veo bien en general. El problema que hay es que fuerzas el registro del pci con el bcm63xx_pci_register();. No lo he mirado a fondo, pero eso es hacer el mismo trabajo dos veces, ya que se trasladó a arch_initcalls dicha llamada y ese parche no nos lo van a aceptar :$...
Como ya he dicho, sólo le he echado un ojo por encima. Cuando consiga lo del atheros me pongo en serio ;).

Saludos!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 12-07-2012, 01:24 (Jueves)
¡ HABEMUS WIFI !
Ya aparece la pestaña Wifi dentro de la ficha Network.
No obstante, todavía no es posible hacer un scan de redes colindantes ni tampoco conectarse configurándola como AP. La prueba la he hecho sin encriptación.

Saludos.

Pues se me ha ido la olla y he parcheado parte en un directorio y parte en otro. Tengo el servidor de workspaces de openwrt petadísimo y me he hecho un lío con tanto router...

Ahí va la buena y lo siento por haberme equivocado xD: https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_r32665_debug_force_2ghz_correct.bin
Título: Re: OpenWRT en Huawei hg556a
Publicado por: geminis_demon en 12-07-2012, 02:10 (Jueves)
buenas,

otra revisión más (creo que la buena) para seguir abusando de vuestra paciencia  ;D flasheamos, y cuando arranque, vemos  la MAC en Luci o bien mirando el fichero /etc/config/wireless y que debe ser como sigue:

6A:XX:XX:XX:XX:YY donde XX serán igual a la mac de la pegatina, pero YY será +1. Así la calcula en el firmware original creo.

http://www.mediafire.com/download.php?9qq125ackq6w7go (http://www.mediafire.com/download.php?9qq125ackq6w7go)

Otros cambios que no se notan, pero están ahí es que:

- ya incluye la detección del HG556 y
- por los tres primeros dígitos de la MAC sabe además si es Ralink y aplica este parche automáticamente. (creo que todos los que tenemos routers con ralink la mac de la pegatina empieza por 84:A8:E4... pueden confirmarme esto por favor?

Gracias por la paciencia!!!  8)

He llegado tarde a casa, y se me ha hecho imposible hacer pruebas, mañana a ver si se tercia el día y pruebo la autodetección mac.

Puedes verlo de muchas formas, conectandote como cliente te debe aparecer por Luci la Mac del Wireless, o en la tabla DHCP del router Wifi Madre, deberías ver la IP del openwrt + su mac.

La mac original del router está detrás en una pegatina.


Sobre prueba, lo que queráis menos por serie :(, Atheros openwrt (con wifi), y ralink openwrt.

Una pena la decisión de danitool de desaparecer de la "scene" :(

Tengo que hacer pruebas con estos openwrt + modem yoigo USB. Hacen un buen router pagando 9€ por 1gb mensual.


No hagas las pruebas mirando la mac que viene detras del router porque esa es la mac de la red lan, la que nos interesa es la del wifi, lo mas facil es mirar con airodump-ng, primero con el firmware de vodafone y luego con openwrt, y las comparas.

No se que pasa pero no funciona. No puedo acceder al router via web ni telnet ni ssh, está encendida la luz de power pero no puedo acceder de ninguna forma, lo he flasheado 2 veces por si acaso y nada.

En cuanto a la mac de la pegatina, la mia empieza por 04:C0:6F... pero esa es la del lan (la que openwrt reconoce como eth0). La mac del wifi deveria empezar por 6A:C0:6F..
Título: Re: OpenWRT en Huawei hg556a
Publicado por: foncubierta en 12-07-2012, 03:27 (Jueves)
Bueno aporto mi granito de arena...he probado el ultimo fimware que habeis posteado(el que esta en dropbox) y a mi tampoco me deja abrir la dirrecion del router con esta version,con la version que hay en la primera pagina si puedo acceder al router a la interfaz pero no me viene la opcion del wifi,asin que me imagino que me pasara igual que al compañero de arriba,os dejo mi mac que viene en la pegatina:

04:C0:6F:34:XX:XX

Cualquier cosa contad conmigo que el router esta en una caja cogiendo polvo xD Asin que haber si al menos le podemos instalar openwrt! ;)
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 12-07-2012, 03:46 (Jueves)
Bueno aporto mi granito de arena...he probado el ultimo fimware que habeis posteado(el que esta en dropbox) y a mi tampoco me deja abrir la dirrecion del router con esta version,con la version que hay en la primera pagina si puedo acceder al router a la interfaz pero no me viene la opcion del wifi,asin que me imagino que me pasara igual que al compañero de arriba,os dejo mi mac que viene en la pegatina:

04:C0:6F:34:XX:XX

Cualquier cosa contad conmigo que el router esta en una caja cogiendo polvo xD Asin que haber si al menos le podemos instalar openwrt! ;)
Envíame un dmesg del firmware oficial y un backup del cfe.bin con el firmware del primer post por favor.

Copia del cfe:
dd if=/dev/mtd0 of=/www/cfe.bin
En el PC vas en el navegador a http://192.168.1.1/cfe.bin

P.D: No había visto esa mac hasta ahora en ninguno de los routers :$...
Título: Re: OpenWRT en Huawei hg556a
Publicado por: gmtii en 12-07-2012, 09:06 (Jueves)
buenos días,

el pci register salió porque el fichero aún no estaba parcheado para soporte PCI.. fallo al hacer el diff, claramente no tenía que ir ahí...

sobre las macs... he preguntado a todos los que conozco con este router y los que tienen atheros tienen mac 64:XX.. pero uno de ellos tiene una F0:XX y es atheros!...

@foncubierta: si tu MAC no es 84:XX.., el firm que probaste no va a activar la wifi porque no es Ralink (en principio).

saludos.

Gracias a ti, que eres el que se lo está currando.
Seguimos sin wifi. Bootlog enviado.

Gracias por las pruebas. He llegado a la conclusión de que al leer los datos del wifi no detecta las bandas que soporta el wifi. He forzado la banda de 2GHz y añadido otro debug a ver si arroja algo de luz.
https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_r32665_debug_force_2ghz.bin
Pues se me ha ido la olla y he parcheado parte en un directorio y parte en otro. Tengo el servidor de workspaces de openwrt petadísimo y me he hecho un lío con tanto router...

Ahí va la buena y lo siento por haberme equivocado xD: https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_r32665_debug_force_2ghz_correct.bin

buenas,

Adjunto por fin parches y demás necesario para el HW556 version RALINK RT3062F. A ver si Noltari puede fusionar este rollo con su parche que a punto está de conseguir que funcione. ( felicidades por el trabajo!!!!)

Esto es una solución que tiene imposible cabida en trunk de Openwrt tal cual está ahora. Seguiré investigando la forma elegante de resolver la inicialización de la eeprom de la Ralink vía bus PCI y no con el atajo que he busqué mediante una eeprom externa y la asignación de mac adhoc.

Saludos a todos y gracias por los buenos momentos haciendo esto  >:(

http://www.mediafire.com/?fg923u8akxkt85c (http://www.mediafire.com/?fg923u8akxkt85c)

PD: Noltari, no tengas en cuenta mucho el formato porque soy novato novato   :D
Le he echado un ojo por encima y lo veo bien en general. El problema que hay es que fuerzas el registro del pci con el bcm63xx_pci_register();. No lo he mirado a fondo, pero eso es hacer el mismo trabajo dos veces, ya que se trasladó a arch_initcalls dicha llamada y ese parche no nos lo van a aceptar :$...
Como ya he dicho, sólo le he echado un ojo por encima. Cuando consiga lo del atheros me pongo en serio ;).

Saludos!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 12-07-2012, 11:05 (Jueves)
Mis dos atheros empiezan por 64:16 y F4:C7
....
sobre las macs... he preguntado a todos los que conozco con este router y los que tienen atheros tienen mac 64:XX.. pero uno de ellos tiene una F0:XX y es atheros!...
....
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 12-07-2012, 14:07 (Jueves)
Mis dos atheros empiezan por 64:16 y F4:C7
....
sobre las macs... he preguntado a todos los que conozco con este router y los que tienen atheros tienen mac 64:XX.. pero uno de ellos tiene una F0:XX y es atheros!...
....
No os fijéis en las MACs del WLAN, pueden variar incluso en el mismo modelo.
Fijáos en las MACs del ethernet:
5c:4c:a9 -> Atheros/MX29GL128EH
f4:c7:14 -> Atheros/S29GL128P10
00:25:68 -> Atheros/MX29LV128DB
84:a8:e4 -> Ralink

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

raphik o jar229, probad este firmware cuando podáis:
https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_r32680.bin

Un consejo, si intentáis iniciar el wifi desde luci, haced el dmesg después de haberlo intentado, puede que el driver atheros nos dé más información de qué está pasando de esta forma.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 12-07-2012, 16:11 (Jueves)
¿Alguien con un Ralink podría probar este firmware?
https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_r32680_ralink.bin

Es un intento de adaptar los parches de gmtii a los míos actualizados para el atheros.

Saludos!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 12-07-2012, 19:09 (Jueves)
Probado. Reconoce el dispositivo wifi, pero...
- la wifi  no inicia
- en la lista de canales aparecen también de 5 GHz
- la potencia wifi no pasa de 50 mW
Enviado bootlog y dmesg.

Saludos.

raphik o jar229, probad este firmware cuando podáis:
https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_r32680.bin

Un consejo, si intentáis iniciar el wifi desde luci, haced el dmesg después de haberlo intentado, puede que el driver atheros nos dé más información de qué está pasando de esta forma.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: gmtii en 12-07-2012, 19:42 (Jueves)
no la inicia; no se está ejecutando el hw556_register_rt2x00 y por tanto no carga la eeprom. Podría ser que tu código de detección se ejecute antes del registro del bus pci?

saludos.

¿Alguien con un Ralink podría probar este firmware?
https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_r32680_ralink.bin

Es un intento de adaptar los parches de gmtii a los míos actualizados para el atheros.

Saludos!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 13-07-2012, 13:01 (Viernes)
no la inicia; no se está ejecutando el hw556_register_rt2x00 y por tanto no carga la eeprom. Podría ser que tu código de detección se ejecute antes del registro del bus pci?

saludos.

¿Alguien con un Ralink podría probar este firmware?
https://dl.dropbox.com/u/4708147/openwrt/hg556a/openwrt-HW556-squashfs-cfe_r32680_ralink.bin

Es un intento de adaptar los parches de gmtii a los míos actualizados para el atheros.

Saludos!
No, eso es que había hecho un intento de registrarlo con el platform devices de la "board structure". Cuando consiga averigüe por qué el atheros no funciona en la última versión me pongo con ello.

Aquí dejo los parches para el SVN básicos por si quieres trabajar sobre ellos (no incluyen nada específico del atheros):
https://dl.dropbox.com/u/4708147/openwrt/hw556/hw556_basic_svn.patch

Saludos!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 13-07-2012, 13:02 (Viernes)
Alguien con un atheros podría probar este firmware cuando pueda?

https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32689_mac80211.bin

Saludos.
Título: Re: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 13-07-2012, 17:47 (Viernes)
En un rato llego a casa y lo pruebo ;)

Enviado desde mi u8500 usando Tapatalk 2
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 13-07-2012, 18:19 (Viernes)
Probado. ¡FUNCIONA!
- Reconoce el dispositivo wifi
- Escanea redes y se conecta como cliente a un AP remoto.
Bootlog y dmesg enviados al maestro Noltari.
EDITO: Configuro el router como AP y lo veo desde mi PC, pero no consigo asociarme.

Alguien con un atheros podría probar este firmware cuando pueda?
https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32689_mac80211.bin
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 13-07-2012, 19:12 (Viernes)
El problema es que básicamente he hecho trampa...

He compilado el firmware basándome en la última versión del trunk, pero he cogido el paquete mac80211 de la versión que funcionaba de danitool.
Preguntaré en el irc a ver qué puede estar pasando para que con una versión antigua funcione pero con una nueva no reconozca la eeprom...

Que aparezca y no se conecte puede ser un efecto secundario de esta "mezcla", debido a alguna incompatibilidad...

Saludos.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 13-07-2012, 19:24 (Viernes)
A ver si jar229 puede hacer algunas pruebas, no vaya a ser que yo lo esté haciendo mal.
Saludos.

El problema es que básicamente he hecho trampa...

He compilado el firmware basándome en la última versión del trunk, pero he cogido el paquete mac80211 de la versión que funcionaba de danitool.
Preguntaré en el irc a ver qué puede estar pasando para que con una versión antigua funcione pero con una nueva no reconozca la eeprom...

Que aparezca y no se conecte puede ser un efecto secundario de esta "mezcla", debido a alguna incompatibilidad...

Saludos.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 13-07-2012, 19:45 (Viernes)
Probado en modo cliente con relayd funciona como un 'cañon'  ;D ;D ;D
Había comentado, que últimamente (incluso postee el problema en el foro de openwrt) que relayd no iba bien. Pensé que era problema del propio paquete, pero ahora ya no sé que pensar  ???

Adjunto dmesg
[spoiler]
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #2 Tue Jul 10 20:45:31 CEST 2012
[    0.000000] Detected Broadcom 0x6358 CPU revision a1
[    0.000000] CPU frequency is 300 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] registering 40 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 39 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xbe000000
[    0.000000] board_bcm963xx: CFE version: 100.48.56-49.46
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a010 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: HW556
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 8029f750, node_mem_map 81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16256 pages, LIFO batch:3
[    0.000000] Reserving 0MB of memory at 0MB for crashkernel
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc:
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Memory: 61892k/65536k available (2225k kernel code, 3644k reserved, 398k data, 200k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 299.26 BogoMIPS (lpj=598528)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.052000] NET: Registered protocol family 16
[    0.068000] [HG556a] changed ath9k regdomain to 0xff
[    0.100000] registering PCI controller with io_map_base unset
[    0.120000] bio: create slab <bio-0> at 0
[    0.128000] PCI host bridge to bus 0000:00
[    0.132000] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[    0.136000] pci_bus 0000:00: root bus resource [io  0x8000000-0x800ffff]
[    0.140000] pci 0000:00:01.0: [168c:ff1d] type 0 class 0x000200
[    0.140000] pci 0000:00:01.0: reg 10: [mem 0x00000000-0x0000ffff]
[    0.152000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x3000ffff]
[    0.156000] Switching to clocksource MIPS
[    0.168000] NET: Registered protocol family 2
[    0.172000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.180000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.188000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.196000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.204000] TCP reno registered
[    0.208000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.212000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.220000] NET: Registered protocol family 1
[    0.224000] pci 0000:00:01.0: invalid calibration data
[    0.228000] PCI: CLS 0 bytes, default 16
[    0.232000] audit: initializing netlink socket (disabled)
[    0.240000] type=2000 audit(0.240:1): initialized
[    0.244000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.252000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.264000] msgmni has been set to 120
[    0.268000] io scheduler noop registered
[    0.272000] io scheduler deadline registered (default)
[    0.280000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10) is a bcm63xx_uart
[    0.288000] console [ttyS0] enabled, bootconsole disabled
[    0.304000] physmap platform flash device: 02000000 at 1e000000
[    0.312000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002101
[    0.320000] physmap-flash.0: Found an alias at 0x1000000 for the chip at 0x0
[    0.320000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.328000]   Amd/Fujitsu Extended Query version 1.3.
[    0.332000] number of CFI chips: 1
[    0.336000] bcm63xxpart: CFE boot tag found with version 8 and board type HW556
[    0.344000] bcm63xxpart: Partition 0 is CFE offset 0 and length 20000
[    0.352000] bcm63xxpart: Partition 1 is kernel offset 20100 and length fff00
[    0.356000] bcm63xxpart: Partition 2 is rootfs offset 120000 and length dc0000
[    0.364000] bcm63xxpart: Partition 3 is cal_data offset ee0000 and length 20000
[    0.372000] bcm63xxpart: Partition 4 is nvram offset fe0000 and length 20000
[    0.380000] bcm63xxpart: Partition 5 is linux offset 20000 and length ec0000
[    0.388000] bcm63xxpart: Spare partition is offset 320004 and length bbfffc
[    0.396000] 6 bcm63xxpart partitions found on MTD device physmap-flash.0
[    0.400000] Creating 6 MTD partitions on "physmap-flash.0":
[    0.408000] 0x000000000000-0x000000020000 : "CFE"
[    0.416000] 0x000000020100-0x000000120000 : "kernel"
[    0.420000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.440000] 0x000000120000-0x000000ee0000 : "rootfs"
[    0.448000] mtd: partition "rootfs" set to be root filesystem
[    0.452000] mtd: partition "rootfs_data" created automatically, ofs=320000, len=BC0000
[    0.460000] 0x000000320000-0x000000ee0000 : "rootfs_data"
[    0.472000] 0x000000ee0000-0x000000f00000 : "cal_data"
[    0.480000] 0x000000fe0000-0x000001000000 : "nvram"
[    0.488000] 0x000000020000-0x000000ee0000 : "linux"
[    0.508000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.516000] Registered led device: HW556:red:message
[    0.516000] Registered led device: HW556:red:hspa
[    0.520000] Registered led device: HW556:red:dsl
[    0.520000] Registered led device: HW556:red:power
[    0.520000] Registered led device: HW556:red:all
[    0.520000] TCP cubic registered
[    0.524000] NET: Registered protocol family 17
[    0.528000] 8021q: 802.1Q VLAN Support v1.8
[    0.540000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.552000] Freeing unused kernel memory: 200k freed
[    3.448000] roboswitch: Probing device eth0: found a 5325! It's a 5350.
[    4.512000] There is already a switch registered on the device 'eth0'
[   12.096000] Compat-wireless backport release: compat-wireless-2012-07-03-2-3-g7adf66e
[   12.104000] Backport based on wireless-testing.git master-2012-07-06
[   12.112000] compat.git: wireless-testing.git
[   12.176000] cfg80211: Calling CRDA to update world regulatory domain
[   12.180000] cfg80211: World regulatory domain updated:
[   12.188000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.196000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.204000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.212000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.220000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.228000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.668000] NET: Registered protocol family 10
[   12.980000] There is already a switch registered on the device 'eth0'
[   13.304000] usbcore: registered new interface driver usbfs
[   13.312000] usbcore: registered new interface driver hub
[   13.320000] usbcore: registered new device driver usb
[   14.340000] Button Hotplug driver version 0.4.1
[   14.532000] PPP generic driver version 2.4.2
[   14.764000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   15.188000] NET: Registered protocol family 24
[   15.228000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   15.340000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[   15.344000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[   15.380000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
[   15.396000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[   15.404000] hub 1-0:1.0: USB hub found
[   15.408000] hub 1-0:1.0: 2 ports detected
[   15.460000] nf_conntrack version 0.5.0 (970 buckets, 3880 max)
[   15.724000] usb 1-1: new high-speed USB device number 2 using bcm63xx_ehci
[   15.864000] hub 1-1:1.0: USB hub found
[   15.872000] hub 1-1:1.0: 2 ports detected
[   15.992000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   16.388000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   16.500000] bcm63xx_ohci bcm63xx_ohci.0: BCM63XX integrated OHCI controller
[   16.504000] bcm63xx_ohci bcm63xx_ohci.0: new USB bus registered, assigned bus number 2
[   16.512000] bcm63xx_ohci bcm63xx_ohci.0: irq 13, io mem 0xfffe1400
[   16.580000] hub 2-0:1.0: USB hub found
[   16.584000] hub 2-0:1.0: 1 port detected
[   16.624000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   23.216000] eth0: link forced UP - 100/full - flow control off/off
[   23.240000] device eth0 entered promiscuous mode
[   23.248000] br-lan: port 1(eth0) entered forwarding state
[   23.256000] br-lan: port 1(eth0) entered forwarding state
[   25.260000] br-lan: port 1(eth0) entered forwarding state
[   33.632000] eth0: no IPv6 routers present
[   45.040000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   45.052000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   45.056000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[  100.368000] JFFS2 notice: (989) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.

[/spoiler]

Si me he dado cuenta, de que a pesar de que le cambies la zona (desde LuCi) del wifi, no cambia el número de canales soportados.

Voy a probar el modo AP y comento  ;)
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 13-07-2012, 20:03 (Viernes)
Yo lo he probado en modo cliente desde LuCI (¿con o sin relayd? Ni idea.):
Pestaña "Network" / Subpestaña "Wifi" / Botón "Scan". Directamente aparece la pantalla "Join Network: Wireless Scan" con una lista de redes. Pulso "Join Network" para agregarme a una de ellas y relleno los parámetros pertinentes (tipo de encriptación, clave, etc.) ¿Esto es modo cliente con relayd?
Por defecto, la zona es US y salen bastante más de once canales. Al elegir "ES" aparecen sólo 11 (normal). Cambiando a "JP" siguen siendo 11, ni uno más ( deberían de ser 14, ¿no?).
En cuanto al "selector de potencia" aparecen valores muy por encima de 100 mW. Casi que da miedo.
Y en modo AP, nasti de plasti.
Probado en modo cliente con relayd funciona como un 'cañon'  ;D ;D ;D
Había comentado, que últimamente (incluso postee el problema en el foro de openwrt) que relayd no iba bien. Pensé que era problema del propio paquete, pero ahora ya no sé que pensar  ???

Si me he dado cuenta, de que a pesar de que le cambies la zona (desde LuCi) del wifi, no cambia el número de canales soportados.

Voy a probar el modo AP y comento  ;)

Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 13-07-2012, 20:28 (Viernes)
El modo repetidor con relayd sí funciona (vamos, una interfaz en modo cliente y otra en modo AP), pero al cabo del rato, parece que el router deja de responder.
El modo AP ('sencillo'), a mi sí me funciona. He podido conectar el móvil sin ningún problema.

Voy a dejarlo en modo cliente con relayd a ver que tal se comporta unas cuantas horas ....

raphik: relayd es un 'paquete' que se usa para conectar en modo cliente 'transparente' (todos los equipos en la misma subred). Y como lo haces tú, es cliente 'ruteado': http://wiki.openwrt.org/doc/howto/clientmode
A Noltari no le gusta relayd, pero a mí me resulta muy cómodo  ;)
Por cierto, a ver si te explican el porqué del tema de driver  :-\
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 13-07-2012, 20:44 (Viernes)
Probado en modo cliente con relayd funciona como un 'cañon'  ;D ;D ;D
Había comentado, que últimamente (incluso postee el problema en el foro de openwrt) que relayd no iba bien. Pensé que era problema del propio paquete, pero ahora ya no sé que pensar  ???

Adjunto dmesg
[spoiler]
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #2 Tue Jul 10 20:45:31 CEST 2012
[    0.000000] Detected Broadcom 0x6358 CPU revision a1
[    0.000000] CPU frequency is 300 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] registering 40 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 39 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xbe000000
[    0.000000] board_bcm963xx: CFE version: 100.48.56-49.46
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a010 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: HW556
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 8029f750, node_mem_map 81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16256 pages, LIFO batch:3
[    0.000000] Reserving 0MB of memory at 0MB for crashkernel
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc:
  • 0

[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Memory: 61892k/65536k available (2225k kernel code, 3644k reserved, 398k data, 200k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 299.26 BogoMIPS (lpj=598528)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.052000] NET: Registered protocol family 16
[    0.068000] [HG556a] changed ath9k regdomain to 0xff
[    0.100000] registering PCI controller with io_map_base unset
[    0.120000] bio: create slab <bio-0> at 0
[    0.128000] PCI host bridge to bus 0000:00
[    0.132000] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[    0.136000] pci_bus 0000:00: root bus resource [io  0x8000000-0x800ffff]
[    0.140000] pci 0000:00:01.0: [168c:ff1d] type 0 class 0x000200
[    0.140000] pci 0000:00:01.0: reg 10: [mem 0x00000000-0x0000ffff]
[    0.152000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x3000ffff]
[    0.156000] Switching to clocksource MIPS
[    0.168000] NET: Registered protocol family 2
[    0.172000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.180000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.188000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.196000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.204000] TCP reno registered
[    0.208000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.212000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.220000] NET: Registered protocol family 1
[    0.224000] pci 0000:00:01.0: invalid calibration data
[    0.228000] PCI: CLS 0 bytes, default 16
[    0.232000] audit: initializing netlink socket (disabled)
[    0.240000] type=2000 audit(0.240:1): initialized
[    0.244000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.252000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.264000] msgmni has been set to 120
[    0.268000] io scheduler noop registered
[    0.272000] io scheduler deadline registered (default)
[    0.280000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10) is a bcm63xx_uart
[    0.288000] console [ttyS0] enabled, bootconsole disabled
[    0.304000] physmap platform flash device: 02000000 at 1e000000
[    0.312000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002101
[    0.320000] physmap-flash.0: Found an alias at 0x1000000 for the chip at 0x0
[    0.320000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.328000]   Amd/Fujitsu Extended Query version 1.3.
[    0.332000] number of CFI chips: 1
[    0.336000] bcm63xxpart: CFE boot tag found with version 8 and board type HW556
[    0.344000] bcm63xxpart: Partition 0 is CFE offset 0 and length 20000
[    0.352000] bcm63xxpart: Partition 1 is kernel offset 20100 and length fff00
[    0.356000] bcm63xxpart: Partition 2 is rootfs offset 120000 and length dc0000
[    0.364000] bcm63xxpart: Partition 3 is cal_data offset ee0000 and length 20000
[    0.372000] bcm63xxpart: Partition 4 is nvram offset fe0000 and length 20000
[    0.380000] bcm63xxpart: Partition 5 is linux offset 20000 and length ec0000
[    0.388000] bcm63xxpart: Spare partition is offset 320004 and length bbfffc
[    0.396000] 6 bcm63xxpart partitions found on MTD device physmap-flash.0
[    0.400000] Creating 6 MTD partitions on "physmap-flash.0":
[    0.408000] 0x000000000000-0x000000020000 : "CFE"
[    0.416000] 0x000000020100-0x000000120000 : "kernel"
[    0.420000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.440000] 0x000000120000-0x000000ee0000 : "rootfs"
[    0.448000] mtd: partition "rootfs" set to be root filesystem
[    0.452000] mtd: partition "rootfs_data" created automatically, ofs=320000, len=BC0000
[    0.460000] 0x000000320000-0x000000ee0000 : "rootfs_data"
[    0.472000] 0x000000ee0000-0x000000f00000 : "cal_data"
[    0.480000] 0x000000fe0000-0x000001000000 : "nvram"
[    0.488000] 0x000000020000-0x000000ee0000 : "linux"
[    0.508000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.516000] Registered led device: HW556:red:message
[    0.516000] Registered led device: HW556:red:hspa
[    0.520000] Registered led device: HW556:red:dsl
[    0.520000] Registered led device: HW556:red:power
[    0.520000] Registered led device: HW556:red:all
[    0.520000] TCP cubic registered
[    0.524000] NET: Registered protocol family 17
[    0.528000] 8021q: 802.1Q VLAN Support v1.8
[    0.540000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.552000] Freeing unused kernel memory: 200k freed
[    3.448000] roboswitch: Probing device eth0: found a 5325! It's a 5350.
[    4.512000] There is already a switch registered on the device 'eth0'
[   12.096000] Compat-wireless backport release: compat-wireless-2012-07-03-2-3-g7adf66e
[   12.104000] Backport based on wireless-testing.git master-2012-07-06
[   12.112000] compat.git: wireless-testing.git
[   12.176000] cfg80211: Calling CRDA to update world regulatory domain
[   12.180000] cfg80211: World regulatory domain updated:
[   12.188000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.196000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.204000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.212000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.220000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.228000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.668000] NET: Registered protocol family 10
[   12.980000] There is already a switch registered on the device 'eth0'
[   13.304000] usbcore: registered new interface driver usbfs
[   13.312000] usbcore: registered new interface driver hub
[   13.320000] usbcore: registered new device driver usb
[   14.340000] Button Hotplug driver version 0.4.1
[   14.532000] PPP generic driver version 2.4.2
[   14.764000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   15.188000] NET: Registered protocol family 24
[   15.228000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   15.340000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[   15.344000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[   15.380000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
[   15.396000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[   15.404000] hub 1-0:1.0: USB hub found
[   15.408000] hub 1-0:1.0: 2 ports detected
[   15.460000] nf_conntrack version 0.5.0 (970 buckets, 3880 max)
[   15.724000] usb 1-1: new high-speed USB device number 2 using bcm63xx_ehci
[   15.864000] hub 1-1:1.0: USB hub found
[   15.872000] hub 1-1:1.0: 2 ports detected
[   15.992000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   16.388000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   16.500000] bcm63xx_ohci bcm63xx_ohci.0: BCM63XX integrated OHCI controller
[   16.504000] bcm63xx_ohci bcm63xx_ohci.0: new USB bus registered, assigned bus number 2
[   16.512000] bcm63xx_ohci bcm63xx_ohci.0: irq 13, io mem 0xfffe1400
[   16.580000] hub 2-0:1.0: USB hub found
[   16.584000] hub 2-0:1.0: 1 port detected
[   16.624000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   23.216000] eth0: link forced UP - 100/full - flow control off/off
[   23.240000] device eth0 entered promiscuous mode
[   23.248000] br-lan: port 1(eth0) entered forwarding state
[   23.256000] br-lan: port 1(eth0) entered forwarding state
[   25.260000] br-lan: port 1(eth0) entered forwarding state
[   33.632000] eth0: no IPv6 routers present
[   45.040000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   45.052000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   45.056000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[  100.368000] JFFS2 notice: (989) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.

[/spoiler]

Si me he dado cuenta, de que a pesar de que le cambies la zona (desde LuCi) del wifi, no cambia el número de canales soportados.

Voy a probar el modo AP y comento  ;)

Ese dmesg es antiguo, ahí no hay wifi :$...
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 13-07-2012, 20:54 (Viernes)

Ese dmesg es antiguo, ahí no hay wifi :$...

La puñetera cache del firefox  ^-^ ^-^
Ahora seguro que sí, el nuevo dmesg  ;)

[spoiler]
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Fri Jul 13 12:56:59 CEST 2012
[    0.000000] Detected Broadcom 0x6358 CPU revision a1
[    0.000000] CPU frequency is 300 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] registering 40 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 39 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xbe000000
[    0.000000] board_bcm963xx: CFE version: 100.48.56-49.46
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a010 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: HW556
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 8029f750, node_mem_map 81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16256 pages, LIFO batch:3
[    0.000000] Reserving 0MB of memory at 0MB for crashkernel
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc:
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Memory: 61896k/65536k available (2225k kernel code, 3640k reserved, 398k data, 196k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 299.26 BogoMIPS (lpj=598528)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.052000] NET: Registered protocol family 16
[    0.068000] registering PCI controller with io_map_base unset
[    0.088000] bio: create slab <bio-0> at 0
[    0.096000] PCI host bridge to bus 0000:00
[    0.100000] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[    0.104000] pci_bus 0000:00: root bus resource [io  0x8000000-0x800ffff]
[    0.108000] pci 0000:00:01.0: [168c:ff1d] type 0 class 0x000200
[    0.108000] pci 0000:00:01.0: reg 10: [mem 0x00000000-0x0000ffff]
[    0.120000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x3000ffff]
[    0.124000] Switching to clocksource MIPS
[    0.136000] NET: Registered protocol family 2
[    0.140000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.148000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.156000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.164000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.172000] TCP reno registered
[    0.172000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.180000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.188000] NET: Registered protocol family 1
[    0.192000] pci 0000:00:01.0: fixup device configuration
[    0.200000] PCI: CLS 0 bytes, default 16
[    0.204000] audit: initializing netlink socket (disabled)
[    0.212000] type=2000 audit(0.212:1): initialized
[    0.216000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.224000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.236000] msgmni has been set to 120
[    0.240000] io scheduler noop registered
[    0.244000] io scheduler deadline registered (default)
[    0.252000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10) is a bcm63xx_uart
[    0.260000] console [ttyS0] enabled, bootconsole disabled
[    0.276000] physmap platform flash device: 02000000 at 1e000000
[    0.284000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002101
[    0.292000] physmap-flash.0: Found an alias at 0x1000000 for the chip at 0x0
[    0.292000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.300000]   Amd/Fujitsu Extended Query version 1.3.
[    0.304000] number of CFI chips: 1
[    0.308000] bcm63xxpart: CFE boot tag found with version 8 and board type HW556
[    0.316000] bcm63xxpart: Partition 0 is CFE offset 0 and length 20000
[    0.320000] bcm63xxpart: Partition 1 is kernel offset 20100 and length fff00
[    0.328000] bcm63xxpart: Partition 2 is rootfs offset 120000 and length dc0000
[    0.336000] bcm63xxpart: Partition 3 is cal_data offset ee0000 and length 20000
[    0.344000] bcm63xxpart: Partition 4 is nvram offset fe0000 and length 20000
[    0.352000] bcm63xxpart: Partition 5 is linux offset 20000 and length ec0000
[    0.360000] bcm63xxpart: Spare partition is offset 340004 and length b9fffc
[    0.364000] 6 bcm63xxpart partitions found on MTD device physmap-flash.0
[    0.372000] Creating 6 MTD partitions on "physmap-flash.0":
[    0.380000] 0x000000000000-0x000000020000 : "CFE"
[    0.388000] 0x000000020100-0x000000120000 : "kernel"
[    0.392000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.408000] 0x000000120000-0x000000ee0000 : "rootfs"
[    0.420000] mtd: partition "rootfs" set to be root filesystem
[    0.424000] mtd: partition "rootfs_data" created automatically, ofs=340000, len=BA0000
[    0.432000] 0x000000340000-0x000000ee0000 : "rootfs_data"
[    0.444000] 0x000000ee0000-0x000000f00000 : "cal_data"
[    0.452000] 0x000000fe0000-0x000001000000 : "nvram"
[    0.460000] 0x000000020000-0x000000ee0000 : "linux"
[    0.480000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.488000] Registered led device: HW556:red:message
[    0.488000] Registered led device: HW556:red:hspa
[    0.492000] Registered led device: HW556:red:dsl
[    0.492000] Registered led device: HW556:red:power
[    0.492000] Registered led device: HW556:red:all
[    0.492000] TCP cubic registered
[    0.496000] NET: Registered protocol family 17
[    0.500000] 8021q: 802.1Q VLAN Support v1.8
[    0.512000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.524000] Freeing unused kernel memory: 196k freed
[    3.440000] eth0: link forced UP - 100/full - flow control off/off
[    3.660000] roboswitch: Probing device eth0: found a 5325! It's a 5350.
[    4.728000] There is already a switch registered on the device 'eth0'
[    6.188000] Button Hotplug driver version 0.4.1
[   10.192000] JFFS2 notice: (365) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 7 of xref (0 dead, 2 orphan) found.
[   13.176000] Compat-wireless backport release: compat-wireless-2012-02-27-1-r32689
[   13.184000] Backport based on wireless-testing.git master-2012-02-27
[   13.252000] cfg80211: Calling CRDA to update world regulatory domain
[   13.980000] cfg80211: World regulatory domain updated:
[   13.984000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   13.992000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.000000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   14.008000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   14.016000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.024000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.116000] NET: Registered protocol family 10
[   14.696000] SCSI subsystem initialized
[   14.788000] There is already a switch registered on the device 'eth0'
[   15.152000] usbcore: registered new interface driver usbfs
[   15.156000] usbcore: registered new interface driver hub
[   15.164000] usbcore: registered new device driver usb
[   16.272000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[   16.288000] ath: eeprom contains invalid mac address: ff:ff:ff:ff:ff:ff
[   16.292000] ath: random mac address will be used: a2:75:12:35:48:5f
[   16.300000] ath: EEPROM regdomain: 0x0
[   16.300000] ath: EEPROM indicates default country code should be used
[   16.300000] ath: doing EEPROM country->regdmn map search
[   16.300000] ath: country maps to regdmn code: 0x3a
[   16.300000] ath: Country alpha2 being used: US
[   16.300000] ath: Regpair used: 0x3a
[   16.312000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   16.316000] Registered led device: ath9k-phy0
[   16.316000] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xc0320000, irq=39
[   16.328000] cfg80211: Calling CRDA for country: US
[   16.616000] cfg80211: Regulatory domain changed to country: US
[   16.624000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   16.632000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[   16.640000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[   16.648000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   16.656000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   16.664000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   16.672000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[   16.868000] PPP generic driver version 2.4.2
[   17.264000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   17.560000] NET: Registered protocol family 24
[   17.760000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   17.872000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[   17.876000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[   17.912000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
[   17.928000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[   17.936000] hub 1-0:1.0: USB hub found
[   17.940000] hub 1-0:1.0: 2 ports detected
[   18.120000] nf_conntrack version 0.5.0 (970 buckets, 3880 max)
[   18.552000] usb 1-1: new high-speed USB device number 2 using bcm63xx_ehci
[   18.692000] hub 1-1:1.0: USB hub found
[   18.704000] hub 1-1:1.0: 2 ports detected
[   18.952000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   19.372000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   19.484000] bcm63xx_ohci bcm63xx_ohci.0: BCM63XX integrated OHCI controller
[   19.488000] bcm63xx_ohci bcm63xx_ohci.0: new USB bus registered, assigned bus number 2
[   19.496000] bcm63xx_ohci bcm63xx_ohci.0: irq 13, io mem 0xfffe1400
[   19.564000] hub 2-0:1.0: USB hub found
[   19.568000] hub 2-0:1.0: 1 port detected
[   19.744000] Initializing USB Mass Storage driver...
[   19.748000] usbcore: registered new interface driver usb-storage
[   19.756000] USB Mass Storage support registered.
[   19.792000] usbcore: registered new interface driver ums-alauda
[   19.832000] usbcore: registered new interface driver ums-cypress
[   19.868000] usbcore: registered new interface driver ums-datafab
[   19.908000] usbcore: registered new interface driver ums-freecom
[   19.944000] usbcore: registered new interface driver ums-isd200
[   19.984000] usbcore: registered new interface driver ums-jumpshot
[   20.020000] usbcore: registered new interface driver ums-karma
[   20.060000] usbcore: registered new interface driver ums-sddr09
[   20.096000] usbcore: registered new interface driver ums-sddr55
[   20.136000] usbcore: registered new interface driver ums-usbat
[   20.176000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   25.628000] eth0: link forced UP - 100/full - flow control off/off
[   25.652000] device eth0 entered promiscuous mode
[   25.664000] br-lan: port 1(eth0) entered forwarding state
[   25.668000] br-lan: port 1(eth0) entered forwarding state
[   27.084000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   27.672000] br-lan: port 1(eth0) entered forwarding state
[   31.512000] wlan0: authenticate with 38:72:c0:a6:xx:xx
[   31.528000] wlan0: send auth to 38:72:c0:a6:xx:xx (try 1/3)
[   31.528000] wlan0: authenticated
[   31.548000] wlan0: associate with 38:72:c0:a6:xx:xx (try 1/3)
[   31.548000] wlan0: RX AssocResp from 38:72:c0:a6:xx:xx (capab=0x411 status=0 aid=2)
[   31.548000] wlan0: associated
[   31.560000] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   42.000000] wlan0: no IPv6 routers present

[/spoiler]
Título: Re: OpenWRT en Huawei hg556a
Publicado por: felixsg en 13-07-2012, 21:57 (Viernes)
Hola, soy nuevo en este foro y tengo el router con atheros si puedo ayudar
y me indicas como puedo exportar el log
He descargado eso último y no me funciona, pero creo que instale lo de raplink eeprom
y borre el sistema del wifi "pci 0000:00:01.0: invalid calibration data"
creo que ese es el Atheros
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 13-07-2012, 22:20 (Viernes)
Pues voy a intentarlo de nuevo. En un principio pensé que no me funcionaba por haber perdido los datos de calibración originales (los que usa ahora son "prestados"). No obstante, con el firm original y el de danitool si que me funciona el modo AP. Raro, raro.

EDITO: Tremendo fallo de novato total. Al probar el modo cliente, el dispositivo Wifi se vinculó a la interfaz wwan. Cuando lo puse en modo AP, no me di cuenta y siguió vinculado a la interfaz wwan, y no a la lan que es lo suyo. Ahora que lo he puesto bien, funciona perfectamente.
...
El modo AP ('sencillo'), a mi sí me funciona. He podido conectar el móvil sin ningún problema.
...
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 13-07-2012, 22:29 (Viernes)
Hola, soy nuevo en este foro y tengo el router con atheros si puedo ayudar
y me indicas como puedo exportar el log
He descargado eso último y no me funciona, pero creo que instale lo de raplink eeprom
y borre el sistema del wifi "pci 0000:00:01.0: invalid calibration data"
creo que ese es el Atheros
Para exportar el bootlog hay que abrir el router y conectarle un interfaz serie compatible TTL 3.3V(del que hay un esquema unos cuantos mensajes atrás). El interfaz se maneja mediante un soft adecuado, como puede ser el Tera Term o el PuTTY.
Este router no trae conector Dupont, así que para hacer esto hay que echarle mano al soldador impepinablemente.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 13-07-2012, 22:46 (Viernes)
Pues voy a intentarlo de nuevo. En un principio pensé que no me funcionaba por haber perdido los datos de calibración originales (los que usa ahora son "prestados"). No obstante, con el firm original y el de danitool si que me funciona el modo AP. Raro, raro.

Quién te los habrá prestado  ^-^  ;D

felixsg: para recuperar el tema de la partición wifi, espera a Noltari o a gmtti que son los 'masters' en esto  ;)
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 13-07-2012, 22:49 (Viernes)
Hola, soy nuevo en este foro y tengo el router con atheros si puedo ayudar
y me indicas como puedo exportar el log
He descargado eso último y no me funciona, pero creo que instale lo de raplink eeprom
y borre el sistema del wifi "pci 0000:00:01.0: invalid calibration data"
creo que ese es el Atheros
Prueba con este firmware:
https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32689_mac80211.bin

Para extraer el bootlog:
telnet 192.168.1.1
dmesg > /www/dmesg.txt
En el navegador del PC:
http://192.168.1.1/dmesg.txt

Si el wifi no te funciona con ese firmware o tienes un atheros, o si te aparece lo del invalid calibration data es que te has cargado los datos de calibración del wifi :$...

Saludos.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 13-07-2012, 23:00 (Viernes)
Para extraer el bootlog:
telnet 192.168.1.1
dmesg > /www/dmesg.txt
En el navegador del PC:
http://192.168.1.1/dmesg.txt
¡No me digas que un dmesg y un bootlog son equivalentes! Estoy haciendo el primo destripando el router.

Edito: como he puesto más arriba, al probar el modo cliente, el dispositivo Wifi se vinculó a la interfaz wwan. Cuando lo puse en modo AP, no me di cuenta y siguió vinculado a la interfaz wwan, y no a la lan que es lo suyo. Ahora que lo he puesto bien, funciona perfectamente. Ya te digo, um falho do caralho.
El modo AP funciona perfectamente.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: SERASER en 13-07-2012, 23:56 (Viernes)

¡No me digas que un dmesg y un bootlog son equivalentes! Estoy haciendo el primo destripando el router.



Son casi lo mismo pero no, un dmesg no es capaz de mostrar las ordenes del bootloader.

Salud.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 14-07-2012, 00:00 (Sábado)

¡No me digas que un dmesg y un bootlog son equivalentes! Estoy haciendo el primo destripando el router.



Son casi lo mismo pero no, un dmesg no es capaz de mostrar las ordenes del bootloader.

Salud.
Efectivamente. Los bootlog por rs232 son útiles cuando están depurando la placa al principio, de tal forma que puede colgarse antes de iniciar completamente linux, pero tú ya tienes información sobre el bootlog. Una vez que el router arranca perfectamente, da igual uno que otro.

Saludos!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 14-07-2012, 09:38 (Sábado)
raphik, un amigo, quiere usar el router para reproducir mp3's de un disco duro pinchado por usb, sería viable usando mtd + un móvil android como interface ?
Ahora que gracias al maestro Noltari tenemos un firm con el kernel actualizado sigo intentando instalar el "music player daemon". Anteriormente lo instalé con éxito en un hg553.
Ahora, al intentarlo en el hg556a, no me deja ponerle el paquete kmod-usb-audio. Pide un kernel 3.3.8-1-e5e58249fa680bfccc16d480cded7028 y el que tenemos es 3.3.8-1-6a3f553f8c11d674561875def96fbe9f. ¡Vaya chasco! No sabía que dentro de una misma versión hubiera "sub-versiones". Me ha sorprendido que no se pueda instalar un paquete que siendo de la misma versión (3.3.8-1) se supone compatible. ¡Qué quisquilloso!
¿Cómo se podría generar un firm con kernel compatible con el paquete kmod-usb-audio? ¿Es cuestión de seleccionar determinadas opciones al compilar?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 14-07-2012, 12:34 (Sábado)
Citar
opkg install http://downloads.openwrt.org/snapshots/trunk/brcm63xx/packages/kernel_3.3.8-1-e5e58249fa680bfccc16d480cded7028_brcm63xx.ipk

Después, instala lo que quieras  ;)
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 14-07-2012, 12:42 (Sábado)
Citar
opkg install http://downloads.openwrt.org/snapshots/trunk/brcm63xx/packages/kernel_3.3.8-1-e5e58249fa680bfccc16d480cded7028_brcm63xx.ipk

Después, instala lo que quieras  ;)
Aquí lo tenéis compilado con el paquete que has pedido ;)

https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32689_mac80211_audio.bin
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 14-07-2012, 12:47 (Sábado)
Noltari, vete contándonos cómo va lo del tema del wifi 'antiguo' vs 'nuevo'.
Crees que aceptaran los parches y finalmente este router tendrá soporte 'oficial' ?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 14-07-2012, 13:02 (Sábado)
Noltari, vete contándonos cómo va lo del tema del wifi 'antiguo' vs 'nuevo'.
Crees que aceptaran los parches y finalmente este router tendrá soporte 'oficial' ?

Mientra compilaba el firmware para el colega raphik me he metido al irc buscando respuestas para el tema del wifi. He preguntado al master del ath9k (nbd) y ha llegado a la conclusión de que podría ser un tema de "endiannes" al leer la eeprom de la flash.
Ahora mismo estoy compilando un firmware con el flag de la comprobación de endian activada. Si os funciona sólo faltarían los parches del ralink, para lo que tendría que preguntar a jogo sobre cual es la forma más correcta de hacerlo.

Saludos!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 14-07-2012, 13:14 (Sábado)
Ya tengo el firmware compilado. Que alguien lo pruebe con un atheros cuando pueda:
https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32706_endian.bin

Parches para SVN: https://dl.dropbox.com/u/4708147/openwrt/hw556/hw556_svn_atheros.patch

Saludos!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 14-07-2012, 13:44 (Sábado)
Probado y funcionando perfectamente  ;D

dmseg

[spoiler]
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #2 Tue Jul 10 20:45:31 CEST 2012
[    0.000000] Detected Broadcom 0x6358 CPU revision a1
[    0.000000] CPU frequency is 300 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] registering 40 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 39 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xbe000000
[    0.000000] board_bcm963xx: CFE version: 100.48.56-49.46
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a010 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: HW556
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 8029f750, node_mem_map 81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16256 pages, LIFO batch:3
[    0.000000] Reserving 0MB of memory at 0MB for crashkernel
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc:
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Memory: 61892k/65536k available (2225k kernel code, 3644k reserved, 398k data, 200k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 299.26 BogoMIPS (lpj=598528)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.052000] NET: Registered protocol family 16
[    0.068000] [HG556a] changed ath9k regdomain to 0xff
[    0.100000] registering PCI controller with io_map_base unset
[    0.120000] bio: create slab <bio-0> at 0
[    0.128000] PCI host bridge to bus 0000:00
[    0.132000] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[    0.136000] pci_bus 0000:00: root bus resource [io  0x8000000-0x800ffff]
[    0.140000] pci 0000:00:01.0: [168c:ff1d] type 0 class 0x000200
[    0.140000] pci 0000:00:01.0: reg 10: [mem 0x00000000-0x0000ffff]
[    0.152000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x3000ffff]
[    0.156000] Switching to clocksource MIPS
[    0.168000] NET: Registered protocol family 2
[    0.172000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.180000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.188000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.196000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.204000] TCP reno registered
[    0.208000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.212000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.220000] NET: Registered protocol family 1
[    0.224000] pci 0000:00:01.0: invalid calibration data
[    0.228000] PCI: CLS 0 bytes, default 16
[    0.232000] audit: initializing netlink socket (disabled)
[    0.240000] type=2000 audit(0.240:1): initialized
[    0.244000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.252000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.264000] msgmni has been set to 120
[    0.268000] io scheduler noop registered
[    0.272000] io scheduler deadline registered (default)
[    0.280000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10) is a bcm63xx_uart
[    0.288000] console [ttyS0] enabled, bootconsole disabled
[    0.304000] physmap platform flash device: 02000000 at 1e000000
[    0.312000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002101
[    0.320000] physmap-flash.0: Found an alias at 0x1000000 for the chip at 0x0
[    0.320000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.328000]   Amd/Fujitsu Extended Query version 1.3.
[    0.332000] number of CFI chips: 1
[    0.336000] bcm63xxpart: CFE boot tag found with version 8 and board type HW556
[    0.344000] bcm63xxpart: Partition 0 is CFE offset 0 and length 20000
[    0.352000] bcm63xxpart: Partition 1 is kernel offset 20100 and length fff00
[    0.356000] bcm63xxpart: Partition 2 is rootfs offset 120000 and length dc0000
[    0.364000] bcm63xxpart: Partition 3 is cal_data offset ee0000 and length 20000
[    0.372000] bcm63xxpart: Partition 4 is nvram offset fe0000 and length 20000
[    0.380000] bcm63xxpart: Partition 5 is linux offset 20000 and length ec0000
[    0.388000] bcm63xxpart: Spare partition is offset 320004 and length bbfffc
[    0.396000] 6 bcm63xxpart partitions found on MTD device physmap-flash.0
[    0.400000] Creating 6 MTD partitions on "physmap-flash.0":
[    0.408000] 0x000000000000-0x000000020000 : "CFE"
[    0.416000] 0x000000020100-0x000000120000 : "kernel"
[    0.420000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.440000] 0x000000120000-0x000000ee0000 : "rootfs"
[    0.448000] mtd: partition "rootfs" set to be root filesystem
[    0.452000] mtd: partition "rootfs_data" created automatically, ofs=320000, len=BC0000
[    0.460000] 0x000000320000-0x000000ee0000 : "rootfs_data"
[    0.472000] 0x000000ee0000-0x000000f00000 : "cal_data"
[    0.480000] 0x000000fe0000-0x000001000000 : "nvram"
[    0.488000] 0x000000020000-0x000000ee0000 : "linux"
[    0.508000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.516000] Registered led device: HW556:red:message
[    0.516000] Registered led device: HW556:red:hspa
[    0.520000] Registered led device: HW556:red:dsl
[    0.520000] Registered led device: HW556:red:power
[    0.520000] Registered led device: HW556:red:all
[    0.520000] TCP cubic registered
[    0.524000] NET: Registered protocol family 17
[    0.528000] 8021q: 802.1Q VLAN Support v1.8
[    0.540000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.552000] Freeing unused kernel memory: 200k freed
[    3.448000] roboswitch: Probing device eth0: found a 5325! It's a 5350.
[    4.512000] There is already a switch registered on the device 'eth0'
[   12.096000] Compat-wireless backport release: compat-wireless-2012-07-03-2-3-g7adf66e
[   12.104000] Backport based on wireless-testing.git master-2012-07-06
[   12.112000] compat.git: wireless-testing.git
[   12.176000] cfg80211: Calling CRDA to update world regulatory domain
[   12.180000] cfg80211: World regulatory domain updated:
[   12.188000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.196000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.204000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.212000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.220000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.228000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.668000] NET: Registered protocol family 10
[   12.980000] There is already a switch registered on the device 'eth0'
[   13.304000] usbcore: registered new interface driver usbfs
[   13.312000] usbcore: registered new interface driver hub
[   13.320000] usbcore: registered new device driver usb
[   14.340000] Button Hotplug driver version 0.4.1
[   14.532000] PPP generic driver version 2.4.2
[   14.764000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   15.188000] NET: Registered protocol family 24
[   15.228000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   15.340000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[   15.344000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[   15.380000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
[   15.396000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[   15.404000] hub 1-0:1.0: USB hub found
[   15.408000] hub 1-0:1.0: 2 ports detected
[   15.460000] nf_conntrack version 0.5.0 (970 buckets, 3880 max)
[   15.724000] usb 1-1: new high-speed USB device number 2 using bcm63xx_ehci
[   15.864000] hub 1-1:1.0: USB hub found
[   15.872000] hub 1-1:1.0: 2 ports detected
[   15.992000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   16.388000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   16.500000] bcm63xx_ohci bcm63xx_ohci.0: BCM63XX integrated OHCI controller
[   16.504000] bcm63xx_ohci bcm63xx_ohci.0: new USB bus registered, assigned bus number 2
[   16.512000] bcm63xx_ohci bcm63xx_ohci.0: irq 13, io mem 0xfffe1400
[   16.580000] hub 2-0:1.0: USB hub found
[   16.584000] hub 2-0:1.0: 1 port detected
[   16.624000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   23.216000] eth0: link forced UP - 100/full - flow control off/off
[   23.240000] device eth0 entered promiscuous mode
[   23.248000] br-lan: port 1(eth0) entered forwarding state
[   23.256000] br-lan: port 1(eth0) entered forwarding state
[   25.260000] br-lan: port 1(eth0) entered forwarding state
[   33.632000] eth0: no IPv6 routers present
[   45.040000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   45.052000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   45.056000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[  100.368000] JFFS2 notice: (989) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.

[/spoiler]

El tema de los canales, lo sigue llevando mal. Aunque lo pongas en Japón, sigue mostrando únicamente 11 (cuando debieran ser 14). Pero vamos, eso son menudencias  ;D
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 14-07-2012, 13:48 (Sábado)
Probado y funcionando perfectamente  ;D

dmseg

[spoiler]
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #2 Tue Jul 10 20:45:31 CEST 2012
[    0.000000] Detected Broadcom 0x6358 CPU revision a1
[    0.000000] CPU frequency is 300 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] registering 40 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 39 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xbe000000
[    0.000000] board_bcm963xx: CFE version: 100.48.56-49.46
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a010 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: HW556
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 8029f750, node_mem_map 81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16256 pages, LIFO batch:3
[    0.000000] Reserving 0MB of memory at 0MB for crashkernel
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc:
  • 0

[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Memory: 61892k/65536k available (2225k kernel code, 3644k reserved, 398k data, 200k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 299.26 BogoMIPS (lpj=598528)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.052000] NET: Registered protocol family 16
[    0.068000] [HG556a] changed ath9k regdomain to 0xff
[    0.100000] registering PCI controller with io_map_base unset
[    0.120000] bio: create slab <bio-0> at 0
[    0.128000] PCI host bridge to bus 0000:00
[    0.132000] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[    0.136000] pci_bus 0000:00: root bus resource [io  0x8000000-0x800ffff]
[    0.140000] pci 0000:00:01.0: [168c:ff1d] type 0 class 0x000200
[    0.140000] pci 0000:00:01.0: reg 10: [mem 0x00000000-0x0000ffff]
[    0.152000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x3000ffff]
[    0.156000] Switching to clocksource MIPS
[    0.168000] NET: Registered protocol family 2
[    0.172000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.180000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.188000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.196000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.204000] TCP reno registered
[    0.208000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.212000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.220000] NET: Registered protocol family 1
[    0.224000] pci 0000:00:01.0: invalid calibration data
[    0.228000] PCI: CLS 0 bytes, default 16
[    0.232000] audit: initializing netlink socket (disabled)
[    0.240000] type=2000 audit(0.240:1): initialized
[    0.244000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.252000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.264000] msgmni has been set to 120
[    0.268000] io scheduler noop registered
[    0.272000] io scheduler deadline registered (default)
[    0.280000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10) is a bcm63xx_uart
[    0.288000] console [ttyS0] enabled, bootconsole disabled
[    0.304000] physmap platform flash device: 02000000 at 1e000000
[    0.312000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002101
[    0.320000] physmap-flash.0: Found an alias at 0x1000000 for the chip at 0x0
[    0.320000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.328000]   Amd/Fujitsu Extended Query version 1.3.
[    0.332000] number of CFI chips: 1
[    0.336000] bcm63xxpart: CFE boot tag found with version 8 and board type HW556
[    0.344000] bcm63xxpart: Partition 0 is CFE offset 0 and length 20000
[    0.352000] bcm63xxpart: Partition 1 is kernel offset 20100 and length fff00
[    0.356000] bcm63xxpart: Partition 2 is rootfs offset 120000 and length dc0000
[    0.364000] bcm63xxpart: Partition 3 is cal_data offset ee0000 and length 20000
[    0.372000] bcm63xxpart: Partition 4 is nvram offset fe0000 and length 20000
[    0.380000] bcm63xxpart: Partition 5 is linux offset 20000 and length ec0000
[    0.388000] bcm63xxpart: Spare partition is offset 320004 and length bbfffc
[    0.396000] 6 bcm63xxpart partitions found on MTD device physmap-flash.0
[    0.400000] Creating 6 MTD partitions on "physmap-flash.0":
[    0.408000] 0x000000000000-0x000000020000 : "CFE"
[    0.416000] 0x000000020100-0x000000120000 : "kernel"
[    0.420000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.440000] 0x000000120000-0x000000ee0000 : "rootfs"
[    0.448000] mtd: partition "rootfs" set to be root filesystem
[    0.452000] mtd: partition "rootfs_data" created automatically, ofs=320000, len=BC0000
[    0.460000] 0x000000320000-0x000000ee0000 : "rootfs_data"
[    0.472000] 0x000000ee0000-0x000000f00000 : "cal_data"
[    0.480000] 0x000000fe0000-0x000001000000 : "nvram"
[    0.488000] 0x000000020000-0x000000ee0000 : "linux"
[    0.508000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.516000] Registered led device: HW556:red:message
[    0.516000] Registered led device: HW556:red:hspa
[    0.520000] Registered led device: HW556:red:dsl
[    0.520000] Registered led device: HW556:red:power
[    0.520000] Registered led device: HW556:red:all
[    0.520000] TCP cubic registered
[    0.524000] NET: Registered protocol family 17
[    0.528000] 8021q: 802.1Q VLAN Support v1.8
[    0.540000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.552000] Freeing unused kernel memory: 200k freed
[    3.448000] roboswitch: Probing device eth0: found a 5325! It's a 5350.
[    4.512000] There is already a switch registered on the device 'eth0'
[   12.096000] Compat-wireless backport release: compat-wireless-2012-07-03-2-3-g7adf66e
[   12.104000] Backport based on wireless-testing.git master-2012-07-06
[   12.112000] compat.git: wireless-testing.git
[   12.176000] cfg80211: Calling CRDA to update world regulatory domain
[   12.180000] cfg80211: World regulatory domain updated:
[   12.188000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.196000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.204000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.212000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.220000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.228000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.668000] NET: Registered protocol family 10
[   12.980000] There is already a switch registered on the device 'eth0'
[   13.304000] usbcore: registered new interface driver usbfs
[   13.312000] usbcore: registered new interface driver hub
[   13.320000] usbcore: registered new device driver usb
[   14.340000] Button Hotplug driver version 0.4.1
[   14.532000] PPP generic driver version 2.4.2
[   14.764000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   15.188000] NET: Registered protocol family 24
[   15.228000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   15.340000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[   15.344000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[   15.380000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
[   15.396000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[   15.404000] hub 1-0:1.0: USB hub found
[   15.408000] hub 1-0:1.0: 2 ports detected
[   15.460000] nf_conntrack version 0.5.0 (970 buckets, 3880 max)
[   15.724000] usb 1-1: new high-speed USB device number 2 using bcm63xx_ehci
[   15.864000] hub 1-1:1.0: USB hub found
[   15.872000] hub 1-1:1.0: 2 ports detected
[   15.992000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   16.388000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   16.500000] bcm63xx_ohci bcm63xx_ohci.0: BCM63XX integrated OHCI controller
[   16.504000] bcm63xx_ohci bcm63xx_ohci.0: new USB bus registered, assigned bus number 2
[   16.512000] bcm63xx_ohci bcm63xx_ohci.0: irq 13, io mem 0xfffe1400
[   16.580000] hub 2-0:1.0: USB hub found
[   16.584000] hub 2-0:1.0: 1 port detected
[   16.624000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   23.216000] eth0: link forced UP - 100/full - flow control off/off
[   23.240000] device eth0 entered promiscuous mode
[   23.248000] br-lan: port 1(eth0) entered forwarding state
[   23.256000] br-lan: port 1(eth0) entered forwarding state
[   25.260000] br-lan: port 1(eth0) entered forwarding state
[   33.632000] eth0: no IPv6 routers present
[   45.040000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   45.052000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   45.056000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[  100.368000] JFFS2 notice: (989) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.

[/spoiler]

El tema de los canales, lo sigue llevando mal. Aunque lo pongas en Japón, sigue mostrando únicamente 11 (cuando debieran ser 14). Pero vamos, eso son menudencias  ;D
Ese dmesg es antiguo :D.

EDIT:
Sobre el tema de los canales tengo que decir que danitool forzaba el regdomain a 0xFF, pero me temo que la política de openwrt es muy estricta en ese sentido.
El problema es que ciertos canales están prohibidos en algunos países, y de hecho ya le ha caído alguna que otra multa a la comunidad openwrt por ese motivo en el pasado. Así que no van a aceptar ningún parche de manera oficial que juegue con eso :$...
Sin embargo, una vez que acepten los parches imagino que podría hacer compilaciones personalizadas de vez en cuando saltándome la limitación.

Saludos.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 14-07-2012, 14:04 (Sábado)

Ese dmesg es antiguo :D.

EDIT:
Sobre el tema de los canales tengo que decir que danitool forzaba el regdomain a 0xFF, pero me temo que la política de openwrt es muy estricta en ese sentido.
El problema es que ciertos canales están prohibidos en algunos países, y de hecho ya le ha caído alguna que otra multa a la comunidad openwrt por ese motivo en el pasado. Así que no van a aceptar ningún parche de manera oficial que juegue con eso :$...
Sin embargo, una vez que acepten los parches imagino que podría hacer compilaciones personalizadas de vez en cuando saltándome la limitación.

Saludos.

Perdón por el despiste.
Nuevo dmesg

[spoiler]
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sat Jul 14 13:12:05 CEST 2012
[    0.000000] Detected Broadcom 0x6358 CPU revision a1
[    0.000000] CPU frequency is 300 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] registering 40 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 39 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xbe000000
[    0.000000] board_bcm963xx: CFE version: 100.48.56-49.46
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a010 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: HW556
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 8029f750, node_mem_map 81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16256 pages, LIFO batch:3
[    0.000000] Reserving 0MB of memory at 0MB for crashkernel
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc:
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Memory: 61896k/65536k available (2225k kernel code, 3640k reserved, 398k data, 196k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 299.26 BogoMIPS (lpj=598528)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.052000] NET: Registered protocol family 16
[    0.068000] registering PCI controller with io_map_base unset
[    0.088000] bio: create slab <bio-0> at 0
[    0.096000] PCI host bridge to bus 0000:00
[    0.100000] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[    0.104000] pci_bus 0000:00: root bus resource [io  0x8000000-0x800ffff]
[    0.108000] pci 0000:00:01.0: [168c:ff1d] type 0 class 0x000200
[    0.108000] pci 0000:00:01.0: reg 10: [mem 0x00000000-0x0000ffff]
[    0.120000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x3000ffff]
[    0.124000] Switching to clocksource MIPS
[    0.136000] NET: Registered protocol family 2
[    0.140000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.148000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.156000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.164000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.172000] TCP reno registered
[    0.172000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.180000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.188000] NET: Registered protocol family 1
[    0.192000] pci 0000:00:01.0: fixup device configuration
[    0.200000] PCI: CLS 0 bytes, default 16
[    0.204000] audit: initializing netlink socket (disabled)
[    0.212000] type=2000 audit(0.212:1): initialized
[    0.216000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.224000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.236000] msgmni has been set to 120
[    0.240000] io scheduler noop registered
[    0.244000] io scheduler deadline registered (default)
[    0.252000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10) is a bcm63xx_uart
[    0.260000] console [ttyS0] enabled, bootconsole disabled
[    0.276000] physmap platform flash device: 02000000 at 1e000000
[    0.284000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002101
[    0.292000] physmap-flash.0: Found an alias at 0x1000000 for the chip at 0x0
[    0.292000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.300000]   Amd/Fujitsu Extended Query version 1.3.
[    0.304000] number of CFI chips: 1
[    0.308000] bcm63xxpart: CFE boot tag found with version 8 and board type HW556
[    0.316000] bcm63xxpart: Partition 0 is CFE offset 0 and length 20000
[    0.320000] bcm63xxpart: Partition 1 is kernel offset 20100 and length fff00
[    0.328000] bcm63xxpart: Partition 2 is rootfs offset 120000 and length dc0000
[    0.336000] bcm63xxpart: Partition 3 is cal_data offset ee0000 and length 20000
[    0.344000] bcm63xxpart: Partition 4 is nvram offset fe0000 and length 20000
[    0.352000] bcm63xxpart: Partition 5 is linux offset 20000 and length ec0000
[    0.360000] bcm63xxpart: Spare partition is offset 340004 and length b9fffc
[    0.364000] 6 bcm63xxpart partitions found on MTD device physmap-flash.0
[    0.372000] Creating 6 MTD partitions on "physmap-flash.0":
[    0.380000] 0x000000000000-0x000000020000 : "CFE"
[    0.388000] 0x000000020100-0x000000120000 : "kernel"
[    0.392000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.408000] 0x000000120000-0x000000ee0000 : "rootfs"
[    0.420000] mtd: partition "rootfs" set to be root filesystem
[    0.424000] mtd: partition "rootfs_data" created automatically, ofs=340000, len=BA0000
[    0.432000] 0x000000340000-0x000000ee0000 : "rootfs_data"
[    0.444000] 0x000000ee0000-0x000000f00000 : "cal_data"
[    0.452000] 0x000000fe0000-0x000001000000 : "nvram"
[    0.460000] 0x000000020000-0x000000ee0000 : "linux"
[    0.480000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.488000] Registered led device: HW556:red:message
[    0.488000] Registered led device: HW556:red:hspa
[    0.492000] Registered led device: HW556:red:dsl
[    0.492000] Registered led device: HW556:red:power
[    0.492000] Registered led device: HW556:red:all
[    0.492000] TCP cubic registered
[    0.496000] NET: Registered protocol family 17
[    0.500000] 8021q: 802.1Q VLAN Support v1.8
[    0.512000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.524000] Freeing unused kernel memory: 196k freed
[    3.396000] eth0: link forced UP - 100/full - flow control off/off
[    3.616000] roboswitch: Probing device eth0: found a 5325! It's a 5350.
[    4.684000] There is already a switch registered on the device 'eth0'
[    6.152000] Button Hotplug driver version 0.4.1
[   10.184000] JFFS2 notice: (365) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 9 of xref (0 dead, 4 orphan) found.
[   13.196000] Compat-wireless backport release: compat-wireless-2012-07-03-2-3-g7adf66e
[   13.204000] Backport based on wireless-testing.git master-2012-07-06
[   13.212000] compat.git: wireless-testing.git
[   13.280000] cfg80211: Calling CRDA to update world regulatory domain
[   13.284000] cfg80211: World regulatory domain updated:
[   13.292000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   13.300000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.308000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.316000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.324000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.332000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.060000] cfg80211: World regulatory domain updated:
[   14.068000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   14.076000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.084000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   14.092000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   14.100000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.108000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.200000] NET: Registered protocol family 10
[   14.796000] SCSI subsystem initialized
[   14.888000] There is already a switch registered on the device 'eth0'
[   15.248000] usbcore: registered new interface driver usbfs
[   15.256000] usbcore: registered new interface driver hub
[   15.264000] usbcore: registered new device driver usb
[   16.400000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[   16.416000] ath: phy0: eeprom contains invalid mac address: ff:ff:ff:ff:ff:ff
[   16.424000] ath: phy0: random mac address will be used: 8a:9c:c9:92:2b:03
[   16.432000] ath: EEPROM regdomain: 0x0
[   16.432000] ath: EEPROM indicates default country code should be used
[   16.432000] ath: doing EEPROM country->regdmn map search
[   16.432000] ath: country maps to regdmn code: 0x3a
[   16.432000] ath: Country alpha2 being used: US
[   16.432000] ath: Regpair used: 0x3a
[   16.444000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   16.444000] Registered led device: ath9k-phy0
[   16.444000] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xc0320000, irq=39
[   16.456000] cfg80211: Calling CRDA for country: US
[   16.460000] cfg80211: Regulatory domain changed to country: US
[   16.464000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   16.476000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[   16.484000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[   16.492000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   16.500000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   16.508000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   16.516000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[   16.980000] PPP generic driver version 2.4.2
[   17.372000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   17.668000] NET: Registered protocol family 24
[   17.872000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   17.980000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[   17.984000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[   18.020000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
[   18.036000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[   18.044000] hub 1-0:1.0: USB hub found
[   18.048000] hub 1-0:1.0: 2 ports detected
[   18.232000] nf_conntrack version 0.5.0 (970 buckets, 3880 max)
[   18.668000] usb 1-1: new high-speed USB device number 2 using bcm63xx_ehci
[   18.812000] hub 1-1:1.0: USB hub found
[   18.820000] hub 1-1:1.0: 2 ports detected
[   19.068000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   19.104000] usb 1-1.2: new high-speed USB device number 3 using bcm63xx_ehci
[   19.512000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   19.624000] bcm63xx_ohci bcm63xx_ohci.0: BCM63XX integrated OHCI controller
[   19.628000] bcm63xx_ohci bcm63xx_ohci.0: new USB bus registered, assigned bus number 2
[   19.636000] bcm63xx_ohci bcm63xx_ohci.0: irq 13, io mem 0xfffe1400
[   19.704000] hub 2-0:1.0: USB hub found
[   19.708000] hub 2-0:1.0: 1 port detected
[   19.764000] usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x04B8 pid 0x0007
[   19.776000] usbcore: registered new interface driver usblp
[   19.948000] Initializing USB Mass Storage driver...
[   19.956000] usbcore: registered new interface driver usb-storage
[   19.960000] USB Mass Storage support registered.
[   20.000000] usbcore: registered new interface driver ums-alauda
[   20.036000] usbcore: registered new interface driver ums-cypress
[   20.076000] usbcore: registered new interface driver ums-datafab
[   20.112000] usbcore: registered new interface driver ums-freecom
[   20.152000] usbcore: registered new interface driver ums-isd200
[   20.192000] usbcore: registered new interface driver ums-jumpshot
[   20.228000] usbcore: registered new interface driver ums-karma
[   20.268000] usbcore: registered new interface driver ums-sddr09
[   20.324000] usbcore: registered new interface driver ums-sddr55
[   20.364000] usbcore: registered new interface driver ums-usbat
[   20.404000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   25.592000] eth0: link forced UP - 100/full - flow control off/off
[   25.600000] device eth0 entered promiscuous mode
[   25.612000] br-lan: port 1(eth0) entered forwarding state
[   25.616000] br-lan: port 1(eth0) entered forwarding state
[   27.488000] cfg80211: Calling CRDA for country: JP
[   27.496000] cfg80211: Regulatory domain changed to country: JP
[   27.500000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   27.508000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   27.516000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (N/A, 2000 mBm)
[   27.524000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm)
[   27.532000] cfg80211:   (4910000 KHz - 4930000 KHz @ 10000 KHz), (N/A, 2300 mBm)
[   27.540000] cfg80211:   (4910000 KHz - 4990000 KHz @ 40000 KHz), (N/A, 2300 mBm)
[   27.548000] cfg80211:   (4930000 KHz - 4950000 KHz @ 10000 KHz), (N/A, 2300 mBm)
[   27.556000] cfg80211:   (5030000 KHz - 5045000 KHz @ 10000 KHz), (N/A, 2300 mBm)
[   27.564000] cfg80211:   (5030000 KHz - 5090000 KHz @ 40000 KHz), (N/A, 2300 mBm)
[   27.572000] cfg80211:   (5050000 KHz - 5060000 KHz @ 10000 KHz), (N/A, 2300 mBm)
[   27.580000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   27.584000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   27.592000] cfg80211:   (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2300 mBm)
[   27.620000] br-lan: port 1(eth0) entered forwarding state
[   29.208000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   33.484000] wlan0: authenticate with 38:72:c0:a6:09:49
[   33.500000] wlan0: send auth to 38:72:c0:a6:09:49 (try 1/3)
[   33.540000] wlan0: authenticated
[   33.556000] wlan0: associate with 38:72:c0:a6:09:49 (try 1/3)
[   33.604000] wlan0: RX AssocResp from 38:72:c0:a6:09:49 (capab=0x411 status=0 aid=1)
[   33.612000] wlan0: associated
[   33.616000] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   43.984000] wlan0: no IPv6 routers present
[/spoiler]

El tema de los canales, no me preocupa  ;D
Y ahora, para hacer compilaciones el proceso sería el de siempre, no ?

Estupendo trabajo  ;)
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 14-07-2012, 14:27 (Sábado)
Estoy disponible para Pruebas.
Ralink y Atheros, pero todavía sin Serial.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 14-07-2012, 14:39 (Sábado)
Declaro el atheros funcional 100% ;). Gracias a todos por las pruebas, en especial a jar229 y a raphik :D.

Estoy disponible para Pruebas.
Ralink y Atheros, pero todavía sin Serial.
Yo necesito que instales el último firmware en el ralink y me mandes una copia de la partición mtd4 por privado.
https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32706_endian.bin

Mándame también un dmesg:
dmesg > /www/dmesg.txt
dd if=/dev/mtd4 of=/www/ralink.bin

En el navegador ve a:
http://192.168.1.1/dmesg.txt
http://192.168.1.1/ralink.bin

Saludos.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 14-07-2012, 14:41 (Sábado)

Ese dmesg es antiguo :D.

EDIT:
Sobre el tema de los canales tengo que decir que danitool forzaba el regdomain a 0xFF, pero me temo que la política de openwrt es muy estricta en ese sentido.
El problema es que ciertos canales están prohibidos en algunos países, y de hecho ya le ha caído alguna que otra multa a la comunidad openwrt por ese motivo en el pasado. Así que no van a aceptar ningún parche de manera oficial que juegue con eso :$...
Sin embargo, una vez que acepten los parches imagino que podría hacer compilaciones personalizadas de vez en cuando saltándome la limitación.

Saludos.

Perdón por el despiste.
Nuevo dmesg

[spoiler]
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sat Jul 14 13:12:05 CEST 2012
[    0.000000] Detected Broadcom 0x6358 CPU revision a1
[    0.000000] CPU frequency is 300 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] registering 40 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 39 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xbe000000
[    0.000000] board_bcm963xx: CFE version: 100.48.56-49.46
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a010 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: HW556
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 8029f750, node_mem_map 81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16256 pages, LIFO batch:3
[    0.000000] Reserving 0MB of memory at 0MB for crashkernel
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc:
  • 0

[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Memory: 61896k/65536k available (2225k kernel code, 3640k reserved, 398k data, 196k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 299.26 BogoMIPS (lpj=598528)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.052000] NET: Registered protocol family 16
[    0.068000] registering PCI controller with io_map_base unset
[    0.088000] bio: create slab <bio-0> at 0
[    0.096000] PCI host bridge to bus 0000:00
[    0.100000] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[    0.104000] pci_bus 0000:00: root bus resource [io  0x8000000-0x800ffff]
[    0.108000] pci 0000:00:01.0: [168c:ff1d] type 0 class 0x000200
[    0.108000] pci 0000:00:01.0: reg 10: [mem 0x00000000-0x0000ffff]
[    0.120000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x3000ffff]
[    0.124000] Switching to clocksource MIPS
[    0.136000] NET: Registered protocol family 2
[    0.140000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.148000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.156000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.164000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.172000] TCP reno registered
[    0.172000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.180000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.188000] NET: Registered protocol family 1
[    0.192000] pci 0000:00:01.0: fixup device configuration
[    0.200000] PCI: CLS 0 bytes, default 16
[    0.204000] audit: initializing netlink socket (disabled)
[    0.212000] type=2000 audit(0.212:1): initialized
[    0.216000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.224000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.236000] msgmni has been set to 120
[    0.240000] io scheduler noop registered
[    0.244000] io scheduler deadline registered (default)
[    0.252000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10) is a bcm63xx_uart
[    0.260000] console [ttyS0] enabled, bootconsole disabled
[    0.276000] physmap platform flash device: 02000000 at 1e000000
[    0.284000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002101
[    0.292000] physmap-flash.0: Found an alias at 0x1000000 for the chip at 0x0
[    0.292000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.300000]   Amd/Fujitsu Extended Query version 1.3.
[    0.304000] number of CFI chips: 1
[    0.308000] bcm63xxpart: CFE boot tag found with version 8 and board type HW556
[    0.316000] bcm63xxpart: Partition 0 is CFE offset 0 and length 20000
[    0.320000] bcm63xxpart: Partition 1 is kernel offset 20100 and length fff00
[    0.328000] bcm63xxpart: Partition 2 is rootfs offset 120000 and length dc0000
[    0.336000] bcm63xxpart: Partition 3 is cal_data offset ee0000 and length 20000
[    0.344000] bcm63xxpart: Partition 4 is nvram offset fe0000 and length 20000
[    0.352000] bcm63xxpart: Partition 5 is linux offset 20000 and length ec0000
[    0.360000] bcm63xxpart: Spare partition is offset 340004 and length b9fffc
[    0.364000] 6 bcm63xxpart partitions found on MTD device physmap-flash.0
[    0.372000] Creating 6 MTD partitions on "physmap-flash.0":
[    0.380000] 0x000000000000-0x000000020000 : "CFE"
[    0.388000] 0x000000020100-0x000000120000 : "kernel"
[    0.392000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.408000] 0x000000120000-0x000000ee0000 : "rootfs"
[    0.420000] mtd: partition "rootfs" set to be root filesystem
[    0.424000] mtd: partition "rootfs_data" created automatically, ofs=340000, len=BA0000
[    0.432000] 0x000000340000-0x000000ee0000 : "rootfs_data"
[    0.444000] 0x000000ee0000-0x000000f00000 : "cal_data"
[    0.452000] 0x000000fe0000-0x000001000000 : "nvram"
[    0.460000] 0x000000020000-0x000000ee0000 : "linux"
[    0.480000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.488000] Registered led device: HW556:red:message
[    0.488000] Registered led device: HW556:red:hspa
[    0.492000] Registered led device: HW556:red:dsl
[    0.492000] Registered led device: HW556:red:power
[    0.492000] Registered led device: HW556:red:all
[    0.492000] TCP cubic registered
[    0.496000] NET: Registered protocol family 17
[    0.500000] 8021q: 802.1Q VLAN Support v1.8
[    0.512000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.524000] Freeing unused kernel memory: 196k freed
[    3.396000] eth0: link forced UP - 100/full - flow control off/off
[    3.616000] roboswitch: Probing device eth0: found a 5325! It's a 5350.
[    4.684000] There is already a switch registered on the device 'eth0'
[    6.152000] Button Hotplug driver version 0.4.1
[   10.184000] JFFS2 notice: (365) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 9 of xref (0 dead, 4 orphan) found.
[   13.196000] Compat-wireless backport release: compat-wireless-2012-07-03-2-3-g7adf66e
[   13.204000] Backport based on wireless-testing.git master-2012-07-06
[   13.212000] compat.git: wireless-testing.git
[   13.280000] cfg80211: Calling CRDA to update world regulatory domain
[   13.284000] cfg80211: World regulatory domain updated:
[   13.292000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   13.300000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.308000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.316000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.324000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.332000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.060000] cfg80211: World regulatory domain updated:
[   14.068000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   14.076000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.084000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   14.092000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   14.100000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.108000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.200000] NET: Registered protocol family 10
[   14.796000] SCSI subsystem initialized
[   14.888000] There is already a switch registered on the device 'eth0'
[   15.248000] usbcore: registered new interface driver usbfs
[   15.256000] usbcore: registered new interface driver hub
[   15.264000] usbcore: registered new device driver usb
[   16.400000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[   16.416000] ath: phy0: eeprom contains invalid mac address: ff:ff:ff:ff:ff:ff
[   16.424000] ath: phy0: random mac address will be used: 8a:9c:c9:92:2b:03
[   16.432000] ath: EEPROM regdomain: 0x0
[   16.432000] ath: EEPROM indicates default country code should be used
[   16.432000] ath: doing EEPROM country->regdmn map search
[   16.432000] ath: country maps to regdmn code: 0x3a
[   16.432000] ath: Country alpha2 being used: US
[   16.432000] ath: Regpair used: 0x3a
[   16.444000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   16.444000] Registered led device: ath9k-phy0
[   16.444000] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xc0320000, irq=39
[   16.456000] cfg80211: Calling CRDA for country: US
[   16.460000] cfg80211: Regulatory domain changed to country: US
[   16.464000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   16.476000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[   16.484000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[   16.492000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   16.500000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   16.508000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   16.516000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[   16.980000] PPP generic driver version 2.4.2
[   17.372000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   17.668000] NET: Registered protocol family 24
[   17.872000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   17.980000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[   17.984000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[   18.020000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
[   18.036000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[   18.044000] hub 1-0:1.0: USB hub found
[   18.048000] hub 1-0:1.0: 2 ports detected
[   18.232000] nf_conntrack version 0.5.0 (970 buckets, 3880 max)
[   18.668000] usb 1-1: new high-speed USB device number 2 using bcm63xx_ehci
[   18.812000] hub 1-1:1.0: USB hub found
[   18.820000] hub 1-1:1.0: 2 ports detected
[   19.068000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   19.104000] usb 1-1.2: new high-speed USB device number 3 using bcm63xx_ehci
[   19.512000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   19.624000] bcm63xx_ohci bcm63xx_ohci.0: BCM63XX integrated OHCI controller
[   19.628000] bcm63xx_ohci bcm63xx_ohci.0: new USB bus registered, assigned bus number 2
[   19.636000] bcm63xx_ohci bcm63xx_ohci.0: irq 13, io mem 0xfffe1400
[   19.704000] hub 2-0:1.0: USB hub found
[   19.708000] hub 2-0:1.0: 1 port detected
[   19.764000] usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x04B8 pid 0x0007
[   19.776000] usbcore: registered new interface driver usblp
[   19.948000] Initializing USB Mass Storage driver...
[   19.956000] usbcore: registered new interface driver usb-storage
[   19.960000] USB Mass Storage support registered.
[   20.000000] usbcore: registered new interface driver ums-alauda
[   20.036000] usbcore: registered new interface driver ums-cypress
[   20.076000] usbcore: registered new interface driver ums-datafab
[   20.112000] usbcore: registered new interface driver ums-freecom
[   20.152000] usbcore: registered new interface driver ums-isd200
[   20.192000] usbcore: registered new interface driver ums-jumpshot
[   20.228000] usbcore: registered new interface driver ums-karma
[   20.268000] usbcore: registered new interface driver ums-sddr09
[   20.324000] usbcore: registered new interface driver ums-sddr55
[   20.364000] usbcore: registered new interface driver ums-usbat
[   20.404000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   25.592000] eth0: link forced UP - 100/full - flow control off/off
[   25.600000] device eth0 entered promiscuous mode
[   25.612000] br-lan: port 1(eth0) entered forwarding state
[   25.616000] br-lan: port 1(eth0) entered forwarding state
[   27.488000] cfg80211: Calling CRDA for country: JP
[   27.496000] cfg80211: Regulatory domain changed to country: JP
[   27.500000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   27.508000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   27.516000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (N/A, 2000 mBm)
[   27.524000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm)
[   27.532000] cfg80211:   (4910000 KHz - 4930000 KHz @ 10000 KHz), (N/A, 2300 mBm)
[   27.540000] cfg80211:   (4910000 KHz - 4990000 KHz @ 40000 KHz), (N/A, 2300 mBm)
[   27.548000] cfg80211:   (4930000 KHz - 4950000 KHz @ 10000 KHz), (N/A, 2300 mBm)
[   27.556000] cfg80211:   (5030000 KHz - 5045000 KHz @ 10000 KHz), (N/A, 2300 mBm)
[   27.564000] cfg80211:   (5030000 KHz - 5090000 KHz @ 40000 KHz), (N/A, 2300 mBm)
[   27.572000] cfg80211:   (5050000 KHz - 5060000 KHz @ 10000 KHz), (N/A, 2300 mBm)
[   27.580000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   27.584000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   27.592000] cfg80211:   (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2300 mBm)
[   27.620000] br-lan: port 1(eth0) entered forwarding state
[   29.208000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   33.484000] wlan0: authenticate with 38:72:c0:a6:09:49
[   33.500000] wlan0: send auth to 38:72:c0:a6:09:49 (try 1/3)
[   33.540000] wlan0: authenticated
[   33.556000] wlan0: associate with 38:72:c0:a6:09:49 (try 1/3)
[   33.604000] wlan0: RX AssocResp from 38:72:c0:a6:09:49 (capab=0x411 status=0 aid=1)
[   33.612000] wlan0: associated
[   33.616000] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   43.984000] wlan0: no IPv6 routers present
[/spoiler]

El tema de los canales, no me preocupa  ;D
Y ahora, para hacer compilaciones el proceso sería el de siempre, no ?

Estupendo trabajo  ;)
Sí, se pueden hacer compilaciones como siempre con el parche para el svn que he puesto.
Para aplicarlo recuerdo que hay que copiar el parche a la raíz de openwrt y ejecutar el siguiente comando:
patch -p0 -i hw556_svn_atheros.patch
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 14-07-2012, 16:18 (Sábado)
Yo necesito que instales el último firmware en el ralink y me mandes una copia de la partición mtd4 por privado.
https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32706_endian.bin

Mándame también un dmesg:
dmesg > /www/dmesg.txt
dd if=/dev/mtd4 of=/www/ralink.bin

En el navegador ve a:
http://192.168.1.1/dmesg.txt
http://192.168.1.1/ralink.bin

Saludos.

Quieres que pasé por el firmware de vodafone primero?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 14-07-2012, 16:37 (Sábado)
Yo necesito que instales el último firmware en el ralink y me mandes una copia de la partición mtd4 por privado.
https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32706_endian.bin

Mándame también un dmesg:
dmesg > /www/dmesg.txt
dd if=/dev/mtd4 of=/www/ralink.bin

En el navegador ve a:
http://192.168.1.1/dmesg.txt
http://192.168.1.1/ralink.bin

Saludos.

Quieres que pasé por el firmware de vodafone primero?
No, no hace falta que pases por el firmware de vodafone. Instala ése y ya está...
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 14-07-2012, 16:58 (Sábado)
No va el Wifi.
Dmesg:
[spoiler=demesg ralink]
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sat Jul 14 13:12:05 CEST 2012
[    0.000000] Detected Broadcom 0x6358 CPU revision a1
[    0.000000] CPU frequency is 300 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] registering 40 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 39 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xbe000000
[    0.000000] board_bcm963xx: CFE version: 100.48.56-49.46
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a010 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: HW556
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 8029f750, node_mem_map 81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16256 pages, LIFO batch:3
[    0.000000] Reserving 0MB of memory at 0MB for crashkernel
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc:
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Memory: 61896k/65536k available (2225k kernel code, 3640k reserved, 398k data, 196k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 299.26 BogoMIPS (lpj=598528)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.052000] NET: Registered protocol family 16
[    0.068000] registering PCI controller with io_map_base unset
[    0.088000] bio: create slab <bio-0> at 0
[    0.096000] PCI host bridge to bus 0000:00
[    0.100000] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[    0.104000] pci_bus 0000:00: root bus resource [io  0x8000000-0x800ffff]
[    0.108000] pci 0000:00:01.0: [1814:3592] type 0 class 0x000280
[    0.108000] pci 0000:00:01.0: reg 10: [mem 0xffff0000-0xffffffff]
[    0.120000] pci 0000:00:01.0: PME# supported from D0 D3hot D3cold
[    0.120000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x3000ffff]
[    0.124000] Switching to clocksource MIPS
[    0.136000] NET: Registered protocol family 2
[    0.140000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.148000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.156000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.164000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.172000] TCP reno registered
[    0.172000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.180000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.188000] NET: Registered protocol family 1
[    0.192000] PCI: CLS 0 bytes, default 16
[    0.196000] audit: initializing netlink socket (disabled)
[    0.200000] type=2000 audit(0.200:1): initialized
[    0.208000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.216000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.224000] msgmni has been set to 120
[    0.228000] io scheduler noop registered
[    0.232000] io scheduler deadline registered (default)
[    0.240000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10) is a bcm63xx_uart
[    0.248000] console [ttyS0] enabled, bootconsole disabled
[    0.268000] physmap platform flash device: 02000000 at 1e000000
[    0.272000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x00227e
[    0.284000] physmap-flash.0: Found an alias at 0x1000000 for the chip at 0x0
[    0.284000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.288000]   Amd/Fujitsu Extended Query version 1.3.
[    0.296000] number of CFI chips: 1
[    0.300000] bcm63xxpart: CFE boot tag found with version 8 and board type HW556
[    0.304000] bcm63xxpart: Partition 0 is CFE offset 0 and length 20000
[    0.312000] bcm63xxpart: Partition 1 is kernel offset 20100 and length fff00
[    0.320000] bcm63xxpart: Partition 2 is rootfs offset 120000 and length dc0000
[    0.328000] bcm63xxpart: Partition 3 is cal_data offset ee0000 and length 20000
[    0.336000] bcm63xxpart: Partition 4 is nvram offset fe0000 and length 20000
[    0.344000] bcm63xxpart: Partition 5 is linux offset 20000 and length ec0000
[    0.348000] bcm63xxpart: Spare partition is offset 340004 and length b9fffc
[    0.356000] 6 bcm63xxpart partitions found on MTD device physmap-flash.0
[    0.364000] Creating 6 MTD partitions on "physmap-flash.0":
[    0.368000] 0x000000000000-0x000000020000 : "CFE"
[    0.380000] 0x000000020100-0x000000120000 : "kernel"
[    0.384000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.400000] 0x000000120000-0x000000ee0000 : "rootfs"
[    0.408000] mtd: partition "rootfs" set to be root filesystem
[    0.416000] mtd: partition "rootfs_data" created automatically, ofs=340000, len=BA0000
[    0.424000] 0x000000340000-0x000000ee0000 : "rootfs_data"
[    0.432000] 0x000000ee0000-0x000000f00000 : "cal_data"
[    0.444000] 0x000000fe0000-0x000001000000 : "nvram"
[    0.452000] 0x000000020000-0x000000ee0000 : "linux"
[    0.472000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.480000] Registered led device: HW556:red:message
[    0.480000] Registered led device: HW556:red:hspa
[    0.480000] Registered led device: HW556:red:dsl
[    0.480000] Registered led device: HW556:red:power
[    0.484000] Registered led device: HW556:red:all
[    0.484000] TCP cubic registered
[    0.488000] NET: Registered protocol family 17
[    0.492000] 8021q: 802.1Q VLAN Support v1.8
[    0.504000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.516000] Freeing unused kernel memory: 196k freed
[    3.396000] eth0: link forced UP - 100/full - flow control off/off
[    3.616000] roboswitch: Probing device eth0: found a 5325! It's a 5350.
[    4.680000] There is already a switch registered on the device 'eth0'
[    6.148000] Button Hotplug driver version 0.4.1
[   12.988000] Compat-wireless backport release: compat-wireless-2012-07-03-2-3-g7adf66e
[   12.996000] Backport based on wireless-testing.git master-2012-07-06
[   13.000000] compat.git: wireless-testing.git
[   13.068000] cfg80211: Calling CRDA to update world regulatory domain
[   13.072000] cfg80211: World regulatory domain updated:
[   13.080000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   13.088000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.096000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.104000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.112000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.120000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.912000] NET: Registered protocol family 10
[   13.952000] cfg80211: World regulatory domain updated:
[   13.956000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   13.968000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.976000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.984000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.992000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.000000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.572000] SCSI subsystem initialized
[   14.668000] There is already a switch registered on the device 'eth0'
[   15.024000] usbcore: registered new interface driver usbfs
[   15.032000] usbcore: registered new interface driver hub
[   15.040000] usbcore: registered new device driver usb
[   16.188000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[   16.196000] rt2800pci 0000:00:01.0: setting latency timer to 64
[   16.212000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   16.212000] Registered led device: rt2800pci-phy0::radio
[   16.216000] Registered led device: rt2800pci-phy0::assoc
[   16.216000] Registered led device: rt2800pci-phy0::quality
[   16.564000] PPP generic driver version 2.4.2
[   16.956000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   17.252000] NET: Registered protocol family 24
[   17.448000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   17.560000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[   17.564000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[   17.600000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
[   17.616000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[   17.624000] hub 1-0:1.0: USB hub found
[   17.628000] hub 1-0:1.0: 2 ports detected
[   17.808000] nf_conntrack version 0.5.0 (970 buckets, 3880 max)
[   18.192000] usb 1-2: new high-speed USB device number 2 using bcm63xx_ehci
[   18.336000] hub 1-2:1.0: USB hub found
[   18.344000] hub 1-2:1.0: 4 ports detected
[   18.636000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   19.056000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   19.164000] bcm63xx_ohci bcm63xx_ohci.0: BCM63XX integrated OHCI controller
[   19.168000] bcm63xx_ohci bcm63xx_ohci.0: new USB bus registered, assigned bus number 2
[   19.176000] bcm63xx_ohci bcm63xx_ohci.0: irq 13, io mem 0xfffe1400
[   19.244000] hub 2-0:1.0: USB hub found
[   19.248000] hub 2-0:1.0: 1 port detected
[   19.424000] Initializing USB Mass Storage driver...
[   19.428000] usbcore: registered new interface driver usb-storage
[   19.436000] USB Mass Storage support registered.
[   19.472000] usbcore: registered new interface driver ums-alauda
[   19.508000] usbcore: registered new interface driver ums-cypress
[   19.548000] usbcore: registered new interface driver ums-datafab
[   19.584000] usbcore: registered new interface driver ums-freecom
[   19.624000] usbcore: registered new interface driver ums-isd200
[   19.660000] usbcore: registered new interface driver ums-jumpshot
[   19.700000] usbcore: registered new interface driver ums-karma
[   19.736000] usbcore: registered new interface driver ums-sddr09
[   19.776000] usbcore: registered new interface driver ums-sddr55
[   19.812000] usbcore: registered new interface driver ums-usbat
[   19.852000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   26.700000] eth0: link forced UP - 100/full - flow control off/off
[   26.712000] device eth0 entered promiscuous mode
[   26.728000] br-lan: port 1(eth0) entered forwarding state
[   26.732000] br-lan: port 1(eth0) entered forwarding state
[   28.736000] br-lan: port 1(eth0) entered forwarding state
[   48.196000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   48.204000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   48.212000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[  116.056000] JFFS2 notice: (1143) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[  140.404000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  140.420000] device wlan0 entered promiscuous mode
[  140.516000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  140.540000] br-lan: port 2(wlan0) entered forwarding state
[  140.548000] br-lan: port 2(wlan0) entered forwarding state
[  140.552000] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  142.552000] br-lan: port 2(wlan0) entered forwarding state
[  150.496000] br-lan: port 2(wlan0) entered disabled state
[  150.596000] ADDRCONF(NETDEV_UP): tmp.wlan0: link is not ready
[  152.540000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  152.564000] br-lan: port 2(wlan0) entered disabled state
[  152.656000] ADDRCONF(NETDEV_UP): tmp.wlan0: link is not ready
[  154.604000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  154.632000] br-lan: port 2(wlan0) entered disabled state
[  154.728000] ADDRCONF(NETDEV_UP): tmp.wlan0: link is not ready
[  156.672000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  172.360000] br-lan: port 2(wlan0) entered disabled state
[  172.452000] ADDRCONF(NETDEV_UP): tmp.wlan0: link is not ready
[  174.400000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  174.440000] br-lan: port 2(wlan0) entered disabled state
[  174.532000] ADDRCONF(NETDEV_UP): tmp.wlan0: link is not ready
[  176.480000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  176.508000] br-lan: port 2(wlan0) entered disabled state
[  176.600000] ADDRCONF(NETDEV_UP): tmp.wlan0: link is not ready
[  178.548000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  187.948000] br-lan: port 2(wlan0) entered disabled state
[  188.040000] ADDRCONF(NETDEV_UP): tmp.wlan0: link is not ready
[  189.988000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  190.024000] br-lan: port 2(wlan0) entered disabled state
[  190.116000] ADDRCONF(NETDEV_UP): tmp.wlan0: link is not ready
[  192.064000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  192.104000] br-lan: port 2(wlan0) entered disabled state
[  192.196000] ADDRCONF(NETDEV_UP): tmp.wlan0: link is not ready
[  194.144000] ADDRCONF(NETDEV_UP): wlan0: link is not ready[/spoiler]

Envíando dump de la partición md4.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 14-07-2012, 17:58 (Sábado)
Por favor, alguien con un ralink que pruebe este firmware:
https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32706_ralink.bin

Saludos.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: aguera-competicion en 14-07-2012, 18:03 (Sábado)
Declaro el atheros funcional 100% ;). Gracias a todos por las pruebas, en especial a jar229 y a raphik :D.

Estoy disponible para Pruebas.
Ralink y Atheros, pero todavía sin Serial.
Yo necesito que instales el último firmware en el ralink y me mandes una copia de la partición mtd4 por privado.
https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32706_endian.bin

Mándame también un dmesg:
dmesg > /www/dmesg.txt
dd if=/dev/mtd4 of=/www/ralink.bin

En el navegador ve a:
http://192.168.1.1/dmesg.txt
http://192.168.1.1/ralink.bin

Saludos.

Hola tengo atheros y me es imposible tener ping hacia el router cuando meto este .bin, he probado el anterior y tambien ocurre lo mismo..

Reseteo con 20 segundos
recibo ping de 192.168.1.1
abro el navegador hacia 192.168.1.1 selecciono el bin se reinicia automaticamente y recivo 3 ping se cortanm los ping y se acabo la conexion.

hago algo mal direccion de red o algo mal?

Si intento meter el de vodafone o el .bin de la primera pajina carga correcto.


He intentado tambien cargar el .bin desde la interface grafica y me dice ...que no es un arvivo adecuado o algo asi. :'(
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 14-07-2012, 18:56 (Sábado)
Por favor, alguien con un ralink que pruebe este firmware:
https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32706_ralink.bin

Saludos.

Funciona Wifi con esta compilación.
"censuro la mac de mi AP"
Posteando conectado por cable. Wifi modo Cliente.
[spoiler=DMESG RALINK WIFI OK][    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sat Jul 14 17:53:16 CEST 2012
[    0.000000] Detected Broadcom 0x6358 CPU revision a1
[    0.000000] CPU frequency is 300 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] registering 40 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 39 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xbe000000
[    0.000000] board_bcm963xx: CFE version: 100.48.56-49.46
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a010 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: HW556
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 8029f750, node_mem_map 81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16256 pages, LIFO batch:3
[    0.000000] Reserving 0MB of memory at 0MB for crashkernel
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc:
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Memory: 61896k/65536k available (2225k kernel code, 3640k reserved, 398k data, 196k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 299.26 BogoMIPS (lpj=598528)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.052000] NET: Registered protocol family 16
[    0.068000] registering PCI controller with io_map_base unset
[    0.088000] bio: create slab <bio-0> at 0
[    0.096000] PCI host bridge to bus 0000:00
[    0.100000] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[    0.104000] pci_bus 0000:00: root bus resource [io  0x8000000-0x800ffff]
[    0.108000] pci 0000:00:01.0: [1814:3592] type 0 class 0x000280
[    0.108000] pci 0000:00:01.0: reg 10: [mem 0xffff0000-0xffffffff]
[    0.120000] pci 0000:00:01.0: PME# supported from D0 D3hot D3cold
[    0.120000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x3000ffff]
[    0.124000] Switching to clocksource MIPS
[    0.136000] NET: Registered protocol family 2
[    0.140000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.148000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.156000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.164000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.172000] TCP reno registered
[    0.172000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.180000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.188000] NET: Registered protocol family 1
[    0.192000] PCI: CLS 0 bytes, default 16
[    0.196000] audit: initializing netlink socket (disabled)
[    0.200000] type=2000 audit(0.200:1): initialized
[    0.208000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.216000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.224000] msgmni has been set to 120
[    0.228000] io scheduler noop registered
[    0.232000] io scheduler deadline registered (default)
[    0.240000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10) is a bcm63xx_uart
[    0.248000] console [ttyS0] enabled, bootconsole disabled
[    0.268000] physmap platform flash device: 02000000 at 1e000000
[    0.272000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x00227e
[    0.284000] physmap-flash.0: Found an alias at 0x1000000 for the chip at 0x0
[    0.284000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.288000]   Amd/Fujitsu Extended Query version 1.3.
[    0.296000] number of CFI chips: 1
[    0.300000] bcm63xxpart: CFE boot tag found with version 8 and board type HW556
[    0.308000] bcm63xxpart: Partition 0 is CFE offset 0 and length 20000
[    0.312000] bcm63xxpart: Partition 1 is kernel offset 20100 and length fff00
[    0.320000] bcm63xxpart: Partition 2 is rootfs offset 120000 and length dc0000
[    0.328000] bcm63xxpart: Partition 3 is cal_data offset ee0000 and length 20000
[    0.336000] bcm63xxpart: Partition 4 is nvram offset fe0000 and length 20000
[    0.344000] bcm63xxpart: Partition 5 is linux offset 20000 and length ec0000
[    0.348000] bcm63xxpart: Spare partition is offset 340004 and length b9fffc
[    0.356000] 6 bcm63xxpart partitions found on MTD device physmap-flash.0
[    0.364000] Creating 6 MTD partitions on "physmap-flash.0":
[    0.368000] 0x000000000000-0x000000020000 : "CFE"
[    0.380000] 0x000000020100-0x000000120000 : "kernel"
[    0.384000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.400000] 0x000000120000-0x000000ee0000 : "rootfs"
[    0.408000] mtd: partition "rootfs" set to be root filesystem
[    0.416000] mtd: partition "rootfs_data" created automatically, ofs=340000, len=BA0000
[    0.424000] 0x000000340000-0x000000ee0000 : "rootfs_data"
[    0.432000] 0x000000ee0000-0x000000f00000 : "cal_data"
[    0.444000] 0x000000fe0000-0x000001000000 : "nvram"
[    0.452000] 0x000000020000-0x000000ee0000 : "linux"
[    0.472000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.480000] Registered led device: HW556:red:message
[    0.480000] Registered led device: HW556:red:hspa
[    0.480000] Registered led device: HW556:red:dsl
[    0.484000] Registered led device: HW556:red:power
[    0.484000] Registered led device: HW556:red:all
[    0.484000] TCP cubic registered
[    0.488000] NET: Registered protocol family 17
[    0.492000] 8021q: 802.1Q VLAN Support v1.8
[    0.504000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.516000] Freeing unused kernel memory: 196k freed
[    3.400000] eth0: link forced UP - 100/full - flow control off/off
[    3.620000] roboswitch: Probing device eth0: found a 5325! It's a 5350.
[    4.684000] There is already a switch registered on the device 'eth0'
[    6.152000] Button Hotplug driver version 0.4.1
[   12.992000] Compat-wireless backport release: compat-wireless-2012-07-03-2-3-g7adf66e
[   13.000000] Backport based on wireless-testing.git master-2012-07-06
[   13.008000] compat.git: wireless-testing.git
[   13.072000] cfg80211: Calling CRDA to update world regulatory domain
[   13.076000] cfg80211: World regulatory domain updated:
[   13.084000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   13.092000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.100000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.108000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.116000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.124000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.920000] NET: Registered protocol family 10
[   13.964000] cfg80211: World regulatory domain updated:
[   13.968000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   13.980000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.988000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.996000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   14.004000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.012000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.580000] SCSI subsystem initialized
[   14.672000] There is already a switch registered on the device 'eth0'
[   15.032000] usbcore: registered new interface driver usbfs
[   15.036000] usbcore: registered new interface driver hub
[   15.044000] usbcore: registered new device driver usb
[   16.192000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[   16.200000] rt2800pci 0000:00:01.0: setting latency timer to 64
[   16.380000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   16.384000] Registered led device: rt2800pci-phy0::radio
[   16.384000] Registered led device: rt2800pci-phy0::assoc
[   16.384000] Registered led device: rt2800pci-phy0::quality
[   16.736000] PPP generic driver version 2.4.2
[   17.128000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   17.420000] NET: Registered protocol family 24
[   17.616000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   17.728000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[   17.732000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[   17.768000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
[   17.784000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[   17.792000] hub 1-0:1.0: USB hub found
[   17.796000] hub 1-0:1.0: 2 ports detected
[   17.976000] nf_conntrack version 0.5.0 (970 buckets, 3880 max)
[   18.356000] usb 1-2: new high-speed USB device number 2 using bcm63xx_ehci
[   18.508000] hub 1-2:1.0: USB hub found
[   18.512000] hub 1-2:1.0: 4 ports detected
[   18.804000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   19.220000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   19.328000] bcm63xx_ohci bcm63xx_ohci.0: BCM63XX integrated OHCI controller
[   19.332000] bcm63xx_ohci bcm63xx_ohci.0: new USB bus registered, assigned bus number 2
[   19.340000] bcm63xx_ohci bcm63xx_ohci.0: irq 13, io mem 0xfffe1400
[   19.408000] hub 2-0:1.0: USB hub found
[   19.412000] hub 2-0:1.0: 1 port detected
[   19.588000] Initializing USB Mass Storage driver...
[   19.592000] usbcore: registered new interface driver usb-storage
[   19.600000] USB Mass Storage support registered.
[   19.636000] usbcore: registered new interface driver ums-alauda
[   19.672000] usbcore: registered new interface driver ums-cypress
[   19.708000] usbcore: registered new interface driver ums-datafab
[   19.748000] usbcore: registered new interface driver ums-freecom
[   19.784000] usbcore: registered new interface driver ums-isd200
[   19.824000] usbcore: registered new interface driver ums-jumpshot
[   19.860000] usbcore: registered new interface driver ums-karma
[   19.900000] usbcore: registered new interface driver ums-sddr09
[   19.936000] usbcore: registered new interface driver ums-sddr55
[   19.976000] usbcore: registered new interface driver ums-usbat
[   20.012000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   26.876000] eth0: link forced UP - 100/full - flow control off/off
[   26.900000] device eth0 entered promiscuous mode
[   26.912000] br-lan: port 1(eth0) entered forwarding state
[   26.916000] br-lan: port 1(eth0) entered forwarding state
[   28.920000] br-lan: port 1(eth0) entered forwarding state
[   48.820000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   48.828000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   48.832000] jffs2_build_filesystem(): erasing all blocks after the end marker...
[  103.324000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  105.556000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  107.772000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  110.276000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  112.492000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  114.704000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  117.240000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  118.076000] done.
[  118.076000] JFFS2 notice: (1126) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[  119.500000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  121.728000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  139.544000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  145.088000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  182.528000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  204.092000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  224.008000] ADDRCONF(NETDEV_UP): tmp.wlan0: link is not ready
[  226.224000] ADDRCONF(NETDEV_UP): tmp.wlan0: link is not ready
[  228.440000] ADDRCONF(NETDEV_UP): tmp.wlan0: link is not ready
[  269.024000] ADDRCONF(NETDEV_UP): tmp.wlan0: link is not ready
[  271.244000] ADDRCONF(NETDEV_UP): tmp.wlan0: link is not ready
[  273.460000] ADDRCONF(NETDEV_UP): tmp.wlan0: link is not ready
[  287.124000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  294.744000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  312.308000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  317.424000] wlan0: authenticate with 5c:----------------
[  317.472000] wlan0: send auth to 5c:------------------- (try 1/3)
[  317.480000] wlan0: authenticated
[  317.516000] wlan0: associate with 5c:................ (try 1/3)
[  317.528000] wlan0: RX AssocResp from 5c:................... (capab=0x411 status=0 aid=4)
[  317.536000] wlan0: associated
[  317.996000] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready[/spoiler]
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 14-07-2012, 19:01 (Sábado)
Declaro el atheros funcional 100% ;). Gracias a todos por las pruebas, en especial a jar229 y a raphik :D.

Estoy disponible para Pruebas.
Ralink y Atheros, pero todavía sin Serial.
Yo necesito que instales el último firmware en el ralink y me mandes una copia de la partición mtd4 por privado.
https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32706_endian.bin

Mándame también un dmesg:
dmesg > /www/dmesg.txt
dd if=/dev/mtd4 of=/www/ralink.bin

En el navegador ve a:
http://192.168.1.1/dmesg.txt
http://192.168.1.1/ralink.bin

Saludos.

Hola tengo atheros y me es imposible tener ping hacia el router cuando meto este .bin, he probado el anterior y tambien ocurre lo mismo..

Reseteo con 20 segundos
recibo ping de 192.168.1.1
abro el navegador hacia 192.168.1.1 selecciono el bin se reinicia automaticamente y recivo 3 ping se cortanm los ping y se acabo la conexion.

hago algo mal direccion de red o algo mal?

Si intento meter el de vodafone o el .bin de la primera pajina carga correcto.


He intentado tambien cargar el .bin desde la interface grafica y me dice ...que no es un arvivo adecuado o algo asi. :'(
Lo más probable es que se trate de un modelo del cual no tenía constancia a la hora de hacer la detección.

Necesito que me pases un bootlog del firmware oficial:
No sé si en el oficial se pueden escribir archivos en la carpeta /www pero inténtalo:
dmesg > /www/dmesg.txt
Luego en el navegador http://192.168.1.1/dmesg.txt

Si no te deja pues haz un dmesg y copia el output, pero lo más probable es que perdamos la información relevante.

Lo ideal en este caso sería obtener un bootlog por cable serial...


EDIT: No había leído lo de que con el firmware de la primer página carga correcto:
Instala el firmware de la primera página.

Envíame un bootlog y un backup del cfe a noltari@gmail.com.

telnet 192.168.1.1

Para el bootlog:
dmesg > /www/dmesg.txt
Para el cfe:
dd if=/dev/mtd0 of=/www/cfe.bin

Después en el navegador:
http://192.168.1.1/dmesg.txt
http://192.168.1.1/cfe.bin

Saludos.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 14-07-2012, 19:02 (Sábado)
Por favor, alguien con un ralink que pruebe este firmware:
https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32706_ralink.bin

Saludos.

Funciona Wifi con esta compilación.
"censuro la mac de mi AP"
Posteando conectado por cable. Wifi modo Cliente.
[spoiler=DMESG RALINK WIFI OK][    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sat Jul 14 17:53:16 CEST 2012
[    0.000000] Detected Broadcom 0x6358 CPU revision a1
[    0.000000] CPU frequency is 300 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] registering 40 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 39 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xbe000000
[    0.000000] board_bcm963xx: CFE version: 100.48.56-49.46
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a010 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: HW556
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 8029f750, node_mem_map 81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16256 pages, LIFO batch:3
[    0.000000] Reserving 0MB of memory at 0MB for crashkernel
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc:
  • 0

[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Memory: 61896k/65536k available (2225k kernel code, 3640k reserved, 398k data, 196k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 299.26 BogoMIPS (lpj=598528)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.052000] NET: Registered protocol family 16
[    0.068000] registering PCI controller with io_map_base unset
[    0.088000] bio: create slab <bio-0> at 0
[    0.096000] PCI host bridge to bus 0000:00
[    0.100000] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[    0.104000] pci_bus 0000:00: root bus resource [io  0x8000000-0x800ffff]
[    0.108000] pci 0000:00:01.0: [1814:3592] type 0 class 0x000280
[    0.108000] pci 0000:00:01.0: reg 10: [mem 0xffff0000-0xffffffff]
[    0.120000] pci 0000:00:01.0: PME# supported from D0 D3hot D3cold
[    0.120000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x3000ffff]
[    0.124000] Switching to clocksource MIPS
[    0.136000] NET: Registered protocol family 2
[    0.140000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.148000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.156000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.164000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.172000] TCP reno registered
[    0.172000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.180000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.188000] NET: Registered protocol family 1
[    0.192000] PCI: CLS 0 bytes, default 16
[    0.196000] audit: initializing netlink socket (disabled)
[    0.200000] type=2000 audit(0.200:1): initialized
[    0.208000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.216000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.224000] msgmni has been set to 120
[    0.228000] io scheduler noop registered
[    0.232000] io scheduler deadline registered (default)
[    0.240000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10) is a bcm63xx_uart
[    0.248000] console [ttyS0] enabled, bootconsole disabled
[    0.268000] physmap platform flash device: 02000000 at 1e000000
[    0.272000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x00227e
[    0.284000] physmap-flash.0: Found an alias at 0x1000000 for the chip at 0x0
[    0.284000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.288000]   Amd/Fujitsu Extended Query version 1.3.
[    0.296000] number of CFI chips: 1
[    0.300000] bcm63xxpart: CFE boot tag found with version 8 and board type HW556
[    0.308000] bcm63xxpart: Partition 0 is CFE offset 0 and length 20000
[    0.312000] bcm63xxpart: Partition 1 is kernel offset 20100 and length fff00
[    0.320000] bcm63xxpart: Partition 2 is rootfs offset 120000 and length dc0000
[    0.328000] bcm63xxpart: Partition 3 is cal_data offset ee0000 and length 20000
[    0.336000] bcm63xxpart: Partition 4 is nvram offset fe0000 and length 20000
[    0.344000] bcm63xxpart: Partition 5 is linux offset 20000 and length ec0000
[    0.348000] bcm63xxpart: Spare partition is offset 340004 and length b9fffc
[    0.356000] 6 bcm63xxpart partitions found on MTD device physmap-flash.0
[    0.364000] Creating 6 MTD partitions on "physmap-flash.0":
[    0.368000] 0x000000000000-0x000000020000 : "CFE"
[    0.380000] 0x000000020100-0x000000120000 : "kernel"
[    0.384000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.400000] 0x000000120000-0x000000ee0000 : "rootfs"
[    0.408000] mtd: partition "rootfs" set to be root filesystem
[    0.416000] mtd: partition "rootfs_data" created automatically, ofs=340000, len=BA0000
[    0.424000] 0x000000340000-0x000000ee0000 : "rootfs_data"
[    0.432000] 0x000000ee0000-0x000000f00000 : "cal_data"
[    0.444000] 0x000000fe0000-0x000001000000 : "nvram"
[    0.452000] 0x000000020000-0x000000ee0000 : "linux"
[    0.472000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.480000] Registered led device: HW556:red:message
[    0.480000] Registered led device: HW556:red:hspa
[    0.480000] Registered led device: HW556:red:dsl
[    0.484000] Registered led device: HW556:red:power
[    0.484000] Registered led device: HW556:red:all
[    0.484000] TCP cubic registered
[    0.488000] NET: Registered protocol family 17
[    0.492000] 8021q: 802.1Q VLAN Support v1.8
[    0.504000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.516000] Freeing unused kernel memory: 196k freed
[    3.400000] eth0: link forced UP - 100/full - flow control off/off
[    3.620000] roboswitch: Probing device eth0: found a 5325! It's a 5350.
[    4.684000] There is already a switch registered on the device 'eth0'
[    6.152000] Button Hotplug driver version 0.4.1
[   12.992000] Compat-wireless backport release: compat-wireless-2012-07-03-2-3-g7adf66e
[   13.000000] Backport based on wireless-testing.git master-2012-07-06
[   13.008000] compat.git: wireless-testing.git
[   13.072000] cfg80211: Calling CRDA to update world regulatory domain
[   13.076000] cfg80211: World regulatory domain updated:
[   13.084000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   13.092000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.100000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.108000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.116000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.124000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.920000] NET: Registered protocol family 10
[   13.964000] cfg80211: World regulatory domain updated:
[   13.968000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   13.980000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.988000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.996000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   14.004000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.012000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.580000] SCSI subsystem initialized
[   14.672000] There is already a switch registered on the device 'eth0'
[   15.032000] usbcore: registered new interface driver usbfs
[   15.036000] usbcore: registered new interface driver hub
[   15.044000] usbcore: registered new device driver usb
[   16.192000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[   16.200000] rt2800pci 0000:00:01.0: setting latency timer to 64
[   16.380000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   16.384000] Registered led device: rt2800pci-phy0::radio
[   16.384000] Registered led device: rt2800pci-phy0::assoc
[   16.384000] Registered led device: rt2800pci-phy0::quality
[   16.736000] PPP generic driver version 2.4.2
[   17.128000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   17.420000] NET: Registered protocol family 24
[   17.616000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   17.728000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[   17.732000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[   17.768000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
[   17.784000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[   17.792000] hub 1-0:1.0: USB hub found
[   17.796000] hub 1-0:1.0: 2 ports detected
[   17.976000] nf_conntrack version 0.5.0 (970 buckets, 3880 max)
[   18.356000] usb 1-2: new high-speed USB device number 2 using bcm63xx_ehci
[   18.508000] hub 1-2:1.0: USB hub found
[   18.512000] hub 1-2:1.0: 4 ports detected
[   18.804000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   19.220000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   19.328000] bcm63xx_ohci bcm63xx_ohci.0: BCM63XX integrated OHCI controller
[   19.332000] bcm63xx_ohci bcm63xx_ohci.0: new USB bus registered, assigned bus number 2
[   19.340000] bcm63xx_ohci bcm63xx_ohci.0: irq 13, io mem 0xfffe1400
[   19.408000] hub 2-0:1.0: USB hub found
[   19.412000] hub 2-0:1.0: 1 port detected
[   19.588000] Initializing USB Mass Storage driver...
[   19.592000] usbcore: registered new interface driver usb-storage
[   19.600000] USB Mass Storage support registered.
[   19.636000] usbcore: registered new interface driver ums-alauda
[   19.672000] usbcore: registered new interface driver ums-cypress
[   19.708000] usbcore: registered new interface driver ums-datafab
[   19.748000] usbcore: registered new interface driver ums-freecom
[   19.784000] usbcore: registered new interface driver ums-isd200
[   19.824000] usbcore: registered new interface driver ums-jumpshot
[   19.860000] usbcore: registered new interface driver ums-karma
[   19.900000] usbcore: registered new interface driver ums-sddr09
[   19.936000] usbcore: registered new interface driver ums-sddr55
[   19.976000] usbcore: registered new interface driver ums-usbat
[   20.012000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   26.876000] eth0: link forced UP - 100/full - flow control off/off
[   26.900000] device eth0 entered promiscuous mode
[   26.912000] br-lan: port 1(eth0) entered forwarding state
[   26.916000] br-lan: port 1(eth0) entered forwarding state
[   28.920000] br-lan: port 1(eth0) entered forwarding state
[   48.820000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   48.828000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   48.832000] jffs2_build_filesystem(): erasing all blocks after the end marker...
[  103.324000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  105.556000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  107.772000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  110.276000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  112.492000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  114.704000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  117.240000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  118.076000] done.
[  118.076000] JFFS2 notice: (1126) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[  119.500000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  121.728000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  139.544000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  145.088000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  182.528000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  204.092000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  224.008000] ADDRCONF(NETDEV_UP): tmp.wlan0: link is not ready
[  226.224000] ADDRCONF(NETDEV_UP): tmp.wlan0: link is not ready
[  228.440000] ADDRCONF(NETDEV_UP): tmp.wlan0: link is not ready
[  269.024000] ADDRCONF(NETDEV_UP): tmp.wlan0: link is not ready
[  271.244000] ADDRCONF(NETDEV_UP): tmp.wlan0: link is not ready
[  273.460000] ADDRCONF(NETDEV_UP): tmp.wlan0: link is not ready
[  287.124000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  294.744000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  312.308000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  317.424000] wlan0: authenticate with 5c:----------------
[  317.472000] wlan0: send auth to 5c:------------------- (try 1/3)
[  317.480000] wlan0: authenticated
[  317.516000] wlan0: associate with 5c:................ (try 1/3)
[  317.528000] wlan0: RX AssocResp from 5c:................... (capab=0x411 status=0 aid=4)
[  317.536000] wlan0: associated
[  317.996000] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready[/spoiler]
Una pregunta, la mac que detecta en el dispositivo wifi, no es 11:22:33:44:55:66 verdad?

cat /etc/config/network
Título: Re: OpenWRT en Huawei hg556a
Publicado por: aguera-competicion en 14-07-2012, 19:12 (Sábado)
[quote Lo más probable es que se trate de un modelo del cual no tenía constancia a la hora de hacer la detección.

Necesito que me pases un bootlog del firmware oficial:
No sé si en el oficial se pueden escribir archivos en la carpeta /www pero inténtalo:
dmesg > /www/dmesg.txt
Luego en el navegador http://192.168.1.1/dmesg.txt
[/quote]

Como no tengo ping con el equipo creo que puede ser mejor el serial.
¿tienes el enlace de las conexiones y los componebtes?
Creo que tengo un cable pero no se si sera el adecuado.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 14-07-2012, 19:14 (Sábado)
[quote Lo más probable es que se trate de un modelo del cual no tenía constancia a la hora de hacer la detección.

Necesito que me pases un bootlog del firmware oficial:
No sé si en el oficial se pueden escribir archivos en la carpeta /www pero inténtalo:
dmesg > /www/dmesg.txt
Luego en el navegador http://192.168.1.1/dmesg.txt

Como no tengo ping con el equipo creo que puede ser mejor el serial.
¿tienes el enlace de las conexiones y los componebtes?
Creo que tengo un cable pero no se si sera el adecuado.
[/quote]
No me ha dado tiempo a editarlo sin que vieras lo anterior :P.

No hace falta serial, sigue estos pasos con el firmware de la primera página que te funciona:

Envíame un bootlog y un backup del cfe a noltari@gmail.com.

telnet 192.168.1.1

Para el bootlog:
dmesg > /www/dmesg.txt
Para el cfe:
dd if=/dev/mtd0 of=/www/cfe.bin

Después en el navegador:
http://192.168.1.1/dmesg.txt
http://192.168.1.1/cfe.bin

Saludos.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 14-07-2012, 19:22 (Sábado)
La Mac que usa es:
Código: [Seleccionar]
oot@OpenWrt:~# cat /etc/config/wireless

config wifi-device 'radio0'
option type 'mac80211'
option macaddr '9e:22:e8:1f:b1:97'
option hwmode '11ng'
option htmode 'HT20'
list ht_capab 'GF'
list ht_capab 'SHORT-GI-20'
list ht_capab 'SHORT-GI-40'
list ht_capab 'TX-STBC'
list ht_capab 'RX-STBC12'
option channel '5'
option disabled '0'
option country '00'

config wifi-iface
option ssid 'Test'
option encryption 'psk2'
option device 'radio0'
option mode 'sta'
option network 'wwan'
option key 'ClaveWPA2'
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 14-07-2012, 19:32 (Sábado)
Parches para SVN (Ralink+Atheros): https://dl.dropbox.com/u/4708147/openwrt/hw556/hw556_svn_all.patch
EEPROM necesaria para el ralink: https://dl.dropbox.com/u/4708147/openwrt/hw556/rt3062_eeprom.zip

Con esos parches se debería generar un firmware compatible tanto con Ralink como con Atheros.

De hecho, el ultimo firmware que he publicado debería funcionar tanto en ralink como en atheros y es la última versión de openwrt:
https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32706_ralink.bin

Un saludo.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: aguera-competicion en 14-07-2012, 19:40 (Sábado)
Correo enviado con lo demandado.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 14-07-2012, 19:57 (Sábado)
Correo enviado con lo demandado.
Pues tienes un router con la flash "chunga" MX29LV128DB.

En teoría los parches que había hecho deberían ser compatibles para este router también, pero parece que no...

Voy a necesitar que me mandes un bootlog con cable serial de este router con el último firmware:
https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32706_ralink.bin

Aquí tienes un enlace que colgó creo que gmtii para un cable serial ya hecho:
http://www.ebay.es/itm/370532286388?ssPageName=STRK:MEWAX:IT&_trksid=p3984.m1423.l2649#ht_2817wt_1163

Si lo quieres montar tú, te pongo el mismo esquema para pcb y el original.
Esquema original: https://dl.dropbox.com/u/4708147/rs232/original.jpg
Esquema pcb: https://dl.dropbox.com/u/4708147/rs232/rs232.png

Saludos.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 14-07-2012, 22:18 (Sábado)
Correo enviado con lo demandado.
Cuando puedas prueba este firmware. Igual nos podemos ahorrar lo del serial si hay suerte :$.

https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32706_master_erasesize.bin

Saludos.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 15-07-2012, 11:07 (Domingo)
Voy a necesitar que me mandes un bootlog con cable serial de este router con el último firmware:
https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32706_ralink.bin

Aquí tienes un enlace que colgó creo que gmtii para un cable serial ya hecho:
http://www.ebay.es/itm/370532286388?ssPageName=STRK:MEWAX:IT&_trksid=p3984.m1423.l2649#ht_2817wt_1163

Y aquí (http://www.buyincoins.com/details/usb-to-rs232-ttl-pl2303hx-auto-converter-module-converter-adapter-5v-3-3v-output-product-12183.html) tienes otro adaptador publicado por pippolippi (https://forum.openwrt.org/viewtopic.php?pid=172146#p172146) todavía un poquito más barato.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 15-07-2012, 11:18 (Domingo)
Aquí lo tenéis compilado con el paquete que has pedido ;)
https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32689_mac80211_audio.bin
opkg install http://downloads.openwrt.org/snapshots/trunk/brcm63xx/packages/kernel_3.3.8-1-e5e58249fa680bfccc16d480cded7028_brcm63xx.ipk
¡Un millón de gracias a los dos! Ya lo estoy probando. En cuanto lo tenga funcionando subo una mini guía de cómo lo he hecho.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: tool en 15-07-2012, 12:19 (Domingo)
La radio controlable por Android es algo que tengo yo pendiente, hasta añadir un LCD, y usar los GPIO de los led para otros menesteres xD

El RS232 es más divertido hacer un DIY.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: emeryth en 15-07-2012, 13:43 (Domingo)
hola chicos, primero que todo gracias por vuestro trabajo y felicidades por todos sus éxitos. estoy siguiendo este hilo desde hace más de un año.

tengo dos hg556a, con las memorias 29LV128DBT2I y MAC: 64:16..
me ocurre lo mismo que al compañero "aguera-competicion", al colocar el firmware se queda sin ping.

tengo el cable serial conectado ya, pero no sé como sacarte el bootlog de tu ultimo firmware.

Al arrancar la ventana del serial muestra esto:

CFE version cfe.d081.5003 for BCM96358 (32bit,SP,BE)
Build Date: Wed Nov 11 10:36:35 CST 2009 (Lihua_68693)
Copyright (C) 2006 Huawei Technologies Co. Ltd.

Boot Address 0xbe000000

Initializing Arena.
Initializing Devices.

@w45260: Flash Manufacture id :c2

@w45260Flash Device id :227a

@w45260flipCFIGeometry:0
Parallel flash device: name MX29LV128DB, id 0x227a, size 16384KB
*** GetHG556aBoardVersion = <0> ***

CPU type 0x2A010: 300MHz, Bus: 133MHz, Ref: 64MHz
Total memory: 67108864 bytes (64MB)

Total memory used by CFE:  0x80401000 - 0x8052A510 (1217808)
Initialized Data:          0x8041F3C0 - 0x80421B60 (10144)
BSS Area:                  0x80421B60 - 0x80428510 (27056)
Local Heap:                0x80428510 - 0x80528510 (1048576)
Stack Area:                0x80528510 - 0x8052A510 (8192)
Text (code) segment:       0x80401000 - 0x8041F3B4 (123828)
Boot area (physical):      0x0052B000 - 0x0056B000
Relocation Factor:         I:00000000 - D:00000000

*** GetHG556aBoardVersion = <0> ***

Board IP address                  : 192.168.1.1
Host IP address                   : 192.168.1.100
Gateway IP address                :
Run from flash/host (f/h)         : f
Default host run file name        : vmlinux
Default host flash file name      : bcm963xx_fs_kernel
Boot delay (0-9 seconds)          : 1
Board Id Name                     : HW556
Psi size in KB                    : 64
Number of MAC Addresses (1-32)    : 10
Base MAC Address                  : 64:16:f0:0a:87:2d
Ethernet PHY Type                 : Internal
Memory size in MB                 : 64
CMT Thread Number                 : 1

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
boot kernel from be020100
Code Address: 0x80010000, Entry Address: 0x80010000
Decompression OK!
Entry at 0x80010000
Closing network.
Starting program at 0x80010000
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 15-07-2012, 13:49 (Domingo)
hola chicos, primero que todo gracias por vuestro trabajo y felicidades por todos sus éxitos. estoy siguiendo este hilo desde hace más de un año.

tengo dos hg556a, con las memorias 29LV128DBT2I y MAC: 64:16..
me ocurre lo mismo que al compañero "aguera-competicion", al colocar el firmware se queda sin ping.

tengo el cable serial conectado ya, pero no sé como sacarte el bootlog de tu ultimo firmware.

Al arrancar la ventana del serial muestra esto:

CFE version cfe.d081.5003 for BCM96358 (32bit,SP,BE)
Build Date: Wed Nov 11 10:36:35 CST 2009 (Lihua_68693)
Copyright (C) 2006 Huawei Technologies Co. Ltd.

Boot Address 0xbe000000

Initializing Arena.
Initializing Devices.

@w45260: Flash Manufacture id :c2

@w45260Flash Device id :227a

@w45260flipCFIGeometry:0
Parallel flash device: name MX29LV128DB, id 0x227a, size 16384KB
*** GetHG556aBoardVersion = <0> ***

CPU type 0x2A010: 300MHz, Bus: 133MHz, Ref: 64MHz
Total memory: 67108864 bytes (64MB)

Total memory used by CFE:  0x80401000 - 0x8052A510 (1217808)
Initialized Data:          0x8041F3C0 - 0x80421B60 (10144)
BSS Area:                  0x80421B60 - 0x80428510 (27056)
Local Heap:                0x80428510 - 0x80528510 (1048576)
Stack Area:                0x80528510 - 0x8052A510 (8192)
Text (code) segment:       0x80401000 - 0x8041F3B4 (123828)
Boot area (physical):      0x0052B000 - 0x0056B000
Relocation Factor:         I:00000000 - D:00000000

*** GetHG556aBoardVersion = <0> ***

Board IP address                  : 192.168.1.1
Host IP address                   : 192.168.1.100
Gateway IP address                :
Run from flash/host (f/h)         : f
Default host run file name        : vmlinux
Default host flash file name      : bcm963xx_fs_kernel
Boot delay (0-9 seconds)          : 1
Board Id Name                     : HW556
Psi size in KB                    : 64
Number of MAC Addresses (1-32)    : 10
Base MAC Address                  : 64:16:f0:0a:87:2d
Ethernet PHY Type                 : Internal
Memory size in MB                 : 64
CMT Thread Number                 : 1

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
boot kernel from be020100
Code Address: 0x80010000, Entry Address: 0x80010000
Decompression OK!
Entry at 0x80010000
Closing network.
Starting program at 0x80010000

Prueba este firmware cuando puedas porfa:
https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32706_master_erasesize.bin

Saludos
Título: Re: OpenWRT en Huawei hg556a
Publicado por: emeryth en 15-07-2012, 14:10 (Domingo)
no funciona, no hay ningún cambio en lo que muestra la ventana serie.

pd: la ventana que muestra los procesos serial, es el  bootlog ?
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 15-07-2012, 14:29 (Domingo)
no funciona, no hay ningún cambio en lo que muestra la ventana serie.

pd: la ventana que muestra los procesos serial, es el  bootlog ?
Sí, es el bootlog.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 15-07-2012, 14:31 (Domingo)
¡Un millón de gracias a los dos! Ya lo estoy probando. En cuanto lo tenga funcionando subo una mini guía de cómo lo he hecho.
Aquí, la mini guía:
Music Player Daemon (mpd) es un módulo servidor reproductor de música. Está incluido en la distribución OpenWRT y, como veremos, se puede instalar en nuestros routers hg556a. Se controla desde un modulo cliente que puede estar alojado en el propio router o en un dispositivo externo, como puede ser tu teléfono móvil. Bien entendido que la música se reproduce en el router y el teléfono móvil vendría a ser el mando a distancia.
Para que suene la música hay que pincharle al router una tarjeta de sonido USB.
Evidentemente, todo esto no me lo he inventado yo. Lo he ido sacando de un lado y de otro. Mi fuente principal de inspiración es la página de Jeff, en la que propone construir una radio wifi a partir de un router Asus WL-520GU.
http://mightyohm.com/blog/2008/10/building-a-wifi-radio-part-1-introduction/

Vamos al grano...
He partido de un firmware especialmente compilado por Noltari que incluye el paquete kmod-usb-audio. Para ver el post:
  https://foro.seguridadwireless.net/openwrt/openwrt-en-huaweig-hg556a/msg247410/#msg247410
Para descargar el firm:
  https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32689_mac80211_audio.bin

Si prefieres utilizar una versión distinta, asegúrate de que tiene soporte USB y audio:
  opkg update
  opkg install kmod-usb2 kmod-usb-core kmod-usb-ohci
  opkg install kmod-usb-audio

Si prefieres utilizar el firm Noltari, empieza aquí.

INSTALACIÓN DE LA TARJETA DE SONIDO USB.
Como ya he dicho, al router hay que instalarle una tarjeta de sonido USB. En las pruebas que he hecho, sólo me reconoce la tarjeta en el conector lateral y en de la parte inferior trasera. Por algún extraño motivo no la reconoce en el conector destinado al pincho 3G.
Una vez insertada la tarjeta, puedes verificar su correcta instalación escribiendo en la consola:
  root@OpenWrt:~# ls /dev/a*
Si la reconoce, deberías ver el mensaje
  /dev/audio
 
INSTALACIÓN DE LOS MÓDULOS SERVIDOR Y CLIENTE "MUSIC PLAYER"
El módulo servidor está en el paquete mpd-full y el cliente en mpc. Instálalos:
  opkg update
  opkg install mpd-full mpc

CREACIÓN DE CARPETAS NECESARIAS PARA MPD
Antes de poder usar mpd hay que hacer algunos ajustes:
  root@OpenWrt:~# cd ~
  root@OpenWrt:~# mkdir .mpd
  root@OpenWrt:~# mkdir music
  root@OpenWrt:~# mkdir .mpd/playlists

CONFIGURACIÓN DEL MÓDULO SERVIDOR
Edita el fichero /etc/mpd.conf. Busca la sección "audio_output"
Ahora tienes que eliminar algunas marcas de comentario (#) y cambiar la referencia "device" para que apunte al dispositivo de sonido USB. Te tiene que quedar algo como esto:
  # An example of an OSS output:
  #
  audio_output {
  type "oss"
  name "My OSS Device"
  device "/dev/audio"
  format "44100:16:2"
  }

No olvides guardar los cambios antes de salir del editor.

EJECUCIÓN DEL MÓDULO SERVIDOR
Nada más sencillo:
  root@OpenWrt:~# mpd

Sí, ya lo sé. Da un error, pero funciona:
  listen: bind to '0.0.0.0:6600' failed: Address already in use (continuing anyway, because binding to '[::]:6600' succeeded)

¡NO SOPORTO LOS MENSAJES DE ERROR!
Ya te digo que funciona a pesar de ese feo mensaje. De todos modos, si lo quieres evitar, edita de el fichero /etc/mpd.conf y cambia la línea en la que pone:
  #bind_to_address "~/.mpd/socket"
por esta otra:
  bind_to_address "127.0.0.1"
No olvides guardar los cambios.
Antes de lanzar de nuevo el módulo servidor, hay que eliminarlo de la memoria:
  root@OpenWrt:~# killall -9 mpd
Ya lo puedes volver a ejecutar sin que te salga el mensaje de error:
  root@OpenWrt:~# mpd

PARADA DEL MÓDULO SERVIDOR
La única forma de para el mpd es matar el proceso:
  killall -9 mpd

EJECUCIÓN DEL MÓDULO CLIENTE
También es sencillo:
  root@OpenWrt:~# mpc
Si todo ha ido bien debe aparecer en la consola un mensaje semejante a éste:
  volume:  0%   repeat: off   random: off   single: off   consume: off
Todavía no suena nada y es normal, porque no le hemos indicado el qué.

AÑADIENDO FUENTES DE SONIDO
Hasta ahora me he centrado únicamente en reproducir sonido procedente de emisoras shoutcast.
Vamos con un poco de música celta:
  root@OpenWrt:~# mpc add http://173.192.225.172:9908

LLEGÓ EL MOMENTO DE LA VERDAD
Aquí tengo que recomendar muchísima precaución con los auriculares. EL VOLUMEN ESTÁ AL 100%. Es preferible usar uno de esos que incorporan atenuador de volumen.
Para hacer sonar la emisora:
  root@OpenWrt:~# mpc play
Empieza a sonar la música y aparece información tanto de la emisora (nombre, título de la canción, autor) como del propio mpd (volumen...)

Y hasta aquí puedo contar. Quiero seguir investigando, ya que hay comados del mpc que no me han funcionado. Por ejemplo, no consigo controlar el volumen ("mpc volume 40" debería establecer el volumen al 40%, pero no). Sé que se puede hacer sonar música de un pendrive, definir listas de reproducción y controlar el Music Player desde el teléfono móvil, pero todavía no sé cómo.
Posiblemente un buen punto de partida sea el foro http://mightyohm.com/forum/viewforum.php?f=2 (in English, of course), donde mucha gente ha planteado sus dudas y otras han aportado sus soluciones.
La lectura del fichero /etc/mpd.conf también da algunas pistas.

Disculpadme por la parrafada, no me imaginaba que fuera a salir tan larga. Y sobre todo disculpadme porque tal vez no sea éste el sitio adecuado donde postearla.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 15-07-2012, 14:40 (Domingo)
no funciona, no hay ningún cambio en lo que muestra la ventana serie.

pd: la ventana que muestra los procesos serial, es el  bootlog ?
Estoy mirándolo más a fondo. El problema es que desde que danitool hizo los parches han cambiado muchas cosas en el código mtd del brcm63xx.

Prueba este otro firmware:
https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32706_cfelen.bin

Saludos.

P.D: Buen tuto raphik ;D.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: emeryth en 15-07-2012, 15:12 (Domingo)
Gracias por tu interés y esfuerzo Noltari, pero aun no cambia nada, con el ultimo firmware

[spoiler]
CFE version cfe.d081.5003 for BCM96358 (32bit,SP,BE)
Build Date: Wed Nov 11 10:36:35 CST 2009 (Lihua_68693)
Copyright (C) 2006 Huawei Technologies Co. Ltd.


Boot Address 0xbe000000

Initializing Arena.
Initializing Devices.

@w45260: Flash Manufacture id :c2

@w45260Flash Device id :227a

@w45260flipCFIGeometry:0
Parallel flash device: name MX29LV128DB, id 0x227a, size 16384KB
*** GetHG556aBoardVersion = <0> ***

CPU type 0x2A010: 300MHz, Bus: 133MHz, Ref: 64MHz
Total memory: 67108864 bytes (64MB)

Total memory used by CFE:  0x80401000 - 0x8052A510 (1217808)
Initialized Data:          0x8041F3C0 - 0x80421B60 (10144)
BSS Area:                  0x80421B60 - 0x80428510 (27056)
Local Heap:                0x80428510 - 0x80528510 (1048576)
Stack Area:                0x80528510 - 0x8052A510 (8192)
Text (code) segment:       0x80401000 - 0x8041F3B4 (123828)
Boot area (physical):      0x0052B000 - 0x0056B000
Relocation Factor:         I:00000000 - D:00000000

*** GetHG556aBoardVersion = <0> ***

Board IP address                  : 192.168.1.1
Host IP address                   : 192.168.1.100
Gateway IP address                :
Run from flash/host (f/h)         : f
Default host run file name        : vmlinux
Default host flash file name      : bcm963xx_fs_kernel
Boot delay (0-9 seconds)          : 1
Board Id Name                     : HW556
Psi size in KB                    : 64
Number of MAC Addresses (1-32)    : 10
Base MAC Address                  : 64:16:f0:0a:87:2d
Ethernet PHY Type                 : Internal
Memory size in MB                 : 64
CMT Thread Number                 : 1

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
boot kernel from be020100
Code Address: 0x80010000, Entry Address: 0x80010000
Decompression OK!
Entry at 0x80010000
Closing network.
Starting program at 0x80010000

[/spoiler] bootlog


Citar
Prueba este otro firmware:
https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32706_cfelen.bin
Título: Re: OpenWRT en Huawei hg556a
Publicado por: SERASER en 15-07-2012, 15:23 (Domingo)
¡Un millón de gracias a los dos! Ya lo estoy probando. En cuanto lo tenga funcionando subo una mini guía de cómo lo he hecho.
Aquí, la mini guía:
Music Player Daemon (mpd) es un módulo servidor reproductor de música. Está incluido en la distribución OpenWRT y, como veremos, se puede instalar en nuestros routers hg556a. Se controla desde un modulo cliente que puede estar alojado en el propio router o en un dispositivo externo, como puede ser tu teléfono móvil. Bien entendido que la música se reproduce en el router y el teléfono móvil vendría a ser el mando a distancia.
Para que suene la música hay que pincharle al router una tarjeta de sonido USB.
Evidentemente, todo esto no me lo he inventado yo. Lo he ido sacando de un lado y de otro. Mi fuente principal de inspiración es la página de Jeff, en la que propone construir una radio wifi a partir de un router Asus WL-520GU.
http://mightyohm.com/blog/2008/10/building-a-wifi-radio-part-1-introduction/

Vamos al grano...
He partido de un firmware especialmente compilado por Noltari que incluye el paquete kmod-usb-audio. Para ver el post:
  https://foro.seguridadwireless.net/openwrt/openwrt-en-huaweig-hg556a/msg247410/#msg247410
Para descargar el firm:
  https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32689_mac80211_audio.bin

Si prefieres utilizar una versión distinta, asegúrate de que tiene soporte USB y audio:
  opkg update
  opkg install kmod-usb2 kmod-usb-core kmod-usb-ohci
  opkg install kmod-usb-audio

Si prefieres utilizar el firm Noltari, empieza aquí.

INSTALACIÓN DE LA TARJETA DE SONIDO USB.
Como ya he dicho, al router hay que instalarle una tarjeta de sonido USB. En las pruebas que he hecho, sólo me reconoce la tarjeta en el conector lateral y en de la parte inferior trasera. Por algún extraño motivo no la reconoce en el conector destinado al pincho 3G.
Una vez insertada la tarjeta, puedes verificar su correcta instalación escribiendo en la consola:
  root@OpenWrt:~# ls /dev/a*
Si la reconoce, deberías ver el mensaje
  /dev/audio
 
INSTALACIÓN DE LOS MÓDULOS SERVIDOR Y CLIENTE "MUSIC PLAYER"
El módulo servidor está en el paquete mpd-full y el cliente en mpc. Instálalos:
  opkg update
  opkg install mpd-full mpc

CREACIÓN DE CARPETAS NECESARIAS PARA MPD
Antes de poder usar mpd hay que hacer algunos ajustes:
  root@OpenWrt:~# cd ~
  root@OpenWrt:~# mkdir .mpd
  root@OpenWrt:~# mkdir music
  root@OpenWrt:~# mkdir .mpd/playlists

CONFIGURACIÓN DEL MÓDULO SERVIDOR
Edita el fichero /etc/mpd.conf. Busca la sección "audio_output"
Ahora tienes que eliminar algunas marcas de comentario (#) y cambiar la referencia "device" para que apunte al dispositivo de sonido USB. Te tiene que quedar algo como esto:
  # An example of an OSS output:
  #
  audio_output {
  type "oss"
  name "My OSS Device"
  device "/dev/audio"
  format "44100:16:2"
  }

No olvides guardar los cambios antes de salir del editor.

EJECUCIÓN DEL MÓDULO SERVIDOR
Nada más sencillo:
  root@OpenWrt:~# mpd

Sí, ya lo sé. Da un error, pero funciona:
  listen: bind to '0.0.0.0:6600' failed: Address already in use (continuing anyway, because binding to '[::]:6600' succeeded)

¡NO SOPORTO LOS MENSAJES DE ERROR!
Ya te digo que funciona a pesar de ese feo mensaje. De todos modos, si lo quieres evitar, edita de el fichero /etc/mpd.conf y cambia la línea en la que pone:
  #bind_to_address "~/.mpd/socket"
por esta otra:
  bind_to_address "127.0.0.1"
No olvides guardar los cambios.
Antes de lanzar de nuevo el módulo servidor, hay que eliminarlo de la memoria:
  root@OpenWrt:~# killall -9 mpd
Ya lo puedes volver a ejecutar sin que te salga el mensaje de error:
  root@OpenWrt:~# mpd

PARADA DEL MÓDULO SERVIDOR
La única forma de para el mpd es matar el proceso:
  killall -9 mpd

EJECUCIÓN DEL MÓDULO CLIENTE
También es sencillo:
  root@OpenWrt:~# mpc
Si todo ha ido bien debe aparecer en la consola un mensaje semejante a éste:
  volume:  0%   repeat: off   random: off   single: off   consume: off
Todavía no suena nada y es normal, porque no le hemos indicado el qué.

AÑADIENDO FUENTES DE SONIDO
Hasta ahora me he centrado únicamente en reproducir sonido procedente de emisoras shoutcast.
Vamos con un poco de música celta:
  root@OpenWrt:~# mpc add http://173.192.225.172:9908

LLEGÓ EL MOMENTO DE LA VERDAD
Aquí tengo que recomendar muchísima precaución con los auriculares. EL VOLUMEN ESTÁ AL 100%. Es preferible usar uno de esos que incorporan atenuador de volumen.
Para hacer sonar la emisora:
  root@OpenWrt:~# mpc play
Empieza a sonar la música y aparece información tanto de la emisora (nombre, título de la canción, autor) como del propio mpd (volumen...)

Y hasta aquí puedo contar. Quiero seguir investigando, ya que hay comados del mpc que no me han funcionado. Por ejemplo, no consigo controlar el volumen ("mpc volume 40" debería establecer el volumen al 40%, pero no). Sé que se puede hacer sonar música de un pendrive, definir listas de reproducción y controlar el Music Player desde el teléfono móvil, pero todavía no sé cómo.
Posiblemente un buen punto de partida sea el foro http://mightyohm.com/forum/viewforum.php?f=2 (in English, of course), donde mucha gente ha planteado sus dudas y otras han aportado sus soluciones.
La lectura del fichero /etc/mpd.conf también da algunas pistas.

Disculpadme por la parrafada, no me imaginaba que fuera a salir tan larga. Y sobre todo disculpadme porque tal vez no sea éste el sitio adecuado donde postearla.

Buen tuto raphik, gracias, pero si te parece bien mejor lo pones en un post aparte con su titulo correspondiente en este mismo subforo por que aqui va a estar muy perdido.

Salud.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 15-07-2012, 16:08 (Domingo)
Gracias por tu interés y esfuerzo Noltari, pero aun no cambia nada, con el ultimo firmware

[spoiler]
CFE version cfe.d081.5003 for BCM96358 (32bit,SP,BE)
Build Date: Wed Nov 11 10:36:35 CST 2009 (Lihua_68693)
Copyright (C) 2006 Huawei Technologies Co. Ltd.


Boot Address 0xbe000000

Initializing Arena.
Initializing Devices.

@w45260: Flash Manufacture id :c2

@w45260Flash Device id :227a

@w45260flipCFIGeometry:0
Parallel flash device: name MX29LV128DB, id 0x227a, size 16384KB
*** GetHG556aBoardVersion = <0> ***

CPU type 0x2A010: 300MHz, Bus: 133MHz, Ref: 64MHz
Total memory: 67108864 bytes (64MB)

Total memory used by CFE:  0x80401000 - 0x8052A510 (1217808)
Initialized Data:          0x8041F3C0 - 0x80421B60 (10144)
BSS Area:                  0x80421B60 - 0x80428510 (27056)
Local Heap:                0x80428510 - 0x80528510 (1048576)
Stack Area:                0x80528510 - 0x8052A510 (8192)
Text (code) segment:       0x80401000 - 0x8041F3B4 (123828)
Boot area (physical):      0x0052B000 - 0x0056B000
Relocation Factor:         I:00000000 - D:00000000

*** GetHG556aBoardVersion = <0> ***

Board IP address                  : 192.168.1.1
Host IP address                   : 192.168.1.100
Gateway IP address                :
Run from flash/host (f/h)         : f
Default host run file name        : vmlinux
Default host flash file name      : bcm963xx_fs_kernel
Boot delay (0-9 seconds)          : 1
Board Id Name                     : HW556
Psi size in KB                    : 64
Number of MAC Addresses (1-32)    : 10
Base MAC Address                  : 64:16:f0:0a:87:2d
Ethernet PHY Type                 : Internal
Memory size in MB                 : 64
CMT Thread Number                 : 1

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
boot kernel from be020100
Code Address: 0x80010000, Entry Address: 0x80010000
Decompression OK!
Entry at 0x80010000
Closing network.
Starting program at 0x80010000

[/spoiler] bootlog


Citar
Prueba este otro firmware:
https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32706_cfelen.bin
He estado mirándo el código antiguo del mtd, a ver si ahora funciona...

https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32706_master_erasesize_bcmtag.bin

Saludos.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 15-07-2012, 16:13 (Domingo)
Buen tuto raphik, gracias, pero si te parece bien mejor lo pones en un post aparte con su titulo correspondiente en este mismo subforo por que aqui va a estar muy perdido.
Salud.
Antes que nada, gracias por vuestras felicitaciones.
A mí tampoco me parecía éste el sitio adecuado. Siguiendo tu indicación, lo he puesto en un post aparte. En realidad no pretendía elaborar un tuto, sino simplemente compartir unas notas con jar229 que sirvieran de punto de partida para montar un reproductor de audio gobernado desde un móvil con android.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: emeryth en 15-07-2012, 16:51 (Domingo)
no aun no.

Citar
He estado mirándo el código antiguo del mtd, a ver si ahora funciona...

https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32706_master_erasesize_bcmtag.bin

Saludos.

[spoiler]

CFE version cfe.d081.5003 for BCM96358 (32bit,SP,BE)
Build Date: Wed Nov 11 10:36:35 CST 2009 (Lihua_68693)
Copyright (C) 2006 Huawei Technologies Co. Ltd.


Boot Address 0xbe000000

Initializing Arena.
Initializing Devices.

@w45260: Flash Manufacture id :c2

@w45260Flash Device id :227a

@w45260flipCFIGeometry:0
Parallel flash device: name MX29LV128DB, id 0x227a, size 16384KB
*** GetHG556aBoardVersion = <0> ***

CPU type 0x2A010: 300MHz, Bus: 133MHz, Ref: 64MHz
Total memory: 67108864 bytes (64MB)

Total memory used by CFE:  0x80401000 - 0x8052A510 (1217808)
Initialized Data:          0x8041F3C0 - 0x80421B60 (10144)
BSS Area:                  0x80421B60 - 0x80428510 (27056)
Local Heap:                0x80428510 - 0x80528510 (1048576)
Stack Area:                0x80528510 - 0x8052A510 (8192)
Text (code) segment:       0x80401000 - 0x8041F3B4 (123828)
Boot area (physical):      0x0052B000 - 0x0056B000
Relocation Factor:         I:00000000 - D:00000000

*** GetHG556aBoardVersion = <0> ***

Board IP address                  : 192.168.1.1
Host IP address                   : 192.168.1.100
Gateway IP address                :
Run from flash/host (f/h)         : f
Default host run file name        : vmlinux
Default host flash file name      : bcm963xx_fs_kernel
Boot delay (0-9 seconds)          : 1
Board Id Name                     : HW556
Psi size in KB                    : 64
Number of MAC Addresses (1-32)    : 10
Base MAC Address                  : 64:16:f0:0a:87:2d
Ethernet PHY Type                 : Internal
Memory size in MB                 : 64
CMT Thread Number                 : 1

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
boot kernel from be020100
Code Address: 0x80010000, Entry Address: 0x80010000
Decompression OK!
Entry at 0x80010000
Closing network.
[/spoiler]bootlog
Título: Re: OpenWRT en Huawei hg556a
Publicado por: emeryth en 15-07-2012, 17:58 (Domingo)
no se sí te sirva de algo, pero te envió el bootlog del firmware de danitool, que esta publicado en la primera pagina (el especifico para 29LV128DBT)

[spoiler]

CFE version cfe.d081.5003 for BCM96358 (32bit,SP,BE)
Build Date: Wed Nov 11 10:36:35 CST 2009 (Lihua_68693)
Copyright (C) 2006 Huawei Technologies Co. Ltd.


Boot Address 0xbe000000

Initializing Arena.
Initializing Devices.

@w45260: Flash Manufacture id :c2

@w45260Flash Device id :227a

@w45260flipCFIGeometry:0
Parallel flash device: name MX29LV128DB, id 0x227a, size 16384KB
*** GetHG556aBoardVersion = <0> ***

CPU type 0x2A010: 300MHz, Bus: 133MHz, Ref: 64MHz
Total memory: 67108864 bytes (64MB)

Total memory used by CFE:  0x80401000 - 0x8052A510 (1217808)
Initialized Data:          0x8041F3C0 - 0x80421B60 (10144)
BSS Area:                  0x80421B60 - 0x80428510 (27056)
Local Heap:                0x80428510 - 0x80528510 (1048576)
Stack Area:                0x80528510 - 0x8052A510 (8192)
Text (code) segment:       0x80401000 - 0x8041F3B4 (123828)
Boot area (physical):      0x0052B000 - 0x0056B000
Relocation Factor:         I:00000000 - D:00000000

*** GetHG556aBoardVersion = <0> ***

Board IP address                  : 192.168.1.1
Host IP address                   : 192.168.1.100
Gateway IP address                :
Run from flash/host (f/h)         : f
Default host run file name        : vmlinux
Default host flash file name      : bcm963xx_fs_kernel
Boot delay (0-9 seconds)          : 1
Board Id Name                     : HW556
Psi size in KB                    : 64
Number of MAC Addresses (1-32)    : 10
Base MAC Address                  : 64:16:f0:0a:87:2d
Ethernet PHY Type                 : Internal
Memory size in MB                 : 64
CMT Thread Number                 : 1

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
boot kernel from be020100
Code Address: 0x80010000, Entry Address: 0x80010000
Decompression OK!
Entry at 0x80010000
Closing network.
Starting program at 0x80010000
[    0.000000] Linux version 2.6.39.4 (dani@tool) (gcc version 4.5.4 20110808 (prerelease) (Linaro GCC 4.5-2011.08) ) #34 Wed Jan 4 22:16:19 CET 2012
[    0.000000] Detected Broadcom 0x6358 CPU revision a1
[    0.000000] CPU frequency is 300 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] registering 40 GPIOs
[    0.000000] board_bcm963xx: Boot address 0xbe000000
[    0.000000] board_bcm963xx: CFE version: 100.48.56-49.46
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a010 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: HW556
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[1] active PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Memory: 62016k/65536k available (2145k kernel code, 3520k reserved, 368k data, 160k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 299.26 BogoMIPS (lpj=598528)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.052000] NET: Registered protocol family 16
[    0.064000] MPI_CSBASE_REG(0) = 0x1e000000
[    0.068000] changed ath9k regdomain to 0xff
[    0.072000] registering PCI controller with io_map_base unset
[    0.084000] bio: create slab <bio-0> at 0
[    0.092000] pci 0000:00:01.0: fixup device configuration
[    0.096000] pci-ath9k-fixup: Writing 0x0029168c to register 0x6000
[    0.100000] pci-ath9k-fixup: Writing 0x02800001 to register 0x6008
[    0.104000] pci-ath9k-fixup: Writing 0x2091168c to register 0x602c
[    0.108000] pci-ath9k-fixup: Writing 0x002a168c to register 0x5000
[    0.112000] pci-ath9k-fixup: Writing 0x02800001 to register 0x5008
[    0.116000] pci-ath9k-fixup: Writing 0x2091168c to register 0x502c
[    0.120000] pci-ath9k-fixup: Writing 0x05040cc0 to register 0x5064
[    0.124000] pci-ath9k-fixup: Writing 0x00033811 to register 0x506c
[    0.128000] pci-ath9k-fixup: Writing 0x0040073b to register 0x4004
[    0.132000] pci-ath9k-fixup: Writing 0x00000003 to register 0x4074
[    0.136000] pci-ath9k-fixup: Writing 0x01c20000 to register 0x4000
[    0.140000] pci-ath9k-fixup: Writing 0x00000044 to register 0x6034
[    0.144000] pci-ath9k-fixup: Device vendor 0x168c, id 0x0029
[    0.164000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x3000ffff]
[    0.168000] pci 0000:00:01.0: BAR 0: set to [mem 0x30000000-0x3000ffff] (PCI address [0x30000000-0x3000ffff])
[    0.172000] Switching to clocksource MIPS
[    0.184000] NET: Registered protocol family 2
[    0.188000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.196000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.204000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.212000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.216000] TCP reno registered
[    0.220000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.228000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.236000] NET: Registered protocol family 1
[    0.240000] audit: initializing netlink socket (disabled)
[    0.248000] type=2000 audit(0.248:1): initialized
[    0.252000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.260000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.272000] msgmni has been set to 121
[    0.276000] io scheduler noop registered
[    0.280000] io scheduler deadline registered (default)
[    0.284000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10) is a bcm63xx_uart
[    0.292000] console [ttyS0] enabled, bootconsole disabled
[    0.292000] console [ttyS0] enabled, bootconsole disabled
[    0.308000] bcm963xx-flash bcm963xx-flash.0: 0x02000000 at 0x1e000000
[    0.316000] Number of erase regions: 2
[    0.320000] Primary Vendor Command Set: 0002 (AMD/Fujitsu Standard)
[    0.328000] Primary Algorithm Table at 0040
[    0.332000] Alternative Vendor Command Set: 0000 (None)
[    0.336000] No Alternate Algorithm Table
[    0.340000] Vcc Minimum:  3.0 V
[    0.344000] Vcc Maximum:  3.6 V
[    0.348000] No Vpp line
[    0.348000] Typical byte/word write timeout: 16 µs
[    0.356000] Maximum byte/word write timeout: 512 µs
[    0.360000] Full buffer write not supported
[    0.364000] Typical block erase timeout: 1024 ms
[    0.368000] Maximum block erase timeout: 16384 ms
[    0.372000] Chip erase not supported
[    0.376000] Device size: 0x1000000 bytes (16 MiB)
[    0.380000] Flash Device Interface description: 0x0002
[    0.388000]   - supports x8 and x16 via BYTE# with asynchronous interface
[    0.392000] Max. bytes in buffer write: 0x1
[    0.400000] Number of Erase Block Regions: 2
[    0.404000]   Erase Region #0: BlockSize 0x2000 bytes, 8 blocks
[    0.408000]   Erase Region #1: BlockSize 0x10000 bytes, 255 blocks
[    0.416000] bcm963xx: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x00227a,
[    0.424000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.432000]   Amd/Fujitsu Extended Query version 1.3.
[    0.436000]   Silicon revision: 0
[    0.440000]   Address sensitive unlock: Required
[    0.444000]   Erase Suspend: Read/write
[    0.448000]   Block protection: 4 sectors per group
[    0.452000]   Temporary block unprotect: Supported
[    0.460000]   Block protect/unprotect scheme: 4
[    0.464000]   Number of simultaneous operations: 0
[    0.468000]   Burst mode: Not supported
[    0.472000]   Page mode: Not supported
[    0.476000]   Vpp Supply Minimum Program/Erase Voltage: 10.5 V
[    0.480000]   Vpp Supply Maximum Program/Erase Voltage: 11.5 V
[    0.488000]   Top/Bottom Boot Block: Bottom boot
[    0.492000] number of CFI chips: 1
[    0.496000] bcm963xx_flash: Read Signature value of CFE1CFE1
[    0.500000] bcm963xx-flash bcm963xx-flash.0: CFE bootloader detected
[    0.508000] bcm963xx_flash: CFE boot tag found with version 8 and board type HW556
[    0.516000] bcm963xx_flash: Partition 0 is CFE offset 0 and length 20000
[    0.524000] bcm963xx_flash: Partition 1 is kernel offset 20100 and length dff00
[    0.532000] bcm963xx_flash: Partition 2 is rootfs offset 100000 and length d00000
[    0.540000] bcm963xx_flash: Partition 3 is ath_data offset e00000 and length 1e0000
[    0.548000] bcm963xx_flash: Partition 4 is nvram offset fe0000 and length 20000
[    0.552000] bcm963xx_flash: Partition 5 is linux offset 20000 and length de0000
[    0.560000] bcm963xx_flash: Spare partition is 360000 offset and length aa0000
[    0.568000] Creating 6 MTD partitions on "bcm963xx":
[    0.576000] 0x000000000000-0x000000020000 : "CFE"
[    0.584000] 0x000000020100-0x000000100000 : "kernel"
[    0.588000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.604000] 0x000000100000-0x000000e00000 : "rootfs"
[    0.612000] mtd: partition "rootfs" set to be root filesystem
[    0.620000] mtd: partition "rootfs_data" created automatically, ofs=340000, len=AC0000
[    0.628000] 0x000000340000-0x000000e00000 : "rootfs_data"
[    0.636000] 0x000000e00000-0x000000fe0000 : "ath_data"
[    0.648000] 0x000000fe0000-0x000001000000 : "nvram"
[    0.656000] 0x000000020000-0x000000e00000 : "linux"
[    0.672000] bcm63xx-wdt bcm63xx-wdt.0:  started, timer margin: 30 sec
[    0.684000] TCP westwood registered
[    0.688000] NET: Registered protocol family 17
[    0.692000] 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
[    0.700000] All bugs added by David S. Miller <davem@redhat.com>
[    0.716000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.724000] Freeing unused kernel memory: 160k freed
awk: /proc/cpuinfo: No such file or directory
[    3.592000] roboswitch: Probing device eth0: found a 5325! It's a 5350.
[    4.660000] There is already a switch registered on the device 'eth0'
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[    9.284000] JFFS2 notice: (317) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 5 of xref (0 dead, 2 orphan) found.
switching to jffs2
- init -

Please press Enter to activate this console. [   12.800000] Compat-wireless backport release: compat-wireless-2011-11-29
[   12.808000] Backport based on wireless-testing.git master-2011-12-01
[   13.032000] cfg80211: Calling CRDA to update world regulatory domain
[   13.844000] cfg80211: World regulatory domain updated:
[   13.852000] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   13.860000] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.868000] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.876000] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.884000] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.892000] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.580000] SCSI subsystem initialized
[   14.680000] There is already a switch registered on the device 'eth0'
[   15.076000] usbcore: registered new interface driver usbfs
[   15.084000] usbcore: registered new interface driver hub
[   15.096000] usbcore: registered new device driver usb
[   16.680000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[   16.688000] board_bcm963xx: Setting device platform data
[   16.700000] ath: eeprom contains invalid mac address: ff:ff:ff:ff:ff:ff
[   16.708000] ath: random mac address will be used: 2e:d2:a1:a8:80:0b
[   16.728000] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xc02e0000, irq=39
[   16.740000] cfg80211: Calling CRDA for country: JP
[   16.892000] cfg80211: Regulatory domain changed to country: JP
[   16.900000] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   16.908000] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   16.916000] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (N/A, 2000 mBm)
[   16.924000] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm)
[   16.932000] cfg80211:     (4910000 KHz - 4930000 KHz @ 10000 KHz), (N/A, 2300 mBm)
[   16.940000] cfg80211:     (4910000 KHz - 4990000 KHz @ 40000 KHz), (N/A, 2300 mBm)
[   16.948000] cfg80211:     (4930000 KHz - 4950000 KHz @ 10000 KHz), (N/A, 2300 mBm)
[   16.952000] cfg80211:     (5030000 KHz - 5045000 KHz @ 10000 KHz), (N/A, 2300 mBm)
[   16.960000] cfg80211:     (5030000 KHz - 5090000 KHz @ 40000 KHz), (N/A, 2300 mBm)
[   16.968000] cfg80211:     (5050000 KHz - 5060000 KHz @ 10000 KHz), (N/A, 2300 mBm)
[   16.976000] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   16.984000] cfg80211:     (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   16.992000] cfg80211:     (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2300 mBm)
[   17.040000] Button Hotplug driver version 0.4.1
[   18.016000] NTFS driver 2.1.30 [Flags: R/O MODULE].
[   18.568000] PPP generic driver version 2.4.2
[   18.796000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   19.120000] NET: Registered protocol family 24
[   19.368000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   19.372000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[   19.380000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[   19.412000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
[   19.428000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[   19.436000] hub 1-0:1.0: USB hub found
[   19.440000] hub 1-0:1.0: 2 ports detected
[   19.756000] nf_conntrack version 0.5.0 (971 buckets, 3884 max)
[   19.876000] usb 1-1: new high speed USB device number 2 using bcm63xx_ehci
[   20.260000] hub 1-1:1.0: USB hub found
[   20.272000] hub 1-1:1.0: 2 ports detected
[   20.680000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   20.684000] bcm63xx_ohci bcm63xx_ohci.0: BCM63XX integrated OHCI controller
[   20.692000] bcm63xx_ohci bcm63xx_ohci.0: new USB bus registered, assigned bus number 2
[   20.700000] bcm63xx_ohci bcm63xx_ohci.0: irq 13, io mem 0xfffe1400
[   20.768000] hub 2-0:1.0: USB hub found
[   20.772000] hub 2-0:1.0: 1 port detected
[   21.052000] Initializing USB Mass Storage driver...
[   21.056000] usbcore: registered new interface driver usb-storage
[   21.064000] USB Mass Storage support registered.
[   21.276000] input: gpio-buttons as /devices/platform/gpio-buttons.0/input/input0
[   23.288000] eth0: link forced UP - 100/full - flow control off/off
[   23.732000] device eth0 entered promiscuous mode
[   23.828000] br-lan: port 1(eth0) entering forwarding state
[   23.832000] br-lan: port 1(eth0) entering forwarding state[/spoiler] es esl bootlog que me da la ventana serie

[spoiler]Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.348000] No Vpp line
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.348000] Typical byte/word write timeout: 16 µs
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.356000] Maximum byte/word write timeout: 512 µs
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.360000] Full buffer write not supported
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.364000] Typical block erase timeout: 1024 ms
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.368000] Maximum block erase timeout: 16384 ms
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.372000] Chip erase not supported
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.376000] Device size: 0x1000000 bytes (16 MiB)
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.404000]   Erase Region #0: BlockSize 0x2000 bytes, 8 blocks
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.408000]   Erase Region #1: BlockSize 0x10000 bytes, 255 blocks
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.416000] bcm963xx: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x00227a,
Sep  8 15:44:11 OpenWrt kern.debug kernel: [    0.424000] bcm963xx: Found an alias at 0x1000000 for the chip at 0x0
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.424000] Amd/Fujitsu Extended Query Table at 0x0040
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.432000]   Amd/Fujitsu Extended Query version 1.3.
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.436000]   Silicon revision: 0
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.440000]   Address sensitive unlock: Required
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.444000]   Erase Suspend: Read/write
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.448000]   Block protection: 4 sectors per group
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.452000]   Temporary block unprotect: Supported
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.460000]   Block protect/unprotect scheme: 4
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.464000]   Number of simultaneous operations: 0
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.468000]   Burst mode: Not supported
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.472000]   Page mode: Not supported
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.476000]   Vpp Supply Minimum Program/Erase Voltage: 10.5 V
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.480000]   Vpp Supply Maximum Program/Erase Voltage: 11.5 V
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.488000]   Top/Bottom Boot Block: Bottom boot
Sep  8 15:44:11 OpenWrt kern.notice kernel: [    0.492000] number of CFI chips: 1
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.496000] bcm963xx_flash: Read Signature value of CFE1CFE1
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.500000] bcm963xx-flash bcm963xx-flash.0: CFE bootloader detected
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.508000] bcm963xx_flash: CFE boot tag found with version 8 and board type HW556
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.516000] bcm963xx_flash: Partition 0 is CFE offset 0 and length 20000
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.524000] bcm963xx_flash: Partition 1 is kernel offset 20100 and length dff00
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.532000] bcm963xx_flash: Partition 2 is rootfs offset 100000 and length d00000
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.540000] bcm963xx_flash: Partition 3 is ath_data offset e00000 and length 1e0000
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.548000] bcm963xx_flash: Partition 4 is nvram offset fe0000 and length 20000
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.552000] bcm963xx_flash: Partition 5 is linux offset 20000 and length de0000
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.560000] bcm963xx_flash: Spare partition is 360000 offset and length aa0000
Sep  8 15:44:11 OpenWrt kern.notice kernel: [    0.584000] 0x000000020100-0x000000100000 : "kernel"
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.588000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
Sep  8 15:44:11 OpenWrt kern.notice kernel: [    0.604000] 0x000000100000-0x000000e00000 : "rootfs"
Sep  8 15:44:11 OpenWrt kern.notice kernel: [    0.612000] mtd: partition "rootfs" set to be root filesystem
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.620000] mtd: partition "rootfs_data" created automatically, ofs=340000, len=AC0000
Sep  8 15:44:11 OpenWrt kern.notice kernel: [    0.628000] 0x000000340000-0x000000e00000 : "rootfs_data"
Sep  8 15:44:11 OpenWrt kern.notice kernel: [    0.636000] 0x000000e00000-0x000000fe0000 : "ath_data"
Sep  8 15:44:11 OpenWrt kern.notice kernel: [    0.648000] 0x000000fe0000-0x000001000000 : "nvram"
Sep  8 15:44:11 OpenWrt kern.notice kernel: [    0.656000] 0x000000020000-0x000000e00000 : "linux"
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.672000] bcm63xx-wdt bcm63xx-wdt.0:  started, timer margin: 30 sec
Sep  8 15:44:11 OpenWrt kern.debug kernel: [    0.680000] Registered led device: message
Sep  8 15:44:11 OpenWrt kern.debug kernel: [    0.680000] Registered led device: hspa
Sep  8 15:44:11 OpenWrt kern.debug kernel: [    0.680000] Registered led device: dsl
Sep  8 15:44:11 OpenWrt kern.debug kernel: [    0.680000] Registered led device: power
Sep  8 15:44:11 OpenWrt kern.debug kernel: [    0.680000] Registered led device: all_leds
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.684000] TCP westwood registered
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.688000] NET: Registered protocol family 17
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.692000] 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.700000] All bugs added by David S. Miller <davem@redhat.com>
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.716000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.724000] Freeing unused kernel memory: 160k freed
Sep  8 15:44:11 OpenWrt kern.info kernel: [    3.584000] roboswitch: Probing device eth0: found a 5325! It's a 5350.
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    4.656000] There is already a switch registered on the device 'eth0'
Sep  8 15:44:11 OpenWrt kern.info kernel: [   12.672000] Compat-wireless backport release: compat-wireless-2011-11-29
Sep  8 15:44:11 OpenWrt kern.info kernel: [   12.680000] Backport based on wireless-testing.git master-2011-12-01
Sep  8 15:44:11 OpenWrt kern.info kernel: [   12.904000] cfg80211: Calling CRDA to update world regulatory domain
Sep  8 15:44:11 OpenWrt kern.info kernel: [   13.760000] cfg80211: World regulatory domain updated:
Sep  8 15:44:11 OpenWrt kern.info kernel: [   13.764000] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Sep  8 15:44:11 OpenWrt kern.info kernel: [   13.808000] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Sep  8 15:44:11 OpenWrt kern.notice kernel: [   14.452000] SCSI subsystem initialized
Sep  8 15:44:11 OpenWrt kern.warn kernel: [   14.552000] There is already a switch registered on the device 'eth0'
Sep  8 15:44:11 OpenWrt kern.info kernel: [   14.952000] usbcore: registered new interface driver usbfs
Sep  8 15:44:11 OpenWrt kern.info kernel: [   14.956000] usbcore: registered new interface driver hub
Sep  8 15:44:11 OpenWrt kern.info kernel: [   14.968000] usbcore: registered new device driver usb
Sep  8 15:44:11 OpenWrt kern.warn kernel: [   16.552000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
Sep  8 15:44:11 OpenWrt kern.info kernel: [   16.560000] board_bcm963xx: Setting device platform data
Sep  8 15:44:11 OpenWrt kern.err kernel: [   16.576000] ath: eeprom contains invalid mac address: ff:ff:ff:ff:ff:ff
Sep  8 15:44:11 OpenWrt kern.err kernel: [   16.580000] ath: random mac address will be used: 22:9f:90:3e:7a:be
Sep  8 15:44:11 OpenWrt kern.debug kernel: [   16.588000] ath: EEPROM regdomain: 0xff
Sep  8 15:44:11 OpenWrt kern.debug kernel: [   16.588000] ath: EEPROM indicates we should expect a direct regpair map
Sep  8 15:44:11 OpenWrt kern.debug kernel: [   16.588000] ath: Country alpha2 being used: JP
Sep  8 15:44:11 OpenWrt kern.debug kernel: [   16.588000] ath: Regpair used: 0xff
Sep  8 15:44:11 OpenWrt kern.debug kernel: [   16.600000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Sep  8 15:44:11 OpenWrt kern.debug kernel: [   16.600000] Registered led device: ath9k-phy0
Sep  8 15:44:11 OpenWrt kern.info kernel: [   16.600000] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xc02e0000, irq=39
Sep  8 15:44:11 OpenWrt kern.info kernel: [   16.612000] cfg80211: Calling CRDA for country: JP
Sep  8 15:44:11 OpenWrt kern.info kernel: [   16.776000] cfg80211: Regulatory domain changed to country: JP
Sep  8 15:44:11 OpenWrt kern.info kernel: [   16.784000] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Sep  8 15:44:11 OpenWrt kern.info kernel: [   16.792000] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Sep  8 15:44:11 OpenWrt kern.info kernel: [   16.800000] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (N/A, 2000 mBm)
Sep  8 15:44:11 OpenWrt kern.info kernel: [   16.808000] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm)
Sep  8 15:44:11 OpenWrt kern.info kernel: [   16.816000] cfg80211:     (4910000 KHz - 4930000 KHz @ 10000 KHz), (N/A, 2300 mBm)
Sep  8 15:44:11 OpenWrt kern.info kernel: [   16.824000] cfg80211:     (4910000 KHz - 4990000 KHz @ 40000 KHz), (N/A, 2300 mBm)
Sep  8 15:44:11 OpenWrt kern.info kernel: [   16.832000] cfg80211:     (4930000 KHz - 4950000 KHz @ 10000 KHz), (N/A, 2300 mBm)
Sep  8 15:44:11 OpenWrt kern.info kernel: [   16.840000] cfg80211:     (5030000 KHz - 5045000 KHz @ 10000 KHz), (N/A, 2300 mBm)
Sep  8 15:44:11 OpenWrt kern.info kernel: [   16.848000] cfg80211:     (5030000 KHz - 5090000 KHz @ 40000 KHz), (N/A, 2300 mBm)
Sep  8 15:44:11 OpenWrt kern.info kernel: [   16.872000] cfg80211:     (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Sep  8 15:44:11 OpenWrt kern.info kernel: [   16.880000] cfg80211:     (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2300 mBm)
Sep  8 15:44:11 OpenWrt kern.info kernel: [   16.916000] Button Hotplug driver version 0.4.1
Sep  8 15:44:11 OpenWrt kern.info kernel: [   17.892000] NTFS driver 2.1.30 [Flags: R/O MODULE].
Sep  8 15:44:11 OpenWrt kern.info kernel: [   18.444000] PPP generic driver version 2.4.2
Sep  8 15:44:11 OpenWrt kern.info kernel: [   18.672000] ip_tables: (C) 2000-2006 Netfilter Core Team
Sep  8 15:44:11 OpenWrt kern.info kernel: [   18.996000] NET: Registered protocol family 24
Sep  8 15:44:11 OpenWrt kern.info kernel: [   19.248000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Sep  8 15:44:11 OpenWrt kern.info kernel: [   19.252000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
Sep  8 15:44:11 OpenWrt kern.info kernel: [   19.260000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
Sep  8 15:44:11 OpenWrt kern.info kernel: [   19.292000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
Sep  8 15:44:11 OpenWrt kern.info kernel: [   19.308000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
Sep  8 15:44:11 OpenWrt kern.info kernel: [   19.316000] hub 1-0:1.0: USB hub found
Sep  8 15:44:11 OpenWrt kern.info kernel: [   19.320000] hub 1-0:1.0: 2 ports detected
Sep  8 15:44:11 OpenWrt kern.info kernel: [   19.640000] nf_conntrack version 0.5.0 (971 buckets, 3884 max)
Sep  8 15:44:11 OpenWrt kern.info kernel: [   19.756000] usb 1-1: new high speed USB device number 2 using bcm63xx_ehci
Sep  8 15:44:11 OpenWrt kern.info kernel: [   20.140000] hub 1-1:1.0: USB hub found
Sep  8 15:44:11 OpenWrt kern.info kernel: [   20.152000] hub 1-1:1.0: 2 ports detected
Sep  8 15:44:11 OpenWrt kern.info kernel: [   20.560000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
Sep  8 15:44:11 OpenWrt kern.info kernel: [   20.568000] bcm63xx_ohci bcm63xx_ohci.0: BCM63XX integrated OHCI controller
Sep  8 15:44:11 OpenWrt kern.info kernel: [   20.576000] bcm63xx_ohci bcm63xx_ohci.0: new USB bus registered, assigned bus number 2
Sep  8 15:44:11 OpenWrt kern.info kernel: [   20.584000] bcm63xx_ohci bcm63xx_ohci.0: irq 13, io mem 0xfffe1400
Sep  8 15:44:11 OpenWrt kern.info kernel: [   20.648000] hub 2-0:1.0: USB hub found
Sep  8 15:44:11 OpenWrt kern.info kernel: [   20.652000] hub 2-0:1.0: 1 port detected
Sep  8 15:44:11 OpenWrt kern.info kernel: [   20.932000] Initializing USB Mass Storage driver...
Sep  8 15:44:11 OpenWrt kern.info kernel: [   20.940000] usbcore: registered new interface driver usb-storage
Sep  8 15:44:11 OpenWrt kern.info kernel: [   20.944000] USB Mass Storage support registered.
Sep  8 15:44:11 OpenWrt kern.info kernel: [   21.156000] input: gpio-buttons as /devices/platform/gpio-buttons.0/input/input0
Sep  8 15:44:12 OpenWrt kern.info kernel: [   23.808000] eth0: link forced UP - 100/full - flow control off/off
Sep  8 15:44:12 OpenWrt user.notice ifup: Enabling Router Solicitations on loopback (lo)
Sep  8 15:44:12 OpenWrt kern.info kernel: [   24.220000] device eth0 entered promiscuous mode
Sep  8 15:44:12 OpenWrt kern.info kernel: [   24.320000] br-lan: port 1(eth0) entering forwarding state
Sep  8 15:44:12 OpenWrt kern.info kernel: [   24.328000] br-lan: port 1(eth0) entering forwarding state
Sep  8 15:44:14 OpenWrt user.info sysinit: 'radio0' is disabled
Sep  8 15:44:15 OpenWrt user.info sysinit: 'radio0' is disabled
Sep  8 15:44:15 OpenWrt user.notice ifup: Enabling Router Solicitations on lan (br-lan)
Sep  8 15:44:18 OpenWrt user.info sysinit: Loading defaults
Sep  8 15:44:18 OpenWrt user.info sysinit: Loading synflood protection
Sep  8 15:44:19 OpenWrt user.info sysinit: Adding custom chains
Sep  8 15:44:20 OpenWrt user.info sysinit: Loading zones
Sep  8 15:44:21 OpenWrt user.info sysinit: Loading forwardings
Sep  8 15:44:21 OpenWrt user.info sysinit: Loading redirects
Sep  8 15:44:21 OpenWrt user.info sysinit: Loading rules
Sep  8 15:44:22 OpenWrt user.info sysinit: Loading includes
Sep  8 15:44:22 OpenWrt user.info sysinit: Optimizing conntrack
Sep  8 15:44:22 OpenWrt user.info sysinit: Loading interfaces
Sep  8 15:44:22 OpenWrt user.info firewall: adding lan (br-lan) to zone lan
Sep  8 15:44:25 OpenWrt user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Sep  8 15:44:25 OpenWrt user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Sep  8 15:44:29 OpenWrt daemon.info dnsmasq[956]: started, version 2.59 cachesize 150
Sep  8 15:44:29 OpenWrt daemon.info dnsmasq[956]: compile time options: IPv6 GNU-getopt no-DBus no-i18n DHCP TFTP no-conntrack no-IDN
Sep  8 15:44:29 OpenWrt daemon.info dnsmasq-dhcp[956]: DHCP, IP range 192.168.1.100 -- 192.168.1.249, lease time 12h
Sep  8 15:44:29 OpenWrt daemon.info dnsmasq[956]: using local addresses only for domain lan
Sep  8 15:44:29 OpenWrt daemon.warn dnsmasq[956]: no servers found in /tmp/resolv.conf.auto, will retry
Sep  8 15:44:29 OpenWrt daemon.info dnsmasq[956]: read /etc/hosts - 1 addresses
Sep  8 15:44:29 OpenWrt daemon.info dnsmasq-dhcp[956]: read /etc/ethers - 0 addresses
Sep  8 15:44:30 OpenWrt kern.warn kernel: [   41.976000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
Sep  8 15:44:30 OpenWrt kern.warn kernel: [   41.984000] jffs2_build_filesystem(): unlocking the mtd device... done.
Sep  8 15:46:08 OpenWrt kern.warn kernel: [   41.988000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
Sep  8 15:46:08 OpenWrt kern.notice kernel: [  139.712000] JFFS2 notice: (978) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
Sep  8 15:46:08 OpenWrt auth.err passwd: /etc/passwd: Read-only file system
Sep  8 15:46:08 OpenWrt auth.err passwd: can't update password file /etc/passwd
Sep  8 15:46:08 OpenWrt user.info sysinit: copying files ... done
Sep  8 15:46:10 OpenWrt authpriv.info dropbear[1766]: Running in background
[/spoiler] esto es el system log de luci

[spoiler][    0.000000] Linux version 2.6.39.4 (dani@tool) (gcc version 4.5.4 20110808 (prerelease) (Linaro GCC 4.5-2011.08) ) #34 Wed Jan 4 22:16:19 CET 2012
[    0.000000] Detected Broadcom 0x6358 CPU revision a1
[    0.000000] CPU frequency is 300 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] registering 40 GPIOs
[    0.000000] board_bcm963xx: Boot address 0xbe000000
[    0.000000] board_bcm963xx: CFE version: 100.48.56-49.46
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a010 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: HW556
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[1] active PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 802840e0, node_mem_map 81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16256 pages, LIFO batch:3
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc:
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Memory: 62016k/65536k available (2145k kernel code, 3520k reserved, 368k data, 160k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 299.26 BogoMIPS (lpj=598528)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.052000] NET: Registered protocol family 16
[    0.064000] MPI_CSBASE_REG(0) = 0x1e000000
[    0.068000] changed ath9k regdomain to 0xff
[    0.072000] registering PCI controller with io_map_base unset
[    0.084000] bio: create slab <bio-0> at 0
[    0.092000] pci 0000:00:01.0: [168c:ff1d] type 0 class 0x000200
[    0.092000] pci 0000:00:01.0: fixup device configuration
[    0.096000] pci-ath9k-fixup: Writing 0x0029168c to register 0x6000
[    0.100000] pci-ath9k-fixup: Writing 0x02800001 to register 0x6008
[    0.104000] pci-ath9k-fixup: Writing 0x2091168c to register 0x602c
[    0.108000] pci-ath9k-fixup: Writing 0x002a168c to register 0x5000
[    0.112000] pci-ath9k-fixup: Writing 0x02800001 to register 0x5008
[    0.116000] pci-ath9k-fixup: Writing 0x2091168c to register 0x502c
[    0.120000] pci-ath9k-fixup: Writing 0x05040cc0 to register 0x5064
[    0.124000] pci-ath9k-fixup: Writing 0x00033811 to register 0x506c
[    0.128000] pci-ath9k-fixup: Writing 0x0040073b to register 0x4004
[    0.132000] pci-ath9k-fixup: Writing 0x00000003 to register 0x4074
[    0.136000] pci-ath9k-fixup: Writing 0x01c20000 to register 0x4000
[    0.140000] pci-ath9k-fixup: Writing 0x00000044 to register 0x6034
[    0.144000] pci-ath9k-fixup: Device vendor 0x168c, id 0x0029
[    0.148000] pci 0000:00:01.0: reg 10: [mem 0x00000000-0x0000ffff]
[    0.160000] pci 0000:00:01.0: PME# supported from D0 D3hot
[    0.160000] pci 0000:00:01.0: PME# disabled
[    0.164000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x3000ffff]
[    0.168000] pci 0000:00:01.0: BAR 0: set to [mem 0x30000000-0x3000ffff] (PCI address [0x30000000-0x3000ffff])
[    0.172000] Switching to clocksource MIPS
[    0.184000] NET: Registered protocol family 2
[    0.188000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.196000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.204000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.212000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.216000] TCP reno registered
[    0.220000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.228000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.236000] NET: Registered protocol family 1
[    0.240000] PCI: CLS 0 bytes, default 32
[    0.240000] audit: initializing netlink socket (disabled)
[    0.248000] type=2000 audit(0.248:1): initialized
[    0.252000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.260000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.272000] msgmni has been set to 121
[    0.276000] io scheduler noop registered
[    0.280000] io scheduler deadline registered (default)
[    0.284000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10) is a bcm63xx_uart
[    0.292000] console [ttyS0] enabled, bootconsole disabled
[    0.308000] bcm963xx-flash bcm963xx-flash.0: 0x02000000 at 0x1e000000
[    0.316000] Number of erase regions: 2
[    0.320000] Primary Vendor Command Set: 0002 (AMD/Fujitsu Standard)
[    0.328000] Primary Algorithm Table at 0040
[    0.332000] Alternative Vendor Command Set: 0000 (None)
[    0.336000] No Alternate Algorithm Table
[    0.340000] Vcc Minimum:  3.0 V
[    0.344000] Vcc Maximum:  3.6 V
[    0.348000] No Vpp line
[    0.348000] Typical byte/word write timeout: 16 µs
[    0.356000] Maximum byte/word write timeout: 512 µs
[    0.360000] Full buffer write not supported
[    0.364000] Typical block erase timeout: 1024 ms
[    0.368000] Maximum block erase timeout: 16384 ms
[    0.372000] Chip erase not supported
[    0.376000] Device size: 0x1000000 bytes (16 MiB)
[    0.380000] Flash Device Interface description: 0x0002
[    0.388000]   - supports x8 and x16 via BYTE# with asynchronous interface
[    0.392000] Max. bytes in buffer write: 0x1
[    0.400000] Number of Erase Block Regions: 2
[    0.404000]   Erase Region #0: BlockSize 0x2000 bytes, 8 blocks
[    0.408000]   Erase Region #1: BlockSize 0x10000 bytes, 255 blocks
[    0.416000] bcm963xx: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x00227a,
[    0.424000] bcm963xx: Found an alias at 0x1000000 for the chip at 0x0
[    0.424000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.432000]   Amd/Fujitsu Extended Query version 1.3.
[    0.436000]   Silicon revision: 0
[    0.440000]   Address sensitive unlock: Required
[    0.444000]   Erase Suspend: Read/write
[    0.448000]   Block protection: 4 sectors per group
[    0.452000]   Temporary block unprotect: Supported
[    0.460000]   Block protect/unprotect scheme: 4
[    0.464000]   Number of simultaneous operations: 0
[    0.468000]   Burst mode: Not supported
[    0.472000]   Page mode: Not supported
[    0.476000]   Vpp Supply Minimum Program/Erase Voltage: 10.5 V
[    0.480000]   Vpp Supply Maximum Program/Erase Voltage: 11.5 V
[    0.488000]   Top/Bottom Boot Block: Bottom boot
[    0.492000] number of CFI chips: 1
[    0.496000] bcm963xx_flash: Read Signature value of CFE1CFE1
[    0.500000] bcm963xx-flash bcm963xx-flash.0: CFE bootloader detected
[    0.508000] bcm963xx_flash: CFE boot tag found with version 8 and board type HW556
[    0.516000] bcm963xx_flash: Partition 0 is CFE offset 0 and length 20000
[    0.524000] bcm963xx_flash: Partition 1 is kernel offset 20100 and length dff00
[    0.532000] bcm963xx_flash: Partition 2 is rootfs offset 100000 and length d00000
[    0.540000] bcm963xx_flash: Partition 3 is ath_data offset e00000 and length 1e0000
[    0.548000] bcm963xx_flash: Partition 4 is nvram offset fe0000 and length 20000
[    0.552000] bcm963xx_flash: Partition 5 is linux offset 20000 and length de0000
[    0.560000] bcm963xx_flash: Spare partition is 360000 offset and length aa0000
[    0.568000] Creating 6 MTD partitions on "bcm963xx":
[    0.576000] 0x000000000000-0x000000020000 : "CFE"
[    0.584000] 0x000000020100-0x000000100000 : "kernel"
[    0.588000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.604000] 0x000000100000-0x000000e00000 : "rootfs"
[    0.612000] mtd: partition "rootfs" set to be root filesystem
[    0.620000] mtd: partition "rootfs_data" created automatically, ofs=340000, len=AC0000
[    0.628000] 0x000000340000-0x000000e00000 : "rootfs_data"
[    0.636000] 0x000000e00000-0x000000fe0000 : "ath_data"
[    0.648000] 0x000000fe0000-0x000001000000 : "nvram"
[    0.656000] 0x000000020000-0x000000e00000 : "linux"
[    0.672000] bcm63xx-wdt bcm63xx-wdt.0:  started, timer margin: 30 sec
[    0.680000] Registered led device: message
[    0.680000] Registered led device: hspa
[    0.680000] Registered led device: dsl
[    0.680000] Registered led device: power
[    0.680000] Registered led device: all_leds
[    0.684000] TCP westwood registered
[    0.688000] NET: Registered protocol family 17
[    0.692000] 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
[    0.700000] All bugs added by David S. Miller <davem@redhat.com>
[    0.716000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.724000] Freeing unused kernel memory: 160k freed
[    3.584000] roboswitch: Probing device eth0: found a 5325! It's a 5350.
[    4.656000] There is already a switch registered on the device 'eth0'
[   12.672000] Compat-wireless backport release: compat-wireless-2011-11-29
[   12.680000] Backport based on wireless-testing.git master-2011-12-01
[   12.904000] cfg80211: Calling CRDA to update world regulatory domain
[   13.760000] cfg80211: World regulatory domain updated:
[   13.764000] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   13.772000] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.780000] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.792000] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.800000] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.808000] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.452000] SCSI subsystem initialized
[   14.552000] There is already a switch registered on the device 'eth0'
[   14.952000] usbcore: registered new interface driver usbfs
[   14.956000] usbcore: registered new interface driver hub
[   14.968000] usbcore: registered new device driver usb
[   16.552000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[   16.560000] board_bcm963xx: Setting device platform data
[   16.576000] ath: eeprom contains invalid mac address: ff:ff:ff:ff:ff:ff
[   16.580000] ath: random mac address will be used: 22:9f:90:3e:7a:be
[   16.588000] ath: EEPROM regdomain: 0xff
[   16.588000] ath: EEPROM indicates we should expect a direct regpair map
[   16.588000] ath: Country alpha2 being used: JP
[   16.588000] ath: Regpair used: 0xff
[   16.600000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   16.600000] Registered led device: ath9k-phy0
[   16.600000] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xc02e0000, irq=39
[   16.612000] cfg80211: Calling CRDA for country: JP
[   16.776000] cfg80211: Regulatory domain changed to country: JP
[   16.784000] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   16.792000] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   16.800000] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (N/A, 2000 mBm)
[   16.808000] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm)
[   16.816000] cfg80211:     (4910000 KHz - 4930000 KHz @ 10000 KHz), (N/A, 2300 mBm)
[   16.824000] cfg80211:     (4910000 KHz - 4990000 KHz @ 40000 KHz), (N/A, 2300 mBm)
[   16.832000] cfg80211:     (4930000 KHz - 4950000 KHz @ 10000 KHz), (N/A, 2300 mBm)
[   16.840000] cfg80211:     (5030000 KHz - 5045000 KHz @ 10000 KHz), (N/A, 2300 mBm)
[   16.848000] cfg80211:     (5030000 KHz - 5090000 KHz @ 40000 KHz), (N/A, 2300 mBm)
[   16.856000] cfg80211:     (5050000 KHz - 5060000 KHz @ 10000 KHz), (N/A, 2300 mBm)
[   16.864000] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   16.872000] cfg80211:     (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   16.880000] cfg80211:     (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2300 mBm)
[   16.916000] Button Hotplug driver version 0.4.1
[   17.892000] NTFS driver 2.1.30 [Flags: R/O MODULE].
[   18.444000] PPP generic driver version 2.4.2
[   18.672000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   18.996000] NET: Registered protocol family 24
[   19.248000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   19.252000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[   19.260000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[   19.292000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
[   19.308000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[   19.316000] hub 1-0:1.0: USB hub found
[   19.320000] hub 1-0:1.0: 2 ports detected
[   19.640000] nf_conntrack version 0.5.0 (971 buckets, 3884 max)
[   19.756000] usb 1-1: new high speed USB device number 2 using bcm63xx_ehci
[   20.140000] hub 1-1:1.0: USB hub found
[   20.152000] hub 1-1:1.0: 2 ports detected
[   20.560000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   20.568000] bcm63xx_ohci bcm63xx_ohci.0: BCM63XX integrated OHCI controller
[   20.576000] bcm63xx_ohci bcm63xx_ohci.0: new USB bus registered, assigned bus number 2
[   20.584000] bcm63xx_ohci bcm63xx_ohci.0: irq 13, io mem 0xfffe1400
[   20.648000] hub 2-0:1.0: USB hub found
[   20.652000] hub 2-0:1.0: 1 port detected
[   20.932000] Initializing USB Mass Storage driver...
[   20.940000] usbcore: registered new interface driver usb-storage
[   20.944000] USB Mass Storage support registered.
[   21.156000] input: gpio-buttons as /devices/platform/gpio-buttons.0/input/input0
[   23.808000] eth0: link forced UP - 100/full - flow control off/off
[   24.220000] device eth0 entered promiscuous mode
[   24.320000] br-lan: port 1(eth0) entering forwarding state
[   24.328000] br-lan: port 1(eth0) entering forwarding state
[   41.976000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   41.984000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   41.988000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[  139.712000] JFFS2 notice: (978) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[/spoiler] esto es el kernel log de luci

Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 15-07-2012, 18:12 (Domingo)
no se sí te sirva de algo, pero te envió el bootlog del firmware de danitool, que esta publicado en la primera pagina (el especifico para 29LV128DBT)

[spoiler]

CFE version cfe.d081.5003 for BCM96358 (32bit,SP,BE)
Build Date: Wed Nov 11 10:36:35 CST 2009 (Lihua_68693)
Copyright (C) 2006 Huawei Technologies Co. Ltd.


Boot Address 0xbe000000

Initializing Arena.
Initializing Devices.

@w45260: Flash Manufacture id :c2

@w45260Flash Device id :227a

@w45260flipCFIGeometry:0
Parallel flash device: name MX29LV128DB, id 0x227a, size 16384KB
*** GetHG556aBoardVersion = <0> ***

CPU type 0x2A010: 300MHz, Bus: 133MHz, Ref: 64MHz
Total memory: 67108864 bytes (64MB)

Total memory used by CFE:  0x80401000 - 0x8052A510 (1217808)
Initialized Data:          0x8041F3C0 - 0x80421B60 (10144)
BSS Area:                  0x80421B60 - 0x80428510 (27056)
Local Heap:                0x80428510 - 0x80528510 (1048576)
Stack Area:                0x80528510 - 0x8052A510 (8192)
Text (code) segment:       0x80401000 - 0x8041F3B4 (123828)
Boot area (physical):      0x0052B000 - 0x0056B000
Relocation Factor:         I:00000000 - D:00000000

*** GetHG556aBoardVersion = <0> ***

Board IP address                  : 192.168.1.1
Host IP address                   : 192.168.1.100
Gateway IP address                :
Run from flash/host (f/h)         : f
Default host run file name        : vmlinux
Default host flash file name      : bcm963xx_fs_kernel
Boot delay (0-9 seconds)          : 1
Board Id Name                     : HW556
Psi size in KB                    : 64
Number of MAC Addresses (1-32)    : 10
Base MAC Address                  : 64:16:f0:0a:87:2d
Ethernet PHY Type                 : Internal
Memory size in MB                 : 64
CMT Thread Number                 : 1

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
boot kernel from be020100
Code Address: 0x80010000, Entry Address: 0x80010000
Decompression OK!
Entry at 0x80010000
Closing network.
Starting program at 0x80010000
[    0.000000] Linux version 2.6.39.4 (dani@tool) (gcc version 4.5.4 20110808 (prerelease) (Linaro GCC 4.5-2011.08) ) #34 Wed Jan 4 22:16:19 CET 2012
[    0.000000] Detected Broadcom 0x6358 CPU revision a1
[    0.000000] CPU frequency is 300 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] registering 40 GPIOs
[    0.000000] board_bcm963xx: Boot address 0xbe000000
[    0.000000] board_bcm963xx: CFE version: 100.48.56-49.46
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a010 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: HW556
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[1] active PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Memory: 62016k/65536k available (2145k kernel code, 3520k reserved, 368k data, 160k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 299.26 BogoMIPS (lpj=598528)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.052000] NET: Registered protocol family 16
[    0.064000] MPI_CSBASE_REG(0) = 0x1e000000
[    0.068000] changed ath9k regdomain to 0xff
[    0.072000] registering PCI controller with io_map_base unset
[    0.084000] bio: create slab <bio-0> at 0
[    0.092000] pci 0000:00:01.0: fixup device configuration
[    0.096000] pci-ath9k-fixup: Writing 0x0029168c to register 0x6000
[    0.100000] pci-ath9k-fixup: Writing 0x02800001 to register 0x6008
[    0.104000] pci-ath9k-fixup: Writing 0x2091168c to register 0x602c
[    0.108000] pci-ath9k-fixup: Writing 0x002a168c to register 0x5000
[    0.112000] pci-ath9k-fixup: Writing 0x02800001 to register 0x5008
[    0.116000] pci-ath9k-fixup: Writing 0x2091168c to register 0x502c
[    0.120000] pci-ath9k-fixup: Writing 0x05040cc0 to register 0x5064
[    0.124000] pci-ath9k-fixup: Writing 0x00033811 to register 0x506c
[    0.128000] pci-ath9k-fixup: Writing 0x0040073b to register 0x4004
[    0.132000] pci-ath9k-fixup: Writing 0x00000003 to register 0x4074
[    0.136000] pci-ath9k-fixup: Writing 0x01c20000 to register 0x4000
[    0.140000] pci-ath9k-fixup: Writing 0x00000044 to register 0x6034
[    0.144000] pci-ath9k-fixup: Device vendor 0x168c, id 0x0029
[    0.164000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x3000ffff]
[    0.168000] pci 0000:00:01.0: BAR 0: set to [mem 0x30000000-0x3000ffff] (PCI address [0x30000000-0x3000ffff])
[    0.172000] Switching to clocksource MIPS
[    0.184000] NET: Registered protocol family 2
[    0.188000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.196000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.204000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.212000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.216000] TCP reno registered
[    0.220000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.228000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.236000] NET: Registered protocol family 1
[    0.240000] audit: initializing netlink socket (disabled)
[    0.248000] type=2000 audit(0.248:1): initialized
[    0.252000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.260000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.272000] msgmni has been set to 121
[    0.276000] io scheduler noop registered
[    0.280000] io scheduler deadline registered (default)
[    0.284000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10) is a bcm63xx_uart
[    0.292000] console [ttyS0] enabled, bootconsole disabled
[    0.292000] console [ttyS0] enabled, bootconsole disabled
[    0.308000] bcm963xx-flash bcm963xx-flash.0: 0x02000000 at 0x1e000000
[    0.316000] Number of erase regions: 2
[    0.320000] Primary Vendor Command Set: 0002 (AMD/Fujitsu Standard)
[    0.328000] Primary Algorithm Table at 0040
[    0.332000] Alternative Vendor Command Set: 0000 (None)
[    0.336000] No Alternate Algorithm Table
[    0.340000] Vcc Minimum:  3.0 V
[    0.344000] Vcc Maximum:  3.6 V
[    0.348000] No Vpp line
[    0.348000] Typical byte/word write timeout: 16 µs
[    0.356000] Maximum byte/word write timeout: 512 µs
[    0.360000] Full buffer write not supported
[    0.364000] Typical block erase timeout: 1024 ms
[    0.368000] Maximum block erase timeout: 16384 ms
[    0.372000] Chip erase not supported
[    0.376000] Device size: 0x1000000 bytes (16 MiB)
[    0.380000] Flash Device Interface description: 0x0002
[    0.388000]   - supports x8 and x16 via BYTE# with asynchronous interface
[    0.392000] Max. bytes in buffer write: 0x1
[    0.400000] Number of Erase Block Regions: 2
[    0.404000]   Erase Region #0: BlockSize 0x2000 bytes, 8 blocks
[    0.408000]   Erase Region #1: BlockSize 0x10000 bytes, 255 blocks
[    0.416000] bcm963xx: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x00227a,
[    0.424000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.432000]   Amd/Fujitsu Extended Query version 1.3.
[    0.436000]   Silicon revision: 0
[    0.440000]   Address sensitive unlock: Required
[    0.444000]   Erase Suspend: Read/write
[    0.448000]   Block protection: 4 sectors per group
[    0.452000]   Temporary block unprotect: Supported
[    0.460000]   Block protect/unprotect scheme: 4
[    0.464000]   Number of simultaneous operations: 0
[    0.468000]   Burst mode: Not supported
[    0.472000]   Page mode: Not supported
[    0.476000]   Vpp Supply Minimum Program/Erase Voltage: 10.5 V
[    0.480000]   Vpp Supply Maximum Program/Erase Voltage: 11.5 V
[    0.488000]   Top/Bottom Boot Block: Bottom boot
[    0.492000] number of CFI chips: 1
[    0.496000] bcm963xx_flash: Read Signature value of CFE1CFE1
[    0.500000] bcm963xx-flash bcm963xx-flash.0: CFE bootloader detected
[    0.508000] bcm963xx_flash: CFE boot tag found with version 8 and board type HW556
[    0.516000] bcm963xx_flash: Partition 0 is CFE offset 0 and length 20000
[    0.524000] bcm963xx_flash: Partition 1 is kernel offset 20100 and length dff00
[    0.532000] bcm963xx_flash: Partition 2 is rootfs offset 100000 and length d00000
[    0.540000] bcm963xx_flash: Partition 3 is ath_data offset e00000 and length 1e0000
[    0.548000] bcm963xx_flash: Partition 4 is nvram offset fe0000 and length 20000
[    0.552000] bcm963xx_flash: Partition 5 is linux offset 20000 and length de0000
[    0.560000] bcm963xx_flash: Spare partition is 360000 offset and length aa0000
[    0.568000] Creating 6 MTD partitions on "bcm963xx":
[    0.576000] 0x000000000000-0x000000020000 : "CFE"
[    0.584000] 0x000000020100-0x000000100000 : "kernel"
[    0.588000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.604000] 0x000000100000-0x000000e00000 : "rootfs"
[    0.612000] mtd: partition "rootfs" set to be root filesystem
[    0.620000] mtd: partition "rootfs_data" created automatically, ofs=340000, len=AC0000
[    0.628000] 0x000000340000-0x000000e00000 : "rootfs_data"
[    0.636000] 0x000000e00000-0x000000fe0000 : "ath_data"
[    0.648000] 0x000000fe0000-0x000001000000 : "nvram"
[    0.656000] 0x000000020000-0x000000e00000 : "linux"
[    0.672000] bcm63xx-wdt bcm63xx-wdt.0:  started, timer margin: 30 sec
[    0.684000] TCP westwood registered
[    0.688000] NET: Registered protocol family 17
[    0.692000] 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
[    0.700000] All bugs added by David S. Miller <davem@redhat.com>
[    0.716000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.724000] Freeing unused kernel memory: 160k freed
awk: /proc/cpuinfo: No such file or directory
[    3.592000] roboswitch: Probing device eth0: found a 5325! It's a 5350.
[    4.660000] There is already a switch registered on the device 'eth0'
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[    9.284000] JFFS2 notice: (317) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 5 of xref (0 dead, 2 orphan) found.
switching to jffs2
- init -

Please press Enter to activate this console. [   12.800000] Compat-wireless backport release: compat-wireless-2011-11-29
[   12.808000] Backport based on wireless-testing.git master-2011-12-01
[   13.032000] cfg80211: Calling CRDA to update world regulatory domain
[   13.844000] cfg80211: World regulatory domain updated:
[   13.852000] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   13.860000] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.868000] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.876000] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.884000] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.892000] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.580000] SCSI subsystem initialized
[   14.680000] There is already a switch registered on the device 'eth0'
[   15.076000] usbcore: registered new interface driver usbfs
[   15.084000] usbcore: registered new interface driver hub
[   15.096000] usbcore: registered new device driver usb
[   16.680000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[   16.688000] board_bcm963xx: Setting device platform data
[   16.700000] ath: eeprom contains invalid mac address: ff:ff:ff:ff:ff:ff
[   16.708000] ath: random mac address will be used: 2e:d2:a1:a8:80:0b
[   16.728000] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xc02e0000, irq=39
[   16.740000] cfg80211: Calling CRDA for country: JP
[   16.892000] cfg80211: Regulatory domain changed to country: JP
[   16.900000] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   16.908000] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   16.916000] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (N/A, 2000 mBm)
[   16.924000] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm)
[   16.932000] cfg80211:     (4910000 KHz - 4930000 KHz @ 10000 KHz), (N/A, 2300 mBm)
[   16.940000] cfg80211:     (4910000 KHz - 4990000 KHz @ 40000 KHz), (N/A, 2300 mBm)
[   16.948000] cfg80211:     (4930000 KHz - 4950000 KHz @ 10000 KHz), (N/A, 2300 mBm)
[   16.952000] cfg80211:     (5030000 KHz - 5045000 KHz @ 10000 KHz), (N/A, 2300 mBm)
[   16.960000] cfg80211:     (5030000 KHz - 5090000 KHz @ 40000 KHz), (N/A, 2300 mBm)
[   16.968000] cfg80211:     (5050000 KHz - 5060000 KHz @ 10000 KHz), (N/A, 2300 mBm)
[   16.976000] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   16.984000] cfg80211:     (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   16.992000] cfg80211:     (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2300 mBm)
[   17.040000] Button Hotplug driver version 0.4.1
[   18.016000] NTFS driver 2.1.30 [Flags: R/O MODULE].
[   18.568000] PPP generic driver version 2.4.2
[   18.796000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   19.120000] NET: Registered protocol family 24
[   19.368000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   19.372000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[   19.380000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[   19.412000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
[   19.428000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[   19.436000] hub 1-0:1.0: USB hub found
[   19.440000] hub 1-0:1.0: 2 ports detected
[   19.756000] nf_conntrack version 0.5.0 (971 buckets, 3884 max)
[   19.876000] usb 1-1: new high speed USB device number 2 using bcm63xx_ehci
[   20.260000] hub 1-1:1.0: USB hub found
[   20.272000] hub 1-1:1.0: 2 ports detected
[   20.680000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   20.684000] bcm63xx_ohci bcm63xx_ohci.0: BCM63XX integrated OHCI controller
[   20.692000] bcm63xx_ohci bcm63xx_ohci.0: new USB bus registered, assigned bus number 2
[   20.700000] bcm63xx_ohci bcm63xx_ohci.0: irq 13, io mem 0xfffe1400
[   20.768000] hub 2-0:1.0: USB hub found
[   20.772000] hub 2-0:1.0: 1 port detected
[   21.052000] Initializing USB Mass Storage driver...
[   21.056000] usbcore: registered new interface driver usb-storage
[   21.064000] USB Mass Storage support registered.
[   21.276000] input: gpio-buttons as /devices/platform/gpio-buttons.0/input/input0
[   23.288000] eth0: link forced UP - 100/full - flow control off/off
[   23.732000] device eth0 entered promiscuous mode
[   23.828000] br-lan: port 1(eth0) entering forwarding state
[   23.832000] br-lan: port 1(eth0) entering forwarding state[/spoiler] es esl bootlog que me da la ventana serie

[spoiler]Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.348000] No Vpp line
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.348000] Typical byte/word write timeout: 16 µs
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.356000] Maximum byte/word write timeout: 512 µs
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.360000] Full buffer write not supported
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.364000] Typical block erase timeout: 1024 ms
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.368000] Maximum block erase timeout: 16384 ms
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.372000] Chip erase not supported
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.376000] Device size: 0x1000000 bytes (16 MiB)
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.404000]   Erase Region #0: BlockSize 0x2000 bytes, 8 blocks
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.408000]   Erase Region #1: BlockSize 0x10000 bytes, 255 blocks
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.416000] bcm963xx: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x00227a,
Sep  8 15:44:11 OpenWrt kern.debug kernel: [    0.424000] bcm963xx: Found an alias at 0x1000000 for the chip at 0x0
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.424000] Amd/Fujitsu Extended Query Table at 0x0040
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.432000]   Amd/Fujitsu Extended Query version 1.3.
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.436000]   Silicon revision: 0
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.440000]   Address sensitive unlock: Required
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.444000]   Erase Suspend: Read/write
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.448000]   Block protection: 4 sectors per group
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.452000]   Temporary block unprotect: Supported
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.460000]   Block protect/unprotect scheme: 4
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.464000]   Number of simultaneous operations: 0
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.468000]   Burst mode: Not supported
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.472000]   Page mode: Not supported
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.476000]   Vpp Supply Minimum Program/Erase Voltage: 10.5 V
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.480000]   Vpp Supply Maximum Program/Erase Voltage: 11.5 V
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.488000]   Top/Bottom Boot Block: Bottom boot
Sep  8 15:44:11 OpenWrt kern.notice kernel: [    0.492000] number of CFI chips: 1
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.496000] bcm963xx_flash: Read Signature value of CFE1CFE1
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.500000] bcm963xx-flash bcm963xx-flash.0: CFE bootloader detected
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.508000] bcm963xx_flash: CFE boot tag found with version 8 and board type HW556
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.516000] bcm963xx_flash: Partition 0 is CFE offset 0 and length 20000
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.524000] bcm963xx_flash: Partition 1 is kernel offset 20100 and length dff00
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.532000] bcm963xx_flash: Partition 2 is rootfs offset 100000 and length d00000
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.540000] bcm963xx_flash: Partition 3 is ath_data offset e00000 and length 1e0000
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.548000] bcm963xx_flash: Partition 4 is nvram offset fe0000 and length 20000
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.552000] bcm963xx_flash: Partition 5 is linux offset 20000 and length de0000
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.560000] bcm963xx_flash: Spare partition is 360000 offset and length aa0000
Sep  8 15:44:11 OpenWrt kern.notice kernel: [    0.584000] 0x000000020100-0x000000100000 : "kernel"
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    0.588000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
Sep  8 15:44:11 OpenWrt kern.notice kernel: [    0.604000] 0x000000100000-0x000000e00000 : "rootfs"
Sep  8 15:44:11 OpenWrt kern.notice kernel: [    0.612000] mtd: partition "rootfs" set to be root filesystem
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.620000] mtd: partition "rootfs_data" created automatically, ofs=340000, len=AC0000
Sep  8 15:44:11 OpenWrt kern.notice kernel: [    0.628000] 0x000000340000-0x000000e00000 : "rootfs_data"
Sep  8 15:44:11 OpenWrt kern.notice kernel: [    0.636000] 0x000000e00000-0x000000fe0000 : "ath_data"
Sep  8 15:44:11 OpenWrt kern.notice kernel: [    0.648000] 0x000000fe0000-0x000001000000 : "nvram"
Sep  8 15:44:11 OpenWrt kern.notice kernel: [    0.656000] 0x000000020000-0x000000e00000 : "linux"
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.672000] bcm63xx-wdt bcm63xx-wdt.0:  started, timer margin: 30 sec
Sep  8 15:44:11 OpenWrt kern.debug kernel: [    0.680000] Registered led device: message
Sep  8 15:44:11 OpenWrt kern.debug kernel: [    0.680000] Registered led device: hspa
Sep  8 15:44:11 OpenWrt kern.debug kernel: [    0.680000] Registered led device: dsl
Sep  8 15:44:11 OpenWrt kern.debug kernel: [    0.680000] Registered led device: power
Sep  8 15:44:11 OpenWrt kern.debug kernel: [    0.680000] Registered led device: all_leds
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.684000] TCP westwood registered
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.688000] NET: Registered protocol family 17
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.692000] 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.700000] All bugs added by David S. Miller <davem@redhat.com>
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.716000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Sep  8 15:44:11 OpenWrt kern.info kernel: [    0.724000] Freeing unused kernel memory: 160k freed
Sep  8 15:44:11 OpenWrt kern.info kernel: [    3.584000] roboswitch: Probing device eth0: found a 5325! It's a 5350.
Sep  8 15:44:11 OpenWrt kern.warn kernel: [    4.656000] There is already a switch registered on the device 'eth0'
Sep  8 15:44:11 OpenWrt kern.info kernel: [   12.672000] Compat-wireless backport release: compat-wireless-2011-11-29
Sep  8 15:44:11 OpenWrt kern.info kernel: [   12.680000] Backport based on wireless-testing.git master-2011-12-01
Sep  8 15:44:11 OpenWrt kern.info kernel: [   12.904000] cfg80211: Calling CRDA to update world regulatory domain
Sep  8 15:44:11 OpenWrt kern.info kernel: [   13.760000] cfg80211: World regulatory domain updated:
Sep  8 15:44:11 OpenWrt kern.info kernel: [   13.764000] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Sep  8 15:44:11 OpenWrt kern.info kernel: [   13.808000] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Sep  8 15:44:11 OpenWrt kern.notice kernel: [   14.452000] SCSI subsystem initialized
Sep  8 15:44:11 OpenWrt kern.warn kernel: [   14.552000] There is already a switch registered on the device 'eth0'
Sep  8 15:44:11 OpenWrt kern.info kernel: [   14.952000] usbcore: registered new interface driver usbfs
Sep  8 15:44:11 OpenWrt kern.info kernel: [   14.956000] usbcore: registered new interface driver hub
Sep  8 15:44:11 OpenWrt kern.info kernel: [   14.968000] usbcore: registered new device driver usb
Sep  8 15:44:11 OpenWrt kern.warn kernel: [   16.552000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
Sep  8 15:44:11 OpenWrt kern.info kernel: [   16.560000] board_bcm963xx: Setting device platform data
Sep  8 15:44:11 OpenWrt kern.err kernel: [   16.576000] ath: eeprom contains invalid mac address: ff:ff:ff:ff:ff:ff
Sep  8 15:44:11 OpenWrt kern.err kernel: [   16.580000] ath: random mac address will be used: 22:9f:90:3e:7a:be
Sep  8 15:44:11 OpenWrt kern.debug kernel: [   16.588000] ath: EEPROM regdomain: 0xff
Sep  8 15:44:11 OpenWrt kern.debug kernel: [   16.588000] ath: EEPROM indicates we should expect a direct regpair map
Sep  8 15:44:11 OpenWrt kern.debug kernel: [   16.588000] ath: Country alpha2 being used: JP
Sep  8 15:44:11 OpenWrt kern.debug kernel: [   16.588000] ath: Regpair used: 0xff
Sep  8 15:44:11 OpenWrt kern.debug kernel: [   16.600000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Sep  8 15:44:11 OpenWrt kern.debug kernel: [   16.600000] Registered led device: ath9k-phy0
Sep  8 15:44:11 OpenWrt kern.info kernel: [   16.600000] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xc02e0000, irq=39
Sep  8 15:44:11 OpenWrt kern.info kernel: [   16.612000] cfg80211: Calling CRDA for country: JP
Sep  8 15:44:11 OpenWrt kern.info kernel: [   16.776000] cfg80211: Regulatory domain changed to country: JP
Sep  8 15:44:11 OpenWrt kern.info kernel: [   16.784000] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Sep  8 15:44:11 OpenWrt kern.info kernel: [   16.792000] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Sep  8 15:44:11 OpenWrt kern.info kernel: [   16.800000] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (N/A, 2000 mBm)
Sep  8 15:44:11 OpenWrt kern.info kernel: [   16.808000] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm)
Sep  8 15:44:11 OpenWrt kern.info kernel: [   16.816000] cfg80211:     (4910000 KHz - 4930000 KHz @ 10000 KHz), (N/A, 2300 mBm)
Sep  8 15:44:11 OpenWrt kern.info kernel: [   16.824000] cfg80211:     (4910000 KHz - 4990000 KHz @ 40000 KHz), (N/A, 2300 mBm)
Sep  8 15:44:11 OpenWrt kern.info kernel: [   16.832000] cfg80211:     (4930000 KHz - 4950000 KHz @ 10000 KHz), (N/A, 2300 mBm)
Sep  8 15:44:11 OpenWrt kern.info kernel: [   16.840000] cfg80211:     (5030000 KHz - 5045000 KHz @ 10000 KHz), (N/A, 2300 mBm)
Sep  8 15:44:11 OpenWrt kern.info kernel: [   16.848000] cfg80211:     (5030000 KHz - 5090000 KHz @ 40000 KHz), (N/A, 2300 mBm)
Sep  8 15:44:11 OpenWrt kern.info kernel: [   16.872000] cfg80211:     (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Sep  8 15:44:11 OpenWrt kern.info kernel: [   16.880000] cfg80211:     (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2300 mBm)
Sep  8 15:44:11 OpenWrt kern.info kernel: [   16.916000] Button Hotplug driver version 0.4.1
Sep  8 15:44:11 OpenWrt kern.info kernel: [   17.892000] NTFS driver 2.1.30 [Flags: R/O MODULE].
Sep  8 15:44:11 OpenWrt kern.info kernel: [   18.444000] PPP generic driver version 2.4.2
Sep  8 15:44:11 OpenWrt kern.info kernel: [   18.672000] ip_tables: (C) 2000-2006 Netfilter Core Team
Sep  8 15:44:11 OpenWrt kern.info kernel: [   18.996000] NET: Registered protocol family 24
Sep  8 15:44:11 OpenWrt kern.info kernel: [   19.248000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Sep  8 15:44:11 OpenWrt kern.info kernel: [   19.252000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
Sep  8 15:44:11 OpenWrt kern.info kernel: [   19.260000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
Sep  8 15:44:11 OpenWrt kern.info kernel: [   19.292000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
Sep  8 15:44:11 OpenWrt kern.info kernel: [   19.308000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
Sep  8 15:44:11 OpenWrt kern.info kernel: [   19.316000] hub 1-0:1.0: USB hub found
Sep  8 15:44:11 OpenWrt kern.info kernel: [   19.320000] hub 1-0:1.0: 2 ports detected
Sep  8 15:44:11 OpenWrt kern.info kernel: [   19.640000] nf_conntrack version 0.5.0 (971 buckets, 3884 max)
Sep  8 15:44:11 OpenWrt kern.info kernel: [   19.756000] usb 1-1: new high speed USB device number 2 using bcm63xx_ehci
Sep  8 15:44:11 OpenWrt kern.info kernel: [   20.140000] hub 1-1:1.0: USB hub found
Sep  8 15:44:11 OpenWrt kern.info kernel: [   20.152000] hub 1-1:1.0: 2 ports detected
Sep  8 15:44:11 OpenWrt kern.info kernel: [   20.560000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
Sep  8 15:44:11 OpenWrt kern.info kernel: [   20.568000] bcm63xx_ohci bcm63xx_ohci.0: BCM63XX integrated OHCI controller
Sep  8 15:44:11 OpenWrt kern.info kernel: [   20.576000] bcm63xx_ohci bcm63xx_ohci.0: new USB bus registered, assigned bus number 2
Sep  8 15:44:11 OpenWrt kern.info kernel: [   20.584000] bcm63xx_ohci bcm63xx_ohci.0: irq 13, io mem 0xfffe1400
Sep  8 15:44:11 OpenWrt kern.info kernel: [   20.648000] hub 2-0:1.0: USB hub found
Sep  8 15:44:11 OpenWrt kern.info kernel: [   20.652000] hub 2-0:1.0: 1 port detected
Sep  8 15:44:11 OpenWrt kern.info kernel: [   20.932000] Initializing USB Mass Storage driver...
Sep  8 15:44:11 OpenWrt kern.info kernel: [   20.940000] usbcore: registered new interface driver usb-storage
Sep  8 15:44:11 OpenWrt kern.info kernel: [   20.944000] USB Mass Storage support registered.
Sep  8 15:44:11 OpenWrt kern.info kernel: [   21.156000] input: gpio-buttons as /devices/platform/gpio-buttons.0/input/input0
Sep  8 15:44:12 OpenWrt kern.info kernel: [   23.808000] eth0: link forced UP - 100/full - flow control off/off
Sep  8 15:44:12 OpenWrt user.notice ifup: Enabling Router Solicitations on loopback (lo)
Sep  8 15:44:12 OpenWrt kern.info kernel: [   24.220000] device eth0 entered promiscuous mode
Sep  8 15:44:12 OpenWrt kern.info kernel: [   24.320000] br-lan: port 1(eth0) entering forwarding state
Sep  8 15:44:12 OpenWrt kern.info kernel: [   24.328000] br-lan: port 1(eth0) entering forwarding state
Sep  8 15:44:14 OpenWrt user.info sysinit: 'radio0' is disabled
Sep  8 15:44:15 OpenWrt user.info sysinit: 'radio0' is disabled
Sep  8 15:44:15 OpenWrt user.notice ifup: Enabling Router Solicitations on lan (br-lan)
Sep  8 15:44:18 OpenWrt user.info sysinit: Loading defaults
Sep  8 15:44:18 OpenWrt user.info sysinit: Loading synflood protection
Sep  8 15:44:19 OpenWrt user.info sysinit: Adding custom chains
Sep  8 15:44:20 OpenWrt user.info sysinit: Loading zones
Sep  8 15:44:21 OpenWrt user.info sysinit: Loading forwardings
Sep  8 15:44:21 OpenWrt user.info sysinit: Loading redirects
Sep  8 15:44:21 OpenWrt user.info sysinit: Loading rules
Sep  8 15:44:22 OpenWrt user.info sysinit: Loading includes
Sep  8 15:44:22 OpenWrt user.info sysinit: Optimizing conntrack
Sep  8 15:44:22 OpenWrt user.info sysinit: Loading interfaces
Sep  8 15:44:22 OpenWrt user.info firewall: adding lan (br-lan) to zone lan
Sep  8 15:44:25 OpenWrt user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Sep  8 15:44:25 OpenWrt user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Sep  8 15:44:29 OpenWrt daemon.info dnsmasq[956]: started, version 2.59 cachesize 150
Sep  8 15:44:29 OpenWrt daemon.info dnsmasq[956]: compile time options: IPv6 GNU-getopt no-DBus no-i18n DHCP TFTP no-conntrack no-IDN
Sep  8 15:44:29 OpenWrt daemon.info dnsmasq-dhcp[956]: DHCP, IP range 192.168.1.100 -- 192.168.1.249, lease time 12h
Sep  8 15:44:29 OpenWrt daemon.info dnsmasq[956]: using local addresses only for domain lan
Sep  8 15:44:29 OpenWrt daemon.warn dnsmasq[956]: no servers found in /tmp/resolv.conf.auto, will retry
Sep  8 15:44:29 OpenWrt daemon.info dnsmasq[956]: read /etc/hosts - 1 addresses
Sep  8 15:44:29 OpenWrt daemon.info dnsmasq-dhcp[956]: read /etc/ethers - 0 addresses
Sep  8 15:44:30 OpenWrt kern.warn kernel: [   41.976000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
Sep  8 15:44:30 OpenWrt kern.warn kernel: [   41.984000] jffs2_build_filesystem(): unlocking the mtd device... done.
Sep  8 15:46:08 OpenWrt kern.warn kernel: [   41.988000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
Sep  8 15:46:08 OpenWrt kern.notice kernel: [  139.712000] JFFS2 notice: (978) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
Sep  8 15:46:08 OpenWrt auth.err passwd: /etc/passwd: Read-only file system
Sep  8 15:46:08 OpenWrt auth.err passwd: can't update password file /etc/passwd
Sep  8 15:46:08 OpenWrt user.info sysinit: copying files ... done
Sep  8 15:46:10 OpenWrt authpriv.info dropbear[1766]: Running in background
[/spoiler] esto es el system log de luci

[spoiler][    0.000000] Linux version 2.6.39.4 (dani@tool) (gcc version 4.5.4 20110808 (prerelease) (Linaro GCC 4.5-2011.08) ) #34 Wed Jan 4 22:16:19 CET 2012
[    0.000000] Detected Broadcom 0x6358 CPU revision a1
[    0.000000] CPU frequency is 300 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] registering 40 GPIOs
[    0.000000] board_bcm963xx: Boot address 0xbe000000
[    0.000000] board_bcm963xx: CFE version: 100.48.56-49.46
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a010 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: HW556
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[1] active PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 802840e0, node_mem_map 81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16256 pages, LIFO batch:3
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc:
  • 0

[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Memory: 62016k/65536k available (2145k kernel code, 3520k reserved, 368k data, 160k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 299.26 BogoMIPS (lpj=598528)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.052000] NET: Registered protocol family 16
[    0.064000] MPI_CSBASE_REG(0) = 0x1e000000
[    0.068000] changed ath9k regdomain to 0xff
[    0.072000] registering PCI controller with io_map_base unset
[    0.084000] bio: create slab <bio-0> at 0
[    0.092000] pci 0000:00:01.0: [168c:ff1d] type 0 class 0x000200
[    0.092000] pci 0000:00:01.0: fixup device configuration
[    0.096000] pci-ath9k-fixup: Writing 0x0029168c to register 0x6000
[    0.100000] pci-ath9k-fixup: Writing 0x02800001 to register 0x6008
[    0.104000] pci-ath9k-fixup: Writing 0x2091168c to register 0x602c
[    0.108000] pci-ath9k-fixup: Writing 0x002a168c to register 0x5000
[    0.112000] pci-ath9k-fixup: Writing 0x02800001 to register 0x5008
[    0.116000] pci-ath9k-fixup: Writing 0x2091168c to register 0x502c
[    0.120000] pci-ath9k-fixup: Writing 0x05040cc0 to register 0x5064
[    0.124000] pci-ath9k-fixup: Writing 0x00033811 to register 0x506c
[    0.128000] pci-ath9k-fixup: Writing 0x0040073b to register 0x4004
[    0.132000] pci-ath9k-fixup: Writing 0x00000003 to register 0x4074
[    0.136000] pci-ath9k-fixup: Writing 0x01c20000 to register 0x4000
[    0.140000] pci-ath9k-fixup: Writing 0x00000044 to register 0x6034
[    0.144000] pci-ath9k-fixup: Device vendor 0x168c, id 0x0029
[    0.148000] pci 0000:00:01.0: reg 10: [mem 0x00000000-0x0000ffff]
[    0.160000] pci 0000:00:01.0: PME# supported from D0 D3hot
[    0.160000] pci 0000:00:01.0: PME# disabled
[    0.164000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x3000ffff]
[    0.168000] pci 0000:00:01.0: BAR 0: set to [mem 0x30000000-0x3000ffff] (PCI address [0x30000000-0x3000ffff])
[    0.172000] Switching to clocksource MIPS
[    0.184000] NET: Registered protocol family 2
[    0.188000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.196000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.204000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.212000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.216000] TCP reno registered
[    0.220000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.228000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.236000] NET: Registered protocol family 1
[    0.240000] PCI: CLS 0 bytes, default 32
[    0.240000] audit: initializing netlink socket (disabled)
[    0.248000] type=2000 audit(0.248:1): initialized
[    0.252000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.260000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.272000] msgmni has been set to 121
[    0.276000] io scheduler noop registered
[    0.280000] io scheduler deadline registered (default)
[    0.284000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10) is a bcm63xx_uart
[    0.292000] console [ttyS0] enabled, bootconsole disabled
[    0.308000] bcm963xx-flash bcm963xx-flash.0: 0x02000000 at 0x1e000000
[    0.316000] Number of erase regions: 2
[    0.320000] Primary Vendor Command Set: 0002 (AMD/Fujitsu Standard)
[    0.328000] Primary Algorithm Table at 0040
[    0.332000] Alternative Vendor Command Set: 0000 (None)
[    0.336000] No Alternate Algorithm Table
[    0.340000] Vcc Minimum:  3.0 V
[    0.344000] Vcc Maximum:  3.6 V
[    0.348000] No Vpp line
[    0.348000] Typical byte/word write timeout: 16 µs
[    0.356000] Maximum byte/word write timeout: 512 µs
[    0.360000] Full buffer write not supported
[    0.364000] Typical block erase timeout: 1024 ms
[    0.368000] Maximum block erase timeout: 16384 ms
[    0.372000] Chip erase not supported
[    0.376000] Device size: 0x1000000 bytes (16 MiB)
[    0.380000] Flash Device Interface description: 0x0002
[    0.388000]   - supports x8 and x16 via BYTE# with asynchronous interface
[    0.392000] Max. bytes in buffer write: 0x1
[    0.400000] Number of Erase Block Regions: 2
[    0.404000]   Erase Region #0: BlockSize 0x2000 bytes, 8 blocks
[    0.408000]   Erase Region #1: BlockSize 0x10000 bytes, 255 blocks
[    0.416000] bcm963xx: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x00227a,
[    0.424000] bcm963xx: Found an alias at 0x1000000 for the chip at 0x0
[    0.424000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.432000]   Amd/Fujitsu Extended Query version 1.3.
[    0.436000]   Silicon revision: 0
[    0.440000]   Address sensitive unlock: Required
[    0.444000]   Erase Suspend: Read/write
[    0.448000]   Block protection: 4 sectors per group
[    0.452000]   Temporary block unprotect: Supported
[    0.460000]   Block protect/unprotect scheme: 4
[    0.464000]   Number of simultaneous operations: 0
[    0.468000]   Burst mode: Not supported
[    0.472000]   Page mode: Not supported
[    0.476000]   Vpp Supply Minimum Program/Erase Voltage: 10.5 V
[    0.480000]   Vpp Supply Maximum Program/Erase Voltage: 11.5 V
[    0.488000]   Top/Bottom Boot Block: Bottom boot
[    0.492000] number of CFI chips: 1
[    0.496000] bcm963xx_flash: Read Signature value of CFE1CFE1
[    0.500000] bcm963xx-flash bcm963xx-flash.0: CFE bootloader detected
[    0.508000] bcm963xx_flash: CFE boot tag found with version 8 and board type HW556
[    0.516000] bcm963xx_flash: Partition 0 is CFE offset 0 and length 20000
[    0.524000] bcm963xx_flash: Partition 1 is kernel offset 20100 and length dff00
[    0.532000] bcm963xx_flash: Partition 2 is rootfs offset 100000 and length d00000
[    0.540000] bcm963xx_flash: Partition 3 is ath_data offset e00000 and length 1e0000
[    0.548000] bcm963xx_flash: Partition 4 is nvram offset fe0000 and length 20000
[    0.552000] bcm963xx_flash: Partition 5 is linux offset 20000 and length de0000
[    0.560000] bcm963xx_flash: Spare partition is 360000 offset and length aa0000
[    0.568000] Creating 6 MTD partitions on "bcm963xx":
[    0.576000] 0x000000000000-0x000000020000 : "CFE"
[    0.584000] 0x000000020100-0x000000100000 : "kernel"
[    0.588000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.604000] 0x000000100000-0x000000e00000 : "rootfs"
[    0.612000] mtd: partition "rootfs" set to be root filesystem
[    0.620000] mtd: partition "rootfs_data" created automatically, ofs=340000, len=AC0000
[    0.628000] 0x000000340000-0x000000e00000 : "rootfs_data"
[    0.636000] 0x000000e00000-0x000000fe0000 : "ath_data"
[    0.648000] 0x000000fe0000-0x000001000000 : "nvram"
[    0.656000] 0x000000020000-0x000000e00000 : "linux"
[    0.672000] bcm63xx-wdt bcm63xx-wdt.0:  started, timer margin: 30 sec
[    0.680000] Registered led device: message
[    0.680000] Registered led device: hspa
[    0.680000] Registered led device: dsl
[    0.680000] Registered led device: power
[    0.680000] Registered led device: all_leds
[    0.684000] TCP westwood registered
[    0.688000] NET: Registered protocol family 17
[    0.692000] 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
[    0.700000] All bugs added by David S. Miller <davem@redhat.com>
[    0.716000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.724000] Freeing unused kernel memory: 160k freed
[    3.584000] roboswitch: Probing device eth0: found a 5325! It's a 5350.
[    4.656000] There is already a switch registered on the device 'eth0'
[   12.672000] Compat-wireless backport release: compat-wireless-2011-11-29
[   12.680000] Backport based on wireless-testing.git master-2011-12-01
[   12.904000] cfg80211: Calling CRDA to update world regulatory domain
[   13.760000] cfg80211: World regulatory domain updated:
[   13.764000] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   13.772000] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.780000] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.792000] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.800000] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.808000] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.452000] SCSI subsystem initialized
[   14.552000] There is already a switch registered on the device 'eth0'
[   14.952000] usbcore: registered new interface driver usbfs
[   14.956000] usbcore: registered new interface driver hub
[   14.968000] usbcore: registered new device driver usb
[   16.552000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[   16.560000] board_bcm963xx: Setting device platform data
[   16.576000] ath: eeprom contains invalid mac address: ff:ff:ff:ff:ff:ff
[   16.580000] ath: random mac address will be used: 22:9f:90:3e:7a:be
[   16.588000] ath: EEPROM regdomain: 0xff
[   16.588000] ath: EEPROM indicates we should expect a direct regpair map
[   16.588000] ath: Country alpha2 being used: JP
[   16.588000] ath: Regpair used: 0xff
[   16.600000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   16.600000] Registered led device: ath9k-phy0
[   16.600000] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xc02e0000, irq=39
[   16.612000] cfg80211: Calling CRDA for country: JP
[   16.776000] cfg80211: Regulatory domain changed to country: JP
[   16.784000] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   16.792000] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   16.800000] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (N/A, 2000 mBm)
[   16.808000] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm)
[   16.816000] cfg80211:     (4910000 KHz - 4930000 KHz @ 10000 KHz), (N/A, 2300 mBm)
[   16.824000] cfg80211:     (4910000 KHz - 4990000 KHz @ 40000 KHz), (N/A, 2300 mBm)
[   16.832000] cfg80211:     (4930000 KHz - 4950000 KHz @ 10000 KHz), (N/A, 2300 mBm)
[   16.840000] cfg80211:     (5030000 KHz - 5045000 KHz @ 10000 KHz), (N/A, 2300 mBm)
[   16.848000] cfg80211:     (5030000 KHz - 5090000 KHz @ 40000 KHz), (N/A, 2300 mBm)
[   16.856000] cfg80211:     (5050000 KHz - 5060000 KHz @ 10000 KHz), (N/A, 2300 mBm)
[   16.864000] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   16.872000] cfg80211:     (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   16.880000] cfg80211:     (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2300 mBm)
[   16.916000] Button Hotplug driver version 0.4.1
[   17.892000] NTFS driver 2.1.30 [Flags: R/O MODULE].
[   18.444000] PPP generic driver version 2.4.2
[   18.672000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   18.996000] NET: Registered protocol family 24
[   19.248000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   19.252000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[   19.260000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[   19.292000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
[   19.308000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[   19.316000] hub 1-0:1.0: USB hub found
[   19.320000] hub 1-0:1.0: 2 ports detected
[   19.640000] nf_conntrack version 0.5.0 (971 buckets, 3884 max)
[   19.756000] usb 1-1: new high speed USB device number 2 using bcm63xx_ehci
[   20.140000] hub 1-1:1.0: USB hub found
[   20.152000] hub 1-1:1.0: 2 ports detected
[   20.560000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   20.568000] bcm63xx_ohci bcm63xx_ohci.0: BCM63XX integrated OHCI controller
[   20.576000] bcm63xx_ohci bcm63xx_ohci.0: new USB bus registered, assigned bus number 2
[   20.584000] bcm63xx_ohci bcm63xx_ohci.0: irq 13, io mem 0xfffe1400
[   20.648000] hub 2-0:1.0: USB hub found
[   20.652000] hub 2-0:1.0: 1 port detected
[   20.932000] Initializing USB Mass Storage driver...
[   20.940000] usbcore: registered new interface driver usb-storage
[   20.944000] USB Mass Storage support registered.
[   21.156000] input: gpio-buttons as /devices/platform/gpio-buttons.0/input/input0
[   23.808000] eth0: link forced UP - 100/full - flow control off/off
[   24.220000] device eth0 entered promiscuous mode
[   24.320000] br-lan: port 1(eth0) entering forwarding state
[   24.328000] br-lan: port 1(eth0) entering forwarding state
[   41.976000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   41.984000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   41.988000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[  139.712000] JFFS2 notice: (978) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[/spoiler] esto es el kernel log de luci


Intenta con este firmware:
https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32706_master_erasesize_bcmtag2.bin
Título: Re: OpenWRT en Huawei hg556a
Publicado por: emeryth en 15-07-2012, 18:58 (Domingo)
no aun no
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 15-07-2012, 19:58 (Domingo)
no aun no
Estás usando un firmware antiguo de danitool. Con el último firmware de danitool te funciona?

http://www.mediafire.com/download.php?p9duu3gpubg1bdx
Título: Re: OpenWRT en Huawei hg556a
Publicado por: emeryth en 15-07-2012, 20:18 (Domingo)
Con el último firmware de danitool funciona perfectamente

Citar
http://www.mediafire.com/download.php?p9duu3gpubg1bdx
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 15-07-2012, 20:22 (Domingo)
Con el último firmware de danitool funciona perfectamente

Citar
http://www.mediafire.com/download.php?p9duu3gpubg1bdx
Estoy compilando otro firmware. Creo que está entrando en el panic de la detección cuando no debería y yo sin enterarme :$...

Saludos.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 15-07-2012, 20:31 (Domingo)
Con el último firmware de danitool funciona perfectamente

Citar
http://www.mediafire.com/download.php?p9duu3gpubg1bdx
Estoy compilando otro firmware. Creo que está entrando en el panic de la detección cuando no debería y yo sin enterarme :$...

Saludos.
Aquí tienes el firmware:
https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32706_panic.bin

Saludos!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: emeryth en 15-07-2012, 21:08 (Domingo)
con este ultimo firmware el bootlog a cambiado pero aun no hay ping

[spoiler]
Boot Address 0xbe000000

Initializing Arena.
Initializing Devices.

@w45260: Flash Manufacture id :c2

@w45260Flash Device id :227a

@w45260flipCFIGeometry:0
Parallel flash device: name MX29LV128DB, id 0x227a, size 16384KB
*** GetHG556aBoardVersion = <0> ***

CPU type 0x2A010: 300MHz, Bus: 133MHz, Ref: 64MHz
Total memory: 67108864 bytes (64MB)

Total memory used by CFE:  0x80401000 - 0x8052A510 (1217808)
Initialized Data:          0x8041F3C0 - 0x80421B60 (10144)
BSS Area:                  0x80421B60 - 0x80428510 (27056)
Local Heap:                0x80428510 - 0x80528510 (1048576)
Stack Area:                0x80528510 - 0x8052A510 (8192)
Text (code) segment:       0x80401000 - 0x8041F3B4 (123828)
Boot area (physical):      0x0052B000 - 0x0056B000
Relocation Factor:         I:00000000 - D:00000000

*** GetHG556aBoardVersion = <0> ***

Board IP address                  : 192.168.1.1
Host IP address                   : 192.168.1.100
Gateway IP address                :
Run from flash/host (f/h)         : f
Default host run file name        : vmlinux
Default host flash file name      : bcm963xx_fs_kernel
Boot delay (0-9 seconds)          : 1
Board Id Name                     : HW556
Psi size in KB                    : 64
Number of MAC Addresses (1-32)    : 10
Base MAC Address                  : 64:16:f0:0a:87:2d
Ethernet PHY Type                 : Internal
Memory size in MB                 : 64
CMT Thread Number                 : 1

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
boot kernel from be020100
Code Address: 0x80010000, Entry Address: 0x80010000
Decompression OK!
Entry at 0x80010000
Closing network.
Starting program at 0x80010000
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201                                            (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sun Jul 15 20:29:17 CEST 2012
[    0.000000] Detected Broadcom 0x6358 CPU revision a1
[    0.000000] CPU frequency is 300 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] registering 40 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 39 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xbe000000
[    0.000000] board_bcm963xx: CFE version: 100.48.56-49.46
[    0.000000] Unable to detect HW556 board 0x6416f0.
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a010 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: HW556
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] Reserving 0MB of memory at 0MB for crashkernel
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pag                                           es: 16256
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jff                                           s2 noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16                                            bytes
[    0.000000] Memory: 61896k/65536k available (2225k kernel code, 3640k reserve                                           d, 398k data, 196k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 299.26 BogoMIPS (lpj=598528)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.052000] NET: Registered protocol family 16
[    0.068000] registering PCI controller with io_map_base unset
[    0.088000] bio: create slab <bio-0> at 0
[    0.096000] PCI host bridge to bus 0000:00
[    0.100000] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[    0.104000] pci_bus 0000:00: root bus resource [io  0x8000000-0x800ffff]
[    0.120000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x3000ffff]
[    0.124000] Switching to clocksource MIPS
[    0.136000] NET: Registered protocol family 2
[    0.140000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.148000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.156000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.164000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.172000] TCP reno registered
[    0.172000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.180000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.188000] NET: Registered protocol family 1
[    0.192000] pci 0000:00:01.0: invalid calibration data
[    0.200000] audit: initializing netlink socket (disabled)
[    0.208000] type=2000 audit(0.208:1): initialized
[    0.212000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.220000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY                                           ) (c) 2001-2006 Red Hat, Inc.
[    0.232000] msgmni has been set to 120
[    0.236000] io scheduler noop registered
[    0.240000] io scheduler deadline registered (default)
[    0.248000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10) is a bcm63xx_                                           uart
[    0.256000] console [ttyS0] enabled, bootconsole disabled
[    0.256000] console [ttyS0] enabled, bootconsole disabled
[    0.272000] physmap platform flash device: 02000000 at 1e000000
[    0.280000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manuf                                           acturer ID 0x0000c2 Chip ID 0x00227a
[    0.288000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.296000]   Amd/Fujitsu Extended Query version 1.3.
[    0.300000] number of CFI chips: 1
[    0.304000] bcm63xxpart: CFE boot tag found with version 8 and board type HW5                                           56
[    0.312000] bcm63xxpart: Partition 0 is CFE offset 0 and length 20000
[    0.320000] bcm63xxpart: Partition 1 is kernel offset 20100 and length fff00
[    0.324000] bcm63xxpart: Partition 2 is rootfs offset 120000 and length ce000                                           0
[    0.332000] bcm63xxpart: Partition 3 is cal_data offset e00000 and length 200                                           00
[    0.340000] bcm63xxpart: Partition 4 is nvram offset fe0000 and length 20000
[    0.348000] bcm63xxpart: Partition 5 is linux offset 20000 and length de0000
[    0.356000] bcm63xxpart: Spare partition is offset 340004 and length abfffc
[    0.364000] 6 bcm63xxpart partitions found on MTD device physmap-flash.0
[    0.368000] Creating 6 MTD partitions on "physmap-flash.0":
[    0.376000] 0x000000000000-0x000000020000 : "CFE"
[    0.384000] 0x000000020100-0x000000120000 : "kernel"
[    0.388000] mtd: partition "kernel" must either start or end on erase block b                                           oundary or be smaller than an erase block -- forcing read-only
[    0.408000] 0x000000120000-0x000000e00000 : "rootfs"
[    0.416000] mtd: partition "rootfs" set to be root filesystem
[    0.420000] mtd: partition "rootfs_data" created automatically, ofs=330000, l                                           en=AD0000
[    0.428000] 0x000000330000-0x000000e00000 : "rootfs_data"
[    0.440000] 0x000000e00000-0x000000e20000 : "cal_data"
[    0.448000] 0x000000fe0000-0x000001000000 : "nvram"
[    0.456000] 0x000000020000-0x000000e00000 : "linux"
[    0.476000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.488000] TCP cubic registered
[    0.492000] NET: Registered protocol family 17
[    0.496000] 8021q: 802.1Q VLAN Support v1.8
[    0.512000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.520000] Freeing unused kernel memory: 196k freed
awk: /proc/cpuinfo: No such file or directory
[    3.212000] eth0: link forced UP - 100/full - flow control off/off
[    3.428000] roboswitch: Probing device eth0: found a 5325! It's a 5350.
[    4.496000] There is already a switch registered on the device 'eth0'
[    5.960000] Button Hotplug driver version 0.4.1
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[    9.960000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x10000
[    9.964000] Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
[    9.976000] empty_blocks 172, bad_blocks 0, c->nr_blocks 173
switching to jffs2
- init -

Please press Enter to activate this console. [   12.960000] Compat-wireless backport release: compat-wireless-2012-07-03-2-3-g7adf66e
[   12.968000] Backport based on wireless-testing.git master-2012-07-06
[   12.976000] compat.git: wireless-testing.git
[   13.040000] cfg80211: Calling CRDA to update world regulatory domain
[   13.044000] cfg80211: World regulatory domain updated:
[   13.052000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   13.060000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.068000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.076000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.084000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.092000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.536000] NET: Registered protocol family 10
[   13.988000] SCSI subsystem initialized
[   14.080000] There is already a switch registered on the device 'eth0'
[   14.440000] usbcore: registered new interface driver usbfs
[   14.444000] usbcore: registered new interface driver hub
[   14.452000] usbcore: registered new device driver usb
[   15.940000] PPP generic driver version 2.4.2
[   16.328000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   16.620000] NET: Registered protocol family 24
[   16.816000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   16.928000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[   16.932000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[   16.968000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
[   16.984000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[   16.992000] hub 1-0:1.0: USB hub found
[   16.996000] hub 1-0:1.0: 2 ports detected
[   17.176000] nf_conntrack version 0.5.0 (970 buckets, 3880 max)
[   17.560000] usb 1-1: new high-speed USB device number 2 using bcm63xx_ehci
[   17.696000] hub 1-1:1.0: USB hub found
[   17.708000] hub 1-1:1.0: 2 ports detected
[   18.000000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   18.416000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   18.528000] bcm63xx_ohci bcm63xx_ohci.0: BCM63XX integrated OHCI controller
[   18.532000] bcm63xx_ohci bcm63xx_ohci.0: new USB bus registered, assigned bus number 2
[   18.540000] bcm63xx_ohci bcm63xx_ohci.0: irq 13, io mem 0xfffe1400
[   18.608000] hub 2-0:1.0: USB hub found
[   18.612000] hub 2-0:1.0: 1 port detected
[   18.788000] Initializing USB Mass Storage driver...
[   18.792000] usbcore: registered new interface driver usb-storage
[   18.800000] USB Mass Storage support registered.
[   18.836000] usbcore: registered new interface driver ums-alauda
[   18.872000] usbcore: registered new interface driver ums-cypress
[   18.912000] usbcore: registered new interface driver ums-datafab
[   18.948000] usbcore: registered new interface driver ums-freecom
[   18.984000] usbcore: registered new interface driver ums-isd200
[   19.024000] usbcore: registered new interface driver ums-jumpshot
[   19.060000] usbcore: registered new interface driver ums-karma
[   19.100000] usbcore: registered new interface driver ums-sddr09
[   19.136000] usbcore: registered new interface driver ums-sddr55
[   19.172000] usbcore: registered new interface driver ums-usbat
[   19.212000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0

[/spoiler] boolog
Título: Re: OpenWRT en Huawei hg556a
Publicado por: jar229 en 15-07-2012, 21:39 (Domingo)
No tengo nada nuevo a añadir a lo dicho en mi último mensaje: con la última compilación que le instalé y con relayd el 'modo cliente transparente' va como un 'cañón'. Después de dos días de prueba parece totalmente estable.

Noltari, te vamos a tener que hacer un 'monumento' por tu tenacidad para resolver los problemas que se están presentando con este router (diferentes chipsets wifi, varios tipos de memorias, etc.)  >:( >:(
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 15-07-2012, 21:42 (Domingo)
Este firmware debería ser compatible con todos los modelos de HG556a.
https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32738.bin

He actualizado los parches SVN: https://dl.dropbox.com/u/4708147/openwrt/hw556/hw556_svn_all.patch
Eeprom que también hay que añadir al SVN: https://dl.dropbox.com/u/4708147/openwrt/hw556/rt3062_eeprom.zip

Espero feedback de todos :3!

Saludos!
Título: Re: OpenWRT en Huawei hg556a
Publicado por: emeryth en 15-07-2012, 22:09 (Domingo)
me gustaría decir que funciona, pero para mi ruter aun no.

el ultimo firmware:

Citar
Insertar Cita
Este firmware debería ser compatible con todos los modelos de HG556a.
https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32738.bin

da el siguiente bootlog

[spoiler]Run from flash/host (f/h)         : f
Default host run file name        : vmlinux
Default host flash file name      : bcm963xx_fs_kernel
Boot delay (0-9 seconds)          : 1
Board Id Name                     : HW556
Psi size in KB                    : 64
Number of MAC Addresses (1-32)    : 10
Base MAC Address                  : 64:16:f0:0a:87:2d
Ethernet PHY Type                 : Internal
Memory size in MB                 : 64
CMT Thread Number                 : 1

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
boot kernel from be020100
Code Address: 0x80010000, Entry Address: 0x80010000
Decompression OK!
Entry at 0x80010000
Closing network.
Starting program at 0x80010000
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sun Jul 15 21:34:58 CEST 2012
[    0.000000] Detected Broadcom 0x6358 CPU revision a1
[    0.000000] CPU frequency is 300 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] registering 40 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 39 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xbe000000
[    0.000000] board_bcm963xx: CFE version: 100.48.56-49.46
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a010 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: HW556
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] Reserving 0MB of memory at 0MB for crashkernel
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Memory: 61896k/65536k available (2225k kernel code, 3640k reserved, 398k data, 196k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 299.26 BogoMIPS (lpj=598528)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.052000] NET: Registered protocol family 16
[    0.068000] registering PCI controller with io_map_base unset
[    0.088000] bio: create slab <bio-0> at 0
[    0.096000] PCI host bridge to bus 0000:00
[    0.100000] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[    0.104000] pci_bus 0000:00: root bus resource [io  0x8000000-0x800ffff]
[    0.120000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x3000ffff]
[    0.124000] Switching to clocksource MIPS
[    0.136000] NET: Registered protocol family 2
[    0.140000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.148000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.156000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.164000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.172000] TCP reno registered
[    0.172000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.180000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.188000] NET: Registered protocol family 1
[    0.192000] pci 0000:00:01.0: fixup device configuration
[    0.204000] audit: initializing netlink socket (disabled)
[    0.212000] type=2000 audit(0.212:1): initialized
[    0.216000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.224000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.236000] msgmni has been set to 120
[    0.240000] io scheduler noop registered
[    0.244000] io scheduler deadline registered (default)
[    0.252000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10) is a bcm63xx_uart
[    0.260000] console [ttyS0] enabled, bootconsole disabled
[    0.260000] console [ttyS0] enabled, bootconsole disabled
[    0.276000] physmap platform flash device: 02000000 at 1e000000
[    0.284000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x00227a
[    0.292000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.300000]   Amd/Fujitsu Extended Query version 1.3.
[    0.304000] number of CFI chips: 1
[    0.308000] bcm63xxpart: CFE boot tag found with version 8 and board type HW556
[    0.316000] bcm63xxpart: Partition 0 is CFE offset 0 and length 20000
[    0.320000] bcm63xxpart: Partition 1 is kernel offset 20100 and length fff00
[    0.328000] bcm63xxpart: Partition 2 is rootfs offset 120000 and length e40000
[    0.336000] bcm63xxpart: Partition 3 is cal_data offset f60000 and length 20000
[    0.344000] bcm63xxpart: Partition 4 is nvram offset fe0000 and length 20000
[    0.352000] bcm63xxpart: Partition 5 is linux offset 20000 and length f40000
[    0.360000] bcm63xxpart: Spare partition is offset 340004 and length c1fffc
[    0.364000] 6 bcm63xxpart partitions found on MTD device physmap-flash.0
[    0.372000] Creating 6 MTD partitions on "physmap-flash.0":
[    0.380000] 0x000000000000-0x000000020000 : "CFE"
[    0.388000] 0x000000020100-0x000000120000 : "kernel"
[    0.392000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.408000] 0x000000120000-0x000000f60000 : "rootfs"
[    0.420000] mtd: partition "rootfs" set to be root filesystem
[    0.424000] mtd: partition "rootfs_data" created automatically, ofs=330000, len=C30000
[    0.432000] 0x000000330000-0x000000f60000 : "rootfs_data"
[    0.444000] 0x000000f60000-0x000000f80000 : "cal_data"
[    0.452000] 0x000000fe0000-0x000001000000 : "nvram"
[    0.460000] 0x000000020000-0x000000f60000 : "linux"
[    0.480000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.492000] TCP cubic registered
[    0.496000] NET: Registered protocol family 17
[    0.500000] 8021q: 802.1Q VLAN Support v1.8
[    0.516000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.524000] Freeing unused kernel memory: 196k freed
awk: /proc/cpuinfo: No such file or directory
[    3.268000] eth0: link forced UP - 100/full - flow control off/off
[    3.488000] roboswitch: Probing device eth0: found a 5325! It's a 5350.
[    4.552000] There is already a switch registered on the device 'eth0'
[    6.020000] Button Hotplug driver version 0.4.1
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[    9.996000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x10000
[   10.004000] Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
[   10.012000] empty_blocks 194, bad_blocks 0, c->nr_blocks 195
switching to jffs2
- init -

Please press Enter to activate this console. [   13.004000] Compat-wireless backport release: compat-wireless-2012-07-03-2-3-g7adf66e
[   13.012000] Backport based on wireless-testing.git master-2012-07-06
[   13.020000] compat.git: wireless-testing.git
[   13.088000] cfg80211: Calling CRDA to update world regulatory domain
[   13.092000] cfg80211: World regulatory domain updated:
[   13.100000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   13.108000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.116000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.124000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.132000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.140000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.580000] NET: Registered protocol family 10
[   14.036000] SCSI subsystem initialized
[   14.128000] There is already a switch registered on the device 'eth0'
[   14.488000] usbcore: registered new interface driver usbfs
[   14.492000] usbcore: registered new interface driver hub
[   14.500000] usbcore: registered new device driver usb
[   15.616000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[   15.632000] ath: phy0: eeprom contains invalid mac address: ff:ff:ff:ff:ff:ff
[   15.640000] ath: phy0: random mac address will be used: 16:a7:6d:d2:11:93
[   15.660000] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xc0320000, irq=39
[   15.672000] cfg80211: Calling CRDA for country: US
[   15.676000] cfg80211: Regulatory domain changed to country: US
[   15.680000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   15.688000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[   15.696000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[   15.704000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   15.712000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   15.720000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   15.728000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[   16.152000] PPP generic driver version 2.4.2
[   16.544000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   16.836000] NET: Registered protocol family 24
[   17.032000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   17.144000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[   17.148000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[   17.184000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
[   17.200000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[   17.208000] hub 1-0:1.0: USB hub found
[   17.212000] hub 1-0:1.0: 2 ports detected
[   17.392000] nf_conntrack version 0.5.0 (970 buckets, 3880 max)
[   17.776000] usb 1-1: new high-speed USB device number 2 using bcm63xx_ehci
[   17.916000] hub 1-1:1.0: USB hub found
[   17.928000] hub 1-1:1.0: 2 ports detected
[   18.220000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   18.636000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   18.748000] bcm63xx_ohci bcm63xx_ohci.0: BCM63XX integrated OHCI controller
[   18.752000] bcm63xx_ohci bcm63xx_ohci.0: new USB bus registered, assigned bus number 2
[   18.760000] bcm63xx_ohci bcm63xx_ohci.0: irq 13, io mem 0xfffe1400
[   18.828000] hub 2-0:1.0: USB hub found
[   18.832000] hub 2-0:1.0: 1 port detected
[   19.008000] Initializing USB Mass Storage driver...
[   19.012000] usbcore: registered new interface driver usb-storage
[   19.016000] USB Mass Storage support registered.
[   19.056000] usbcore: registered new interface driver ums-alauda
[   19.092000] usbcore: registered new interface driver ums-cypress
[   19.132000] usbcore: registered new interface driver ums-datafab
[   19.168000] usbcore: registered new interface driver ums-freecom
[   19.204000] usbcore: registered new interface driver ums-isd200
[   19.244000] usbcore: registered new interface driver ums-jumpshot
[   19.280000] usbcore: registered new interface driver ums-karma
[   19.320000] usbcore: registered new interface driver ums-sddr09
[   19.356000] usbcore: registered new interface driver ums-sddr55
[   19.392000] usbcore: registered new interface driver ums-usbat
[   19.432000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0[/spoiler] pero nada de ping

muchas gracias por tu trabajo

saludos.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: raphik en 15-07-2012, 22:25 (Domingo)
Este firmware debería ser compatible con todos los modelos de HG556a.
https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32738.bin
...
Espero feedback de todos :3!

En mi router sí funciona. Te he enviado el bootlog, aunque supongo que a estas altura ya no te hará ninguna falta.

Saludos.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 15-07-2012, 22:48 (Domingo)
me gustaría decir que funciona, pero para mi ruter aun no.

el ultimo firmware:

Citar
Insertar Cita
Este firmware debería ser compatible con todos los modelos de HG556a.
https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32738.bin

da el siguiente bootlog

[spoiler]Run from flash/host (f/h)         : f
Default host run file name        : vmlinux
Default host flash file name      : bcm963xx_fs_kernel
Boot delay (0-9 seconds)          : 1
Board Id Name                     : HW556
Psi size in KB                    : 64
Number of MAC Addresses (1-32)    : 10
Base MAC Address                  : 64:16:f0:0a:87:2d
Ethernet PHY Type                 : Internal
Memory size in MB                 : 64
CMT Thread Number                 : 1

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
boot kernel from be020100
Code Address: 0x80010000, Entry Address: 0x80010000
Decompression OK!
Entry at 0x80010000
Closing network.
Starting program at 0x80010000
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sun Jul 15 21:34:58 CEST 2012
[    0.000000] Detected Broadcom 0x6358 CPU revision a1
[    0.000000] CPU frequency is 300 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] registering 40 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 39 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xbe000000
[    0.000000] board_bcm963xx: CFE version: 100.48.56-49.46
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a010 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: HW556
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] Reserving 0MB of memory at 0MB for crashkernel
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Memory: 61896k/65536k available (2225k kernel code, 3640k reserved, 398k data, 196k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 299.26 BogoMIPS (lpj=598528)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.052000] NET: Registered protocol family 16
[    0.068000] registering PCI controller with io_map_base unset
[    0.088000] bio: create slab <bio-0> at 0
[    0.096000] PCI host bridge to bus 0000:00
[    0.100000] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[    0.104000] pci_bus 0000:00: root bus resource [io  0x8000000-0x800ffff]
[    0.120000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x3000ffff]
[    0.124000] Switching to clocksource MIPS
[    0.136000] NET: Registered protocol family 2
[    0.140000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.148000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.156000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.164000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.172000] TCP reno registered
[    0.172000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.180000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.188000] NET: Registered protocol family 1
[    0.192000] pci 0000:00:01.0: fixup device configuration
[    0.204000] audit: initializing netlink socket (disabled)
[    0.212000] type=2000 audit(0.212:1): initialized
[    0.216000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.224000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.236000] msgmni has been set to 120
[    0.240000] io scheduler noop registered
[    0.244000] io scheduler deadline registered (default)
[    0.252000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10) is a bcm63xx_uart
[    0.260000] console [ttyS0] enabled, bootconsole disabled
[    0.260000] console [ttyS0] enabled, bootconsole disabled
[    0.276000] physmap platform flash device: 02000000 at 1e000000
[    0.284000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x00227a
[    0.292000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.300000]   Amd/Fujitsu Extended Query version 1.3.
[    0.304000] number of CFI chips: 1
[    0.308000] bcm63xxpart: CFE boot tag found with version 8 and board type HW556
[    0.316000] bcm63xxpart: Partition 0 is CFE offset 0 and length 20000
[    0.320000] bcm63xxpart: Partition 1 is kernel offset 20100 and length fff00
[    0.328000] bcm63xxpart: Partition 2 is rootfs offset 120000 and length e40000
[    0.336000] bcm63xxpart: Partition 3 is cal_data offset f60000 and length 20000
[    0.344000] bcm63xxpart: Partition 4 is nvram offset fe0000 and length 20000
[    0.352000] bcm63xxpart: Partition 5 is linux offset 20000 and length f40000
[    0.360000] bcm63xxpart: Spare partition is offset 340004 and length c1fffc
[    0.364000] 6 bcm63xxpart partitions found on MTD device physmap-flash.0
[    0.372000] Creating 6 MTD partitions on "physmap-flash.0":
[    0.380000] 0x000000000000-0x000000020000 : "CFE"
[    0.388000] 0x000000020100-0x000000120000 : "kernel"
[    0.392000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.408000] 0x000000120000-0x000000f60000 : "rootfs"
[    0.420000] mtd: partition "rootfs" set to be root filesystem
[    0.424000] mtd: partition "rootfs_data" created automatically, ofs=330000, len=C30000
[    0.432000] 0x000000330000-0x000000f60000 : "rootfs_data"
[    0.444000] 0x000000f60000-0x000000f80000 : "cal_data"
[    0.452000] 0x000000fe0000-0x000001000000 : "nvram"
[    0.460000] 0x000000020000-0x000000f60000 : "linux"
[    0.480000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.492000] TCP cubic registered
[    0.496000] NET: Registered protocol family 17
[    0.500000] 8021q: 802.1Q VLAN Support v1.8
[    0.516000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.524000] Freeing unused kernel memory: 196k freed
awk: /proc/cpuinfo: No such file or directory
[    3.268000] eth0: link forced UP - 100/full - flow control off/off
[    3.488000] roboswitch: Probing device eth0: found a 5325! It's a 5350.
[    4.552000] There is already a switch registered on the device 'eth0'
[    6.020000] Button Hotplug driver version 0.4.1
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[    9.996000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x10000
[   10.004000] Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
[   10.012000] empty_blocks 194, bad_blocks 0, c->nr_blocks 195
switching to jffs2
- init -

Please press Enter to activate this console. [   13.004000] Compat-wireless backport release: compat-wireless-2012-07-03-2-3-g7adf66e
[   13.012000] Backport based on wireless-testing.git master-2012-07-06
[   13.020000] compat.git: wireless-testing.git
[   13.088000] cfg80211: Calling CRDA to update world regulatory domain
[   13.092000] cfg80211: World regulatory domain updated:
[   13.100000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   13.108000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.116000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.124000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.132000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.140000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.580000] NET: Registered protocol family 10
[   14.036000] SCSI subsystem initialized
[   14.128000] There is already a switch registered on the device 'eth0'
[   14.488000] usbcore: registered new interface driver usbfs
[   14.492000] usbcore: registered new interface driver hub
[   14.500000] usbcore: registered new device driver usb
[   15.616000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[   15.632000] ath: phy0: eeprom contains invalid mac address: ff:ff:ff:ff:ff:ff
[   15.640000] ath: phy0: random mac address will be used: 16:a7:6d:d2:11:93
[   15.660000] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xc0320000, irq=39
[   15.672000] cfg80211: Calling CRDA for country: US
[   15.676000] cfg80211: Regulatory domain changed to country: US
[   15.680000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   15.688000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[   15.696000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[   15.704000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   15.712000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   15.720000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   15.728000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[   16.152000] PPP generic driver version 2.4.2
[   16.544000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   16.836000] NET: Registered protocol family 24
[   17.032000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   17.144000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[   17.148000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[   17.184000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
[   17.200000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[   17.208000] hub 1-0:1.0: USB hub found
[   17.212000] hub 1-0:1.0: 2 ports detected
[   17.392000] nf_conntrack version 0.5.0 (970 buckets, 3880 max)
[   17.776000] usb 1-1: new high-speed USB device number 2 using bcm63xx_ehci
[   17.916000] hub 1-1:1.0: USB hub found
[   17.928000] hub 1-1:1.0: 2 ports detected
[   18.220000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   18.636000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   18.748000] bcm63xx_ohci bcm63xx_ohci.0: BCM63XX integrated OHCI controller
[   18.752000] bcm63xx_ohci bcm63xx_ohci.0: new USB bus registered, assigned bus number 2
[   18.760000] bcm63xx_ohci bcm63xx_ohci.0: irq 13, io mem 0xfffe1400
[   18.828000] hub 2-0:1.0: USB hub found
[   18.832000] hub 2-0:1.0: 1 port detected
[   19.008000] Initializing USB Mass Storage driver...
[   19.012000] usbcore: registered new interface driver usb-storage
[   19.016000] USB Mass Storage support registered.
[   19.056000] usbcore: registered new interface driver ums-alauda
[   19.092000] usbcore: registered new interface driver ums-cypress
[   19.132000] usbcore: registered new interface driver ums-datafab
[   19.168000] usbcore: registered new interface driver ums-freecom
[   19.204000] usbcore: registered new interface driver ums-isd200
[   19.244000] usbcore: registered new interface driver ums-jumpshot
[   19.280000] usbcore: registered new interface driver ums-karma
[   19.320000] usbcore: registered new interface driver ums-sddr09
[   19.356000] usbcore: registered new interface driver ums-sddr55
[   19.392000] usbcore: registered new interface driver ums-usbat
[   19.432000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0[/spoiler] pero nada de ping

muchas gracias por tu trabajo

saludos.

¿Lo estás flasheando desde el bootloader? (lo digo porque desde el bootloader se pone la configuración del firmware por defecto)

El firmware, de acuerdo con el bootlog que has colgado debería funcionar perfectamente. ¿Estás seguro de que no tiene nada que ver con la configuración TCP/IP de tu PC?

Saludos.
Título: Re: OpenWRT en Huawei hg556a
Publicado por: Noltari en 15-07-2012, 22:50 (Domingo)
Este firmware debería ser compatible con todos los modelos de HG556a.
https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32738.bin
...
Espero feedback de todos :3!