Skip to main content

ETek Lab Blog

wifi repeater inside

OpenWRT on RTL8196E in WiFi repeater – pt1

Ellie
Published on July 5, 2024

Part 1 : Talk to me…

So, I’ve been fiddling with this old device from 2013ish. it’s a WiFi repeater from an unknown brand.

Wifi repeater picture
The wifi repeater in question.

On the bright side, I managed to crack it open and find out the potential UART port (without pins obviously), and the chip inside seems to be a genuine Realtek RTL8196E, which has been successfully flashed with OpenWRT. I hope to be able to do the same.

wifi repeater inside
It’s guts, separated in 2 sections. Power supply and actual logic board.

First step that I tried, was to use my multimeter to identify the Tx/Rx pins but the results were inconclusive. I had to find another solution. The good news is that I’ve managed to find out, with the datasheet of the RTL8196E that the 2 pins I want for Rx and Tx for UART (which are my candidate pins and would make sense) are pins 125 and 126.

RTL8196E pinout
from the datasheet

so next logical step to figure out which pins are what is to trace the board! lucky for you, I just did that.

Trace Bottom
Bottom side of the board, traced.
Trace Top
Top side of the board, traced.

Ultimately, I managed to figure out my UART pins on the missing header.

UART pins
Figured out the pins for the UART

After soldering the headers on the board, I plugged in my trustworthy CP2102 board on a rPi, booted GTKTerm and proceeded to try to connect. Spoiler alert, the baud rate is not 115200 (I know, shocking!), instead it’s 38400. Nothing too complicated to figure out but, my luck ran short very quickly… I was finally able to get the UART to connect and display and be responsive… then I got greeted by a login prompt.

Got a console!

This will be a good stopping point for now. I need to research on how to either extract the root password, or find it online, or even extract the firmware and look for the password in there.

To be continued…

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.