Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 Xiaomi Router Mini with full Unifi support, turn into a beast with custom asus rom!

views
     
lala_cai
post Aug 3 2016, 01:41 AM

Getting Started
**
Junior Member
153 posts

Joined: May 2005


QUOTE(FameWolf @ Jul 29 2016, 04:43 AM)
FYI the .trx file is stored in a subdir from the dir that has the start.sh script.  startshdir/trx_archive/creationdatetime

I have found out it's dangerous to just use the .trx.

"The firmware file must be divided into several parts before flashing. It is dangerous to do it yourself."
If no one can confirm it's safe to share the settings between the mi and the mi-3 (backup and restore) I suppose I'll have to do them manually.  sad.gif

The following script (ran from the router) will create a file that contains the full config for the router in text file format with nvram set commands that can be edited so it is suitable to flash to a new router.  The normal binary backup is very dangerous because it will try to assign hardware addresses and other things so you'd want to delete anything except the section you wanted such as the ip ranges, static ip addresses etc....

#!/bin/bash

nvram showall > nvram_settings.txt
rm  nvram_settings.tmp
cat nvram_settings.txt | while read i;
do
o=${i%}
echo "nvram set " ${o} >> nvram_settings.tmp
done

sort nvram_settings.tmp > my_settings.txt
*
FrameWolf,

By any chance you have the old developer firmware?
It seems that the newer developer firmware is no longer SSH accessible
lala_cai
post Aug 3 2016, 03:24 AM

Getting Started
**
Junior Member
153 posts

Joined: May 2005


QUOTE(FameWolf @ Aug 3 2016, 01:52 AM)
For which router?  The MI-3 required me to jump through some hoops to get ssh access.  You have to install the current developer version (which does not have ssh) then you have to pair your router to a xiaomi account via the android app.  Finally you have to download a ssh patchfile and save it to a flashdrive then hold down reset when plugging in power to router and continue to hold down until the router blinks the yellow light multiple times (not just once...it does that early and if you continue holding then it finally blinks a couple of times).

I don't think providing you MY downloaded patchfile would work since it's tied to my router.
Instruction originally from:

https://wiki.openwrt.org/toh/xiaomi/mini
*
Thanks for the quick reply bro.

Managed to get the ssh by using the same method trix used but I flashed to the older firmware.

Can refer to here for the older firmware and ssh method

http://www.cnx-software.com/2016/04/20/xia...#comment-529022

I have managed to flash the Pandavan firmware.
biggrin.gif
lala_cai
post Aug 11 2016, 02:09 AM

Getting Started
**
Junior Member
153 posts

Joined: May 2005


guys, wanna check, do you guys get RxDropFramesFilter increasing drop on WAN?
i keep getting increased counts
not sure where to configure to reduce this
lala_cai
post Aug 13 2016, 01:52 AM

Getting Started
**
Junior Member
153 posts

Joined: May 2005


something like this

Port Link : 100 Mbps, Full Duplex, FC OFF

MIB Counters
----------------------------------------
TxGoodOctets : 150790512
TxGoodFrames : 1340188
TxBadOctets : 0
TxBadFrames : 0
TxDropFrames : 0
RxGoodOctets : 3344566849
RxGoodFrames : 2660835
RxBadOctets : 0
RxBadFrames : 0
RxDropFramesFilter : 64647
RxDropFramesErr : 0

The RXDropFramesFilter keeps increasing
lala_cai
post Oct 21 2016, 02:02 AM

Getting Started
**
Junior Member
153 posts

Joined: May 2005


QUOTE(FameWolf @ Oct 19 2016, 12:34 AM)
Not recommended and may not work....again it flashes multiple partitions and you have no way of knowing if one of the other partitions needs an update for the new version you are flashing which the trx would not provide...I just let prometheus handle the flashing.  Currently on  3.4.3.9-099_6f8655c
*
A quick question, how you managed to get 6f8655c?
I click check for updates but still stuck with aef4269


lala_cai
post Oct 21 2016, 01:20 PM

Getting Started
**
Junior Member
153 posts

Joined: May 2005


QUOTE(FameWolf @ Oct 21 2016, 03:18 AM)
More than likely you picked the "stable version" as opposed to the "test" version.
*
I did tried update the script to test version but the GIT still remain the old version. Not so sure wat went wrong.
lala_cai
post Nov 12 2016, 03:27 PM

Getting Started
**
Junior Member
153 posts

Joined: May 2005


guys a quick one.
If i keep using the Prometheus to flash/upgrade the firmware, do i need to keep making backup?
i'm afraid the router will be out of storage.
lala_cai
post Nov 12 2016, 08:38 PM

Getting Started
**
Junior Member
153 posts

Joined: May 2005


QUOTE(muncheno @ Nov 12 2016, 08:19 PM)
U only need one backup and u can move the backup to other location.

The backup should be your on PC and not your router if you are using the scripts.
*
Ohhh... i thought the backup will be at the router itself. sweat.gif sweat.gif
Cos am always using the Prometheus to flash
Thanks
smile.gif
lala_cai
post Feb 22 2017, 01:54 PM

Getting Started
**
Junior Member
153 posts

Joined: May 2005


a quick question, since router 3 only supports 100Mbps ETH, should i consider to upgrade router if unifi 100Mbps?

so far this router 3 (padavan firmware) serving me well

am tempted to get asus AC68U for RM700+ at lazada sweat.gif

This post has been edited by lala_cai: Feb 22 2017, 01:56 PM
lala_cai
post Feb 22 2017, 04:42 PM

Getting Started
**
Junior Member
153 posts

Joined: May 2005


QUOTE(muncheno @ Feb 22 2017, 04:09 PM)
It depends. I'm on time 100mbps.
Currently using WS880 as main router and Mi-3 as repeater.

Depending on test server, speedtest via 5.8ghz AC still can give me DL: 9X UL:9X Mbps.

Then occasionally I get DL:9X UL:6X Mbps but my another WS880 will still give me full speed. I'm sure it is not repeater here as I use Mi-3 as main before.

My suggestion is to continue use Xiaomi, unless you have a lot of device connecting to it. AC68U is good options when mainly devices connected and also support AC wi-fi.

Just my 2-cents.
*
okies. will stick to the router 3 1st till those wave2 routers become cheaper.
thanks again smile.gif
lala_cai
post May 12 2017, 10:52 AM

Getting Started
**
Junior Member
153 posts

Joined: May 2005


Anybody tried plugging in HDD to the router?
It seems very unstable whereby sometimes unable to read file or unable to delete files.
lala_cai
post May 29 2017, 12:07 PM

Getting Started
**
Junior Member
153 posts

Joined: May 2005


QUOTE(iRonTech @ May 24 2017, 12:58 PM)
Thanks for the firmware. flashed it and working. so far so good.


Btw, on a different item, anybody managed to get a site to site vpn working?
Example I want to built a site-to-stie vpn from my house to my friend's house using the router (both using mi router 3 with padavan)

lala_cai
post Jun 14 2017, 11:57 PM

Getting Started
**
Junior Member
153 posts

Joined: May 2005


guys, need some help.

i have managed to get the OpenVPN tunnel to be connected however i cant seem to add the routing correctly.
it keeps showing error in the logs.

i only edited the my script for the OpenVPN on the peer_lan on the client side

QUOTE
#!/bin/sh

### Custom user script
### Called after internal VPN client connected/disconnected to remote VPN server
### $1        - action (up/down)
### $IFNAME  - tunnel interface name (e.g. ppp5 or tun0)
### $IPLOCAL  - tunnel local IP address
### $IPREMOTE - tunnel remote IP address
### $DNS1    - peer DNS1
### $DNS2    - peer DNS2

# private LAN subnet behind a remote server (example)
peer_lan="192.168.2.0"
peer_msk="255.255.255.0"

### example: add static route to private LAN subnet behind a remote server

func_ipup()
{
#  route add -net $peer_lan netmask $peer_msk gw $IPREMOTE dev $IFNAME
    route add -net $peer_lan netmask $peer_msk gw $IPREMOTE dev $IFNAME
  return 0
}

func_ipdown()
{
#  route del -net $peer_lan netmask $peer_msk gw $IPREMOTE dev $IFNAME
    route del -net $peer_lan netmask $peer_msk gw $IPREMOTE dev $IFNAME
  return 0
}

logger -t vpnc-script "$IFNAME $1"

case "$1" in
up)
  func_ipup
  ;;
down)
  func_ipdown
  ;;
esac
I keep getting this error

openvpn-cli[644]: ERROR: Linux route add command failed: external program exited with error status: 1


any ideas?
lala_cai
post Jul 2 2017, 03:32 AM

Getting Started
**
Junior Member
153 posts

Joined: May 2005


forgot to update.
it seems I no need to do any route add as it was automaticaly added once you create a client account and the segment which tied with it.

unifi upgraded to 100mb and it seems mi router 3 still doing well on wifi

user posted image
lala_cai
post Oct 14 2017, 10:05 PM

Getting Started
**
Junior Member
153 posts

Joined: May 2005


By any chance anybody got the latest commit of 45e2740 firmware for MI-3?
Can share?

This post has been edited by lala_cai: Oct 14 2017, 10:05 PM

 

Change to:
| Lo-Fi Version
0.0353sec    0.79    7 queries    GZIP Disabled
Time is now: 9th December 2025 - 11:59 PM