Giter VIP home page Giter VIP logo

xiaomi_ax3200_openwrt's People

Contributors

l4rryfisherman avatar mikeeq avatar ulp1an avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

xiaomi_ax3200_openwrt's Issues

Not able to write data to serial console via cu with UART adapters that support flow control

In order to write to the serial console on the router, both hardware and software flow need to be disabled. For some UART adapters, this seems to be the case out-of-the box, while others come with flow control enabled on Linux.

As cu does not disable the flow control by default, this leads to a problem where everything works but no data can be written and it is impossible to select the correct boot entry in the recovery menu.

This is especially devious as people might come to the wrong conclusion that their hardware (either the adapter or the router) is defect.

I ran into this issue using a CP2102 adapter and was able to solve it by using putty and disabling the flow control.

It would be good if the tutorial would warn about this possible stumbling block so people can avoid the issue and are not mislead into thinking their hardware is broken.

kernel signature mismatch

root@OpenWrt:~# opkg update
Downloading https://downloads.openwrt.org/snapshots/targets/mediatek/mt7622/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading https://downloads.openwrt.org/snapshots/targets/mediatek/mt7622/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/targets/mediatek/mt7622/kmods/5.10.104-1-ebaebe97f71e732650045f5e6ddf78b1/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/targets/mediatek/mt7622/kmods/5.10.104-1-ebaebe97f71e732650045f5e6ddf78b1/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/Packages.sig
Signature check passed.
Collected errors:
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/targets/mediatek/mt7622/kmods/5.10.104-1-ebaebe97f71e732650045f5e6ddf78b1/Packages.gz, wget returned 8.

What firmware for telnet enabled EU AX3200

Hello @mikeeq
I found an AX3200 that had been shelved a couple years ago, it has FW 1.0.35 and telnet enabled.
Should I update the fw to latest before flashing the openwrt image or it does not matter?

Small omission in upgrade instructions

First line says:

# SSH to OpenWRT flashed router ssh 192.168.1.1

If you upgrade right after installing this logs you in to 'user' which isn't set, so a blank or other password doesn't work.

Fixed by:
# SSH to OpenWRT flashed router ssh [email protected]

Go back to stock

Hi, I've succeded in flashing it, but wifi 5ghz is not working and so is openvpn, been trying for two days and it the vpn just wont connect (tried 3 different vpn providers).
now i wanna go back to stock and i dont know how to do it. a little help please ?!

Router debricking fail;

hi, I followed the Router debricking section in the README to try to flash the official firmware with the Xiaomi recovery tool, but it didn't work, the blue light didn't flash, what's the problem?

install openwrt:

nvram set ssh_en=1
nvram set uart_en=1
nvram set boot_wait=on
nvram set flag_boot_success=1
nvram set flag_try_sys1_failed=0
nvram set flag_try_sys2_failed=0
nvram set "boot_fw1=run boot_rd_img;bootm"
nvram commit

My router can now enter openwrt normally and can be used normally, but cannot fall back to the official rom.

can't install mwan3

I have issue when install mwan3 is kernel incompatible, you can help me add mwan3, please

Setting up new interface dhcp works randomly

Setting up new interface(example for iot devices) and setting dhcp works randomly at lucy interface.

  1. Assign Wlan -> New interface
  2. Set up new static interface
  3. Use IP subnet example 192.168.2.1/24
  4. Enable DHCP

Clients gets randomly ip at dhcp from original LAN interface. IP being 192.168.1.xxx.
Deleting interface completely and recreating sometimes helps and users starts getting correct ips like 192.168.2.xxx

Problem booting OpenWRT after flashing

I had OpenWRT running on my router, but a power outage kind of killed my Image yesterday.

I recovered into Stock Xiaomi image using TFTP and used the python scripts to enable network mode:4 and SSH to install openWRT using the factory.bin image mentioned on this page.

So far so good.

After the reboot I get the following error:


[    1.634713] UBI: auto-attach mtd10
[    1.644608] ubi0: attaching mtd10
[    1.648635] ubi0: scanning is finished
[    1.652380] ubi0 error: 0xffffffc010527930: the layout volume was not found
[    1.659346] ubi0 error: 0xffffffc01052b12c: failed to attach mtd10, error -22
[    1.666485] UBI error: cannot attach mtd10
[    1.671360] /dev/root: Can't open blockdev
[    1.675449] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    1.682927] Please append a correct "root=" boot option; here are the available partitions:
[    1.691281] 1f00             512 mtdblock0
[    1.691283]  (driver?)
[    1.697811] 1f04             256 mtdblock1
[    1.697812]  (driver?)
[    1.704334] 1f08             512 mtdblock2
[    1.704336]  (driver?)
[    1.710862] 1f0c             256 mtdblock3
[    1.710863]  (driver?)
[    1.717397] 1f10             256 mtdblock4
[    1.717398]  (driver?)
[    1.723921] 1f14             512 mtdblock5
[    1.723923]  (driver?)
[    1.730450] 1f18             256 mtdblock6
[    1.730451]  (driver?)
[    1.736977] 1f1c             256 mtdblock7
[    1.736979]  (driver?)
[    1.743502] 1f20            4096 mtdblock8
[    1.743503]  (driver?)
[    1.750029] 1f24            3712 mtdblock9
[    1.750031]  (driver?)
[    1.756556] 1f28             128 mtdblock10
[    1.756558]  (driver?)
[    1.763168] 1f2c          113664 mtdblock11
[    1.763170]  (driver?)
[    1.769781] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    1.778036] SMP: stopping secondary CPUs
[    1.781952] Kernel Offset: disabled
[    1.785431] CPU features: 0x00000002,04002004
[    1.789777] Memory Limit: none
[    1.795896] Rebooting in 1 seconds..

Any idea what is wrong an how to fix it?

Flash Back to Stock

How do you revert a ax3200 running openwrt to stock with the sysupgrade or luci ?
any stripped firmware ?

2.4GHz WiFi not working

Router: xiaomi AX3200 Model:RB01 (telnet default is on).

I did according to: https://openwrt.org/toh/xiaomi/ax3200 with firmware: http://downloads.openwrt.org/releases/22.03.0/targets/mediatek/mt7622/openwrt-22.03.0-mediatek-mt7622-xiaomi_redmi-router-ax6s-squashfs-factory.bin

The first recipe with:

nvram set ssh_en=1
nvram set uart_en=1
nvram set boot_wait=on
nvram set flag_boot_success=1
nvram set flag_try_sys1_failed=0
nvram set flag_try_sys2_failed=0
nvram commit

did not work, each time router boot to stock firmware, so I used:

nvram set ssh_en=1
nvram set uart_en=1
nvram set boot_wait=on
nvram set flag_boot_success=1
nvram set flag_try_sys1_failed=0
nvram set flag_try_sys2_failed=0
nvram set "boot_fw1=run boot_rd_img;bootm"
nvram commit

and after flash openwrt is booting.

It seems that everything works except 2.4 GHz WiFi (5GHz is OK).

From WebUI not working [Scan] for radio0 [2.4], after enable I have "Wireless is not associated"
Radio_2GHz_not_working

After connecting via ssh to the router I saw this errors in dmesg:

root@OpenWrt:~#  dmesg | grep mt7622-wmac
[   29.286172] mt7622-wmac 18000000.wmac: Message 00000010 (seq 1) timeout
[   29.292789] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
[   29.516424] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
[   29.736303] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
[   29.956285] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
[   30.176279] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
[   30.396280] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
[   30.616265] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
[   30.836270] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
[   31.056384] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
[   31.276325] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
[   31.496294] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
(...)

I tried to raise the radio interfaces using ip:

# wlan1 is 5GHz
# wlan0 is 2.4GHz
root@OpenWrt:~# ip link set wlan1 up
root@OpenWrt:~# ip link set wlan0 up
ip: SIOCSIFFLAGS: I/O error

Before flash to openwrt 2.4GHz works, after returning to the stock firmware works too.

The ROM size is 30mb only

That firmware has given me a good experience in usage. However I found the disk space is 31.58mb only while temp space occupied 113.71mb (given that this device has 128mb of ROM size). I'm curious what happened?
image

Unable to send commands to serial console

Hallo I am getting to the point where I can see the boot menu but I cannot interact with the console I tried 2 different usb adapters and am thinking that the maybe the rx trace may be open? Anybody had the same issue?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.