|
| 1 | +# OpenWrt One (mt7981x) |
| 2 | + |
| 3 | +**IMPORTANT: Prepare an empty FAT32 formatted flash drive with a Master Boot Record (MBR) partition table. If there are any other files in the USB drive, or has a GUID Partition Table (GPT), it won't work.** |
| 4 | + |
| 5 | +## Prerequisites: |
| 6 | + |
| 7 | +- Connect the AP using a data USB-C cable to the USB-C console port (on the front of the AP) |
| 8 | +- Find what tty interface the console is located, usually `/dev/ttyACM0` or `/dev/ttyUSB0` |
| 9 | +- (Use dmesg with sudo to find what tty interface is using) |
| 10 | +- Connect to the console using `screen /dev/ttyACM0 115200` |
| 11 | +- (Ensure you run `usrmod -a -G dialout $USER` as sudo, logout then reboot) |
| 12 | + |
| 13 | +## Mass device flashing: |
| 14 | + |
| 15 | +See [Massflash](./MASSFLASH.md) |
| 16 | + |
| 17 | +## Firmware upgrade by USB: |
| 18 | + |
| 19 | +- The file MUST be named or the flash update WON'T WORK. |
| 20 | + "openwrt-mediatek-filogic-openwrt_one-squashfs-sysupgrade.itb". |
| 21 | +- The NAND/NOR boot switch must be in the 'NAND' position. |
| 22 | +- Insert USB stick into the Type-A USB port on the front of the device. |
| 23 | +- Press and hold 'RESET' button while powering up device (USB-C or POE). |
| 24 | +- Continue holding 'RESET' until amber LED is blinking. |
| 25 | +- Wait for the middle 'OK' light to go green (or wait 1 minute). |
| 26 | + |
| 27 | +## Firmware recovery: |
| 28 | + |
| 29 | +If the device fails to boot or has become unresponsive: |
| 30 | + |
| 31 | +- Place the following files on the USB stick: |
| 32 | + openwrt-mediatek-filogic-openwrt_one-snand-preloader.bin" |
| 33 | + openwrt-mediatek-filogic-openwrt_one-factory.ubi" |
| 34 | + (The 2 above files must be named exactly, or recovery won't work!) |
| 35 | +- Insert USB stick on the front of device. |
| 36 | +- Flip the "NAND/NOR" boot switch to the 'NOR' position. |
| 37 | +- Press and hold the front button while powering up device (USB-C or POE). |
| 38 | +- Wait for the middle 'OK' light to go green (or wait 1 minute). |
| 39 | + |
| 40 | +## SCaLE version check |
| 41 | + |
| 42 | +Login using the serial terminal and use `cat /proc/scale-version` to verify the correct version used. |
| 43 | + |
| 44 | +## Pull LLDP |
| 45 | + |
| 46 | +Use `lldpcli show nei` |
| 47 | + |
| 48 | +``` |
| 49 | +System name: name of switch plugged |
| 50 | +Port ID: what port is connected to the switch |
| 51 | +Port description: |
| 52 | +(cf-conference center) |
| 53 | +(ex-expo floor) |
| 54 | +(infraSLOW & infraFAST) |
| 55 | +If it displays any other info - may connected to PCC network |
| 56 | +``` |
0 commit comments