?>/script>'; } ?> [Desarrollo] OpenWrt en Huawei HG556a Widgets Magazine

Autor Tema: [Desarrollo] OpenWrt en Huawei HG556a  (Leído 2124570 veces)

0 Usuarios y 1 Visitante están viendo este tema.

Noltari

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #560 en: 31-07-2012, 13:42 (Martes) »
Que alguien con un ralink pruebe el siguiente firmware:
https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32910.bin

Probad lo del reinicio y adjuntad un bootlog (dmesg) y un "cat /etc/config/wireless"

Saludos.

manolodd

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #561 en: 31-07-2012, 13:44 (Martes) »
Pues la verdad es que no se.

Voy a probar ahora un par de cosas:

1) Supongo que los puertos ethernet traseros están en bridge. O sea, que conecto a uno de ellos (cualquiera) el WAN y todo el tráfico de la WLAN así como de los equipos conectados al resto de los ethernet deberían enrutarse correctamente. La tabla de rutas del router solo tiene la ruta por defecto.
2) Voy a probar a conectar un disco duro USB al USB a ver que tal va.
3) Voy a probar a hacer un pseudo-roaming-guarrindongo con el otro router que tengo en casa, para tener cobertura buena en el salón, que no me llega muy bien. Esa es mi intención principal con esta historia.

Y luego a tomar por saco todo y volveré a instalar la última versión, a ver si va.

Por cierto:

************
  * 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
************

¿Alguno habéis probado esto? Tengo todos los ingredientes, jeje.

Saludos. Iré reportando los posibles errores que encuentre.

Noltari

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #562 en: 31-07-2012, 13:56 (Martes) »
Pues la verdad es que no se.

Voy a probar ahora un par de cosas:

1) Supongo que los puertos ethernet traseros están en bridge. O sea, que conecto a uno de ellos (cualquiera) el WAN y todo el tráfico de la WLAN así como de los equipos conectados al resto de los ethernet deberían enrutarse correctamente. La tabla de rutas del router solo tiene la ruta por defecto.
2) Voy a probar a conectar un disco duro USB al USB a ver que tal va.
3) Voy a probar a hacer un pseudo-roaming-guarrindongo con el otro router que tengo en casa, para tener cobertura buena en el salón, que no me llega muy bien. Esa es mi intención principal con esta historia.

Y luego a tomar por saco todo y volveré a instalar la última versión, a ver si va.

Por cierto:

************
  * 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
************

¿Alguno habéis probado esto? Tengo todos los ingredientes, jeje.

Saludos. Iré reportando los posibles errores que encuentre.
Las pruebas y el feedback siempre serán bienvenidos :D.

Cada vez que sacan una nueva versión le añaden ingredientes xD.
A mi no me gusta el alcohol, así que os dejo las pruebas en ese campo a vosotros :P.

Saludos.

Noltari

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #563 en: 31-07-2012, 14:07 (Martes) »
Por cierto, estaría muy interesado en conseguir a alguien con un router ralink que no le hubiese flasheado ningún firmware que no sean los del post principal, o que no hubiera sustituido el firmware oficial.

Saludos.

Desconectado geminis_demon

  • Colaborador
  • *
  • Mensajes: 2378
  • Prácticas precisas precisan práctica
Re: OpenWRT en Huawei hg556a
« Respuesta #564 en: 31-07-2012, 16:44 (Martes) »
Que alguien con un ralink pruebe el siguiente firmware:
https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32910.bin

Probad lo del reinicio y adjuntad un bootlog (dmesg) y un "cat /etc/config/wireless"

Saludos.

Ahora me tengo que ir pero esta tarde/noche lo pruebo, gracias.

manolodd

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #565 en: 31-07-2012, 18:58 (Martes) »
Bueno... de momento ya tengo configurado LAN4 como Uplink para Internet (en mi caso será el puerto para conectar al otro router en cascada). Dos VLAN configuradas (una para WAN y el resto, wlan y los puertos restantes del switch, en la otra). Las rutas configuradas y todo funcionando OK. LAN4 recoge OK las IP y DNS de mi ISP y los chismes conectados a WLAN y a LAN1, LAN2 y LAN3 acceden OK a Internet y entre ellos.

He conectado un disco duro vfat a los tres puertos USB y todo OK :-)

Así que ahora lo que intentaré será montar el roaming-chusquero para ver que tal va el asunto.

Saludos. :-P

Edit: He notado que, para los dispositivos que acceden por la WLAN, a veces la conexión se "peta" (cuando tenga un término más concreto, lo comento) y tienen una latéeeeeeeeeeeencia... y a veces timeouts expirados. Cuando conecto el PC al router con el cable UTP (a LAN1..LAN3) y hago ping al router, tengo unos retardos de 0.5 ms más o menos estables y 0% de perdidas. Pero cuando desconecto el PC del router y conecto el PC al router via wifi (WLAN), y vuelvo a hacer el ping, tengo unos retardos medios de 1457 ms (con un jitter elevadísimo) y un 40% de pérdidas. ¿Se os ocurre qué puede ser? Tengo PC y router a 2 metos escasos.

---

Manuel Domínguez-Dorado
www.manolodominguez.com
« Última modificación: 31-07-2012, 19:45 (Martes) por manolodd »

Desconectado jar229

  • Moderador
  • *
  • Mensajes: 4607
Re: OpenWRT en Huawei hg556a
« Respuesta #566 en: 31-07-2012, 20:42 (Martes) »

Edit: He notado que, para los dispositivos que acceden por la WLAN, a veces la conexión se "peta" (cuando tenga un término más concreto, lo comento) y tienen una latéeeeeeeeeeeencia... y a veces timeouts expirados. Cuando conecto el PC al router con el cable UTP (a LAN1..LAN3) y hago ping al router, tengo unos retardos de 0.5 ms más o menos estables y 0% de perdidas. Pero cuando desconecto el PC del router y conecto el PC al router via wifi (WLAN), y vuelvo a hacer el ping, tengo unos retardos medios de 1457 ms (con un jitter elevadísimo) y un 40% de pérdidas. ¿Se os ocurre qué puede ser? Tengo PC y router a 2 metos escasos.

Yo tuve un problema similar, pero en mi caso, usaba el hg556a como cliente wifi de un huawei hg532c (pc conectado al hg556a por cable).
Al parecer, había algún tipo de incompatibilidad en la combinación hg556a (con relayd) y el hg532c.
Los de jazztel me mandaron un comtrend ar5387-un y se acabaron los problemas  ^-^ ^-^
Puedes mirar a ver que uso de CPU tienes en el router cuando se producen los retrasos y perdidas de paquetes ?

De todas formas, si tu intención es amplicar la cobertura wifi, igual lo que deberías hacer es ponerlo como repetidor no ?
El poder prescindir del cable para conectarlo al router principal, seguro que te facilitaría las cosas: https://foro.seguridadwireless.net/openwrt/huawei-hg556a-modo-repetidor-(-openwrt)/

Ah, por cierto le has desactivado el DHCP ?.  Podría ser otra fuente de problemas.

manolodd

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #567 en: 31-07-2012, 21:18 (Martes) »
Buenas,

en cuanto pueda, miro lo de la CPU (ahora mismo lo he empaquetado porque la niña me lo estaba cogiendo). Lo de ponerlo en modo repetidor mola, pero así no se puede aprovechar el USB para colgar un disco duro en el USB ¿no? ¿o si? Es más que nada por eso y por enredar, básicamente (pero enredaré con el repetidor tb, jeje. Gracias por el link).

Lo de quitar el DHCP y ponerlos en cascada es a futuro (futuro=dos días). Ahora mismo lo estoy configurando como si fuese mi router wifi único, de forma aislada. Apago el otro y configuro este. Así que de momento no tiene muchas cosas raras. LAN4 con dhclient conectado al cable de mi ISP y el propio router con dhcpserver sirviendo IPs a cualquiera que se conecte a WLAN o a LAN1, LAN2, LAN3. Yo me conecto con cable del PC al router a LAN1..3 para configurarlo y ahí todo ok (el Internet en el PC tb). Pero si en lugar de conectarme al router via cable a LAN1..3 me conecto via WIFI a WLAN, entonces el internet en el PC va leeeeeeeeento. Así que haciendo ping al router en ambos casos, me salen los resultados que he comentado. No se... que raro. Miraré lo de la CPU.

Cuando lo tenga bien configurado, lo que haré será desactivar el DHCP, enchufar el router wifi de siempre y el Huawei a él, en cascada, con un cable, dejando pasar las peticiones DHCP al de siempre así como el tráfico.

¿No tendrá que ver los problemas con las VLAN? Lo he configurado tal como viene en http://wiki.openwrt.org/toh/huawei/hg556a y la verdad es que no veo nada raro que pudiese dar problemas.

Seguiré investigando.

Desconectado jar229

  • Moderador
  • *
  • Mensajes: 4607
Re: OpenWRT en Huawei hg556a
« Respuesta #568 en: 31-07-2012, 21:45 (Martes) »
Lo del usb lo puedes hacer servir perfectamente usando el modo repetidor.
Lógicamente, la velocidad de acceso, será algo menor ...
De todas formas, me parece que no acabo de entender muy bien tu montaje.
A ver si me aclaro ...
Tienes un router principal, al que desactivas el wifi.
A este, mediante cable conectas el hg556a, y es este, el que da la conexión por wifi y por cable.
De ser así, no tienes que configurar vlan's ni nada por el estilo. Simplemente, configuras el hg556a en un rango de ip's dentro del router principal (y lógicamente le configuras la puerta de enlace y el servidor DNS), le desactivas el DHCP y listos. Todas las peticiones que le lleguen tanto por wifi, como por cable, las redirigirá al otro router.
Si no es eso ... lo siento  ;D

manolodd

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #569 en: 31-07-2012, 23:00 (Martes) »
Jejejeje, que vaaaa. Es que estamos mezclando lo que quiero hacer en unos días con lo que estoy haciendo ahora.

A todos los efectos, no tengo más que el hg556a, porque el linksys que tengo lo he apagado para hacer todas las pruebas. Y con el hg556a estoy haciendo montaje típico. El modem-cable de mi ISP a una de las bocas del hg556a y éste sirviendo red por los otros tres puertos ethernet y la wifi. La cosa es que para que el hg556a use como uplink una de las bocas ethernet en lugar de la boca ADSL, he tenido que montar VLANS, tal como se explica en el enlace que he visto en este foro. Y va ok EXCEPTO por lo de los retardos y pérdidas con aquellos aparatos que se conectan via WIFI (los que se conectan en LAN1..LAN3 del hg556a, sin problemas).

Ahora... cuando ya tenga el hg556a funcionando como un router wifi neutro normal y corriente, haré la parafernalia de conectarlo al linksys, que ahora mismo como si no estuviese porque está apagado, y hacer el rollo del roaming, pero eso será después. Ahora mismo estoy con un montaje básico del todo.

:-)

La verdad es que he liado un poco el asunto adelantando lo que tenía pensado hacer, jeje. Lo que no consigo saber es por qué esas pérdidas y ese retraso al conectar al hg556a por wifi (tanto en el acceso a Internet como en la propia conexión hacia el router).


Desconectado geminis_demon

  • Colaborador
  • *
  • Mensajes: 2378
  • Prácticas precisas precisan práctica
Re: OpenWRT en Huawei hg556a
« Respuesta #570 en: 01-08-2012, 04:05 (Miércoles) »
Que alguien con un ralink pruebe el siguiente firmware:
https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32910.bin

Probad lo del reinicio y adjuntad un bootlog (dmesg) y un "cat /etc/config/wireless"

Saludos.

Primer inicio, conectado correctamente en modo cliente:

[spoiler=dmesg]
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Tue Jul 31 13:39:53 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] HW556: Unable to find ath9k caldata.
[    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 8029f890, 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: 61876k/65536k available (2225k kernel code, 3660k reserved, 397k data, 200k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 297.98 BogoMIPS (lpj=595968)
[    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 ce0000
[    0.328000] bcm63xxpart: Partition 3 is cal_data offset e00000 and length 1e0000
[    0.336000] bcm63xxpart: Partition 4 is nvram offset fe0000 and length 20000
[    0.344000] bcm63xxpart: Spare partition is offset 340004 and length abfffc
[    0.348000] 5 bcm63xxpart partitions found on MTD device physmap-flash.0
[    0.356000] Creating 5 MTD partitions on "physmap-flash.0":
[    0.364000] 0x000000000000-0x000000020000 : "CFE"
[    0.372000] 0x000000020100-0x000000120000 : "kernel"
[    0.376000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.392000] 0x000000120000-0x000000e00000 : "rootfs"
[    0.404000] mtd: partition "rootfs" set to be root filesystem
[    0.408000] mtd: partition "rootfs_data" created automatically, ofs=340000, len=AC0000
[    0.416000] 0x000000340000-0x000000e00000 : "rootfs_data"
[    0.428000] 0x000000e00000-0x000000fe0000 : "cal_data"
[    0.436000] 0x000000fe0000-0x000001000000 : "nvram"
[    0.456000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.464000] Registered led device: HW556:red:message
[    0.464000] Registered led device: HW556:red:hspa
[    0.464000] Registered led device: HW556:red:dsl
[    0.464000] Registered led device: HW556:red:power
[    0.468000] Registered led device: HW556:red:all
[    0.468000] TCP cubic registered
[    0.472000] NET: Registered protocol family 17
[    0.476000] 8021q: 802.1Q VLAN Support v1.8
[    0.488000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.500000] Freeing unused kernel memory: 200k freed
[    3.164000] eth0: link forced UP - 100/full - flow control off/off
[    3.384000] roboswitch: Probing device eth0: found a 5325! It's a 5350.
[    4.452000] There is already a switch registered on the device 'eth0'
[    5.916000] Button Hotplug driver version 0.4.1
[   12.740000] Compat-wireless backport release: compat-wireless-2012-07-13
[   12.748000] Backport based on wireless-testing.git master-2012-07-16
[   12.756000] compat.git: wireless-testing.git
[   12.824000] cfg80211: Calling CRDA to update world regulatory domain
[   12.828000] cfg80211: World regulatory domain updated:
[   12.836000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.844000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.852000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.860000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.868000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.876000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.316000] NET: Registered protocol family 10
[   13.772000] SCSI subsystem initialized
[   13.864000] There is already a switch registered on the device 'eth0'
[   14.220000] usbcore: registered new interface driver usbfs
[   14.224000] usbcore: registered new interface driver hub
[   14.232000] usbcore: registered new device driver usb
[   15.380000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[   15.388000] rt2800pci 0000:00:01.0: setting latency timer to 64
[   15.572000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   15.572000] Registered led device: rt2800pci-phy0::radio
[   15.572000] Registered led device: rt2800pci-phy0::assoc
[   15.576000] Registered led device: rt2800pci-phy0::quality
[   15.920000] PPP generic driver version 2.4.2
[   16.308000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   16.596000] NET: Registered protocol family 24
[   16.792000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   16.904000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[   16.908000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[   16.944000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
[   16.960000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[   16.968000] hub 1-0:1.0: USB hub found
[   16.972000] hub 1-0:1.0: 2 ports detected
[   17.152000] nf_conntrack version 0.5.0 (969 buckets, 3876 max)
[   17.944000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   18.356000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   18.464000] bcm63xx_ohci bcm63xx_ohci.0: BCM63XX integrated OHCI controller
[   18.468000] bcm63xx_ohci bcm63xx_ohci.0: new USB bus registered, assigned bus number 2
[   18.476000] bcm63xx_ohci bcm63xx_ohci.0: irq 13, io mem 0xfffe1400
[   18.544000] hub 2-0:1.0: USB hub found
[   18.548000] hub 2-0:1.0: 1 port detected
[   18.720000] Initializing USB Mass Storage driver...
[   18.728000] usbcore: registered new interface driver usb-storage
[   18.732000] USB Mass Storage support registered.
[   18.768000] usbcore: registered new interface driver ums-alauda
[   18.808000] usbcore: registered new interface driver ums-cypress
[   18.844000] usbcore: registered new interface driver ums-datafab
[   18.880000] usbcore: registered new interface driver ums-freecom
[   18.916000] usbcore: registered new interface driver ums-isd200
[   18.956000] usbcore: registered new interface driver ums-jumpshot
[   18.992000] usbcore: registered new interface driver ums-karma
[   19.028000] usbcore: registered new interface driver ums-sddr09
[   19.064000] usbcore: registered new interface driver ums-sddr55
[   19.104000] usbcore: registered new interface driver ums-usbat
[   19.140000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   24.800000] eth0: link forced UP - 100/full - flow control off/off
[   24.812000] device eth0 entered promiscuous mode
[   24.820000] br-lan: port 1(eth0) entered forwarding state
[   24.828000] br-lan: port 1(eth0) entered forwarding state
[   26.828000] br-lan: port 1(eth0) entered forwarding state
[   46.224000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   46.236000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   46.240000] jffs2_build_filesystem(): erasing all blocks after the end marker...
[   93.208000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[   95.496000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[   97.776000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  105.296000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  109.236000] done.
[  109.240000] JFFS2 notice: (1064) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[  127.800000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  158.196000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  162.240000] wlan0: authenticate with 00:19:70:XX:XX:XX
[  162.288000] wlan0: send auth to 00:19:70:XX:XX:XX (try 1/3)
[  162.296000] wlan0: authenticated
[  162.332000] wlan0: associate with 00:19:70:XX:XX:XX (try 1/3)
[  162.344000] wlan0: RX AssocResp from 00:19:70:XX:XX:XX (capab=0x431 status=0 aid=1)
[  162.352000] wlan0: associated
[  162.356000] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  220.140000] br-lan: port 1(eth0) entered disabled state
[  220.184000] device eth0 left promiscuous mode
[  220.188000] br-lan: port 1(eth0) entered disabled state
[  220.224000] eth0: link forced UP - 100/full - flow control off/off
[  220.272000] device eth0 entered promiscuous mode
[  220.300000] br-lan: port 1(eth0) entered forwarding state
[  220.304000] br-lan: port 1(eth0) entered forwarding state
[  221.924000] wlan0: deauthenticating from 00:19:70:XX:XX:XX by local choice (reason=3)
[  222.308000] br-lan: port 1(eth0) entered forwarding state
[  223.532000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  227.104000] wlan0: authenticate with 00:19:70:XX:XX:XX
[  227.156000] wlan0: send auth to 00:19:70:XX:XX:XX (try 1/3)
[  227.164000] wlan0: authenticated
[  227.204000] wlan0: associate with 00:19:70:XX:XX:XX (try 1/3)
[  227.216000] wlan0: RX AssocResp from 00:19:70:XX:XX:XX (capab=0x431 status=0 aid=1)
[  227.224000] wlan0: associated
[  227.228000] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

[/spoiler]

[spoiler=cat /etc/config/wireless]
config wifi-device 'radio0'
        option type 'mac80211'
        option macaddr 'c6:a2:77:XX:XX:XX'
        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 network 'wwan'
        option ssid 'WIFI'
        option encryption 'psk2'
        option device 'radio0'
        option mode 'sta'
        option bssid '00:19:70:XX:XX:XX'
        option key '1234567890'


[/spoiler]

Despues de un reboot:

[spoiler=dmesg]
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Tue Jul 31 13:39:53 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] HW556: Unable to find ath9k caldata.
[    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 8029f890, 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: 61876k/65536k available (2225k kernel code, 3660k reserved, 397k data, 200k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 297.98 BogoMIPS (lpj=595968)
[    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 ce0000
[    0.328000] bcm63xxpart: Partition 3 is cal_data offset e00000 and length 1e0000
[    0.336000] bcm63xxpart: Partition 4 is nvram offset fe0000 and length 20000
[    0.344000] bcm63xxpart: Spare partition is offset 340004 and length abfffc
[    0.348000] 5 bcm63xxpart partitions found on MTD device physmap-flash.0
[    0.356000] Creating 5 MTD partitions on "physmap-flash.0":
[    0.364000] 0x000000000000-0x000000020000 : "CFE"
[    0.372000] 0x000000020100-0x000000120000 : "kernel"
[    0.376000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.392000] 0x000000120000-0x000000e00000 : "rootfs"
[    0.404000] mtd: partition "rootfs" set to be root filesystem
[    0.408000] mtd: partition "rootfs_data" created automatically, ofs=340000, len=AC0000
[    0.416000] 0x000000340000-0x000000e00000 : "rootfs_data"
[    0.428000] 0x000000e00000-0x000000fe0000 : "cal_data"
[    0.436000] 0x000000fe0000-0x000001000000 : "nvram"
[    0.456000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.464000] Registered led device: HW556:red:message
[    0.464000] Registered led device: HW556:red:hspa
[    0.464000] Registered led device: HW556:red:dsl
[    0.464000] Registered led device: HW556:red:power
[    0.468000] Registered led device: HW556:red:all
[    0.468000] TCP cubic registered
[    0.472000] NET: Registered protocol family 17
[    0.476000] 8021q: 802.1Q VLAN Support v1.8
[    0.488000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.500000] Freeing unused kernel memory: 200k freed
[    3.196000] eth0: link forced UP - 100/full - flow control off/off
[    3.416000] roboswitch: Probing device eth0: found a 5325! It's a 5350.
[    4.480000] There is already a switch registered on the device 'eth0'
[    5.944000] Button Hotplug driver version 0.4.1
[    9.944000] JFFS2 notice: (337) 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.912000] Compat-wireless backport release: compat-wireless-2012-07-13
[   12.920000] Backport based on wireless-testing.git master-2012-07-16
[   12.928000] compat.git: wireless-testing.git
[   12.992000] cfg80211: Calling CRDA to update world regulatory domain
[   12.996000] cfg80211: World regulatory domain updated:
[   13.004000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   13.012000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.020000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.028000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.036000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.044000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.488000] NET: Registered protocol family 10
[   13.940000] SCSI subsystem initialized
[   14.032000] There is already a switch registered on the device 'eth0'
[   14.388000] usbcore: registered new interface driver usbfs
[   14.396000] usbcore: registered new interface driver hub
[   14.404000] usbcore: registered new device driver usb
[   15.548000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[   15.556000] rt2800pci 0000:00:01.0: setting latency timer to 64
[   15.740000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   15.740000] Registered led device: rt2800pci-phy0::radio
[   15.740000] Registered led device: rt2800pci-phy0::assoc
[   15.740000] Registered led device: rt2800pci-phy0::quality
[   16.092000] PPP generic driver version 2.4.2
[   16.480000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   16.768000] NET: Registered protocol family 24
[   16.968000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   17.076000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[   17.080000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[   17.116000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
[   17.132000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[   17.140000] hub 1-0:1.0: USB hub found
[   17.144000] hub 1-0:1.0: 2 ports detected
[   17.324000] nf_conntrack version 0.5.0 (969 buckets, 3876 max)
[   18.116000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   18.528000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   18.636000] bcm63xx_ohci bcm63xx_ohci.0: BCM63XX integrated OHCI controller
[   18.640000] bcm63xx_ohci bcm63xx_ohci.0: new USB bus registered, assigned bus number 2
[   18.648000] bcm63xx_ohci bcm63xx_ohci.0: irq 13, io mem 0xfffe1400
[   18.716000] hub 2-0:1.0: USB hub found
[   18.720000] hub 2-0:1.0: 1 port detected
[   18.896000] Initializing USB Mass Storage driver...
[   18.900000] usbcore: registered new interface driver usb-storage
[   18.904000] USB Mass Storage support registered.
[   18.940000] usbcore: registered new interface driver ums-alauda
[   18.980000] usbcore: registered new interface driver ums-cypress
[   19.016000] usbcore: registered new interface driver ums-datafab
[   19.052000] usbcore: registered new interface driver ums-freecom
[   19.092000] usbcore: registered new interface driver ums-isd200
[   19.128000] usbcore: registered new interface driver ums-jumpshot
[   19.164000] usbcore: registered new interface driver ums-karma
[   19.200000] usbcore: registered new interface driver ums-sddr09
[   19.240000] usbcore: registered new interface driver ums-sddr55
[   19.276000] usbcore: registered new interface driver ums-usbat
[   19.316000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   24.736000] eth0: link forced UP - 100/full - flow control off/off
[   24.760000] device eth0 entered promiscuous mode
[   24.776000] br-lan: port 1(eth0) entered forwarding state
[   24.780000] br-lan: port 1(eth0) entered forwarding state
[   26.784000] br-lan: port 1(eth0) entered forwarding state

[/spoiler]

[spoiler=cat /etc/config/wireless]
config wifi-device 'radio0'
        option type 'mac80211'
        option macaddr 'c6:a2:77:XX:XX:XX'
        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 network 'wwan'                                                                                                                                                           
        option ssid 'WIFI'                                                                                                                                                         
        option encryption 'psk2'                                                                                                                                                       
        option device 'radio0'                                                                                                                                                         
        option mode 'sta'                                                                                                                                                               
        option bssid '00:19:70:XX:XX:XX'                                                                                                                                               
        option key '1234567890'

config wifi-device  radio1
        option type     mac80211
        option channel  11
        option macaddr  72:25:2b:XX:XX:XX
        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
        # REMOVE THIS LINE TO ENABLE WIFI:
        option disabled 1

config wifi-iface
        option device   radio1
        option network  lan
        option mode     ap
        option ssid     OpenWrt
        option encryption none


[/spoiler]

Noltari

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #571 en: 01-08-2012, 21:50 (Miércoles) »
Tengo noticias sobre los modelos de este router con Ralink.

He conseguido confirmar gracias al usuario malord que los modelos Ralink de este router sí tienen los datos de calibración del wifi almacenados en la flash.
Concretamente en el offset 0xeffe00, como anteriormente especifiqué en uno de mis parches.


Voy a modificar los parches para extraer los datos de la flash como en otras plataformas y cuando consiga un firmware funcional intentaremos recuperar los datos de calibración de los usuarios que lo necesiten.

Saludos.

Noltari

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #572 en: 02-08-2012, 01:53 (Jueves) »
En este firmware he actualizado los parches para seleccionar si se quiere activar el endian check de la eeprom ath9k.
A parte de eso, genera el firmware del ralink a partir de los caldata del ralink. (o debería, eso es lo que quiero probar).

Nuevo firmware:
https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32934.bin

Parches SVN:
https://dl.dropbox.com/u/4708147/openwrt/hw556/hw556_svn.patch

Por favor, que alguien con un atheros confirme que le funciona el wifi.

malord por favor instala el firmware en tu router y mándame un dmesg:
dmesg > /www/dmesg.txt
En el navegador del PC:
http://192.168.1.1/dmesg.txt

Saludos.
« Última modificación: 02-08-2012, 01:54 (Jueves) por Noltari »

Elnef

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #573 en: 02-08-2012, 04:21 (Jueves) »
Yo me ofrezco para ayudaros pero desconozco como saber si es un ralink o un atheros.

emeryth

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #574 en: 02-08-2012, 12:00 (Jueves) »
Hola Noltari, e probado tu ultimo firmware wl r32934 en mi atheros, pero no aparece la wifi

dmesg.txt [spoiler][    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Thu Aug 2 01:08:15 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] HW556: ath9k caldata offset 0xefe000
[    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 802a3d60, 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: 61848k/65536k available (2237k kernel code, 3688k reserved, 403k 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] 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.232000] 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.256000] console [ttyS0] enabled, bootconsole disabled
[    0.276000] physmap platform flash device: 02000000 at 1e000000
[    0.280000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x00227e
[    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 ce0000
[    0.336000] bcm63xxpart: Partition 3 is cal_data offset e00000 and length 1e0000
[    0.344000] bcm63xxpart: Partition 4 is nvram offset fe0000 and length 20000
[    0.352000] bcm63xxpart: Partition 5 is linux offset 20000 and length de0000
[    0.360000] bcm63xxpart: Spare partition is offset 340004 and length abfffc
[    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-0x000000e00000 : "rootfs"
[    0.420000] mtd: partition "rootfs" set to be root filesystem
[    0.424000] mtd: partition "rootfs_data" created automatically, ofs=340000, len=AC0000
[    0.432000] 0x000000340000-0x000000e00000 : "rootfs_data"
[    0.444000] 0x000000e00000-0x000000fe0000 : "cal_data"
[    0.452000] 0x000000fe0000-0x000001000000 : "nvram"
[    0.460000] 0x000000020000-0x000000e00000 : "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.488000] 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: 200k freed
[    3.228000] eth0: link forced UP - 100/full - flow control off/off
[    3.480000] roboswitch: Probing device eth0: found a 5325! It's a 5350.
[    4.544000] There is already a switch registered on the device 'eth0'
[    5.884000] Button Hotplug driver version 0.4.1
[   13.000000] Compat-wireless backport release: compat-wireless-2012-07-13
[   13.004000] Backport based on wireless-testing.git master-2012-07-16
[   13.012000] compat.git: wireless-testing.git
[   13.076000] cfg80211: Calling CRDA to update world regulatory domain
[   13.080000] cfg80211: World regulatory domain updated:
[   13.088000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   13.096000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.104000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.112000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.120000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.128000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.544000] NET: Registered protocol family 10
[   13.952000] SCSI subsystem initialized
[   14.040000] There is already a switch registered on the device 'eth0'
[   14.308000] usbcore: registered new interface driver usbfs
[   14.312000] usbcore: registered new interface driver hub
[   14.320000] usbcore: registered new device driver usb
[   15.032000] Broadcom 43xx driver loaded [ Features: PNL ]
[   15.256000] PPP generic driver version 2.4.2
[   15.636000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   16.204000] NET: Registered protocol family 24
[   16.540000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   16.652000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[   16.656000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[   16.692000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
[   16.708000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[   16.716000] hub 1-0:1.0: USB hub found
[   16.720000] hub 1-0:1.0: 2 ports detected
[   16.768000] nf_conntrack version 0.5.0 (969 buckets, 3876 max)
[   17.216000] usb 1-1: new high-speed USB device number 2 using bcm63xx_ehci
[   17.684000] hub 1-1:1.0: USB hub found
[   17.696000] hub 1-1:1.0: 2 ports detected
[   17.856000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   18.256000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   18.368000] bcm63xx_ohci bcm63xx_ohci.0: BCM63XX integrated OHCI controller
[   18.372000] bcm63xx_ohci bcm63xx_ohci.0: new USB bus registered, assigned bus number 2
[   18.380000] bcm63xx_ohci bcm63xx_ohci.0: irq 13, io mem 0xfffe1400
[   18.448000] hub 2-0:1.0: USB hub found
[   18.452000] hub 2-0:1.0: 1 port detected
[   18.504000] Initializing USB Mass Storage driver...
[   18.512000] usbcore: registered new interface driver usb-storage
[   18.516000] USB Mass Storage support registered.
[   18.704000] usbcore: registered new interface driver ums-alauda
[   18.740000] usbcore: registered new interface driver ums-cypress
[   18.776000] usbcore: registered new interface driver ums-datafab
[   18.812000] usbcore: registered new interface driver ums-freecom
[   18.848000] usbcore: registered new interface driver ums-isd200
[   18.884000] usbcore: registered new interface driver ums-jumpshot
[   18.920000] usbcore: registered new interface driver ums-karma
[   18.960000] usbcore: registered new interface driver ums-sddr09
[   18.996000] usbcore: registered new interface driver ums-sddr55
[   19.188000] usbcore: registered new interface driver ums-usbat
[   19.224000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   24.520000] eth0: link forced UP - 100/full - flow control off/off
[   24.544000] device eth0 entered promiscuous mode
[   24.556000] br-lan: port 1(eth0) entered forwarding state
[   24.560000] br-lan: port 1(eth0) entered forwarding state
[   26.564000] br-lan: port 1(eth0) entered forwarding state
[   46.092000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   46.100000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   46.104000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[  110.444000] JFFS2 notice: (1045) 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]

espero te sirva de algo

saludos

Desconectado jar229

  • Moderador
  • *
  • Mensajes: 4607
Re: OpenWRT en Huawei hg556a
« Respuesta #575 en: 02-08-2012, 12:58 (Jueves) »
Del dmseg de emeryth

Citar
[   15.032000] Broadcom 43xx driver loaded [ Features: PNL ]

Está intentando cargar el driver broadcom para el wireless ??  ???

Elnef: Para saber si tienes ralink o 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

También debería valerte esto:

...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



Noltari

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #576 en: 02-08-2012, 15:26 (Jueves) »
Perdonad, pero me ha troleado el profile xD...

Repetid las pruebas con este firmware por favor:
https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32948.bin

Saludos.

emeryth

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #577 en: 02-08-2012, 15:58 (Jueves) »
Perdonad, pero me ha troleado el profile xD...

Repetid las pruebas con este firmware por favor:
https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32948.bin

Saludos.

en este firmware, si funciona el 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) ) #1 Thu Aug 2 14:58:50 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] HW556: ath9k caldata offset 0xefe000
[    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 802a3d60, 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: 61848k/65536k available (2237k kernel code, 3688k reserved, 403k 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] 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.232000] 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 0x0000c2 Chip ID 0x00227e
[    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 ce0000
[    0.336000] bcm63xxpart: Partition 3 is cal_data offset e00000 and length 1e0000
[    0.344000] bcm63xxpart: Partition 4 is nvram offset fe0000 and length 20000
[    0.352000] bcm63xxpart: Partition 5 is linux offset 20000 and length de0000
[    0.360000] bcm63xxpart: Spare partition is offset 340004 and length abfffc
[    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-0x000000e00000 : "rootfs"
[    0.420000] mtd: partition "rootfs" set to be root filesystem
[    0.424000] mtd: partition "rootfs_data" created automatically, ofs=340000, len=AC0000
[    0.432000] 0x000000340000-0x000000e00000 : "rootfs_data"
[    0.444000] 0x000000e00000-0x000000fe0000 : "cal_data"
[    0.452000] 0x000000fe0000-0x000001000000 : "nvram"
[    0.460000] 0x000000020000-0x000000e00000 : "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: 200k freed
[    3.224000] eth0: link forced UP - 100/full - flow control off/off
[    3.444000] roboswitch: Probing device eth0: found a 5325! It's a 5350.
[    4.508000] There is already a switch registered on the device 'eth0'
[    5.976000] Button Hotplug driver version 0.4.1
[   12.820000] Compat-wireless backport release: compat-wireless-2012-07-13
[   12.828000] Backport based on wireless-testing.git master-2012-07-16
[   12.836000] compat.git: wireless-testing.git
[   12.904000] cfg80211: Calling CRDA to update world regulatory domain
[   12.908000] cfg80211: World regulatory domain updated:
[   12.916000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.924000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.932000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.940000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.948000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.956000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.400000] NET: Registered protocol family 10
[   13.856000] SCSI subsystem initialized
[   13.948000] There is already a switch registered on the device 'eth0'
[   14.300000] usbcore: registered new interface driver usbfs
[   14.304000] usbcore: registered new interface driver hub
[   14.312000] usbcore: registered new device driver usb
[   15.432000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[   15.448000] ath: phy0: eeprom contains invalid mac address: ff:ff:ff:ff:ff:ff
[   15.452000] ath: phy0: random mac address will be used: 4a:60:da:bb:d8:1b
[   15.464000] ath: EEPROM regdomain: 0x0
[   15.464000] ath: EEPROM indicates default country code should be used
[   15.464000] ath: doing EEPROM country->regdmn map search
[   15.464000] ath: country maps to regdmn code: 0x3a
[   15.464000] ath: Country alpha2 being used: US
[   15.464000] ath: Regpair used: 0x3a
[   15.476000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   15.476000] Registered led device: ath9k-phy0
[   15.476000] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xc0320000, irq=39
[   15.488000] cfg80211: Calling CRDA for country: US
[   15.492000] cfg80211: Regulatory domain changed to country: US
[   15.496000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   15.504000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[   15.512000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[   15.520000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   15.528000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   15.536000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   15.544000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[   15.964000] PPP generic driver version 2.4.2
[   16.348000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   16.640000] NET: Registered protocol family 24
[   16.836000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   16.948000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[   16.952000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[   16.988000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
[   17.004000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[   17.012000] hub 1-0:1.0: USB hub found
[   17.016000] hub 1-0:1.0: 2 ports detected
[   17.196000] nf_conntrack version 0.5.0 (969 buckets, 3876 max)
[   17.984000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   18.400000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   18.512000] bcm63xx_ohci bcm63xx_ohci.0: BCM63XX integrated OHCI controller
[   18.516000] bcm63xx_ohci bcm63xx_ohci.0: new USB bus registered, assigned bus number 2
[   18.524000] bcm63xx_ohci bcm63xx_ohci.0: irq 13, io mem 0xfffe1400
[   18.592000] hub 2-0:1.0: USB hub found
[   18.596000] hub 2-0:1.0: 1 port detected
[   18.768000] Initializing USB Mass Storage driver...
[   18.776000] usbcore: registered new interface driver usb-storage
[   18.780000] USB Mass Storage support registered.
[   18.816000] usbcore: registered new interface driver ums-alauda
[   18.856000] usbcore: registered new interface driver ums-cypress
[   18.892000] usbcore: registered new interface driver ums-datafab
[   18.928000] usbcore: registered new interface driver ums-freecom
[   18.968000] usbcore: registered new interface driver ums-isd200
[   18.980000] usb 2-1: new full-speed USB device number 2 using bcm63xx_ohci
[   19.012000] usbcore: registered new interface driver ums-jumpshot
[   19.048000] usbcore: registered new interface driver ums-karma
[   19.088000] usbcore: registered new interface driver ums-sddr09
[   19.124000] usbcore: registered new interface driver ums-sddr55
[   19.136000] usb 2-1: not running at top speed; connect to a high speed hub
[   19.156000] hub 2-1:1.0: USB hub found
[   19.164000] hub 2-1:1.0: 2 ports detected
[   19.188000] usbcore: registered new interface driver ums-usbat
[   19.224000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   25.016000] eth0: link forced UP - 100/full - flow control off/off
[   25.040000] device eth0 entered promiscuous mode
[   25.052000] br-lan: port 1(eth0) entered forwarding state
[   25.056000] br-lan: port 1(eth0) entered forwarding state
[   27.060000] br-lan: port 1(eth0) entered forwarding state
[   43.412000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   43.428000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   43.432000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[  107.328000] JFFS2 notice: (1078) 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]

PD: Noltari podría ser posible, que en tu próxima compilación pongas el kernel 3.3.8-1 porque hay muchos paquetes que tienen esa dependencia. gracias

saludos
 

emeryth

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #578 en: 02-08-2012, 16:04 (Jueves) »
hola, porque sera que muchos paquetes piden dependencia del kernel 3.3.8-1 pero e mirado y ese es el kernel que esta compilado en el firmware. (kernel   3.3.8-1-f9356d69a7ecd91c1c05a1abc630cf31)

Citar
Installing kmod-fs-ext4 (3.3.8-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/brcm63xx/packages/kmod-fs-ext4_3.3.8-1_brcm63xx.ipk.
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-fs-ext4:
 *    kernel (= 3.3.8-1-d84cefb39b2dcbdf806cc779398b6f69) *    kernel (= 3.3.8-1-d84cefb39b2dcbdf806cc779398b6f69) *
 * opkg_install_cmd: Cannot install package kmod-fs-ext4.

maniel

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #579 en: 02-08-2012, 16:05 (Jueves) »
Hola e instalado la ultima version del firmware y cuando el recovery termina, cambio los ajustes del adaptador y entonces me asigna una ip rara y no pone una puerta de enlace predeterminada, es decir el router aparentemente funciona ya que me asigna una ip pero al no darme una puerta de enlace no puedo acceder a el ni por la interfaz LuCi ni por SSH.

PD: Noltari podrias resubir el firm con los modulos de audio de nuevo, es que estoy bastante interesado en ese tema.

Gracias a todos por adelantado y Salu2.