diff options
author | Gabor Varga <vargagab@gmail.com> | 2019-10-22 21:44:09 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2019-10-24 22:58:02 +0200 |
commit | 7c5f712e4fec39cc70bef9ac0251926dfa32cc68 (patch) | |
tree | 7356eee7657fd53999b894e4d8cf1d014419b88e /target/linux/ramips/base-files | |
parent | 49db2026e54e7d707834a49fdc87ce76629a168d (diff) | |
download | upstream-7c5f712e4fec39cc70bef9ac0251926dfa32cc68.tar.gz upstream-7c5f712e4fec39cc70bef9ac0251926dfa32cc68.tar.bz2 upstream-7c5f712e4fec39cc70bef9ac0251926dfa32cc68.zip |
ramips: add support for Asus RT-AC65P
The Asus RT-AC65P router is identical with the RT-AC85P, but better to make separate images for it.
On both routers the installation can be done also via SSH:
Note: The user/password for SSH is identical with the one used in the
Web-interface.
1. Complete the initial setup wizard.
2. Activate SSH under "Administration" -> "System".
3. Transfer the OpenWrt factory image via scp:
> scp openwrt-ramips-mt7621-asus_rt-ac65p-squashfs-factory.bin admin@192.168.50.1:/tmp
4. Connect via SSH to the router.
> ssh admin@192.168.50.1
5. Write the OpenWrt image to flash.
> mtd-write -i
/tmp/openwrt-ramips-mt7621-asus_rt-ac65p-squashfs-factory.bin -d linux
6. Reboot the router
> reboot
Changelog:
v3: removed [] from filename, rebased to latest master
v2: Rebased to latest master
v1: Initial release
Signed-off-by: Gabor Varga <vargagab@gmail.com>
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 2 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/lib/upgrade/platform.sh | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index b6c3ae42cb..3c73a63aae 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -234,6 +234,7 @@ ramips_setup_interfaces() ucidef_add_switch "switch0" \ "0:lan" "1:wan" "6@eth0" ;; + asus,rt-ac65p|\ asus,rt-ac85p|\ dlink,dir-860l-b1|\ elecom,wrc-1167ghbk2-s|\ @@ -562,6 +563,7 @@ ramips_setup_macs() zbtlink,zbt-we3526) wan_mac=$(mtd_get_mac_binary factory 0xe006) ;; + asus,rt-ac65p|\ asus,rt-ac85p) wan_mac=$(mtd_get_mac_ascii u-boot-env et1macaddr) label_mac=$(cat /sys/class/ieee80211/phy0/macaddress) diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index a62ded4b9d..03e994dfa4 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -18,6 +18,7 @@ platform_do_upgrade() { mikrotik,rbm33g) [ -z "$(rootfs_type)" ] && mtd erase firmware ;; + asus,rt-ac65p|\ asus,rt-ac85p) echo "Backing up firmware" dd if=/dev/mtd4 bs=1024 count=4096 > /tmp/backup_firmware.bin @@ -27,6 +28,7 @@ platform_do_upgrade() { esac case "$board" in + asus,rt-ac65p|\ asus,rt-ac85p|\ hiwifi,hc5962|\ netgear,r6220|\ |