Autor Tema: [Desarrollo] OpenWRT en Nucom R5000un  (Leído 1687 veces)

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

BernoO

  • Visitante
[Desarrollo] OpenWRT en Nucom R5000un
« en: 29-05-2017, 16:00 (Lunes) »
Bueno, este router hace rato que se intentaba cargar Openwrt, y el cual estuvo cerca como veremos más adelante, pero faltaba un paso, y gracias a danitool ya está. Solo falta compilar una imagen propia con la correción del GPIO de los leds y estamos.

Resulta que en este thread de Openwrt...

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

...estaban jugando con un router similar a este, un D-Link DSL-2750U Hw T1. Resulta que es IGUAL al Nucom (OJO: No la V2) y por eso pude probar con imagenes fabricadas para los routers que tuvieran esta combinación de CPU y WiFi, en este caso un CPU BCM63281 y una WiFi BCM43225, 64 MB en RAM DDR2 y una memoria SPI de 16 MB.

Acá la lista de routers compatibles:

Listado en Wikidevi

La cosa es que en este mismo thread, estaba el problema de que cargaba Openwrt, pero no guardaba la config...


Ahora, hace poco, se pudo avanzar en otro Nucom gracias a danitool, un r5010unv2, que también comparte demasiadas cosas con este Nucom, a excepción del WiFi.

https://wiki.openwrt.org/toh/nucom/r5010unv2


El procedimiento es tecnicamente el mismo. Se hace el flash del CFE del Nucom r5010unv2, y luego se instala una imagen compatible via el modo de emergencia.

La imagen que logra guardar las configuraciones es la de Comtrend AR-5381u (testeada CC 15.05)

https://wiki.openwrt.org/toh/comtrend/ar5381u


...que tiene el mismo modulo WiFi, y practicamente similar a este Nucom.

Obviamente, el GPIO no funciona, y espero que me puedan guiar para finalmente compilar una imagen con la corrección de GPIO para dejarlo completamente funcional. De todas formas, las lan están asignadas de forma fisica, tengo actualmente instalado el router como cliente WiFi sin problemas, y extrañamente la luz WiFi enciende y apaga de acuerdo a la activacion o desactivacion de la misma...pero finalmente tenemos luz verde con este modelo.

Aqui va el System Log obtenido via LuCi

Código: [Seleccionar]
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.324000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x10ffffff]
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.328000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.332000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
Sun Sep  6 18:12:18 2015 kern.debug kernel: [    0.336000] pci 0000:00:00.0: [14e4:6328] type 01 class 0x060400
Sun Sep  6 18:12:18 2015 kern.debug kernel: [    0.336000] pci 0000:00:00.0: PME# supported from D0 D3hot
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.336000] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
Sun Sep  6 18:12:18 2015 kern.debug kernel: [    0.340000] pci 0000:01:00.0: [14e4:a8d8] type 00 class 0x028000
Sun Sep  6 18:12:18 2015 kern.debug kernel: [    0.340000] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
Sun Sep  6 18:12:18 2015 kern.debug kernel: [    0.340000] pci 0000:01:00.0: supports D1 D2
Sun Sep  6 18:12:18 2015 kern.debug kernel: [    0.340000] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
Sun Sep  6 18:12:18 2015 kern.debug kernel: [    0.340000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.340000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.344000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.348000] pci 0000:00:00.0: PCI bridge to [bus 01]
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.352000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.356000] Switched to clocksource MIPS
Sun Sep  6 18:12:18 2015 kern.warn kernel: [    0.360000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
Sun Sep  6 18:12:18 2015 kern.warn kernel: [    0.368000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.372000] bcma: bus0: Found chip with id 43225, rev 0x01 and package 0x0A
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.380000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.388000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.396000] bcma: bus0: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
Sun Sep  6 18:12:18 2015 kern.warn kernel: [    0.532000] bcma: bus0: Invalid SPROM read from the PCIe card, trying to use fallback SPROM
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.556000] bcma: bus0: Bus registered
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.560000] NET: Registered protocol family 2
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.568000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.576000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.580000] TCP: Hash tables configured (established 1024 bind 1024)
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.588000] TCP: reno registered
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.592000] UDP hash table entries: 256 (order: 0, 4096 bytes)
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.596000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.604000] NET: Registered protocol family 1
Sun Sep  6 18:12:18 2015 kern.debug kernel: [    0.608000] PCI: CLS 0 bytes, default 16
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.612000] futex hash table entries: 256 (order: -1, 3072 bytes)
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.620000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.624000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.636000] msgmni has been set to 117
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.640000] io scheduler noop registered
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.644000] io scheduler deadline registered (default)
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.652000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36, base_baud = 1562500) is a bcm63xx_uart
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.660000] console [ttyS0] enabled
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.668000] bootconsole [early0] disabled
Sun Sep  6 18:12:18 2015 kern.warn kernel: [    0.680000] m25p80 spi1.0: found mx25l12805d, expected m25p80
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.688000] m25p80 spi1.0: mx25l12805d (16384 Kbytes)
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.692000] bcm63xxpart: CFE boot tag found with version 6 and board type 96328A-1241N
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.700000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.708000] bcm63xxpart: Partition 1 is kernel offset 10100 and length 11eb66
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.716000] bcm63xxpart: Partition 2 is rootfs offset 12ec66 and length ec139a
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.724000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.728000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
Sun Sep  6 18:12:18 2015 kern.notice kernel: [    0.736000] 5 bcm63xxpart partitions found on MTD device spi1.0
Sun Sep  6 18:12:18 2015 kern.notice kernel: [    0.744000] Creating 5 MTD partitions on "spi1.0":
Sun Sep  6 18:12:18 2015 kern.notice kernel: [    0.748000] 0x000000000000-0x000000010000 : "CFE"
Sun Sep  6 18:12:18 2015 kern.notice kernel: [    0.756000] 0x000000010100-0x00000012ec66 : "kernel"
Sun Sep  6 18:12:18 2015 kern.notice kernel: [    0.760000] 0x00000012ec66-0x000000ff0000 : "rootfs"
Sun Sep  6 18:12:18 2015 kern.notice kernel: [    0.768000] mtd: device 2 (rootfs) set to be root filesystem
Sun Sep  6 18:12:18 2015 kern.notice kernel: [    0.784000] 1 squashfs-split partitions found on MTD device rootfs
Sun Sep  6 18:12:18 2015 kern.notice kernel: [    0.792000] 0x000000370000-0x000000ff0000 : "rootfs_data"
Sun Sep  6 18:12:18 2015 kern.notice kernel: [    0.796000] 0x000000ff0000-0x000001000000 : "nvram"
Sun Sep  6 18:12:18 2015 kern.notice kernel: [    0.804000] 0x000000010000-0x000000ff0000 : "linux"
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.848000] b53_common: found switch: BCM63xx, rev 0
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.852000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.860000] TCP: cubic registered
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.864000] NET: Registered protocol family 17
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.868000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
Sun Sep  6 18:12:18 2015 kern.notice kernel: [    0.884000] Bridge firewalling registered
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.888000] 8021q: 802.1Q VLAN Support v1.8
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.908000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Sun Sep  6 18:12:18 2015 kern.info kernel: [    0.932000] Freeing unused kernel memory: 1320K (80366000 - 804b0000)
Sun Sep  6 18:12:18 2015 user.info kernel: [    2.600000] init: Console is alive
Sun Sep  6 18:12:18 2015 user.info kernel: [    2.604000] init: - watchdog -
Sun Sep  6 18:12:18 2015 kern.notice kernel: [    3.424000] random: nonblocking pool is initialized
Sun Sep  6 18:12:18 2015 kern.info kernel: [    4.596000] usbcore: registered new interface driver usbfs
Sun Sep  6 18:12:18 2015 kern.info kernel: [    4.600000] usbcore: registered new interface driver hub
Sun Sep  6 18:12:18 2015 kern.info kernel: [    4.608000] usbcore: registered new device driver usb
Sun Sep  6 18:12:18 2015 kern.info kernel: [    4.624000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Sun Sep  6 18:12:18 2015 kern.info kernel: [    4.632000] ehci-platform: EHCI generic platform driver
Sun Sep  6 18:12:18 2015 kern.info kernel: [    4.740000] ehci-platform ehci-platform: EHCI Host Controller
Sun Sep  6 18:12:18 2015 kern.info kernel: [    4.744000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
Sun Sep  6 18:12:18 2015 kern.info kernel: [    4.752000] ehci-platform ehci-platform: irq 50, io mem 0xb0002500
Sun Sep  6 18:12:18 2015 kern.info kernel: [    4.772000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00, overcurrent ignored
Sun Sep  6 18:12:18 2015 kern.info kernel: [    4.780000] hub 1-0:1.0: USB hub found
Sun Sep  6 18:12:18 2015 kern.info kernel: [    4.784000] hub 1-0:1.0: 1 port detected
Sun Sep  6 18:12:18 2015 kern.info kernel: [    4.796000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
Sun Sep  6 18:12:18 2015 kern.info kernel: [    4.804000] ohci-platform: OHCI generic platform driver
Sun Sep  6 18:12:18 2015 kern.info kernel: [    4.808000] ohci-platform ohci-platform: Generic Platform OHCI controller
Sun Sep  6 18:12:18 2015 kern.info kernel: [    4.816000] ohci-platform ohci-platform: new USB bus registered, assigned bus number 2
Sun Sep  6 18:12:18 2015 kern.info kernel: [    4.824000] ohci-platform ohci-platform: irq 49, io mem 0xb0002600
Sun Sep  6 18:12:18 2015 kern.info kernel: [    4.892000] hub 2-0:1.0: USB hub found
Sun Sep  6 18:12:18 2015 kern.info kernel: [    4.896000] hub 2-0:1.0: 1 port detected
Sun Sep  6 18:12:18 2015 user.info kernel: [    5.612000] init: - preinit -
Sun Sep  6 18:12:18 2015 kern.info kernel: [    6.536000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
Sun Sep  6 18:12:18 2015 kern.notice kernel: [   10.184000] jffs2: notice: (246) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
Sun Sep  6 18:12:18 2015 user.info kernel: [   10.204000] mount_root: switching to jffs2 overlay
Sun Sep  6 18:12:18 2015 user.info kernel: [   10.324000] procd: - early -
Sun Sep  6 18:12:18 2015 user.info kernel: [   10.324000] procd: - watchdog -
Sun Sep  6 18:12:18 2015 user.info kernel: [   11.228000] procd: - ubus -
Sun Sep  6 18:12:18 2015 user.info kernel: [   12.236000] procd: - init -
Sun Sep  6 18:12:18 2015 kern.info kernel: [   14.204000] NET: Registered protocol family 10
Sun Sep  6 18:12:18 2015 kern.info kernel: [   14.220000] ip6_tables: (C) 2000-2006 Netfilter Core Team
Sun Sep  6 18:12:18 2015 kern.info kernel: [   14.248000] Loading modules backported from Linux version master-2015-03-09-0-g141f155
Sun Sep  6 18:12:18 2015 kern.info kernel: [   14.256000] Backport generated by backports.git backports-20150129-0-gdd4a670
Sun Sep  6 18:12:18 2015 kern.info kernel: [   14.268000] ip_tables: (C) 2000-2006 Netfilter Core Team
Sun Sep  6 18:12:18 2015 kern.info kernel: [   14.296000] nf_conntrack version 0.5.0 (956 buckets, 3824 max)
Sun Sep  6 18:12:18 2015 kern.info kernel: [   14.364000] xt_time: kernel timezone is -0000
Sun Sep  6 18:12:18 2015 kern.info kernel: [   14.420000] cfg80211: Calling CRDA to update world regulatory domain
Sun Sep  6 18:12:18 2015 kern.info kernel: [   14.476000] cfg80211: World regulatory domain updated:
Sun Sep  6 18:12:18 2015 kern.info kernel: [   14.480000] cfg80211:  DFS Master region: unset
Sun Sep  6 18:12:18 2015 kern.info kernel: [   14.484000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
Sun Sep  6 18:12:18 2015 kern.info kernel: [   14.492000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Sun Sep  6 18:12:18 2015 kern.info kernel: [   14.504000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Sun Sep  6 18:12:18 2015 kern.info kernel: [   14.512000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
Sun Sep  6 18:12:18 2015 kern.info kernel: [   14.520000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
Sun Sep  6 18:12:18 2015 kern.info kernel: [   14.528000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
Sun Sep  6 18:12:18 2015 kern.info kernel: [   14.536000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
Sun Sep  6 18:12:18 2015 kern.info kernel: [   14.544000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
Sun Sep  6 18:12:18 2015 kern.info kernel: [   14.552000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
Sun Sep  6 18:12:18 2015 kern.info kernel: [   14.668000] PPP generic driver version 2.4.2
Sun Sep  6 18:12:18 2015 kern.info kernel: [   14.680000] NET: Registered protocol family 24
Sun Sep  6 18:12:18 2015 kern.info kernel: [   14.736000] b43-phy0: Broadcom 43225 WLAN found (core revision 23)
Sun Sep  6 18:12:18 2015 kern.info kernel: [   14.744000] b43-phy0: Found PHY: Analog 8, Type 4 (N), Revision 6
Sun Sep  6 18:12:18 2015 kern.info kernel: [   14.748000] b43-phy0: Found Radio: Manuf 0x17F, ID 0x2056, Revision 11, Version 0
Sun Sep  6 18:12:18 2015 kern.info kernel: [   14.756000] Broadcom 43xx driver loaded [ Features: PNL ]
Sun Sep  6 18:12:18 2015 kern.debug kernel: [   14.940000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Sun Sep  6 18:12:20 2015 kern.info kernel: [   20.424000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
Sun Sep  6 18:12:24 2015 authpriv.info dropbear[670]: Not backgrounding
Sun Sep  6 18:12:27 2015 daemon.info procd: - init complete -
Sun Sep  6 18:12:28 2015 kern.info kernel: [   28.048000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
Sun Sep  6 18:12:28 2015 kern.info kernel: [   28.064000] device eth0.1 entered promiscuous mode
Sun Sep  6 18:12:28 2015 kern.info kernel: [   28.072000] device eth0 entered promiscuous mode
Sun Sep  6 18:12:28 2015 kern.info kernel: [   28.088000] br-lan: port 1(eth0.1) entered forwarding state
Sun Sep  6 18:12:28 2015 kern.info kernel: [   28.092000] br-lan: port 1(eth0.1) entered forwarding state
Sun Sep  6 18:12:28 2015 daemon.notice netifd: Interface 'lan' is enabled
Sun Sep  6 18:12:28 2015 daemon.notice netifd: Interface 'lan' is setting up now
Sun Sep  6 18:12:28 2015 daemon.notice netifd: Interface 'lan' is now up
Sun Sep  6 18:12:28 2015 daemon.notice netifd: Interface 'loopback' is enabled
Sun Sep  6 18:12:28 2015 daemon.notice netifd: Interface 'loopback' is setting up now
Sun Sep  6 18:12:28 2015 daemon.notice netifd: Interface 'loopback' is now up
Sun Sep  6 18:12:28 2015 daemon.notice netifd: Network device 'eth0' link is up
Sun Sep  6 18:12:28 2015 daemon.notice netifd: VLAN 'eth0.1' link is up
Sun Sep  6 18:12:28 2015 daemon.notice netifd: Bridge 'br-lan' link is up
Sun Sep  6 18:12:28 2015 daemon.notice netifd: Interface 'lan' has link connectivity
Sun Sep  6 18:12:28 2015 daemon.notice netifd: Network device 'lo' link is up
Sun Sep  6 18:12:28 2015 daemon.notice netifd: Interface 'loopback' has link connectivity
Sun Sep  6 18:12:29 2015 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Sun Sep  6 18:12:30 2015 kern.info kernel: [   30.020000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
Sun Sep  6 18:12:30 2015 kern.info kernel: [   30.096000] br-lan: port 1(eth0.1) entered forwarding state
Sun Sep  6 18:12:30 2015 kern.info kernel: [   30.176000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Sun Sep  6 18:12:30 2015 daemon.warn odhcpd[636]: DHCPV6 SOLICIT IA_NA from 0001000120af5f8a3863bbe386a7 on br-lan: ok fd30:e21:c55a::756/128
Sun Sep  6 18:12:31 2015 daemon.notice netifd: radio0 (752): Successfully initialized wpa_supplicant
Sun Sep  6 18:12:31 2015 daemon.warn odhcpd[636]: DHCPV6 REQUEST IA_NA from 0001000120af5f8a3863bbe386a7 on br-lan: ok fd30:e21:c55a::756/128
Sun Sep  6 18:12:32 2015 daemon.notice netifd: Interface 'wwan' is enabled
Sun Sep  6 18:12:33 2015 kern.info kernel: [   33.524000] wlan0: authenticate with XX
Sun Sep  6 18:12:33 2015 kern.info kernel: [   33.560000] wlan0: send auth to XXX (try 1/3)
Sun Sep  6 18:12:33 2015 kern.info kernel: [   33.568000] wlan0: authenticated
Sun Sep  6 18:12:33 2015 kern.info kernel: [   33.576000] wlan0: associate with XXX (try 1/3)
Sun Sep  6 18:12:33 2015 kern.info kernel: [   33.584000] wlan0: RX AssocResp from XXX(capab=0x431 status=0 aid=1)
Sun Sep  6 18:12:33 2015 kern.info kernel: [   33.592000] wlan0: associated
Sun Sep  6 18:12:33 2015 kern.info kernel: [   33.596000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Sun Sep  6 18:12:33 2015 daemon.notice netifd: Network device 'wlan0' link is up
Sun Sep  6 18:12:33 2015 daemon.notice netifd: Interface 'wwan' has link connectivity
Sun Sep  6 18:12:33 2015 daemon.notice netifd: Interface 'wwan' is setting up now
Sun Sep  6 18:12:34 2015 daemon.notice netifd: wwan (890): udhcpc (v1.23.2) started
Sun Sep  6 18:12:34 2015 daemon.notice netifd: wwan (890): Sending discover...
Sun Sep  6 18:12:34 2015 daemon.notice netifd: wwan (890): Sending select for 192.168.1.207...
Sun Sep  6 18:12:34 2015 daemon.notice netifd: wwan (890): Lease of 192.168.1.207 obtained, lease time 43200
Sun Sep  6 18:12:34 2015 daemon.notice netifd: Interface 'wwan' is now up
Sun Sep  6 18:12:37 2015 daemon.info dnsmasq[912]: started, version 2.73 cachesize 150
Sun Sep  6 18:12:37 2015 daemon.info dnsmasq[912]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC loop-detect inotify
Sun Sep  6 18:12:37 2015 daemon.info dnsmasq[912]: DNS service limited to local subnets
Sun Sep  6 18:12:37 2015 daemon.info dnsmasq-dhcp[912]: DHCP, IP range 192.168.2.100 -- 192.168.2.249, lease time 12h
Sun Sep  6 18:12:37 2015 daemon.info dnsmasq[912]: using local addresses only for domain lan
Sun Sep  6 18:12:37 2015 daemon.info dnsmasq[912]: reading /tmp/resolv.conf.auto
Sun Sep  6 18:12:37 2015 daemon.info dnsmasq[912]: using local addresses only for domain lan
Sun Sep  6 18:12:37 2015 daemon.info dnsmasq[912]: using nameserver 192.168.1.1#53
Sun Sep  6 18:12:37 2015 daemon.info dnsmasq[912]: read /etc/hosts - 1 addresses
Sun Sep  6 18:12:37 2015 daemon.info dnsmasq[912]: read /tmp/hosts/odhcpd - 1 addresses
Sun Sep  6 18:12:37 2015 daemon.info dnsmasq[912]: read /tmp/hosts/dhcp - 1 addresses
Sun Sep  6 18:12:37 2015 daemon.info dnsmasq-dhcp[912]: read /etc/ethers - 0 addresses
Sun Sep  6 18:12:39 2015 user.notice firewall: Reloading firewall due to ifup of wwan (wlan0)

Y el kernel Log

Código: [Seleccionar]
[    0.000000] Linux version 3.18.20 (buildbot@builder1) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r46450) ) #1 Fri Sep 4 15:12:19 CEST 2015
[    0.000000] Detected Broadcom 0x6328 CPU revision b0
[    0.000000] CPU frequency is 320 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] board_bcm963xx: Boot address 0xb8000000
[    0.000000] board_bcm963xx: CFE version: 1.0.37-106.24
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0002a075 (Broadcom BMIPS4350)
[    0.000000] board: board name: 96328A-1241N
[    0.000000] MIPS: machine is Comtrend AR-5381u
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x03ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x03ffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x03ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 8034a380, node_mem_map 81001e70
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 16 bytes.
[    0.000000] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 59908K/65536K available (2805K kernel code, 139K rwdata, 464K rodata, 1320K init, 192K bss, 5628K reserved)
[    0.000000] NR_IRQS:256
[    0.036000] Calibrating delay loop... 319.74 BogoMIPS (lpj=639488)
[    0.040000] pid_max: default: 32768 minimum: 301
[    0.044000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.048000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.060000] NET: Registered protocol family 16
[    0.296000] registering PCI controller with io_map_base unset
[    0.320000] PCI host bridge to bus 0000:00
[    0.324000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x10ffffff]
[    0.328000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.332000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.336000] pci 0000:00:00.0: [14e4:6328] type 01 class 0x060400
[    0.336000] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.336000] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.340000] pci 0000:01:00.0: [14e4:a8d8] type 00 class 0x028000
[    0.340000] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[    0.340000] pci 0000:01:00.0: supports D1 D2
[    0.340000] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.340000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01
[    0.340000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.344000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.348000] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.352000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.356000] Switched to clocksource MIPS
[    0.360000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    0.368000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[    0.372000] bcma: bus0: Found chip with id 43225, rev 0x01 and package 0x0A
[    0.380000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[    0.388000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[    0.396000] bcma: bus0: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[    0.532000] bcma: bus0: Invalid SPROM read from the PCIe card, trying to use fallback SPROM
[    0.556000] bcma: bus0: Bus registered
[    0.560000] NET: Registered protocol family 2
[    0.568000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.576000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.580000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.588000] TCP: reno registered
[    0.592000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.596000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.604000] NET: Registered protocol family 1
[    0.608000] PCI: CLS 0 bytes, default 16
[    0.612000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.620000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.624000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.636000] msgmni has been set to 117
[    0.640000] io scheduler noop registered
[    0.644000] io scheduler deadline registered (default)
[    0.652000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36, base_baud = 1562500) is a bcm63xx_uart
[    0.660000] console [ttyS0] enabled
[    0.668000] bootconsole [early0] disabled
[    0.680000] m25p80 spi1.0: found mx25l12805d, expected m25p80
[    0.688000] m25p80 spi1.0: mx25l12805d (16384 Kbytes)
[    0.692000] bcm63xxpart: CFE boot tag found with version 6 and board type 96328A-1241N
[    0.700000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.708000] bcm63xxpart: Partition 1 is kernel offset 10100 and length 11eb66
[    0.716000] bcm63xxpart: Partition 2 is rootfs offset 12ec66 and length ec139a
[    0.724000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[    0.728000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[    0.736000] 5 bcm63xxpart partitions found on MTD device spi1.0
[    0.744000] Creating 5 MTD partitions on "spi1.0":
[    0.748000] 0x000000000000-0x000000010000 : "CFE"
[    0.756000] 0x000000010100-0x00000012ec66 : "kernel"
[    0.760000] 0x00000012ec66-0x000000ff0000 : "rootfs"
[    0.768000] mtd: device 2 (rootfs) set to be root filesystem
[    0.784000] 1 squashfs-split partitions found on MTD device rootfs
[    0.792000] 0x000000370000-0x000000ff0000 : "rootfs_data"
[    0.796000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.804000] 0x000000010000-0x000000ff0000 : "linux"
[    0.848000] b53_common: found switch: BCM63xx, rev 0
[    0.852000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.860000] TCP: cubic registered
[    0.864000] NET: Registered protocol family 17
[    0.868000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    0.884000] Bridge firewalling registered
[    0.888000] 8021q: 802.1Q VLAN Support v1.8
[    0.908000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.932000] Freeing unused kernel memory: 1320K (80366000 - 804b0000)
[    2.600000] init: Console is alive
[    2.604000] init: - watchdog -
[    3.424000] random: nonblocking pool is initialized
[    4.596000] usbcore: registered new interface driver usbfs
[    4.600000] usbcore: registered new interface driver hub
[    4.608000] usbcore: registered new device driver usb
[    4.624000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.632000] ehci-platform: EHCI generic platform driver
[    4.740000] ehci-platform ehci-platform: EHCI Host Controller
[    4.744000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[    4.752000] ehci-platform ehci-platform: irq 50, io mem 0xb0002500
[    4.772000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00, overcurrent ignored
[    4.780000] hub 1-0:1.0: USB hub found
[    4.784000] hub 1-0:1.0: 1 port detected
[    4.796000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.804000] ohci-platform: OHCI generic platform driver
[    4.808000] ohci-platform ohci-platform: Generic Platform OHCI controller
[    4.816000] ohci-platform ohci-platform: new USB bus registered, assigned bus number 2
[    4.824000] ohci-platform ohci-platform: irq 49, io mem 0xb0002600
[    4.892000] hub 2-0:1.0: USB hub found
[    4.896000] hub 2-0:1.0: 1 port detected
[    5.612000] init: - preinit -
[    6.536000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[   10.184000] jffs2: notice: (246) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   10.204000] mount_root: switching to jffs2 overlay
[   10.324000] procd: - early -
[   10.324000] procd: - watchdog -
[   11.228000] procd: - ubus -
[   12.236000] procd: - init -
[   14.204000] NET: Registered protocol family 10
[   14.220000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   14.248000] Loading modules backported from Linux version master-2015-03-09-0-g141f155
[   14.256000] Backport generated by backports.git backports-20150129-0-gdd4a670
[   14.268000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.296000] nf_conntrack version 0.5.0 (956 buckets, 3824 max)
[   14.364000] xt_time: kernel timezone is -0000
[   14.420000] cfg80211: Calling CRDA to update world regulatory domain
[   14.476000] cfg80211: World regulatory domain updated:
[   14.480000] cfg80211:  DFS Master region: unset
[   14.484000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   14.492000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   14.504000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   14.512000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   14.520000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   14.528000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   14.536000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   14.544000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   14.552000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   14.668000] PPP generic driver version 2.4.2
[   14.680000] NET: Registered protocol family 24
[   14.736000] b43-phy0: Broadcom 43225 WLAN found (core revision 23)
[   14.744000] b43-phy0: Found PHY: Analog 8, Type 4 (N), Revision 6
[   14.748000] b43-phy0: Found Radio: Manuf 0x17F, ID 0x2056, Revision 11, Version 0
[   14.756000] Broadcom 43xx driver loaded [ Features: PNL ]
[   14.940000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   20.424000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[   28.048000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[   28.064000] device eth0.1 entered promiscuous mode
[   28.072000] device eth0 entered promiscuous mode
[   28.088000] br-lan: port 1(eth0.1) entered forwarding state
[   28.092000] br-lan: port 1(eth0.1) entered forwarding state
[   30.020000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[   30.096000] br-lan: port 1(eth0.1) entered forwarding state
[   30.176000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   33.524000] wlan0: authenticate with XXXX
[   33.560000] wlan0: send auth to XX (try 1/3)
[   33.568000] wlan0: authenticated
[   33.576000] wlan0: associate with XX(try 1/3)
[   33.584000] wlan0: RX AssocResp from XX (capab=0x431 status=0 aid=1)
[   33.592000] wlan0: associated
[   33.596000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready



Gracias a danitool por todo su excelente trabajo y a la comunidad de seguridad wireless.
Saludos!


« Última modificación: 29-05-2017, 16:45 (Lunes) por BernoO »

Desconectado Hade

  • **
  • Mensajes: 1
Re:[Desarrollo] OpenWRT en Nucom R5000un
« Respuesta #1 en: 12-08-2018, 07:06 (Domingo) »
Muchas gracias, pude darle nueva vida al router... Se soluciono el problema de los leds? No puedo apagar los leds de LAN, alguien sabe como hacerlo?