LED and QCA-WIFI 160MHz (script) has problem
very thank zhiping
LED and QCA-WIFI 160MHz (script) has problem
Just for people wanting to install stuff to the router, there isn't much rw space (most things mounted read/write have access to ~ 20.8 MB in total of shared space). But luckily the ever reliable
/tmp is naturally read/write, but will not persist across reboots. You could download the files to your PC and use
scp to upload them to the router, or just
wget files directly to
/tmp if your router is connected to the internet. Luckily
/etc/opkg.conf already defines
/tmp as an installation destination (named
ram). The packages to install and their dependencies can be downloaded from https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/ or compiled yourself (using the
Qualcomm Atheros IPQ807x target). If it uses a linked library that requires a specific version, the version of OpenWRT installed on the router is
18.06-snapshot, so you may be lucky downloading the package and it's dependencies from https://downloads.openwrt.org/releases/18.06.8/packages/aarch64_cortex-a53/. Although I've not tested kernel modules. For instance to install nano i did:
On PC (as AX3600 is not connected to internet)
wget https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/libncurses6_6.2-1_aarch64_cortex-a53.ipk scp libncurses6_6.2-1_aarch64_cortex-a53.ipk firstname.lastname@example.org:/tmp/ wget https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/nano_4.9.3-1_aarch64_cortex-a53.ipk scp nano_4.9.3-1_aarch64_cortex-a53.ipk email@example.com:/tmp/ ssh firstname.lastname@example.org
opkg install --dest ram /tmp/libncurses6_6.2-1_aarch64_cortex-a53.ipk rm /tmp/libncurses6_6.2-1_aarch64_cortex-a53.ipk opkg install --dest ram /tmp/nano_4.9.3-1_aarch64_cortex-a53.ipk rm /tmp/nano_4.9.3-1_aarch64_cortex-a53.ipk
then just type:
TERM=xterm-256 /tmp/usr/bin/nano <name of file>
If your router is connected to the internet, you can just edit
/etc/opkg/distfeeds.conf and change all ocurrances of
.8. Do an
opkg update, and install using the
--dest ram option above (so no need to download the package first, or delete it after, although I would delete opkg cache).
Hope this helps.
Sorry, I'll digress a bit. Thinking about ordering AX3600 and using it as dumb AP until at least snapshot image of OpenWrt is available. Is anyone doing the same? How easy is it to configure WiFi SSIDs without fluency in Chinese?
PS. Kudos to @ajw107 providing the list of encoded commands. I was thinking of hosting a shell script to do all of that and feeding it to ash on the router. If anyone wants to test it, let me know.
I'm looking to test out this unit as my primary router but I want to make sure to sinkhole all the phone home links. So far I've identified the below hostnames and changed the hostnames in uci to an invalid hostname to prevent all the cross-site URL's Xiaomi appears to be using to phone home activity just by browsing the admin site. Any additional thoughts here besides just using /etc/hosts (besides using a FW or Pihole - my Pi is off in a K8s cluster right now).
root@XiaoQiang:~# cat /etc/hosts 127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters 0.0.0.0 baidu.com taobao.com xiaomi.cn xiaomi.com 0.0.0.0 www.baidu.com www.taobao.com www.xiaomi.cn www.xiaomi.com ::1 baidu.com taobao.com xiaomi.cn xiaomi.com ::1 www.baidu.com www.taobao.com www.xiaomi.cn www.xiaomi.com 0.0.0.0 miwifi.com log.miwifi.com s.miwifi.com app.miwifi.com stun.miwifi.com broker.miwifi.com ::1 miwifi.com log.miwifi.com s.miwifi.com app.miwifi.com stun.miwifi.com broker.miwifi.com 0.0.0.0 bbs.xiaomi.cn bbs.xiaomi.com ::1 bbs.xiaomi.cn bbs.xiaomi.com
Hello everyone, does anyone know how to add support for vlan2 and ieee 802.1q protocol via ssh on mi openwrt firmware (1.0.17) of our ax3600? thank you I'm waiting for someone more capable than me.
Would be more interesting how to build this for the AX3600 because i wouldn't trust this prebuilt image.
Is there any device configuration yet to start building for this ?, I should have mine next week (will be unused for a while) as it will eventually replace my WRT3200ACM.
I would love to help out getting this thing building now we have access to flash images. Also it looks like the NSS driver for the other IPQ devices seems to be progressing.
Build from qsdk11
QCA-WIFI NSS works
does the @efsg g guide also add support for 802.1q and vlan2 835?
I have a few questions on the specifics
- What QSDK tag is used here ?
- What (if any files) needed to be extracted from the original OS (QCA firmware ect)
- What modifications where needed to the QSDK 807X target DTS and board configs ?
anyone find the bootstrap resistors to force SPI as boot media instead？
Hi every one, im flowing enable SSH TUT by @LonGDikE and was success! but now i want to install another libs but fail because "root /" was locked. any one know to unlock it pls help.
mtd unlock ubi_rootfs and mount -o rw / but nothing effect.
I now have serial access to mine shell & uboot
IPQ807x# printenv CountryCode=CN Router_unconfigured=0 SN=266##/E0P51#### boot_wait=on bootcmd=bootmiwifi bootdelay=5 color=101 eth1addr=8c:53:c3:b2:8a:2e eth2addr=8c:53:c3:d6:db:3a eth3addr=8c:53:c3:d6:db:3a eth4addr=8c:53:c3:d6:db:3a ethact=eth0 ethaddr=8c:53:c3:d6:db:3a fdt_high=0x4A400000 fdtcontroladdr=4a979e10 flag_boot_rootfs=0 flag_boot_success=1 flag_boot_type=2 flag_last_success=0 flag_ota_reboot=0 flag_try_sys1_failed=0 flag_try_sys2_failed=0 flash_type=2 ipaddr=192.168.31.1 machid=8010010 miot_did=331152123 miot_key=Znnp0KAIRNGCWGce mode=Router model=R3600 no_wifi_dev_times=0 nv_sys_pwd=7428394ddb9de74cb1cc8197f570e4838b278300 nv_wan_type=dhcp nv_wifi_enc=mixed-psk nv_wifi_enc1=mixed-psk nv_wifi_pwd=test nv_wifi_pwd1=test nv_wifi_ssid=Xiaomi_8A2E nv_wifi_ssid1=Xiaomi_8A2E_5G restore_defaults=0 serverip=192.168.31.100 soc_version_major=2 soc_version_minor=0 ssh_en=1 stderr=serial@78B3000 stdin=serial@78B3000 stdout=serial@78B3000 telnet_en=0 uart_en=1 wl0_radio=1 wl0_ssid=Xiaomi_8A2E_75D1_5G wl1_radio=1 wl1_ssid=Xiaomi_8A2E_75D1 wl2_ssid=Xiaomi_8A2E Environment size: 1174/65532 bytes
Is that to repartition the NAND to allow for a bigger rootfs / ubi?
Thanks for your help. I'll try this
Yes, and root's read and writ
Unfortunately I cannot read the article on https://www.right.com.cn/forum/thread-4037482-1-1.html as the content is hidden to non-members. Would someone post the full manual please.
Also https://hackmd.io/@tAQ3QkjhQp6sdU_ak2LXgQ/HJ678KU68 needs a translation and I don't know where to get the file APPSBL_signed from. It is hard if you understand only 10th senence only...