ASUS PRODUCT bootloader version: 1.0.0.3 Board: Ralink APSoC DRAM: 32 MB ASUS ASUS PRODUCT gpio init : reset pin flash manufacture id: ef, device id 40 17 find flash: W25Q64BV raspi_read: from:40035 len:1 raspi_read: from:40036 len:1 raspi_read: from:30000 len:1000 Maximum malloc length: 1024 KBytes mem_malloc_start/brk/end: 0x81eb3000/81eb5000/81fb4000 *** Warning - bad CRC, using default environment
============================================ Ralink UBoot Version: 4.3.0.0 -------------------------------------------- ASIC 7628_MP (Port5<->None) DRAM component: 256 Mbits DDR, width 16 DRAM bus: 16 bit Total memory: 32 MBytes Flash component: SPI Flash Date:Dec 7 2017 Time:13:23:42 ============================================ icache: sets:512, ways:4, linesz:32 ,total:65536 dcache: sets:256, ways:4, linesz:32 ,total:32768 RESET MT7628 PHY!!!!!! Please choose the operation: 0: Load System code then write to Flash via Serial. 1: Load System code to SDRAM via TFTP. 2: Load System code then write to Flash via TFTP. 3: Boot System code via Flash (default). 4: Entr boot command line interface. 7: Load Boot Loader code then write to Flash via Serial. 9: Load Boot Loader code then write to Flash via TFTP. 0
3: System Boot System code via Flash. raspi_read: from:4018a len:4
ASUS PRODUCT bootloader version: 1.0.0.3 raspi_read: from:40004 len:6 MAC Address: XX:XX:XX:XX:XX:XX raspi_read: from:40004 len:6
## Checking 1st firmware at bc050000 ... raspi_read: from:50000 len:40 Image Name: Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 7628444 Bytes = 7.3 MB Load Address: 80000000 Entry Point: 8000c150 raspi_read: from:50040 len:74669c Verifying Checksum ... OK Uncompressing Kernel Image ... OK ## Giving linux ramsize: 33554432 (32 MB)
Starting kernel ...
配置
因為以前有用過這台路由器,其 IP 為 192.168.3.1。建議網路配置簡單些,只讓路由器的 LAN 孔接電腦,WAN 孔不接。
電腦的 IP 改為 192.168.3.2。
重啟路由器,並選擇 4: System Enter Boot Command Line Interface.
重啟路由器,並選擇 2: Load System code then write to Flash via TFTP.
1 2 3 4 5 6
2: System Load System code then write to Flash via TFTP. Warning!! Erase Linux in Flash then burn new one. Are you sure?(Y/N) Please Input new ones /or Ctrl-C to discard Input device IP (192.168.3.1) ==:192.168.3.1 Input server IP (192.168.3.2) ==:192.168.3.2 Input Linux Kernel filename () ==:openwrt-22.03.7-ramips-mt76x8-asus_rt-n11p-b1-squashfs-sysupgrade.bin
按下 Enter 鍵後,等待檔案上傳並執行,直到看到下面 OpenWrt 的啟動資訊表示刷機成功囉!
_______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M ----------------------------------------------------- OpenWrt 22.03.7, r20341-591b7e93d3 ----------------------------------------------------- === WARNING! ===================================== There is no root password defined on this device! Use the "passwd"command to set up a new password in order to prevent unauthorized SSH logins. -------------------------------------------------- root@(none):/#
OpenWrt 的初始 IP 為 192.168.1.1,所以要修改電腦的 IP 為 192.168.1.2。 便可用瀏覽器查看 http://192.168.1.1