From 7c5f712e4fec39cc70bef9ac0251926dfa32cc68 Mon Sep 17 00:00:00 2001 From: Gabor Varga Date: Tue, 22 Oct 2019 21:44:09 +0200 Subject: 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 --- target/linux/ramips/base-files/etc/board.d/02_network | 2 ++ 1 file changed, 2 insertions(+) (limited to 'target/linux/ramips/base-files/etc') 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) -- cgit v1.2.3