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

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

0 Usuarios y 2 Visitantes están viendo este tema.

Noltari

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #380 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!

Noltari

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #381 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.

Desconectado jar229

  • Moderador
  • *
  • Mensajes: 4607
Re: Re: OpenWRT en Huawei hg556a
« Respuesta #382 en: 13-07-2012, 17:47 (Viernes) »
En un rato llego a casa y lo pruebo ;)

Enviado desde mi u8500 usando Tapatalk 2

raphik

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #383 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
« Última modificación: 13-07-2012, 18:57 (Viernes) por raphik »

Noltari

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #384 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.

raphik

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #385 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.

Desconectado jar229

  • Moderador
  • *
  • Mensajes: 4607
Re: OpenWRT en Huawei hg556a
« Respuesta #386 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

[    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  ;)

raphik

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #387 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  ;)


Desconectado jar229

  • Moderador
  • *
  • Mensajes: 4607
Re: OpenWRT en Huawei hg556a
« Respuesta #388 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  :-\
« Última modificación: 13-07-2012, 20:41 (Viernes) por jar229 »

Noltari

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #389 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 :$...

Desconectado jar229

  • Moderador
  • *
  • Mensajes: 4607
Re: OpenWRT en Huawei hg556a
« Respuesta #390 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

[    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]

felixsg

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #391 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

raphik

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #392 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.
...
« Última modificación: 19-07-2012, 08:52 (Jueves) por raphik »

raphik

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #393 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.

Desconectado jar229

  • Moderador
  • *
  • Mensajes: 4607
Re: OpenWRT en Huawei hg556a
« Respuesta #394 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  ;)

Noltari

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #395 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.

raphik

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #396 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.
« Última modificación: 13-07-2012, 23:03 (Viernes) por raphik »

SERASER

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #397 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.

Noltari

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #398 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!

raphik

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #399 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?