Turn hg553 into a repeater

Good Afternoon!
I read that the device in question can't be used as a repeater itself but it theoretically could using a usb wifi device, which I happen to have, and the hg553 have a couple of usb ports, one of those originally used for a hdspa modem. Do you think it is actually? Are there already packages or modules that could work on the matter?
Thanks anyway for reading!

Yes, just install luci, put USB dongle and reboot the router. New interface you should see

Hello! thanks for your interest!
Luci was already installed as I I first went with openwrt 15 and then upgraded to latest lede 17. I tried to reboot a couple of times and I also tried both usb ports but no new interface appeared.

Have you installed kmod-usb-net or other needed packages (if WiFi)?

I'm sorry but I'm pretty new in this field . I installed the package you suggested but nothing changed. How do I know if there are any other packages needed?
the adapte is a dwl-g132 (if it can be on any help, in its windows driver there is a ar5532.bin).

just to be clear, at the moment when I plug the dongle the lights don't even stay on (but they turn on for an instant)

thank you anyway!

I made clear if it was WiFi, then that wouldn't be the package:

You will need the driver for your WIRELESS DEVICE. You will have to determine that.

Search here:

https://openwrt.org/packages/table/start

I see.. any hint about how I could find out? I couldn't find any package that seemed to fit. I looked for its chipset and it looks like it's an atheros one
https://wikidevi.com/wiki/D-Link_DWL-G132_rev_A1

WI1 chip1: Atheros AR5523

WI1 chip2: Atheros AR2112

You'll need an ath5k driver for the AR5523. I'm not sure about the 2k...

I installed both kmod-ath and kmod-ath5k but didn't notice any change

install also:
kmod-usb-ehci
kmod-usb-ohci
kmod-usb-uhci
kmod-usb2

If it is still not working please paste "kernel log"

still not working, here's the kernel log

[    0.000000] Linux version 4.4.92 (buildbot@debian8) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3560-79f57e4) ) #0 Tue Oct 17 17:46:20 2017
[    0.000000] Detected Broadcom 0x6358 CPU revision a1
[    0.000000] CPU frequency is 300 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] board_bcm963xx: Boot address 0xbe000000
[    0.000000] board_bcm963xx: CFE version: d080.5003
[    0.000000] bcm63xx_nvram: nvram checksum failed, contents may be invalid (expected 33303133, got 20a994c2)
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0002a010 (Broadcom BMIPS4350)
[    0.000000] board: board name: HW553
[    0.000000] MIPS: machine is Huawei EchoLife HG553
[    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 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 803a4530, node_mem_map 81003850
[    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 16kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 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: 59580K/65536K available (3126K kernel code, 150K rwdata, 504K rodata, 1268K init, 198K bss, 5956K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 12741736309 ns
[    0.000023] sched_clock: 32 bits at 150MHz, resolution 6ns, wraps every 14316557820ns
[    0.008154] Calibrating delay loop... 297.98 BogoMIPS (lpj=595968)
[    0.046986] pid_max: default: 32768 minimum: 301
[    0.052136] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.059000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.077579] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.087702] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.097451] NET: Registered protocol family 16
[    0.110736] Can't analyze schedule() prologue at 80016d88
[    0.129615] registering PCI controller with io_map_base unset
[    0.135587] registering PCI controller with io_map_base unset
[    0.169760] PCI host bridge to bus 0000:00
[    0.174069] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[    0.181206] pci_bus 0000:00: root bus resource [io  0x8000000-0x8007fff]
[    0.188157] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.195196] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.203468] pci 0000:00:01.0: [14e4:4318] type 00 class 0x028000
[    0.204576] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x00001fff]
[    0.211484] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.211577] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x30001fff]
[    0.219536] PCI host bridge to bus 0000:01
[    0.223833] pci_bus 0000:01: root bus resource [mem 0x38000000-0x3fffffff]
[    0.230969] pci_bus 0000:01: root bus resource [io  0x8008000-0x800ffff]
[    0.237921] pci_bus 0000:01: root bus resource [??? 0x00000000 flags 0x0]
[    0.244959] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
[    0.253280] pci 0000:01:1e.0: [14e4:6358] type 02 class 0x060700
[    0.253989] pci 0000:01:1e.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.262719] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 05
[    0.262794] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 05
[    0.262889] pci 0000:01:1e.0: BAR 10: assigned [mem 0x38000000-0x3fffffff]
[    0.270047] pci 0000:01:1e.0: BAR 7: assigned [io  0x8008000-0x80080ff]
[    0.276919] pci 0000:01:1e.0: BAR 8: assigned [io  0x8008400-0x80084ff]
[    0.283779] pci 0000:01:1e.0: CardBus bridge to [bus 02-05]
[    0.289565] pci 0000:01:1e.0:   bridge window [io  0x8008000-0x80080ff]
[    0.296432] pci 0000:01:1e.0:   bridge window [io  0x8008400-0x80084ff]
[    0.303298] pci 0000:01:1e.0:   bridge window [mem 0x38000000-0x3fffffff]
[    0.312843] clocksource: Switched to clocksource MIPS
[    0.321825] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[    0.357958] ssb: Found chip with id 0x4318, rev 0x02 and package 0x00
[    0.365224] ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x0D, vendor 0x4243)
[    0.365783] ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x09, vendor 0x4243)
[    0.366331] ssb: Core 2 found: PCI (cc 0x804, rev 0x0C, vendor 0x4243)
[    0.366879] ssb: Core 3 found: PCMCIA (cc 0x80D, rev 0x07, vendor 0x4243)
[    0.407292] ssb: Sonics Silicon Backplane found on PCI device 0000:00:01.0
[    0.415173] NET: Registered protocol family 2
[    0.422323] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.429682] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.436353] TCP: Hash tables configured (established 1024 bind 1024)
[    0.443449] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.449625] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.456945] NET: Registered protocol family 1
[    0.461614] PCI: CLS 0 bytes, default 16
[    0.466519] Crashlog allocated RAM at address 0x3f00000
[    0.527265] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.533340] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.552704] io scheduler noop registered
[    0.556809] io scheduler deadline registered (default)
[    0.565198] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10, base_baud = 1562500) is a bcm63xx_uart
[    0.574901] console [ttyS0] enabled
[    0.582106] bootconsole [early0] disabled
[    0.593084] 1e000000.nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002101
[    0.603460] 1e000000.nor: Found an alias at 0x1000000 for the chip at 0x0
[    0.603516] Amd/Fujitsu Extended Query Table at 0x0040
[    0.608905]   Amd/Fujitsu Extended Query version 1.3.
[    0.614145] number of CFI chips: 1
[    0.625696] bcm63xxpart: CFE boot tag found with version 7 and board type HW553
[    0.633378] 5 bcm63xxpart partitions found on MTD device 1e000000.nor
[    0.640076] Creating 5 MTD partitions on "1e000000.nor":
[    0.645598] 0x000000000000-0x000000020000 : "CFE"
[    0.654869] 0x000000020100-0x000000156eec : "kernel"
[    0.665379] 0x000000156eec-0x000000fe0000 : "rootfs"
[    0.675709] mtd: device 2 (rootfs) set to be root filesystem
[    0.681653] 1 squashfs-split partitions found on MTD device rootfs
[    0.688079] 0x0000003c0000-0x000000fe0000 : "rootfs_data"
[    0.698924] 0x000000020000-0x000000fe0000 : "linux"
[    0.709439] 0x000000fe0000-0x000001000000 : "nvram"
[    0.724210] bcm63xx-spi bcm6358-spi: at [mem 0xfffe0800-0xfffe0f0b flags 0x200] (irq 9, FIFOs size 542)
[    0.745927] libphy: bcm63xx_enet MII bus: probed
[    0.815731] b53_common: found switch: BCM5325, rev 0
[    0.820940] bcm63xx_enet bcm63xx_enet.1: attached PHY at address 0 [Broadcom B53 (1)]
[    0.831874] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.846512] NET: Registered protocol family 10
[    0.867658] NET: Registered protocol family 17
[    0.872484] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    0.885534] 8021q: 802.1Q VLAN Support v1.8
[    0.902314] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.927693] Freeing unused kernel memory: 1268K
[    2.815386] init: Console is alive
[    2.819486] init: - watchdog -
[    4.390631] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.555442] usbcore: registered new interface driver usbfs
[    4.561521] usbcore: registered new interface driver hub
[    4.567366] usbcore: registered new device driver usb
[    4.589136] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.598888] ehci-platform: EHCI generic platform driver
[    4.604631] ehci-platform ehci-platform: EHCI Host Controller
[    4.610725] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[    4.619497] ehci-platform ehci-platform: irq 18, io mem 0xfffe1300
[    4.636952] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00, overcurrent ignored
[    4.648328] hub 1-0:1.0: USB hub found
[    4.653333] hub 1-0:1.0: 2 ports detected
[    4.665655] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.675287] ohci-platform: OHCI generic platform driver
[    4.681125] ohci-platform ohci-platform: Generic Platform OHCI controller
[    4.688283] ohci-platform ohci-platform: new USB bus registered, assigned bus number 2
[    4.696729] ohci-platform ohci-platform: irq 13, io mem 0xfffe1400
[    4.764140] hub 2-0:1.0: USB hub found
[    4.769228] hub 2-0:1.0: 2 ports detected
[    4.775913] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.794325] init: - preinit -
[    6.419429] random: jshn: uninitialized urandom read (4 bytes read, 24 bits of entropy available)
[    6.686276] random: jshn: uninitialized urandom read (4 bytes read, 25 bits of entropy available)
[    7.095346] random: jshn: uninitialized urandom read (4 bytes read, 27 bits of entropy available)
[    7.208391] random: jshn: uninitialized urandom read (4 bytes read, 27 bits of entropy available)
[    7.434085] random: jshn: uninitialized urandom read (4 bytes read, 28 bits of entropy available)
[    8.123742] random: procd: uninitialized urandom read (4 bytes read, 31 bits of entropy available)
[    8.148300] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    8.154589] IPv6: ADDRCONF(NETDEV_UP): eth0.1: link is not ready
[    9.404941] eth0: link UP - 100/full - flow control off
[    9.410372] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    9.417834] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[   11.835496] jffs2: notice: (357) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   11.855150] mount_root: switching to jffs2 overlay
[   11.875518] urandom-seed: Seeding with /etc/urandom.seed
[   12.141961] procd: - early -
[   12.145335] procd: - watchdog -
[   12.409009] eth0: link DOWN
[   12.933132] procd: - watchdog -
[   12.937396] procd: - ubus -
[   13.104203] random: ubusd: uninitialized urandom read (4 bytes read, 51 bits of entropy available)
[   13.241112] random: ubusd: uninitialized urandom read (4 bytes read, 51 bits of entropy available)
[   13.251343] random: ubusd: uninitialized urandom read (4 bytes read, 51 bits of entropy available)
[   13.261000] random: ubusd: uninitialized urandom read (4 bytes read, 51 bits of entropy available)
[   13.273985] procd: - init -
[   14.195365] kmodloader: loading kernel modules from /etc/modules.d/*
[   14.339712] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   14.388765] uhci_hcd: USB Universal Host Controller Interface driver
[   14.406777] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[   14.415105] Backport generated by backports.git backports-20160324-13-g24da7d3c
[   14.429961] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.455804] nf_conntrack version 0.5.0 (950 buckets, 3800 max)
[   14.561320] xt_time: kernel timezone is -0000
[   14.712622] PPP generic driver version 2.4.2
[   14.723230] NET: Registered protocol family 24
[   14.949869] b43-phy0: Broadcom 4318 WLAN found (core revision 9)
[   14.988931] b43-phy0: Found PHY: Analog 3, Type 2 (G), Revision 7
[   14.995289] b43-phy0: Found Radio: Manuf 0x17F, ID 0x2050, Revision 8, Version 0
[   15.014710] Broadcom 43xx driver loaded [ Features: PNL ]
[   15.027471] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   15.192438] kmodloader: done loading kernel modules from /etc/modules.d/*
[   31.695176] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   31.725368] device eth0.1 entered promiscuous mode
[   31.730364] device eth0 entered promiscuous mode
[   31.756212] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   31.853528] eth0: link UP - 100/full - flow control off
[   31.873266] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   31.953114] br-lan: port 1(eth0.1) entered forwarding state
[   31.958998] br-lan: port 1(eth0.1) entered forwarding state
[   32.193032] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   33.008991] random: nonblocking pool is initialized
[   33.960940] br-lan: port 1(eth0.1) entered forwarding state

What is the result of the command lsusb? If you don't have the command, just install the package usbutils.

Also see:

https://wiki.openwrt.org/doc/howto/usb.essentials

be maybe also cat /proc/bus/usb/devices

have you been able to solve this? Same problem here. I get the message with lususb "no firmware", but the ath5k driver page says no firmware necessary. But on my ubuntu, it requires a firmware ar5523.bin for running the DWL-G132. I tried to copy my ar5523 firmware from ubuntu to OpenWrt, but this didn't solve it.

ar5523 is not ath5k, ar5523.bin is required for using the ar5523 USB driver/ hardware. The correct version is located in https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/ (MD5: 78fe4478dca9134c028e7507421b3f6a - SHA256: 352f07dda4dc263426550cb23304d4684011cde0a67d701ae8a673906b1063e0).

The ar5523 hardware is basically a mips 4000 SOC with a AR2112 (AR5005UG) or AR5112 (AR5005UX) wireless core (yes, on a linux system directly connected via PCI the same wireless core could be run by ath5k). This mips core plays the intermediary between your host (PC/ router) connecting to it via USB 2.0 on the one side and the PCI/ AHB AR2112 or AR5112 on-stick wireless 'card' driven by it. ar5523.bin is the 'operating system' (vulgo, firmware) booted and run on this mips core and includes parts of the driver as well.

1 Like