Download as pdf or txt
Download as pdf or txt
You are on page 1of 11

8/6/2016 OpenWRT 

on mini miwifi router ­ MIUI General ­ Xiaomi MIUI Official Forum

Sign In  | Official Website

Search

General MIUI General OpenWRT on mini miwifi router

1 2 3 4 5 6 7 8 9 10 ... 27 >

[Tips & Tutorials] OpenWRT on mini miwifi router
83211 267 | 14:08, Nov­22­2014 | Promote |       | Go to reply no.  #1

This post was edited by sirzur at 12:48, Dec­10­2014

Credits to all information from these forums and google translate
http://bbs.xiaomi.cn/

1.      First off before anything else, install Chrome and its translator plug­in for all 3 Chinese language.
2.      Plug in power and Ethernet cable to one of the Ethernet ports
3.      Direct browser to 192.168.31.1.  Unfortunately I could not get Chrome to translate, likely because translation
requires internet access, which has not been set up yet.
4.      The first screen will appear.  Press blue button to get to next screen.

5.      The next screen sets up the wifi network name and password.  Note that the wifi password is also used later
for access to the browser page (192.168.31.1).  

http://en.miui.com/thread­64391­1­1.html 1/11
8/6/2016 OpenWRT on mini miwifi router ­ MIUI General ­ Xiaomi MIUI Official Forum

6.      Once you have set this up, plug in WAN cable for access to internet.  Internet access also enables the
Chrome translation and you can confirm that the router works properly before proceeding.
7.      The next few steps involve first loading the development version of the firmware, then loading a firmware
version which provides SSH access with the last step being loading the OpenWRT firmware onto the router
8.      Apparently loading the development version ofthe firmware voids warranty, so beware. Development version
can be obtained from http://www1.miwifi.com/miwifi_download.html.  Point to the mini router to get the correct
firmware/software.  At the same time you can also download the PC Client (although I don't recommend this) and
also one of either iOS or Android app.  You will NEED one of these to complete the steps. The development ROM
that I downloaded was named miwifi_r1cm_all_ace8a_0.6.40.bin.  Apparently the development ROM that is used
is important because some of the ROMs may not allow the next step of flashing the SSH firmware.  The older
ROMs can be found here http://www.miui.com/thread­1776173­1­1.html.  Try to use the development ROM that
has been proven to allow the next step of the process

9.      The above downloads the Chinese versions of PCClient and iOS/Android apps.  To get the translated

http://en.miui.com/thread­64391­1­1.html 2/11
8/6/2016 OpenWRT on mini miwifi router ­ MIUI General ­ Xiaomi MIUI Official Forum
software follow these links. The iOS/Android are necessary because they are used to link the hardware to the
miwifi account that you are about to set up.  Without the link, the SSH version of the ROM(and SSH password) will
not be available
PC Client ­ http://en.miui.com/forum.php?mod=viewthread&tid=55671(full version)
http://en.miui.com/forum.php?mod=viewthread&tid=55706(portable version – although I have not used)
Android apk ­ http://en.miui.com/forum.php?mod=viewthread&tid=59906 and also this
http://en.miui.com/forum.php?mod=viewthread&tid=55889 (I used this one)
10.  Create and activate a new account at Xiaomi  https://account.xiaomi.com/pass/register.  When you have
setup the account and logged in, remember the User ID.  You will note that there is no device associated with the
account.  The association has to be done via theiOS/Android app.  Unfortunately there does not seem to be a way
to do that via the PC Client, which is why I do not recommend installing this.
11.  Using your iOS or Android device, open the app.  Login using the ID and password in the step above.  The
account then recognises the Xiaomi mini router device. This is required for the SSH firmware.
12.  To get the SSH firmware proceed to http://www1.miwifi.com/miwifi_open.html.  Halfway down the page there
is a SSH button

13.  Click on the button and sign into the Xiaomi account when requested.  After signing in you will be presented
with a page to download the SSH firmware.  Also note the SSH password for root user in the middle of the
page.  The SSH firmware will have the name miwifi_ssh.bin

Home Subforums General Resources Devices Redmi Note 3

14.  Now that you have all the firmware, it is just a matter of flashing in the correct sequence. First off, get an
empty USB drive and format to FAT or FAT32.  I tried unsuccessfully using drives less than 2GB.  In the end, I had
to use a 2GBdrive, although the firmware(s) were a lot smaller in size.
15.  Copy the development firmware into the USBdrive.  (Did I tell you to delete all other content? – Please
do).  Rename the development firmware to miwifi.bin.  This is important
16.  The development firmware and SSH firmware flash both follows the same procedure
a.      Pull the power from router, at the router

http://en.miui.com/thread­64391­1­1.html 3/11
8/6/2016 OpenWRT on mini miwifi router ­ MIUI General ­ Xiaomi MIUI Official Forum
sirzur b.     Plug USB drive into router.  
Senior Member c.      Press reset button (in the hole to the left ofthe USB drive)
d.     While holding down the reset button, plug in thepower.  The orange light in front of the router will remain
steady for a short while before it starts flashing
e.     Once the orange light starts flashing, releasethe reset button and sit back until the light in front of the router
turns blue.  Also if there are indicator lights on your USB drive, they will flash as the drive is being read.  If the
Credits 85
orange light does not flash, try with another USB drive and confirm that the drive is formatted to FAT or FAT32.
Online 6 Hours
17.  The router can be re­set up between each flash just to confirm that it is working, but I generally just flash the
Send PM
firmwares one after the other.  
18.  I also tend to delete all the contents from the USB drive between flash.  I don't know the impact of not
deleting, but better safe than wrong.  
19.  The SSH firmware do not have to be renamed for the flash.  Just keep the name as miwifi_ssh.bin
20.  Once the SSH firmware has been successfully flashed, confirm SSH via putty and also Winscp. Port is 22,
username “root” and password as noted from step 13.
21.  The OpenWRT firmware will need to be downloaded from
http://downloads.openwrt.org.cn/PandoraBox/Xiaomi­Mini­R1CM/.  I used the latest version PandoraBox­ralink­
xiaomi­mini­r583­20140827.bin.  Once downloaded, rename the file to 20140827.bin
22.  Open Winscp and connect to the router using 192.168.31.1, Port 22, username root and password as from
step 13.  Transfer 20140827.bin to the /tmp directory.The tmp directory is in the root of the drive
23.  Open putty and connect to the router using 192.168.31.1, Port 22.  Enter root as username and password as
above
24.  Change to the tmp directory ­ cd /tmp
25.  Confirm that you have the right directory by doing a directory listing (ls –l) and confirming that the
20140827.bin file is listed
26.  Finally flash the OpenWRT firmware using puttycommand
mtd ­r write /tmp/20140703.bin firmware
27.  The router will reboot once it has beensuccessfully flashed.
28.  Access the OpenWRT router via 192.168.1.1 on your browser.  Unfortunately the default pages are in
Chinese.  Default account usernamewill be “root” and password “admin”
29.  Once in, ignore the quick guide setup and navigate to the language page to change language to English.  On
the left, third choice down, first subchoice and third tab page with the first settings.  Click on green button on
bottom left to “Save and Apply”.   It may be necessary to reboot, but I did not have to.

Home Subforums General Resources Devices Redmi Note 3


Favorite 26   Share

Rated by 18 people    Experience  Prestige  Reason


 

  ZaturdayA + 1 Thanks!

http://en.miui.com/thread­64391­1­1.html 4/11
8/6/2016 OpenWRT on mini miwifi router ­ MIUI General ­ Xiaomi MIUI Official Forum
sirzur
  titousky + 1 Thanks!
Senior Member

  MoMo2188 + 1 Thanks!

  ixan + 1 Awesome!


Credits 85
Online 6 Hours   miui4i + 1 Awesome!
Send PM

  Engraver + 5 Thanks!

  Matty88 + 1 Thanks!

  Ajinkyajin + 2 Awesome!

  turbansasha + 1 Great!

  cluster_edge + 1 Thanks!

  satyajit_ghana + 5 Great!

  Be6i4 + 2 Awesome!

  cinuszek7 + 2 Awesome!

  anonymous404 + 3 Great!

  LuXororif + 1 Thanks! But there is a mistake in "

  datagutt + 5 Fantastic!

  Jaapp + 5 + 1 Excellent

  meredithhan + 10 Awesome!

Experience +48  Prestige +1   View Rating Log

Reply Report

06:53, Jul­26­2015 | 160#

Unfortunately also only 10/100 :/

Benik3 Home Subforums General Resources Devices Redmi Note 3


Senior Member

Credits 108
Device HTC EVO 3D
MIUI 4.11.7

http://en.miui.com/thread­64391­1­1.html 5/11
8/6/2016 OpenWRT on mini miwifi router ­ MIUI General ­ Xiaomi MIUI Official Forum
sirzur
Online 19 Hours
Send PM
Senior Member

Reply  Support 1  Object 0 Report

Credits 85
Online 6 Hours 07:02, Jul­22­2015 | 153#
Send PM

jDMJeRk replied at 2015­7­17 09:57
Greetings!!

I've been thinking about purchasing this device to use as an Access Point. Does it have ...
Benik3
Senior Member
Can you describe more the usage?
Of course that it works as AP, it's the main function of it.
But if you want some "real" AP for more clients (like ISP) you should better use e.g. Mikrotik...
Credits 108
Device HTC EVO 3D
MIUI 4.11.7
Online 19 Hours
Send PM

Reply  Support 1  Object 0 Report

18:59, Mar­04­2015 | 48#

Benik3 replied at 2015­3­3 18:39
Uf, I successfully installed OpwnWRT on Xiaomi mini router.
I can confirm, that SSH patch flashing d ...
WaPeR32
Diamond Member
Nice to hear that!

OpenWRT officially released ­> http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/openwrt­ramips­
Credits 516 mt7620­xiaomi­miwifi­mini­squashfs­sysupgrade.bin (it's trunk, so no Luci)
Device Nexus 5
MIUI 4.10.17
Online 30 Hours
Send PM

Home Subforums General Resources Devices Redmi Note 3

http://en.miui.com/thread­64391­1­1.html 6/11
8/6/2016 OpenWRT on mini miwifi router ­ MIUI General ­ Xiaomi MIUI Official Forum
sirzur
Senior Member Reply  Support 1  Object 0 Report

01:14, Jan­16­2015 | 19#

Credits 85
Online 6 Hours Benik3 replied at 2015­1­14 17:19
Send PM Hello.
I'm really thinking about this router, but I have few questions.

doomwithdon 1) yes it has only 100M ethernet ports
Senior Member 2) I have personally installed pandorabox openwrt and have installed transmission aria2 ddns packages
3) So far openwrt has worked flawlessly for me

PS. the brcm47xx packages are for the xiaomi router not the mini router. mini router has mt7620a supported by
barrier breaker 14.07 ramips architecture..
Credits 61
Online 13 Hours
Send PM Rated by 1 person    Experience  Reason
 

  Benik3 + 1 Thanks!

Experience +1   View Rating Log

Reply  Support 1  Object 0 Report

05:17, Dec­09­2014 | 11#

think ac is probably working ­ I was looking at the 2.4G radio settings, my mistake. The config seems to be there,
just need to test. This is on PandoraBox­ralink­xiaomi­mini­r583­20140827.bin

durkimat
Senior Member

Credits 34
Online 2 Hours
Send PM

Reply  Support 1  Object 0 Report

05:13, Dec­09­2014 | 10#
Home Subforums General Resources Devices Redmi Note 3
the later firmware PandoraBox­R2­ralink­xiaomi­mini­r61­20140904­alpha.bin also flashes, having a look around.
Note to anyone trying the same it's necessary to set language to auto, and timezone to Europe/London or
wherever for the correct language (English for me) to be applied with this firmware. Had problems with this
firmware ­ can't get the WAN port to work at all. I'd be very interested if anyone got this firmware to work.

durkimat
Senior Member

http://en.miui.com/thread­64391­1­1.html 7/11
8/6/2016 OpenWRT on mini miwifi router ­ MIUI General ­ Xiaomi MIUI Official Forum
sirzur
Senior Member
Credits 34
Online 2 Hours
Send PM

Credits 85
Online 6 Hours Reply  Support 0  Object 1 Report
Send PM

04:25, Dec­07­2014 | #2

Hi There,
I was following this guide, but am having problems, as follows:
I can flash the first dev firmware (in my case miwifi_r1cm_firmware_3c3b6_0.6.67.bin).
But when I go to download the ssh firmware, I get the ssh download page, but it doesn't ask for wifi network name
and password, but presents me with a download page. I download a file called miwifi_ssh.bin that is only 5k in
durkimat
size. When I flash using the same usb key I flashed the dev firmware with (re­formatted so the only file is the ssh
Senior Member firmware), the light on the front goes red. I have to power cycle to get the device to boot again, with no ssh
access.
Appreciate it if you have any ideas...

Credits 34
Online 2 Hours
Send PM

Reply  Support  Object Report

 Author |  14:18, Dec­07­2014 | #3

The SSH firmware is the correct one (only small size).  I assume that you did not rename from miwifi_ssh.bin
(which you should not)

Is the USB drive formatted to FAT or FAT32?.  try downloading the SSH firmware again.

sirzur
Lastly try to get the older development firmware that I used and flash with that one before trying the SSH firmware
Senior Member

Credits 85
Online 6 Hours
Send PM

Reply  Support  Object Report

15:23, Dec­07­2014 Via mobile | #4

This post was edited by durkimat at 16:12, Dec­07­2014
Home Subforums General Resources Devices Redmi Note 3

Hi. I did not rename (filename miwifi_ssh.bin), tried 3 different usb sticks all fat32. I downloaded about 5 times ­
same file size each time.  any idea where I could get hold of the older development firmware ­ that looks like my
best bet at the moment ­ if you still have a copy could you post somewhere? I can repeat the firmware flash
durkimat
successfully many times over, so am confident I could load an older version. thanks!
Senior Member

http://en.miui.com/thread­64391­1­1.html 8/11
8/6/2016 OpenWRT on mini miwifi router ­ MIUI General ­ Xiaomi MIUI Official Forum
sirzur
Credits 34
Online 2 Hours
Senior Member
Send PM

Reply  Support  Object Report


Credits 85
Online 6 Hours
Send PM 16:58, Dec­07­2014 | 5#

Hi guys , i want to know please if the router can push 1 gbs between WAN and LAN , because i have a 1 gbit
connection at home .
And another question , if i put the openwrt the HW acceleration is lost ,or is working ??
Thank you .

Spavian
Junior Member

Credits 22
Online 0 Hours
Send PM

Reply  Support  Object Report

 Author |  05:34, Dec­08­2014 | 6#

Durikimat ­ This page seems to carry a history of the ROM.  Make sure you download the correct one

http://translate.google.com.au/translate?hl=en&sl=zh­CN&u=http://www.miui.com/thread­1776173­1­
1.html&prev=search.  The file is only about 13 Mb

sirzur
Spavian ­ I don't know the answer to your questions.  I guess you can only try.  The procedure seems easy to
Senior Member reverse

Credits 85
Online 6 Hours
Send PM

Reply  Support  Object Report

05:50, Dec­08­2014 Via mobile | 7#

thanks ­ will try again when I get chance.

Home Subforums General Resources Devices Redmi Note 3

durkimat
Senior Member

Credits 34

http://en.miui.com/thread­64391­1­1.html 9/11
8/6/2016 OpenWRT on mini miwifi router ­ MIUI General ­ Xiaomi MIUI Official Forum
sirzur
Online 2 Hours
Send PM
Senior Member

Reply  Support  Object Report

Credits 85
Online 6 Hours 05:51, Dec­08­2014 Via mobile | 8#
Send PM
you won't get 1gbps as the ethernet ports are 100mbps only in think.

durkimat
Senior Member

Credits 34
Online 2 Hours
Send PM

Reply  Support  Object Report

04:18, Dec­09­2014 | 9#

I can confirm that this DOES NOT work with the latest dev firmware, and that an older version (suggest
miwifi_r1cm_all_ace8a_0.6.40.bin as known good) must be used for the ssh binary patch to apply.
From that point it's all plain sailing. I used a later openwrt, filename: PandoraBox­ralink­xiaomi­mini­r583­
20140827.bin which loads fine.
Thanks sirzur for the links and help with this. It might be worth embedding the link to the older download into the
durkimat
guide.
Senior Member One thing I noticed in PandoraBox ­ there's no 802.11ac in wireless mode. Any thoughts on that?

Credits 34
Online 2 Hours
Send PM

Reply  Support  Object Report

Return to forum 1 2 3 4 5 6 7 8 9 10 ... 27 >

Advanced Mode

Home Subforums General Resources Devices Redmi Note 3

Please sign in to reply. Sign In | Register

  To last page Credits Management

http://en.miui.com/thread­64391­1­1.html 10/11
8/6/2016 OpenWRT on mini miwifi router ­ MIUI General ­ Xiaomi MIUI Official Forum
sirzur
Senior Member MIUI Official Site  | Mi Official Site  | User Agreement  | Privacy Policy  | Mobile Copyright © 2015 MIUI Beijing ICP No.10046444

Credits 85
Online 6 Hours
Send PM

Home Subforums General Resources Devices Redmi Note 3

http://en.miui.com/thread­64391­1­1.html 11/11

You might also like