LHG 5 Based devices platform is based on the CPU AR9344 MIPSBE, used in various MikroTik wireless devices with 802.11a/n radio, 1x 10/100 Mbps Fast Ethernet port, 16 MB SPI NOR flash and 64 MB RAM DDR2. It comprises the following Mikrotik devices:
* LHG 5 (RBLHG-5nD)
* LHG XL HP5 (RBLHG-5HPnD-XL) NOT SUPPORTED YET OFFICIALLY BY OPENWRT!!!
* SXTsq lite5 (RBSXTsq5nD) NOT SUPPORTED YET OFFICIALLY BY OPENWRT!!!
* Disc Lite5 (RBDisc-5nD) NOT SUPPORTED YET OFFICIALLY BY OPENWRT!!!
* LDF5 (RBLDF-5nD) NOT SUPPORTED YET OFFICIALLY BY OPENWRT!!!
They all share the same PCB, just the hardware name changes. Although some of these devices do not have official OpenWRT image support, since they are using the same PCB, it is possible that you can use only the LHG5 initramfs image to test if OpenWRT works well on those devices that do not yet have support.
None at this time.
→ Install OpenWrt (common Mikrotik procedure)
OpenWrt is not compatible with the bootloader of RouterOS v7. If is possible, downgrade RouterOS and RouterBoot to version 6.49.x or lower. Tested on versions of RouterOS with routerboot version 6.49.15. ,so in previous versions of RouterOS it will work.
On this video https://www.youtube.com/watch?v=48mcR4oGn_0 , you will see how to use Tiny PXE Server on Windows to easily install Open WRT. Although it applies to a different device, the steps are exactly the same for the most Mikrotik Devices.
root@OpenWrt:~# cat /proc/mtd dev: size erasesize name mtd0: 00020000 00010000 "RouterBoot" mtd1: 0000e000 00010000 "bootloader1" mtd2: 00001000 00010000 "hard_config" mtd3: 00001000 00010000 "bios" mtd4: 0000f000 00010000 "bootloader2" mtd5: 00001000 00010000 "soft_config" mtd6: 00fe0000 00010000 "firmware"
The instructions below are for Broadcom devices and only serve as an example.
Remove / modify them if they do not apply to this particular device!
This section deals with
Note: Reset router to factory defaults if it has been previously configured.
http://192.168.1.1/Upgrade.asp
http://192.168.1.1
if LuCI is installed.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 |
These are generic instructions. Update with your router's specifics.
http://192.168.1.1/cgi-bin/luci/mini/system/upgrade/
LuCI Upgrade URLIf 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.
cd /tmp wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc sysupgrade /tmp/xxx.abc
If sysupgrade
does not support this router, use mtd
.
cd /tmp wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc mtd write /tmp/xxx.abc linux && reboot
Mikrotik Devices can be reverted to stock firmeware / be debricked in an easy way. Follow the instructions here: https://wiki.mikrotik.com/wiki/Manual:Reset and here https://wiki.mikrotik.com/wiki/Manual:Netinstall
Reset Button, the Mikrotik Netinstall tool and the right firmware file do the job. As Mikrotik uses different plattforms, be sure to get the right package. LHG5 Boards is based on Router OS 6, MIPSBE Plattform (32Bit)
Beware: After you flashed the stock firmware, the device has NO configuration. You must connect to the device with the help of Mikrotik “Winbox” software which uses the MAC Address (as the device has no IP) . After Connecting, restore the default configuration and reboot. Then you are ready to start all over again
→ Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.
Please fill in real values for this device, then remove the EXAMPLEs
The default network configuration is:
Interface Name | Description | Default configuration |
---|---|---|
br-lan | EXAMPLE LAN & WiFi | EXAMPLE 192.168.1.1/24 |
vlan0 (eth0.0) | EXAMPLE LAN ports (1 to 4) | EXAMPLE None |
vlan1 (eth0.1) | EXAMPLE WAN port | EXAMPLE DHCP |
wl0 | EXAMPLE WiFi | EXAMPLE Disabled |
Please fill in real values for this device, then remove the EXAMPLEs
Numbers 0-3 are Ports 1-4 as labeled on the unit, number 4 is the Internet (WAN) on the unit, 5 is the internal connection to the router itself. Don't be fooled: Port 1 on the unit is number 3 when configuring VLANs. vlan0 = eth0.0, vlan1 = eth0.1 and so on.
Port | Switch port |
---|---|
Internet (WAN) | EXAMPLE 4 |
LAN 1 | EXAMPLE 3 |
LAN 2 | EXAMPLE 2 |
LAN 3 | EXAMPLE 1 |
LAN 4 | EXAMPLE 0 |
→ 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.
Please fill in real values for this device, then remove the EXAMPLEs
The MikroTik LHG5 Board Based Devices has the following buttons:
BUTTON | Event |
---|---|
EXAMPLE Reset | reset |
EXAMPLE Secure Easy Setup | ses |
EXAMPLE No buttons at all. | - |
<WRAP>
that encloses it.
Front:
Insert photo of front of the casing
Back:
Insert photo of back of the casing
Backside label:
Insert photo of backside label
Note: This will void your warranty!
Describe what needs to be done to open the device, e.g. remove rubber feet, adhesive labels, screws, ...
Main PCB:
Insert photo of PCB
→ 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 MikroTik LHG5 Board Based Devices @@Version@@ | EXAMPLE 115200, 8N1, 3.3V |
---|
→ port.jtag general information about the JTAG port, JTAG cable, etc.
How to connect to the JTAG Port of this specific device:
Insert photo of PCB with markings for JTAG port
None so far.
COPY HERE THE BOOTLOG WITH THE ORIGINAL FIRMWARE
Space for additional notes, links to forum threads or other resources.
Add tags below, then remove this fixme.