?>/script>'; } ?> [Desarrollo] OpenWrt en Telefónica Home Station ADB P.DG A4001N1 Widgets Magazine

Autor Tema: [Desarrollo] OpenWrt en Telefónica Home Station ADB P.DG A4001N1  (Leído 368829 veces)

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

faio86

  • Visitante
Re: [Desarrollo] OpenWrt en Telefónica Home Station ADB P.DG A4001N1
« Respuesta #520 en: 18-01-2014, 19:43 (Sábado) »
Gracias por tu pronta respuesta, si le meti
Código: [Seleccionar]
openwrt-963281T_TEF-generic-squashfs-cfe.bin creo que es sin luci, el problema el no poder acceder por ssh para instalar luci por comando. Como puedo meterle el firm por telnet es desde putty??? tampoco me funciona el modo rescate CFE

Espero no tener que soldar ... para el serial.

Antes de poder acceder por ssh, hay que hacer una primera conexión usando telnet y poner el password  ;)

Hola a todos.

Solo una pregunta, ¿la broadcom de este cacharro admite repeater o wds?

Se que no, pero por asegurar.

Salud.

Enviado desde mi GT-N7100 usando Tapatalk 2

No con la wifi interna no se puede poner en modo repetidor. Pero siempre puedes 'pincharle' alguna wifi al usb  ;D

hola , si hace como si cambiara el pasword lo reinicio con reboot y no sale nada ni por ssh ni por telnet , despues solo me deja entrar por telnet despues de reset (no entra a cfe tampoco). Gracias de antemano.

Noltari

  • Visitante
Re: [Desarrollo] OpenWrt en Telefónica Home Station ADB P.DG A4001N1
« Respuesta #521 en: 18-01-2014, 20:18 (Sábado) »
hola , si hace como si cambiara el pasword lo reinicio con reboot y no sale nada ni por ssh ni por telnet , despues solo me deja entrar por telnet despues de reset (no entra a cfe tampoco). Gracias de antemano.
¿Puedes poner un dmesg?

Saludos.

faio86

  • Visitante
Re: [Desarrollo] OpenWrt en Telefónica Home Station ADB P.DG A4001N1
« Respuesta #522 en: 19-01-2014, 02:27 (Domingo) »
Buenas. Por fin todo ok.

Antes no hice algo bien o me salte algún paso.

Ya me puedo meter en ssh desde ubuntu y funciona correctamente.

Pasos que seguí:

1 edite network con vi para tener acceso a Internet
2 actualice e instale luci

pongo el dmesg dé todos modos:

Código: [Seleccionar]
dmesg
[    0.000000] Linux version 3.10.26 (openwrt@snapon) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r39304) ) #1 Thu Jan 16 19:00:37 PST 2014
[    0.000000] unknown BCM6328 variant: 0
[    0.000000] Detected Broadcom 0x6328 CPU revision b0
[    0.000000] CPU frequency is 320 MHz
[    0.000000] 32MB of RAM installed
[    0.000000] registering 32 GPIOs
[    0.000000] board_bcm963xx: Boot address 0xb8000000
[    0.000000] board_bcm963xx: CFE version: A4001N-V000
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a075 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: 963281T_TEF
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x01ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x01ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 80312ce0, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    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: 8128
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Memory: 28680k/32768k available (2462k kernel code, 4088k reserved, 721k data, 268k init, 0k highmem)
[    0.000000] NR_IRQS:256
[    0.036000] Calibrating delay loop... 318.46 BogoMIPS (lpj=636928)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.048000] NET: Registered protocol family 16
[    0.288000] registering PCI controller with io_map_base unset
[    0.304000] bio: create slab <bio-0> at 0
[    0.312000] PCI host bridge to bus 0000:00
[    0.316000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x10ffffff]
[    0.320000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.324000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.328000] pci 0000:00:00.0: [14e4:6328] type 01 class 0x060400
[    0.328000] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.328000] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.332000] pci 0000:01:00.0: [14e4:a8d8] type 00 class 0x028000
[    0.332000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00003fff 64bit]
[    0.332000] pci 0000:01:00.0: supports D1 D2
[    0.332000] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.332000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01
[    0.332000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.336000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.340000] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.344000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.348000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    0.352000] Switching to clocksource MIPS
[    0.360000] NET: Registered protocol family 2
[    0.368000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.376000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.380000] TCP: Hash tables configured (established 512 bind 512)
[    0.388000] TCP: reno registered
[    0.392000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.396000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.404000] NET: Registered protocol family 1
[    0.408000] PCI: CLS 0 bytes, default 16
[    0.412000] audit: initializing netlink socket (disabled)
[    0.416000] type=2000 audit(0.416:1): initialized
[    0.424000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.428000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.440000] msgmni has been set to 56
[    0.444000] io scheduler noop registered
[    0.448000] io scheduler deadline registered (default)
[    0.456000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36) is a bcm63xx_uart
[    0.464000] console [ttyS0] enabled, bootconsole disabled
[    0.480000] m25p80 spi1.0: found mx25l12805d, expected m25p80
[    0.488000] m25p80 spi1.0: mx25l12805d (16384 Kbytes)
[    0.492000] bcm63xxpart: CFE boot tag found with version 6 and board type 963281T_TEF
[    0.500000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.508000] bcm63xxpart: Partition 1 is kernel offset 10100 and length 11ff00
[    0.516000] bcm63xxpart: Partition 2 is rootfs offset 130000 and length ec0000
[    0.524000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[    0.528000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[    0.536000] bcm63xxpart: Spare partition is offset 2e0004 and length d0fffc
[    0.544000] 5 bcm63xxpart partitions found on MTD device spi1.0
[    0.552000] Creating 5 MTD partitions on "spi1.0":
[    0.556000] 0x000000000000-0x000000010000 : "CFE"
[    0.564000] 0x000000010100-0x000000130000 : "kernel"
[    0.568000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.584000] 0x000000130000-0x000000ff0000 : "rootfs"
[    0.592000] mtd: device 2 (rootfs) set to be root filesystem
[    0.596000] mtd: partition "rootfs_data" created automatically, ofs=0x2e0000, len=0xd10000
[    0.608000] 0x0000002e0000-0x000000ff0000 : "rootfs_data"
[    0.616000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.624000] 0x000000010000-0x000000ff0000 : "linux"
[    0.672000] b53_common: found switch: BCM63xx, rev 0
[    0.680000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.692000] TCP: cubic registered
[    0.696000] NET: Registered protocol family 17
[    0.700000] Bridge firewalling registered
[    0.704000] can: controller area network core (rev 20120528 abi 9)
[    0.712000] NET: Registered protocol family 29
[    0.716000] 8021q: 802.1Q VLAN Support v1.8
[    0.732000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.744000] Freeing unused kernel memory: 268K (8032d000 - 80370000)
[    4.704000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[    5.832000] Button Hotplug driver version 0.4.1
[    5.844000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[    8.816000] jffs2: notice: (215) jffs2_build_xattr_subsystem: complete building xattr subsystem, 18 of xdatum (0 unchecked, 17 orphan) and 28 of xref (0 dead, 23 orphan) found.
[   10.396000] NET: Registered protocol family 10
[   10.412000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[   10.420000] bcma: bus0: Found chip with id 0xA8D9, rev 0x01 and package 0x0A
[   10.428000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[   10.436000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[   10.444000] bcma: bus0: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[   10.536000] bcma: bus0: Invalid SPROM read from the PCIe card, trying to use fallback SPROM
[   10.544000] bcma: bus0: Using fallback SPROM failed (err -2)
[   10.548000] bcma: bus0: No SPROM available
[   10.564000] bcma: bus0: Bus registered
[   10.584000] nf_conntrack version 0.5.0 (452 buckets, 1808 max)
[   10.604000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   10.636000] Loading modules backported from Linux version master-2013-11-05-0-gafa3093
[   10.644000] Backport generated by backports.git backports-20130802-0-gdb67a3f
[   10.660000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   10.736000] xt_time: kernel timezone is -0000
[   10.820000] cfg80211: Calling CRDA to update world regulatory domain
[   10.872000] cfg80211: World regulatory domain updated:
[   10.876000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   10.884000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.892000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.900000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   10.908000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (300 mBi, 2000 mBm)
[   10.916000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (300 mBi, 2000 mBm)
[   10.924000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm)
[   11.004000] PPP generic driver version 2.4.2
[   11.012000] NET: Registered protocol family 24
[   11.068000] b43-phy0: Broadcom 43225 WLAN found (core revision 23)
[   11.076000] b43-phy0: Found PHY: Analog 8, Type 4 (N), Revision 6
[   11.084000] Broadcom 43xx driver loaded [ Features: PNL ]
[   11.100000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   14.988000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[   20.420000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[   20.432000] device eth0.1 entered promiscuous mode
[   20.436000] device eth0 entered promiscuous mode
[   20.440000] br-lan: port 1(eth0.1) entered forwarding state
[   20.448000] br-lan: port 1(eth0.1) entered forwarding state
[   21.412000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[   22.452000] br-lan: port 1(eth0.1) entered forwarding state
[   77.428000] bcm63xx_enetsw bcm63xx_enetsw.0: link DOWN on Port 4
[   88.432000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[  824.440000] bcm63xx_enetsw bcm63xx_enetsw.0: link DOWN on Port 4
[  842.444000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[ 1224.608000] br-lan: port 1(eth0.1) entered disabled state
[ 1224.624000] device eth0.1 left promiscuous mode
root@OpenWrt:~# dmesg
[    0.000000] Linux version 3.10.26 (openwrt@snapon) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r39304) ) #1 Thu Jan 16 19:00:37 PST 2014
[    0.000000] unknown BCM6328 variant: 0
[    0.000000] Detected Broadcom 0x6328 CPU revision b0
[    0.000000] CPU frequency is 320 MHz
[    0.000000] 32MB of RAM installed
[    0.000000] registering 32 GPIOs
[    0.000000] board_bcm963xx: Boot address 0xb8000000
[    0.000000] board_bcm963xx: CFE version: A4001N-V000
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a075 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: 963281T_TEF
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x01ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x01ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 80312ce0, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    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: 8128
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Memory: 28680k/32768k available (2462k kernel code, 4088k reserved, 721k data, 268k init, 0k highmem)
[    0.000000] NR_IRQS:256
[    0.036000] Calibrating delay loop... 318.46 BogoMIPS (lpj=636928)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.048000] NET: Registered protocol family 16
[    0.288000] registering PCI controller with io_map_base unset
[    0.304000] bio: create slab <bio-0> at 0
[    0.312000] PCI host bridge to bus 0000:00
[    0.316000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x10ffffff]
[    0.320000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.324000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.328000] pci 0000:00:00.0: [14e4:6328] type 01 class 0x060400
[    0.328000] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.328000] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.332000] pci 0000:01:00.0: [14e4:a8d8] type 00 class 0x028000
[    0.332000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00003fff 64bit]
[    0.332000] pci 0000:01:00.0: supports D1 D2
[    0.332000] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.332000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01
[    0.332000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.336000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.340000] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.344000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.348000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    0.352000] Switching to clocksource MIPS
[    0.360000] NET: Registered protocol family 2
[    0.368000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.376000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.380000] TCP: Hash tables configured (established 512 bind 512)
[    0.388000] TCP: reno registered
[    0.392000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.396000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.404000] NET: Registered protocol family 1
[    0.408000] PCI: CLS 0 bytes, default 16
[    0.412000] audit: initializing netlink socket (disabled)
[    0.416000] type=2000 audit(0.416:1): initialized
[    0.424000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.428000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.440000] msgmni has been set to 56
[    0.444000] io scheduler noop registered
[    0.448000] io scheduler deadline registered (default)
[    0.456000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36) is a bcm63xx_uart
[    0.464000] console [ttyS0] enabled, bootconsole disabled
[    0.480000] m25p80 spi1.0: found mx25l12805d, expected m25p80
[    0.488000] m25p80 spi1.0: mx25l12805d (16384 Kbytes)
[    0.492000] bcm63xxpart: CFE boot tag found with version 6 and board type 963281T_TEF
[    0.500000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.508000] bcm63xxpart: Partition 1 is kernel offset 10100 and length 11ff00
[    0.516000] bcm63xxpart: Partition 2 is rootfs offset 130000 and length ec0000
[    0.524000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[    0.528000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[    0.536000] bcm63xxpart: Spare partition is offset 2e0004 and length d0fffc
[    0.544000] 5 bcm63xxpart partitions found on MTD device spi1.0
[    0.552000] Creating 5 MTD partitions on "spi1.0":
[    0.556000] 0x000000000000-0x000000010000 : "CFE"
[    0.564000] 0x000000010100-0x000000130000 : "kernel"
[    0.568000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.584000] 0x000000130000-0x000000ff0000 : "rootfs"
[    0.592000] mtd: device 2 (rootfs) set to be root filesystem
[    0.596000] mtd: partition "rootfs_data" created automatically, ofs=0x2e0000, len=0xd10000
[    0.608000] 0x0000002e0000-0x000000ff0000 : "rootfs_data"
[    0.616000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.624000] 0x000000010000-0x000000ff0000 : "linux"
[    0.672000] b53_common: found switch: BCM63xx, rev 0
[    0.680000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.692000] TCP: cubic registered
[    0.696000] NET: Registered protocol family 17
[    0.700000] Bridge firewalling registered
[    0.704000] can: controller area network core (rev 20120528 abi 9)
[    0.712000] NET: Registered protocol family 29
[    0.716000] 8021q: 802.1Q VLAN Support v1.8
[    0.732000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.744000] Freeing unused kernel memory: 268K (8032d000 - 80370000)
[    4.704000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[    5.832000] Button Hotplug driver version 0.4.1
[    5.844000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[    8.816000] jffs2: notice: (215) jffs2_build_xattr_subsystem: complete building xattr subsystem, 18 of xdatum (0 unchecked, 17 orphan) and 28 of xref (0 dead, 23 orphan) found.
[   10.396000] NET: Registered protocol family 10
[   10.412000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[   10.420000] bcma: bus0: Found chip with id 0xA8D9, rev 0x01 and package 0x0A
[   10.428000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[   10.436000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[   10.444000] bcma: bus0: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[   10.536000] bcma: bus0: Invalid SPROM read from the PCIe card, trying to use fallback SPROM
[   10.544000] bcma: bus0: Using fallback SPROM failed (err -2)
[   10.548000] bcma: bus0: No SPROM available
[   10.564000] bcma: bus0: Bus registered
[   10.584000] nf_conntrack version 0.5.0 (452 buckets, 1808 max)
[   10.604000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   10.636000] Loading modules backported from Linux version master-2013-11-05-0-gafa3093
[   10.644000] Backport generated by backports.git backports-20130802-0-gdb67a3f
[   10.660000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   10.736000] xt_time: kernel timezone is -0000
[   10.820000] cfg80211: Calling CRDA to update world regulatory domain
[   10.872000] cfg80211: World regulatory domain updated:
[   10.876000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   10.884000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.892000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.900000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   10.908000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (300 mBi, 2000 mBm)
[   10.916000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (300 mBi, 2000 mBm)
[   10.924000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm)
[   11.004000] PPP generic driver version 2.4.2
[   11.012000] NET: Registered protocol family 24
[   11.068000] b43-phy0: Broadcom 43225 WLAN found (core revision 23)
[   11.076000] b43-phy0: Found PHY: Analog 8, Type 4 (N), Revision 6
[   11.084000] Broadcom 43xx driver loaded [ Features: PNL ]
[   11.100000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   14.988000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[   20.420000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[   20.432000] device eth0.1 entered promiscuous mode
[   20.436000] device eth0 entered promiscuous mode
[   20.440000] br-lan: port 1(eth0.1) entered forwarding state
[   20.448000] br-lan: port 1(eth0.1) entered forwarding state
[   21.412000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[   22.452000] br-lan: port 1(eth0.1) entered forwarding state
[   77.428000] bcm63xx_enetsw bcm63xx_enetsw.0: link DOWN on Port 4
[   88.432000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[  824.440000] bcm63xx_enetsw bcm63xx_enetsw.0: link DOWN on Port 4
[  842.444000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[ 1224.608000] br-lan: port 1(eth0.1) entered disabled state
[ 1224.624000] device eth0.1 left promiscuous mode
[ 1224.628000] device eth0 left promiscuous mode
[ 1224.632000] br-lan: port 1(eth0.1) entered disabled state
[ 1224.680000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[ 1224.692000] device eth0.1 entered promiscuous mode
[ 1224.700000] device eth0 entered promiscuous mode
[ 1224.720000] br-lan: port 1(eth0.1) entered forwarding state
[ 1224.724000] br-lan: port 1(eth0.1) entered forwarding state
[ 1225.612000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[ 1226.728000] br-lan: port 1(eth0.1) entered forwarding state
[ 1697.232000] br-lan: port 1(eth0.1) entered disabled state
[ 1697.280000] device eth0.1 left promiscuous mode
[ 1697.284000] device eth0 left promiscuous mode
[ 1697.288000] br-lan: port 1(eth0.1) entered disabled state
[ 1697.332000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[ 1697.348000] device eth0.1 entered promiscuous mode
[ 1697.352000] device eth0 entered promiscuous mode
[ 1697.420000] br-lan: port 1(eth0.1) entered forwarding state
[ 1697.424000] br-lan: port 1(eth0.1) entered forwarding state
[ 1698.280000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[ 1699.428000] br-lan: port 1(eth0.1) entered forwarding state

Gracias por vuestra ayuda.
« Última modificación: 22-01-2014, 00:03 (Miércoles) por faio86 »

rafius15

  • Visitante
Re: [Desarrollo] OpenWrt en Telefónica Home Station ADB P.DG A4001N1
« Respuesta #523 en: 29-01-2014, 17:09 (Miércoles) »
Hola compañeros, tengo un a4001n (sin el 1 al final), os cuento:
He instalado el ultimo FW que colgais (muchisimas gracias sois unos genios) al primer post de este hilo, funciona casi todo perfecto, solo le falta el wifi N que no consigo activarlo.
Después de leer y releer, veo que esta todavía en muy temprano desarrollo este SoC, y también veo que la ultima compilación de este hilo no es la ultima en los repositorios de openwrt, así que me dispongo y compilo la mia. Pero... todavía peor no consigo ni activar el wifi. ¿Que hago mal? creeis que conseguiremos activar el wifi N en este router?
He probado tanto el driver mac80211 como el broadcom, ninguno me levanta la wifi.
mientras que en la compilación de este hilo, es mac80211 quien la levanta pero no consigue utilizar N.

Os pego un dmseg por si lo necesitarais:
Código: [Seleccionar]
[    0.000000] Linux version 3.10.28 (thepeople@trabant) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r39404) ) #1 Tue Jan 28 06:27:10 CET 2014
[    0.000000] unknown BCM6328 variant: 0
[    0.000000] Detected Broadcom 0x6328 CPU revision b0
[    0.000000] CPU frequency is 320 MHz
[    0.000000] 32MB of RAM installed
[    0.000000] registering 32 GPIOs
[    0.000000] board_bcm963xx: Boot address 0xb8000000
[    0.000000] board_bcm963xx: CFE version: A4001N-V000
[    0.000000] No bcm_tag found!
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a075 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: 963281T_TEF
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x01ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x01ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 80312ce0, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    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: 8128
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Memory: 28680k/32768k available (2466k kernel code, 4088k reserved, 717k data, 268k init, 0k highmem)
[    0.000000] NR_IRQS:256
[    0.036000] Calibrating delay loop... 318.46 BogoMIPS (lpj=636928)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.048000] NET: Registered protocol family 16
[    0.288000] registering PCI controller with io_map_base unset
[    0.304000] bio: create slab <bio-0> at 0
[    0.312000] PCI host bridge to bus 0000:00
[    0.316000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x10ffffff]
[    0.320000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.324000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.328000] pci 0000:00:00.0: [14e4:6328] type 01 class 0x060400
[    0.328000] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.328000] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.332000] pci 0000:01:00.0: [14e4:a8d8] type 00 class 0x028000
[    0.332000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00003fff 64bit]
[    0.332000] pci 0000:01:00.0: supports D1 D2
[    0.332000] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.332000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01
[    0.332000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.336000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.340000] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.344000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.348000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    0.352000] Switching to clocksource MIPS
[    0.360000] NET: Registered protocol family 2
[    0.368000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.376000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.380000] TCP: Hash tables configured (established 512 bind 512)
[    0.388000] TCP: reno registered
[    0.392000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.396000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.404000] NET: Registered protocol family 1
[    0.408000] PCI: CLS 0 bytes, default 16
[    0.412000] audit: initializing netlink socket (disabled)
[    0.416000] type=2000 audit(0.416:1): initialized
[    0.424000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.428000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.440000] msgmni has been set to 56
[    0.444000] io scheduler noop registered
[    0.448000] io scheduler deadline registered (default)
[    0.456000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36) is a bcm63xx_uart
[    0.464000] console [ttyS0] enabled, bootconsole disabled
[    0.480000] m25p80 spi1.0: found mx25l12805d, expected m25p80
[    0.488000] m25p80 spi1.0: mx25l12805d (16384 Kbytes)
[    0.492000] bcm63xxpart: CFE boot tag found with version 6 and board type 963281TAN
[    0.500000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.508000] bcm63xxpart: Partition 1 is kernel offset 10100 and length 11ff00
[    0.516000] bcm63xxpart: Partition 2 is rootfs offset 130000 and length ec0000
[    0.524000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[    0.528000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[    0.536000] bcm63xxpart: Spare partition is offset 2e0004 and length d0fffc
[    0.544000] 5 bcm63xxpart partitions found on MTD device spi1.0
[    0.552000] Creating 5 MTD partitions on "spi1.0":
[    0.556000] 0x000000000000-0x000000010000 : "CFE"
[    0.564000] 0x000000010100-0x000000130000 : "kernel"
[    0.568000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.584000] 0x000000130000-0x000000ff0000 : "rootfs"
[    0.592000] mtd: device 2 (rootfs) set to be root filesystem
[    0.596000] mtd: partition "rootfs_data" created automatically, ofs=0x2e0000, len=0xd10000
[    0.608000] 0x0000002e0000-0x000000ff0000 : "rootfs_data"
[    0.616000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.620000] 0x000000010000-0x000000ff0000 : "linux"
[    0.672000] b53_common: found switch: BCM63xx, rev 0
[    0.676000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.692000] TCP: cubic registered
[    0.696000] NET: Registered protocol family 17
[    0.700000] Bridge firewalling registered
[    0.704000] can: controller area network core (rev 20120528 abi 9)
[    0.712000] NET: Registered protocol family 29
[    0.716000] 8021q: 802.1Q VLAN Support v1.8
[    0.732000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.744000] Freeing unused kernel memory: 268K (8032d000 - 80370000)
[    4.620000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[    4.628000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 2, 100Mbps, full-duplex
[    4.636000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 3, 100Mbps, full-duplex
[    4.644000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[    5.828000] Button Hotplug driver version 0.4.1
[    5.836000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[    8.820000] jffs2: notice: (216) jffs2_build_xattr_subsystem: complete building xattr subsystem, 16 of xdatum (1 unchecked, 15 orphan) and 45 of xref (0 dead, 39 orphan) found.
[   12.892000] NET: Registered protocol family 10
[   12.928000] usbcore: registered new interface driver usbfs
[   12.936000] usbcore: registered new interface driver hub
[   12.940000] usbcore: registered new device driver usb
[   12.956000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[   12.960000] bcma: bus0: Found chip with id 0xA8D9, rev 0x01 and package 0x0A
[   12.968000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[   12.976000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[   12.988000] bcma: bus0: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[   13.076000] bcma: bus0: Invalid SPROM read from the PCIe card, trying to use fallback SPROM
[   13.084000] bcma: bus0: Using fallback SPROM failed (err -2)
[   13.092000] bcma: bus0: No SPROM available
[   13.108000] bcma: bus0: Bus registered
[   13.124000] nf_conntrack version 0.5.0 (452 buckets, 1808 max)
[   13.144000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   13.184000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   13.292000] ohci-platform ohci-platform: Generic Platform OHCI Controller
[   13.296000] ohci-platform ohci-platform: new USB bus registered, assigned bus number 1
[   13.304000] ohci-platform ohci-platform: irq 49, io mem 0xb0002600
[   13.376000] hub 1-0:1.0: USB hub found
[   13.380000] hub 1-0:1.0: 1 port detected
[   13.408000] Loading modules backported from Linux version master-2013-11-05-0-gafa3093
[   13.416000] Backport generated by backports.git backports-20130802-0-gdb67a3f
[   13.452000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   13.584000] xt_time: kernel timezone is -0000
[   13.604000] usbcore: registered new interface driver zd1201
[   13.736000] cfg80211: Calling CRDA to update world regulatory domain
[   13.744000] cfg80211: World regulatory domain updated:
[   13.748000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   13.756000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.764000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.772000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.780000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (300 mBi, 2000 mBm)
[   13.788000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (300 mBi, 2000 mBm)
[   13.796000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm)
[   13.836000] usb 1-1: new full-speed USB device number 2 using ohci-platform
[   13.848000] PPP generic driver version 2.4.2
[   13.864000] NET: Registered protocol family 24
[   13.884000] usbcore: registered new interface driver rtl8187
[   13.908000] usbcore: registered new interface driver zd1211rw
[   14.316000] b43-phy0: Broadcom 43225 WLAN found (core revision 23)
[   14.324000] b43-phy0: Found PHY: Analog 8, Type 4 (N), Revision 6
[   14.332000] Broadcom 43xx driver loaded [ Features: PNL ]
[   14.360000] usbcore: registered new interface driver brcmfmac
[   14.556000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   14.768000] usbcore: registered new interface driver ath9k_htc
[   18.596000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[   18.604000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 2, 100Mbps, full-duplex
[   18.612000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 3, 100Mbps, full-duplex
[   18.620000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[   23.928000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[   23.936000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 2, 100Mbps, full-duplex
[   23.944000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 3, 100Mbps, full-duplex
[   23.952000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[   23.980000] device eth0.1 entered promiscuous mode
[   23.984000] device eth0 entered promiscuous mode
[   24.016000] br-lan: port 1(eth0.1) entered forwarding state
[   24.020000] br-lan: port 1(eth0.1) entered forwarding state
[   24.924000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[   26.024000] br-lan: port 1(eth0.1) entered forwarding state
Muchísimas gracias y un saludo!

rafius15

  • Visitante
Re: [Desarrollo] OpenWrt en Telefónica Home Station ADB P.DG A4001N1
« Respuesta #524 en: 05-02-2014, 16:47 (Miércoles) »
Hola Noltari, crees que sería viable compilar la ultima versión con tus parches?
De ser afirmativo, me los podrías facilitar?

Muchas gracias y un saludo

zorrua

  • Visitante
Re:
« Respuesta #525 en: 10-02-2014, 22:02 (Lunes) »
Hola,

Para poder aportar al proyecto, ¿a donde puedo enviar los bugs?

El tema es que la asignacion de los puertos ethernet esta al reves en este router.

Saludos.

artistaInvitado

  • Visitante
Re: [Desarrollo] OpenWrt en Telefónica Home Station ADB P.DG A4001N1
« Respuesta #526 en: 16-02-2014, 19:01 (Domingo) »
Hola a todos,

Disculpad si esto ya está 'descubierto' y 'masticado'. El caso es que en su día leí bastantes páginas de este hilo y no aparecía nada y al no aparecer en el post inicial..., pues eso.

El caso es que si tras realizar los puentes para habilitar el flasheo por puerto serie, simplemente se puentean RX y TX durante un instante en el arranque obtendremos el clásico servidor web de recuperación de los broadcom, evitando así la incomodidad del puerto serie.

Yo lo descubrí hace tiempo y lo he utilizado unas pocas veces sin problema alguno, de tal modo que tengo un switch que saqué de un router que tenía para desguace soldado en un slot que tiene vacio este para un switch. Las soldaduras se dejan puestas, no utilizamos el puerto serie, y si necesitamos flashear lo podemos hacer como en tantos routers pulsando un botón y subiendo el firm.
(Si alguien quiere subo fotos, pero hace pereza desmontar la tapa para eso...)

Como no suelo explicarme demasiado bien, resumo;

1 - Haces las soldaduras marcadas como puentes en la wiki de openwrt (que obviamente salieron de aquí).
2 - Puenteas RX y TX.
3 - Conectas corriente.
4 - 1-3 segundos y se ilumina un led rojo, puedes desconectar RX y TX.
5 - Navegador a 192.168.1.1 y a subir tu firm.
6 - Las soldaduras, creo, se pueden dejar, yo las tengo y todo funciona ok.
7 - (Opcional) Te montas algo más o menos decente, a tu gusto, para que no anden cables sueltos por ahí y no andar con soldaduras cada x tiempo.

Había pensado ponerlo en la wiki de open, pero siempre es mejor asegurarte de que no estás loco.

Un saludo a todos.

pikomule

  • Visitante
Re: [Desarrollo] OpenWrt en Telefónica Home Station ADB P.DG A4001N1
« Respuesta #527 en: 16-02-2014, 19:25 (Domingo) »
Interesante. Gracias por compartirlo.

Ponedlo en el primer post

idollar

  • Visitante
Re: [Desarrollo] OpenWrt en Telefónica Home Station ADB P.DG A4001N1
« Respuesta #528 en: 02-03-2014, 01:13 (Domingo) »
Hola,

He installado la version r38342 del firmware casi todo funciona perfectamente, gracias.

Mi idea es instalar openvpn, pero tengo un problema de dependencias con el kernel. No encuentro una version del módulo tun (kmod-tun) para el kernel instalado (3.10.13). He probado a forzar dependencias y no funciona.
El módulo es para 3.10.32. Si lo copio a /var/modules/3.10.13, openvpn se llega a conectar e incluso el módulo se carga, pero en cuanto sale un paquete el router rearranca.

Es posible que alguien me indique una de estas (u otras opciones) ? :
1.- dónde puedo encontrar el paquete para el módulo
2.- o el módulo en binario para mi kernel
3.- o los parches para compilar openwrt

Estaba pensando que como no necesito más que el módulo otra opción sería compilarlo por mi parte, si es que encuentro la distribución correcta. En realidad no creo que necesite los parches para hacerlo

Agradecería cualquier ayuda/idea

Gracias por anticipado

idollar

idollar

  • Visitante
Re: [Desarrollo] OpenWrt en Telefónica Home Station ADB P.DG A4001N1
« Respuesta #529 en: 02-03-2014, 07:53 (Domingo) »
Hola me contesto yo mismo con mi solución. Os la mando por si alguien quiere hacer algo parecido.

He compilado openwrt, desde la versión que hay en el primer post:

Es sencillo si tienes una máquina gnu dónde compliar:

git clone git://github.com/openwrt-es/openwrt.git -b bcm63xx-r38342

make menuconfig
  Seleccionar bcm63xx
  buscar el modulo de kmod-tun y seleccionarlo como módulo

make
  Esperar un buen rato

find . -name kmod-tun\*

y copio el módulo al router con scp

root@router:/tmp# opkg install ./kmod-tun_3.10.13-1_brcm63xx.ipk
Installing kmod-tun (3.10.13-1) to root...
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-tun:
 *    kernel (= 3.10.13-1-4b2f68456e93164bec804efcf3e37d02) *
 * opkg_install_cmd: Cannot install package kmod-tun.

root@router:/tmp# uname -a
Linux AmsEgm 3.10.13 #1 Wed Oct 9 01:41:39 CEST 2013 mips GNU/Linux
root@AmsEgm:/tmp# opkg list-installed | grep kernel
kernel - 3.10.13-1-14e59cb8bc0a52b39ccd7fe9bad12ecc

root@router:/tmp# opkg --force-depends install ./kmod-tun_3.10.13-1_brcm63xx.ipk
Installing kmod-tun (3.10.13-1) to root...
Configuring kmod-tun.
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-tun:
 *    kernel (= 3.10.13-1-4b2f68456e93164bec804efcf3e37d02) *

root@AmsEgm:/tmp# rmmod tun
root@AmsEgm:/tmp# modprobe tun

Y a correr.

Openvpn ya funciona y no se cuelga.

Saludos

i$

zorrua

  • Visitante
Re: [Desarrollo] OpenWrt en Telefónica Home Station ADB P.DG A4001N1
« Respuesta #530 en: 02-03-2014, 10:04 (Domingo) »
Hola me contesto yo mismo con mi solución. Os la mando por si alguien quiere hacer algo parecido.

He compilado openwrt, desde la versión que hay en el primer post:

Es sencillo si tienes una máquina gnu dónde compliar:

git clone git://github.com/openwrt-es/openwrt.git -b bcm63xx-r38342

make menuconfig
  Seleccionar bcm63xx
  buscar el modulo de kmod-tun y seleccionarlo como módulo

make
  Esperar un buen rato

find . -name kmod-tun\*

y copio el módulo al router con scp

root@router:/tmp# opkg install ./kmod-tun_3.10.13-1_brcm63xx.ipk
Installing kmod-tun (3.10.13-1) to root...
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-tun:
 *    kernel (= 3.10.13-1-4b2f68456e93164bec804efcf3e37d02) *
 * opkg_install_cmd: Cannot install package kmod-tun.

root@router:/tmp# uname -a
Linux AmsEgm 3.10.13 #1 Wed Oct 9 01:41:39 CEST 2013 mips GNU/Linux
root@AmsEgm:/tmp# opkg list-installed | grep kernel
kernel - 3.10.13-1-14e59cb8bc0a52b39ccd7fe9bad12ecc

root@router:/tmp# opkg --force-depends install ./kmod-tun_3.10.13-1_brcm63xx.ipk
Installing kmod-tun (3.10.13-1) to root...
Configuring kmod-tun.
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-tun:
 *    kernel (= 3.10.13-1-4b2f68456e93164bec804efcf3e37d02) *

root@AmsEgm:/tmp# rmmod tun
root@AmsEgm:/tmp# modprobe tun

Y a correr.

Openvpn ya funciona y no se cuelga.

Saludos

i$

Hola, por curiosidad, ¿el OpenVPN lo tienes de servidor o de cliente en el router?

Me gustaria configurar de servidor en el router para poder conectarme desde fuera y estar dentro de la LAN.

Saludos.

joserg

  • Visitante
Re: [Desarrollo] OpenWrt en Telefónica Home Station ADB P.DG A4001N1
« Respuesta #531 en: 13-03-2014, 22:40 (Jueves) »
Holaaa!
He de decir primero que muchas gracias por este curro que he visto que os habeis montao para poder instalar openwrt en este router.
Gracias a vosotros he podido instalar openwrt sin problemas, he conseguido conectarlo por wifi, hacer un servidor de impresion y hacer un servidor de archivos con samba. Pero con este ultimo he tenido un problema:
He conseguido compartir un pen en formato ext4 y va muy bien, pero al probar con el formato fat, me detecta el pendrive (lo veo con el comando ls /dev/sd*) pero no me deja montarlo, me dice "no such device"
Código: [Seleccionar]
root@OpenWrt:~# mount -t vfat /dev/sda1 /mnt/sda1/
mount: mounting /dev/sda1 on /mnt/sda1/ failed: No such device

Desconectado jar229

  • Moderador
  • *
  • Mensajes: 4607
Re: [Desarrollo] OpenWrt en Telefónica Home Station ADB P.DG A4001N1
« Respuesta #532 en: 14-03-2014, 08:35 (Viernes) »
Después de intentar montar el pen en fat32, echa un ojo al log del router (con el comando dmesg) a ver si dice algo ...  ^-^

joserg

  • Visitante
Re: [Desarrollo] OpenWrt en Telefónica Home Station ADB P.DG A4001N1
« Respuesta #533 en: 15-03-2014, 13:18 (Sábado) »
Después de intentar montar el pen en fat32, echa un ojo al log del router (con el comando dmesg) a ver si dice algo ...  ^-^
[    0.000000] Linux version 3.10.13 (noltari@skynet) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r38342) ) #1 Wed Oct 9 01:41:39 CEST 2013
[    0.000000] Detected Broadcom 0x6328 CPU revision b0
[    0.000000] CPU frequency is 320 MHz
[    0.000000] 32MB of RAM installed
[    0.000000] registering 32 GPIOs
[    0.000000] board_bcm963xx: Boot address 0xb8000000
[    0.000000] board_bcm963xx: CFE version: A4001N-V000
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a075 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: 963281T_TEF
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x01ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x01ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 802dea70, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    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.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Memory: 28944k/32768k available (2348k kernel code, 3824k reserved, 614k data, 236k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.036000] Calibrating delay loop... 318.46 BogoMIPS (lpj=636928)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.048000] NET: Registered protocol family 16
[    0.276000] registering PCI controller with io_map_base unset
[    0.288000] bio: create slab <bio-0> at 0
[    0.292000] PCI host bridge to bus 0000:00
[    0.296000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x11efffff]
[    0.300000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.304000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.308000] pci 0000:00:00.0: [14e4:6328] type 01 class 0x060400
[    0.308000] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.308000] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.312000] pci 0000:01:00.0: [14e4:a8d8] type 00 class 0x028000
[    0.312000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00003fff 64bit]
[    0.312000] pci 0000:01:00.0: supports D1 D2
[    0.312000] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.312000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01
[    0.312000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.316000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.320000] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.324000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.328000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    0.332000] Switching to clocksource MIPS
[    0.340000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[    0.348000] bcma: bus0: Found chip with id 0xA8D9, rev 0x01 and package 0x0A
[    0.356000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[    0.364000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[    0.372000] bcma: bus0: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[    0.380000] bcma: bus0: Found rev 6 PMU (capabilities 0x108C2606)
[    0.380000] bcma: bus0: SPROM offset 0x800
[    0.464000] bcma: bus0: Invalid SPROM read from the PCIe card, trying to use fallback SPROM
[    0.472000] bcm63xx_sprom_bcma: filled sprom for chip id 0xa8d9
[    0.476000] bcma: bus0: Using SPROM revision 8 provided by platform.
[    0.476000] bcma: bus0: PMU resource config unknown or not needed for device 0xA8D9
[    0.480000] bcma: bus0: Workarounds unknown or not needed for device 0xA8D9
[    0.488000] bcma: bus0: GPIO driver not activated
[    0.488000] bcma: bus0: Bus registered
[    0.492000] NET: Registered protocol family 2
[    0.500000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.504000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.512000] TCP: Hash tables configured (established 512 bind 512)
[    0.520000] TCP: reno registered
[    0.520000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.528000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.536000] NET: Registered protocol family 1
[    0.540000] PCI: CLS 0 bytes, default 16
[    0.544000] audit: initializing netlink socket (disabled)
[    0.548000] type=2000 audit(0.548:1): initialized
[    0.556000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.560000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.572000] msgmni has been set to 56
[    0.576000] io scheduler noop registered
[    0.580000] io scheduler deadline registered (default)
[    0.588000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36) is a bcm63xx_uart
[    0.596000] console [ttyS0] enabled, bootconsole disabled
[    0.612000] m25p80 spi1.0: found mx25l12805d, expected m25p80
[    0.620000] m25p80 spi1.0: mx25l12805d (16384 Kbytes)
[    0.624000] bcm63xxpart: CFE boot tag found with version 6 and board type 963281T_TEF
[    0.632000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.640000] bcm63xxpart: Partition 1 is kernel offset 10100 and length 10ff00
[    0.644000] bcm63xxpart: Partition 2 is rootfs offset 120000 and length ed0000
[    0.652000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[    0.660000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[    0.668000] bcm63xxpart: Spare partition is offset 450004 and length b9fffc
[    0.676000] 5 bcm63xxpart partitions found on MTD device spi1.0
[    0.680000] Creating 5 MTD partitions on "spi1.0":
[    0.688000] 0x000000000000-0x000000010000 : "CFE"
[    0.692000] 0x000000010100-0x000000120000 : "kernel"
[    0.700000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.716000] 0x000000120000-0x000000ff0000 : "rootfs"
[    0.720000] mtd: partition "rootfs" set to be root filesystem
[    0.728000] mtd: partition "rootfs_data" created automatically, ofs=0x450000, len=0xba0000
[    0.736000] 0x000000450000-0x000000ff0000 : "rootfs_data"
[    0.744000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.752000] 0x000000010000-0x000000ff0000 : "linux"
[    0.800000] b53_common: found switch: BCM63xx, rev 0
[    0.804000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.820000] TCP: cubic registered
[    0.824000] NET: Registered protocol family 17
[    0.828000] 8021q: 802.1Q VLAN Support v1.8
[    0.844000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.856000] Freeing unused kernel memory: 236K (802f5000 - 80330000)
[    6.356000] usbcore: registered new interface driver usbfs
[    6.364000] usbcore: registered new interface driver hub
[    6.368000] usbcore: registered new device driver usb
[    6.384000] Button Hotplug driver version 0.4.1
[    6.476000] SCSI subsystem initialized
[    6.496000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.504000] ehci-platform: EHCI generic platform driver
[    6.616000] ehci-platform ehci-platform: EHCI Host Controller
[    6.620000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[    6.628000] ehci-platform ehci-platform: irq 50, io mem 0xb0002500
[    6.648000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00, overcurrent ignored
[    6.656000] hub 1-0:1.0: USB hub found
[    6.660000] hub 1-0:1.0: 1 port detected
[    6.672000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    6.676000] ohci-platform ohci-platform: Generic Platform OHCI Controller
[    6.684000] ohci-platform ohci-platform: new USB bus registered, assigned bus number 2
[    6.692000] ohci-platform ohci-platform: irq 49, io mem 0xb0002600
[    6.760000] hub 2-0:1.0: USB hub found
[    6.764000] hub 2-0:1.0: 1 port detected
[    6.780000] usbcore: registered new interface driver usb-storage
[    6.792000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[    7.236000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    7.420000] usb-storage 1-1:1.0: USB Mass Storage device detected
[    7.424000] scsi0 : usb-storage 1-1:1.0
[    8.796000] scsi 0:0:0:0: Direct-Access     JetFlash Transcend 8GB    1100 PQ: 0 ANSI: 0 CCS
[    8.808000] sd 0:0:0:0: [sda] 15826944 512-byte logical blocks: (8.10 GB/7.54 GiB)
[    8.820000] sd 0:0:0:0: [sda] Write Protect is off
[    8.824000] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[    8.824000] sd 0:0:0:0: [sda] No Caching mode page found
[    8.832000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    8.840000] sd 0:0:0:0: [sda] No Caching mode page found
[    8.848000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    8.856000]  sda: sda1
[    8.864000] sd 0:0:0:0: [sda] No Caching mode page found
[    8.868000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    8.876000] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   10.672000] jffs2: notice: (262) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 9 of xref (0 dead, 2 orphan) found.
[   14.184000] NET: Registered protocol family 10
[   14.208000] nf_conntrack version 0.5.0 (455 buckets, 1820 max)
[   14.228000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   14.276000] Loading modules backported from Linux version master-2013-06-27-0-gdcfa6d5
[   14.284000] Backport generated by backports.git backports-20130617-4-ge3220f5
[   14.304000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.324000] lib80211: common routines for IEEE802.11 drivers
[   14.332000] lib80211_crypt: registered algorithm 'NULL'
[   14.336000] lib80211_crypt: registered algorithm 'CCMP'
[   14.336000] lib80211_crypt: registered algorithm 'TKIP'
[   14.340000] lib80211_crypt: registered algorithm 'WEP'
[   14.412000] xt_time: kernel timezone is -0000
[   14.424000] usbcore: registered new interface driver zd1201
[   14.524000] cfg80211: Calling CRDA to update world regulatory domain
[   14.576000] cfg80211: World regulatory domain updated:
[   14.584000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   14.592000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.600000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   14.608000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   14.616000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.624000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.688000] usbcore: registered new interface driver p54usb
[   14.704000] PPP generic driver version 2.4.2
[   14.712000] NET: Registered protocol family 24
[   14.768000] usbcore: registered new interface driver rt73usb
[   14.788000] usbcore: registered new interface driver rtl8187
[   14.816000] usbcore: registered new interface driver usb8xxx
[   14.836000] usbcore: registered new interface driver zd1211rw
[   14.936000] usbcore: registered new interface driver brcmfmac
[   15.036000] usbcore: registered new interface driver carl9170
[   15.060000] brcmsmac bcma0:0: mfg 4bf core 812 rev 23 class 0 irq 31
[   15.064000] bcma: bus0: Switched to core: 0x812
[   15.068000] usbcore: registered new interface driver rt2500usb
[   15.076000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   15.136000] usbcore: registered new interface driver rt2800usb
[   15.204000] usbcore: registered new interface driver ath9k_htc
[   15.248000] usbcore: registered new interface driver rtl8192cu
[   22.416000] device eth0.1 entered promiscuous mode
[   22.424000] device eth0 entered promiscuous mode
[   22.492000] br-lan: port 1(eth0.1) entered forwarding state
[   22.496000] br-lan: port 1(eth0.1) entered forwarding state
[   23.412000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[   24.500000] br-lan: port 1(eth0.1) entered forwarding state
[   28.584000] brcmsmac bcma0:0: brcms_ops_bss_info_changed: qos enabled: false (implement)
[   28.592000] brcmsmac bcma0:0: brcms_ops_config: change power-save mode: false (implement)
[   28.608000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   34.980000] wlan0: authenticate with 00:1a:2b:ab:63:be
[   34.988000] wlan0: send auth to 00:1a:2b:ab:63:be (try 1/3)
[   34.996000] wlan0: authenticated
[   35.016000] wlan0: associate with 00:1a:2b:ab:63:be (try 1/3)
[   35.028000] wlan0: RX AssocResp from 00:1a:2b:ab:63:be (capab=0x411 status=0 aid=6)
[   35.036000] brcmsmac bcma0:0: brcmsmac: brcms_ops_bss_info_changed: associated
[   35.044000] brcmsmac bcma0:0: brcms_ops_bss_info_changed: qos enabled: true (implement)
[   35.052000] wlan0: associated
[   35.056000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

no se como se interpreta asi que te lo paso todo

Desconectado jar229

  • Moderador
  • *
  • Mensajes: 4607
Re: [Desarrollo] OpenWrt en Telefónica Home Station ADB P.DG A4001N1
« Respuesta #534 en: 15-03-2014, 16:48 (Sábado) »
Citar
[    7.424000] scsi0 : usb-storage 1-1:1.0
[    8.796000] scsi 0:0:0:0: Direct-Access     JetFlash Transcend 8GB    1100 PQ: 0 ANSI: 0 CCS
[    8.808000] sd 0:0:0:0: [sda] 15826944 512-byte logical blocks: (8.10 GB/7.54 GiB)
[    8.820000] sd 0:0:0:0: [sda] Write Protect is off
[    8.824000] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[    8.824000] sd 0:0:0:0: [sda] No Caching mode page found
[    8.832000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    8.840000] sd 0:0:0:0: [sda] No Caching mode page found
[    8.848000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    8.856000]  sda: sda1
[    8.864000] sd 0:0:0:0: [sda] No Caching mode page found
[    8.868000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    8.876000] sd 0:0:0:0: [sda] Attached SCSI removable disk

El pendrive lo 've' perfectamente.

Has ejecutado el comando para montarlo antes de sacar el log ?

Desconectado Tki2000

  • Moderador
  • *
  • Mensajes: 2247
Re: [Desarrollo] OpenWrt en Telefónica Home Station ADB P.DG A4001N1
« Respuesta #535 en: 15-03-2014, 19:22 (Sábado) »
Holaaa!
He de decir primero que muchas gracias por este curro que he visto que os habeis montao para poder instalar openwrt en este router.
Gracias a vosotros he podido instalar openwrt sin problemas, he conseguido conectarlo por wifi, hacer un servidor de impresion y hacer un servidor de archivos con samba. Pero con este ultimo he tenido un problema:
He conseguido compartir un pen en formato ext4 y va muy bien, pero al probar con el formato fat, me detecta el pendrive (lo veo con el comando ls /dev/sd*) pero no me deja montarlo, me dice "no such device"
Código: [Seleccionar]
root@OpenWrt:~# mount -t vfat /dev/sda1 /mnt/sda1/
mount: mounting /dev/sda1 on /mnt/sda1/ failed: No such device

A mi me ha salido ese error cuando me faltaban los módulos del kernel con el sistema de archivos que queremos montar.
Comprueba que tienes cargados los módulos:

Código: [Seleccionar]
kmod-fs-ext4
kmod-fs-ntfs
kmod-fs-vfat
kmod-nls-base
kmod-nls-cp1250
kmod-nls-cp437
kmod-nls-cp850
kmod-nls-cp852
kmod-nls-iso8859-1
kmod-nls-iso8859-15
kmod-nls-utf8

joserg

  • Visitante
Re: [Desarrollo] OpenWrt en Telefónica Home Station ADB P.DG A4001N1
« Respuesta #536 en: 16-03-2014, 01:00 (Domingo) »
Citar
[    7.424000] scsi0 : usb-storage 1-1:1.0
[    8.796000] scsi 0:0:0:0: Direct-Access     JetFlash Transcend 8GB    1100 PQ: 0 ANSI: 0 CCS
[    8.808000] sd 0:0:0:0: [sda] 15826944 512-byte logical blocks: (8.10 GB/7.54 GiB)
[    8.820000] sd 0:0:0:0: [sda] Write Protect is off
[    8.824000] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[    8.824000] sd 0:0:0:0: [sda] No Caching mode page found
[    8.832000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    8.840000] sd 0:0:0:0: [sda] No Caching mode page found
[    8.848000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    8.856000]  sda: sda1
[    8.864000] sd 0:0:0:0: [sda] No Caching mode page found
[    8.868000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    8.876000] sd 0:0:0:0: [sda] Attached SCSI removable disk

El pendrive lo 've' perfectamente.

Has ejecutado el comando para montarlo antes de sacar el log ?
asi es, se que me lo detecta, de hecho lo he podido montar y compartir en formato ext4, pero en fat nada, y es el que necesito para poder coenectarlo a mi tv.
Probaré a instalar los modulos que dice tki200, aunque los que se supone que son para fat ya creo que los tengo todos.
muchas gracias a los dos

joserg

  • Visitante
Re: [Desarrollo] OpenWrt en Telefónica Home Station ADB P.DG A4001N1
« Respuesta #537 en: 16-03-2014, 01:02 (Domingo) »
A mi me ha salido ese error cuando me faltaban los módulos del kernel con el sistema de archivos que queremos montar.
Comprueba que tienes cargados los módulos:

Código: [Seleccionar]
kmod-fs-ext4
kmod-fs-ntfs
kmod-fs-vfat
kmod-nls-base
kmod-nls-cp1250
kmod-nls-cp437
kmod-nls-cp850
kmod-nls-cp852
kmod-nls-iso8859-1
kmod-nls-iso8859-15
kmod-nls-utf8

[/quote]
Voy a probar a instalar todos eso que dices aunque ya tengo instalados la mayoria, decir tambien que estos modulos los tengo que instalar con --force-depends porque sino no me deja instalarlos
muchas gracias por tu ayuda

joserg

  • Visitante
Re: [Desarrollo] OpenWrt en Telefónica Home Station ADB P.DG A4001N1
« Respuesta #538 en: 16-03-2014, 13:14 (Domingo) »
Citar
[    7.424000] scsi0 : usb-storage 1-1:1.0
[    8.796000] scsi 0:0:0:0: Direct-Access     JetFlash Transcend 8GB    1100 PQ: 0 ANSI: 0 CCS
[    8.808000] sd 0:0:0:0: [sda] 15826944 512-byte logical blocks: (8.10 GB/7.54 GiB)
[    8.820000] sd 0:0:0:0: [sda] Write Protect is off
[    8.824000] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[    8.824000] sd 0:0:0:0: [sda] No Caching mode page found
[    8.832000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    8.840000] sd 0:0:0:0: [sda] No Caching mode page found
[    8.848000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    8.856000]  sda: sda1
[    8.864000] sd 0:0:0:0: [sda] No Caching mode page found
[    8.868000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    8.876000] sd 0:0:0:0: [sda] Attached SCSI removable disk

El pendrive lo 've' perfectamente.

Has ejecutado el comando para montarlo antes de sacar el log ?

root@OpenWrt:~# dmesg
[    0.000000] Linux version 3.10.13 (noltari@skynet) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r38342) ) #1 Wed Oct 9 01:41:39 CEST 2013
[    0.000000] Detected Broadcom 0x6328 CPU revision b0
[    0.000000] CPU frequency is 320 MHz
[    0.000000] 32MB of RAM installed
[    0.000000] registering 32 GPIOs
[    0.000000] board_bcm963xx: Boot address 0xb8000000
[    0.000000] board_bcm963xx: CFE version: A4001N-V000
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a075 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: 963281T_TEF
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x01ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x01ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 802dea70, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    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.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Memory: 28944k/32768k available (2348k kernel code, 3824k reserved, 614k data, 236k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.036000] Calibrating delay loop... 318.46 BogoMIPS (lpj=636928)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.048000] NET: Registered protocol family 16
[    0.276000] registering PCI controller with io_map_base unset
[    0.288000] bio: create slab <bio-0> at 0
[    0.292000] PCI host bridge to bus 0000:00
[    0.296000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x11efffff]
[    0.300000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.304000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.308000] pci 0000:00:00.0: [14e4:6328] type 01 class 0x060400
[    0.308000] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.308000] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.312000] pci 0000:01:00.0: [14e4:a8d8] type 00 class 0x028000
[    0.312000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00003fff 64bit]
[    0.312000] pci 0000:01:00.0: supports D1 D2
[    0.312000] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.312000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01
[    0.312000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.316000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.320000] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.324000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.328000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    0.332000] Switching to clocksource MIPS
[    0.340000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[    0.348000] bcma: bus0: Found chip with id 0xA8D9, rev 0x01 and package 0x0A
[    0.356000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[    0.364000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[    0.372000] bcma: bus0: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[    0.380000] bcma: bus0: Found rev 6 PMU (capabilities 0x108C2606)
[    0.380000] bcma: bus0: SPROM offset 0x800
[    0.464000] bcma: bus0: Invalid SPROM read from the PCIe card, trying to use fallback SPROM
[    0.472000] bcm63xx_sprom_bcma: filled sprom for chip id 0xa8d9
[    0.476000] bcma: bus0: Using SPROM revision 8 provided by platform.
[    0.476000] bcma: bus0: PMU resource config unknown or not needed for device 0xA8D9
[    0.480000] bcma: bus0: Workarounds unknown or not needed for device 0xA8D9
[    0.488000] bcma: bus0: GPIO driver not activated
[    0.488000] bcma: bus0: Bus registered
[    0.492000] NET: Registered protocol family 2
[    0.500000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.504000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.512000] TCP: Hash tables configured (established 512 bind 512)
[    0.520000] TCP: reno registered
[    0.520000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.528000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.536000] NET: Registered protocol family 1
[    0.540000] PCI: CLS 0 bytes, default 16
[    0.544000] audit: initializing netlink socket (disabled)
[    0.548000] type=2000 audit(0.548:1): initialized
[    0.556000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.560000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.572000] msgmni has been set to 56
[    0.576000] io scheduler noop registered
[    0.580000] io scheduler deadline registered (default)
[    0.588000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36) is a bcm63xx_uart
[    0.596000] console [ttyS0] enabled, bootconsole disabled
[    0.612000] m25p80 spi1.0: found mx25l12805d, expected m25p80
[    0.620000] m25p80 spi1.0: mx25l12805d (16384 Kbytes)
[    0.624000] bcm63xxpart: CFE boot tag found with version 6 and board type 963281T_TEF
[    0.632000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.640000] bcm63xxpart: Partition 1 is kernel offset 10100 and length 10ff00
[    0.644000] bcm63xxpart: Partition 2 is rootfs offset 120000 and length ed0000
[    0.652000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[    0.660000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[    0.668000] bcm63xxpart: Spare partition is offset 450004 and length b9fffc
[    0.676000] 5 bcm63xxpart partitions found on MTD device spi1.0
[    0.680000] Creating 5 MTD partitions on "spi1.0":
[    0.688000] 0x000000000000-0x000000010000 : "CFE"
[    0.692000] 0x000000010100-0x000000120000 : "kernel"
[    0.700000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.716000] 0x000000120000-0x000000ff0000 : "rootfs"
[    0.720000] mtd: partition "rootfs" set to be root filesystem
[    0.728000] mtd: partition "rootfs_data" created automatically, ofs=0x450000, len=0xba0000
[    0.736000] 0x000000450000-0x000000ff0000 : "rootfs_data"
[    0.744000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.752000] 0x000000010000-0x000000ff0000 : "linux"
[    0.800000] b53_common: found switch: BCM63xx, rev 0
[    0.804000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.820000] TCP: cubic registered
[    0.824000] NET: Registered protocol family 17
[    0.828000] 8021q: 802.1Q VLAN Support v1.8
[    0.844000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.856000] Freeing unused kernel memory: 236K (802f5000 - 80330000)
[    6.364000] usbcore: registered new interface driver usbfs
[    6.368000] usbcore: registered new interface driver hub
[    6.376000] usbcore: registered new device driver usb
[    6.388000] Button Hotplug driver version 0.4.1
[    6.484000] SCSI subsystem initialized
[    6.500000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.512000] ehci-platform: EHCI generic platform driver
[    6.620000] ehci-platform ehci-platform: EHCI Host Controller
[    6.624000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[    6.632000] ehci-platform ehci-platform: irq 50, io mem 0xb0002500
[    6.652000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00, overcurrent ignored
[    6.660000] hub 1-0:1.0: USB hub found
[    6.664000] hub 1-0:1.0: 1 port detected
[    6.676000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    6.680000] ohci-platform ohci-platform: Generic Platform OHCI Controller
[    6.688000] ohci-platform ohci-platform: new USB bus registered, assigned bus number 2
[    6.696000] ohci-platform ohci-platform: irq 49, io mem 0xb0002600
[    6.764000] hub 2-0:1.0: USB hub found
[    6.768000] hub 2-0:1.0: 1 port detected
[    6.784000] usbcore: registered new interface driver usb-storage
[    6.796000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[    7.240000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    7.424000] usb-storage 1-1:1.0: USB Mass Storage device detected
[    7.432000] scsi0 : usb-storage 1-1:1.0
[    9.352000] scsi 0:0:0:0: Direct-Access     JetFlash Transcend 8GB    1100 PQ: 0 ANSI: 0 CCS
[    9.372000] sd 0:0:0:0: [sda] 15826944 512-byte logical blocks: (8.10 GB/7.54 GiB)
[    9.380000] sd 0:0:0:0: [sda] Write Protect is off
[    9.388000] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[    9.388000] sd 0:0:0:0: [sda] No Caching mode page found
[    9.392000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    9.404000] sd 0:0:0:0: [sda] No Caching mode page found
[    9.412000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    9.420000]  sda: sda1
[    9.428000] sd 0:0:0:0: [sda] No Caching mode page found
[    9.432000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    9.440000] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   10.684000] jffs2: notice: (262) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 9 of xref (0 dead, 2 orphan) found.
[   14.252000] NET: Registered protocol family 10
[   14.288000] nf_conntrack version 0.5.0 (455 buckets, 1820 max)
[   14.308000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   14.348000] Loading modules backported from Linux version master-2013-06-27-0-gdcfa6d5
[   14.360000] Backport generated by backports.git backports-20130617-4-ge3220f5
[   14.384000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.404000] lib80211: common routines for IEEE802.11 drivers
[   14.408000] lib80211_crypt: registered algorithm 'NULL'
[   14.412000] lib80211_crypt: registered algorithm 'CCMP'
[   14.416000] lib80211_crypt: registered algorithm 'TKIP'
[   14.416000] lib80211_crypt: registered algorithm 'WEP'
[   14.508000] xt_time: kernel timezone is -0000
[   14.520000] usbcore: registered new interface driver zd1201
[   14.688000] cfg80211: Calling CRDA to update world regulatory domain
[   14.708000] cfg80211: World regulatory domain updated:
[   14.712000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   14.720000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.728000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   14.736000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   14.744000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.752000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.804000] usbcore: registered new interface driver p54usb
[   14.820000] PPP generic driver version 2.4.2
[   14.832000] NET: Registered protocol family 24
[   14.904000] usbcore: registered new interface driver rt73usb
[   14.924000] usbcore: registered new interface driver rtl8187
[   14.952000] usbcore: registered new interface driver usb8xxx
[   14.972000] usbcore: registered new interface driver zd1211rw
[   15.088000] usbcore: registered new interface driver brcmfmac
[   15.176000] usbcore: registered new interface driver carl9170
[   15.204000] usbcore: registered new interface driver rt2500usb
[   15.208000] brcmsmac bcma0:0: mfg 4bf core 812 rev 23 class 0 irq 31
[   15.216000] bcma: bus0: Switched to core: 0x812
[   15.240000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   15.276000] usbcore: registered new interface driver rt2800usb
[   15.332000] usbcore: registered new interface driver ath9k_htc
[   15.384000] usbcore: registered new interface driver rtl8192cu
[   22.192000] device eth0.1 entered promiscuous mode
[   22.196000] device eth0 entered promiscuous mode
[   22.212000] br-lan: port 1(eth0.1) entered forwarding state
[   22.216000] br-lan: port 1(eth0.1) entered forwarding state
[   22.324000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[   24.220000] br-lan: port 1(eth0.1) entered forwarding state
[   28.640000] brcmsmac bcma0:0: brcms_ops_bss_info_changed: qos enabled: false (implement)
[   28.648000] brcmsmac bcma0:0: brcms_ops_config: change power-save mode: false (implement)
[   28.664000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   34.420000] wlan0: authenticate with 00:1a:2b:ab:63:be
[   34.428000] wlan0: send auth to 00:1a:2b:ab:63:be (try 1/3)
[   34.436000] wlan0: authenticated
[   34.452000] wlan0: associate with 00:1a:2b:ab:63:be (try 1/3)
[   34.460000] wlan0: RX AssocResp from 00:1a:2b:ab:63:be (capab=0x411 status=0 aid=5)
[   34.468000] brcmsmac bcma0:0: brcmsmac: brcms_ops_bss_info_changed: associated
[   34.476000] brcmsmac bcma0:0: brcms_ops_bss_info_changed: qos enabled: true (implement)
[   34.484000] wlan0: associated
[   34.488000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

te lo mando otra vez, con todos los modulos que ha mencionado tki200
PD: sigue sin funcionar   :'(
« Última modificación: 16-03-2014, 14:19 (Domingo) por joserg »

Desconectado jar229

  • Moderador
  • *
  • Mensajes: 4607
Re: [Desarrollo] OpenWrt en Telefónica Home Station ADB P.DG A4001N1
« Respuesta #539 en: 16-03-2014, 14:34 (Domingo) »
La instalación de módulos dependientes del kernel, no suele funcionar forzando las dependencias (está explicado en las FAQ).

Si quieres hacer servir el pendrive con formato FAT32 tendrás que usar un firmware que incluya los paquetes necesarios.

Qué compilación estás usando ?