HiWiFi/Gee HC5661/HC5761/HC5861
Supported Versions
Hardware Highlights
Installation
Generally speaking, there is NO easy way to install OpenWrt on HiWiFi 5661/5761 devices manufactured after middle 2014, since then HiWiFi locked the U-Boot to accept factory firmware images only. To determine whether the U-boot is locked, look at the stock firmware version number.
Version | Status |
---|---|
below 0.9005 | Unlocked |
0.9005 - 0.9006 | Locked but can workaround |
0.9007 + | Locked |
- For unlocked u-boot, flash the firmware via tftp.
- For versions between 0.9005 and 0.9006, download http://www.iptvfans.cn/hiwifi/HC5661-9005-downgrade-ssh.zip, unpack and flash the image via tftp. This is a factory image with SSH enabled, login with root:admin and flash OpenWrt with sysupgrade.
- For locked u-boot, you have to follow HiWiFi's official unlocking procedure. Unfortunately, most steps require some knowledge about Chinese language..
If you live in China, with a Chinese cellphone number.
- Register a HiWiFi account at www.hiwifi.com, and add your cellphone number to the account
- Bind your device to the account, login into app.hiwifi.com. At the bottom of the router information page, there is an “Advanced” section, clicked and choose to enable “Developer Mode”
- Follow the instructions
- When “Developer Mode” is enabled, go to the app market, there is now a “Developer Mode” app in the marked, install it, and you get a working SSH on port 1022
Flash Layout
0x000000000000-0x000000030000 : "u-boot" 0x000000030000-0x000000040000 : "hw_panic" 0x000000040000-0x000000050000 : "Factory" 0x000000050000-0x0000001b0000 : "kernel" 0x0000001b0000-0x000000fd0000 : "rootfs" 0x000000ce0000-0x000000fd0000 : "rootfs_data" 0x000000fd0000-0x000000fe0000 : "hwf_config" 0x000000fe0000-0x000000ff0000 : "bdinfo" 0x000000ff0000-0x000001000000 : "backup" 0x000000050000-0x000000fd0000 : "firmware"
OEM installation using the TFTP method
Specific values needed for tftp
Enter values for “FILL-IN” below
Bootloader tftp server IPv4 address | FILL-IN |
---|---|
Bootloader MAC address (special) | FILL-IN |
Firmware tftp image | Latest OpenWrt release (NOTE: Name must contain “tftp”) |
TFTP transfer window | FILL-IN seconds |
TFTP window start | approximately FILL-IN seconds after power on |
TFTP client required IP address | FILL-IN |
Upgrading OpenWrt
These are generic instructions. Update with your router's specifics.
LuCI Web Upgrade Process
- Browse to http://192.168.1.1/cgi-bin/luci/mini/system/upgrade/ LuCI Upgrade URL
- Upload image file for sysupgrade to LuCI
- Wait for reboot
Terminal Upgrade Process
If you don't have a GUI (LuCI) available, you can alternatively upgrade via the command line. There are two command line methods for upgrading:
sysupgrade
mtd
Note: It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.
sysupgrade
- Login as root via SSH on 192.168.1.1, then enter the following commands:
cd /tmp wget http://http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc sysupgrade /tmp/xxx.abc
mtd
If sysupgrade
does not support this router, use mtd
.
- Login as root via SSH on 192.168.1.1, then enter the following commands:
cd /tmp wget http://http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc mtd write /tmp/xxx.abc linux && reboot
Debricking
Failsafe mode
Basic configuration
→ Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.
Specific Configuration
Network interfaces
The default network configuration is:
Interface Name | Description | Default configuration |
---|---|---|
br-lan | LAN & WiFi | 192.168.1.1/24 |
vlan0 (eth0.1) | LAN ports (1 to 4) | None |
vlan1 (eth0.2) | WAN port | DHCP |
wlan0 | WiFi | Disabled |
Switch Ports (for VLANs)
Note: OpenWrt's support for MT762X switch is incomplete, tagging doesn't work, the ports are always in access mode.
Port | Switch port |
---|---|
Internet (WAN) | 1 |
LAN 1 | 2 |
LAN 2 | 3 |
LAN 3 | 4 |
LAN 4 | 5 |
CPU port | 0 |
Buttons
→ hardware.button on howto use and configure the hardware button(s). Here, we merely name the buttons, so we can use them in the above Howto.
The HiWiFi/Gee HC5661 has the following buttons:
BUTTON | Event |
---|---|
Reset | reset |
Hardware
Info
Photos
Front:
Insert photo of front of the casing
Back:
Insert photo of back of the casing
Backside label:
Insert photo of backside label
Opening the case
Note: This will void your warranty!
Describe what needs to be done to open the device, e.g. remove rubber feet, adhesive labels, screws, ...
- To remove the cover and open the device, do a/b/c
Main PCB:
Insert photo of PCB
Serial
→ port.serial general information about the serial port, serial port cable, etc.
How to connect to the Serial Port of this specific device:
Insert photo of PCB with markings for serial port
Replace EXAMPLE by real values.
Serial connection parameters for HiWiFi/Gee HC5661 | EXAMPLE 115200, 8N1 |
---|
Bootlogs
OEM bootlog
COPY HERE THE BOOTLOG WITH THE ORIGINAL FIRMWARE
OpenWrt bootlog
COPY HERE THE BOOTLOG ONCE OPENWRT IS INSTALLED AND RUNNING
Notes
Space for additional notes, links to forum threads or other resources, ...
- ...
Tags
Adjust the list of tags below to this device, then remove this fixme.