Xiaomi WiFi Router 3G

Hi!,

Do any of you guys have a special ISP vlan config (mine is 832)?. I tried to configure it but to no success.

Some time ago i found this.

but not sure if in the latest commits this problem has been addressed

Best!

Unfortunately it doesn't seem to be fixed, I have no idea how you are going to reach 832 :wink:

But you can try making a couple of fake vlans and then the one that you are aiming to. If my mind doesn't betray me I think it worked for me a while ago

you will need to setup this vlan and their setup towards ports directly in config file /etc/config/network

Yep, creating a driver-level vlan (using the vid) but i does not work. i've checked if the switch is tagging via swconfig dev switch0 show and the vlan 832 is not live.

@dissent yeah i'm afraid i have to keep on trying the driver level approach.

Thanks anyway :smiley:

is there any way to change the orange led light to blue led light?
at the moment i have the orange led light as normal status of router.

Sure, I'm using blue light and orange flashing when there is wan activity.
Add these options

2 Likes

amazing..!!
taking into account your setup, do you know i can i do to put light in red when the interface pppoe goes down..?

And upload at 5 ghz has been reduced from 90 mbps to 30 mbps according to speedtest net :wink: ... Switched back to Dec 7 snapshot, and it's back to 90 mbps.

What's that song? 99 little bugs in the code, 99 little bugs. Take one down, patch it around... 127 little bugs in the code.

I don't see any obvious 5GHz speed issues after the latest MT76 commit (https://git.lede-project.org/?p=source.git;a=commit;h=a428d9229eab8d3ab2421fdf79042e8f6b634b58). Not saying that what you experience is not real - just commenting to let others know that it's not a bad update for everyone :slight_smile:
The router runs just as nice as before (and probably HT40 on 2.4Ghz also works, but I don't use that feature)

Not yet... RX width stay always locked at 20 MHz (OpenWrt SNAPSHOT r5521-9f8d282)

5GHz for me is perfect and always fast.

9f8d282 is before HT40 was fixed

Have you tested?
I do and after many tests I can say that it is not solved

I bricked my device by flashing latest nightly (kernel panic)
[ 5.572120] ubi0: background thread "ubi_bgt0d" started, PID 375
[ 5.572142] hctosys: unable to open rtc device (rtc0)
[ 5.583645] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[ 5.591121] Please append a correct "root=" boot option; here are the available partitions:
[ 5.599461] 1f00 512 mtdblock0 [ 5.603448] (driver?)
[ 5.605821] 1f01 256 mtdblock1 [ 5.609805] (driver?)
[ 5.612154] 1f02 256 mtdblock2 [ 5.616153] (driver?)
[ 5.618505] 1f03 256 mtdblock3 [ 5.622486] (driver?)
[ 5.624834] 1f04 256 mtdblock4 [ 5.628835] (driver?)
[ 5.631187] 1f05 256 mtdblock5 [ 5.635169] (driver?)
[ 5.637537] 1f06 256 mtdblock6 [ 5.641521] (driver?)
[ 5.643869] 1f07 4096 mtdblock7 [ 5.647869] (driver?)
[ 5.650221] 1f08 4096 mtdblock8 [ 5.654202] (driver?)
[ 5.656574] 1f09 120320 mtdblock9 [ 5.660557] (driver?)
[ 5.662907] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 5.673411] Rebooting in 1 seconds..

i have serial console access. how do i flash a previous version??

In uboot console:
setenv flag_try_sys2_failed 1

And use stock USB recovery routine to flash stock image. After that flash lede again.

thanks I found stock dev image(miwifi_r3g_firmware_c2175_2.25.122.bin)? how do i flash it?.. sorry for many questions

You should read the whole thread. There is several suggested ways to do it.
post 365 seems to be the most simple and complete answer. Personally I used the more difficult approach with first flashing factory firmware, then obtaining root access and last flashing LEDE again using the information here ramips: improve Xiaomi Mi Router 3G support

Thanks post 365 did not work.. but flashing factory firmware did..

In order to make it easier for users to find relevant information about installation of LEDE/OpenWrt on this device, I created https://wiki.openwrt.org/toh/xiaomi/mir3g

Please review the following sections and add/modify as appropriate.

2 Likes

done... updated recovering from brick section

My tveheadend server is crashing often. What can be the reason for that?

Fri Dec 22 20:40:57 2017 kern.info kernel: [449672.589194] do_page_fault(): sending SIGSEGV to htsp_write_sche for invalid write access to 00000000
Fri Dec 22 20:40:57 2017 kern.info kernel: [449672.598461] epc = 77638ad4 in libc.so[77610000+93000]
Fri Dec 22 20:40:57 2017 kern.info kernel: [449672.603615] ra  = 004282a4 in tvheadend[400000+5bc000]

Wifi 5Ghz is stable but 2.4Ghz has very bad range.The same range like the 5Ghz wireless.