đánh giá Đập hộp Xiaomi Redmi Router AC2100

Anh em nào monitor thấy nó gửi request liên tục về api.miwifi.com k nhỉ? Không biết request đó kèm thông tin gì?
cái app miwifi kết nối liên tục với router đó bác.
(đó là mình thấy vậy, còn thực tế lý do, mục đích sâu xa thế nào mình ko chắc)
 
cái app miwifi kết nối liên tục với router đó bác.
(đó là mình thấy vậy, còn thực tế lý do, mục đích sâu xa thế nào mình ko chắc)
Bác nào muốn block thì dùng iptables block được nhé, nhớ dùng script mở ssh trước
 
chặn vậy rồi dùng app miwifi kết nối với router để xem với điều khiển đc nữa ko bác?
Đương nhiên ko, như mình còn ko muốn dùng app miwifi mà dùng web 100% đây, nó truyền cái gì mình sao biết được, tốt nhất chặn, mình cấu hình khá nhiều thứ bằng ssh vì rom gốc sóng tốt mà quá thiếu tính năng, cũng được kha khá, thậm chí cài và chạy được pptpd làm VPN server pptp nhưng ko hiểu sao client kết nối vô ko được, vẫn đang mò thêm lúc rảnh, cơ bản là nó dựa trên openwrt nên nếu biết có thể cài thêm được khá nhiều thứ, một số thứ mình tự làm thêm như add route, chặn 1 số thứ bằng iptables, ddns của duckdns (giao diện ko có), ....
 
trên top có hướng dẫn rồi mà bác

#3 có thấy hướng dẫn đâu nhỉ
jwlDD15.jpg
 
Hướng dẫn cài Breed và firmware Padavan (áp dụng cho firmware stock ver 2.0.23)
1. Dùng trình duyệt chrome login vào router (Ex: 192.168.31.1)
2. Ấn F12, chọn tab Console, paste đoạn code sau vào và nhấn enter
JavaScript:
function getSTOK() {

    let match = location.href.match(/;stok=(.*?)\//);

    if (!match) {

        return null;

    }

    return match[1];

}


function execute(stok, command) {

    command = encodeURIComponent(command);

   let path = `/cgi-bin/luci/;stok=${stok}/api/misystem/set_config_iotdev?bssid=SteelyWing&user_id=SteelyWing&ssid=-h%0A${command}%0A`;

    console.log(path);

    return fetch(new Request(location.origin + path));

}


function enableSSH() {

    stok = getSTOK();

    if (!stok) {

        console.error('stok not found in URL');

        return;

    }

    console.log(`stok = "${stok}"`);


    password = prompt('Input new SSH password');

    if (!password) {

        console.error('You must input password');

        return;

    }


    execute(stok,

`

nvram set ssh_en=1

nvram commit

sed -i 's/channel=.*/channel=\\"debug\\"/g' /etc/init.d/dropbear

/etc/init.d/dropbear start

`

    )

        .then((response) => response.text())

        .then((text) => console.log(text));

    console.log('New SSH password: ' + password);

    execute(stok, `echo -e "${password}\\n${password}" | passwd root`)

        .then((response) => response.text())

        .then((text) => console.log(text));

}


enableSSH();
3. Nhập pass tự chọn vào cửa sổ vừa hiện ra (>8 ký tự)
4. Download Breed (MD5: FAECCBB10DABA21B173F9B773CA11F2E) & firmware Padavan vào thư mục A
5. Run > CMD
6. Nhập "cd đường dẫn đến thư mục A" (Ex: cd D:confused:Router\Xiaomi AC2100)
7. Nhập "scp breed-mt7621-xiaomi-r3g.bin [email protected]:/tmp" (pass tạo bước 3)
8. Nhập "ssh [email protected]" (pass tạo ở bước 3)
9. Nhập "mtd write /tmp/breed-mt7621-xiaomi-r3g.bin Bootloader"
10. Rút nguồn router > nhấn giữ nút reset + cắm lại nguồn cho đến khi đèn router nháy đôi
11. Cắm dây mạng kết nối pc vs router
12. Dùng trình duyệt > 192.168.1.1 để vào Breed
13. Chọn partition 2 để khởi động (nhập "autoboot.command" & "boot flash 0x600000" theo hình)
20210fb4547b-cdbb-4308-a7e7-ec8836ac3c82.png

14. Flash firmware Padavan (file .trx theo hình)
20217347b6ff-7de2-4c21-bd28-3675bc6ebd02.png

2021074c9080-503b-41e4-a976-3cbfd1f3921b.png

15. Đợi router khởi động lại để cấu hình (Pass wifi là 1234567890, admin/admin)
Tới bước 13 nhấn nút số 3 xong nó save xong báo xanh rồi click qua link bước 14 nó bị treo rồi giờ k vào được con router anh em xử lí như nào nhỉ.

Edit: à nó back lại 192.168.31.1 rồi, lại phải làm từ đầu :)).
Edit 2: vào down file 9mb trong link của bác là đúng rồi nhỉ. Flash xong thấy hiện wifi rồi.o_O
Edit 3: Ok rồi, thanks bác.
via nextVOZ for Android
 
Last edited:
Hướng dẫn cài Breed và firmware Padavan (áp dụng cho firmware stock ver 2.0.23)
1. Dùng trình duyệt chrome login vào router (Ex: 192.168.31.1)
2. Ấn F12, chọn tab Console, paste đoạn code sau vào và nhấn enter
JavaScript:
function getSTOK() {

    let match = location.href.match(/;stok=(.*?)\//);

    if (!match) {

        return null;

    }

    return match[1];

}


function execute(stok, command) {

    command = encodeURIComponent(command);

   let path = `/cgi-bin/luci/;stok=${stok}/api/misystem/set_config_iotdev?bssid=SteelyWing&user_id=SteelyWing&ssid=-h%0A${command}%0A`;

    console.log(path);

    return fetch(new Request(location.origin + path));

}


function enableSSH() {

    stok = getSTOK();

    if (!stok) {

        console.error('stok not found in URL');

        return;

    }

    console.log(`stok = "${stok}"`);


    password = prompt('Input new SSH password');

    if (!password) {

        console.error('You must input password');

        return;

    }


    execute(stok,

`

nvram set ssh_en=1

nvram commit

sed -i 's/channel=.*/channel=\\"debug\\"/g' /etc/init.d/dropbear

/etc/init.d/dropbear start

`

    )

        .then((response) => response.text())

        .then((text) => console.log(text));

    console.log('New SSH password: ' + password);

    execute(stok, `echo -e "${password}\\n${password}" | passwd root`)

        .then((response) => response.text())

        .then((text) => console.log(text));

}


enableSSH();
3. Nhập pass tự chọn vào cửa sổ vừa hiện ra (>8 ký tự)
4. Download Breed (MD5: FAECCBB10DABA21B173F9B773CA11F2E) & firmware Padavan vào thư mục A
5. Run > CMD
6. Nhập "cd đường dẫn đến thư mục A" (Ex: cd D:confused:Router\Xiaomi AC2100)
7. Nhập "scp breed-mt7621-xiaomi-r3g.bin [email protected]:/tmp" (pass tạo bước 3)
8. Nhập "ssh [email protected]" (pass tạo ở bước 3)
9. Nhập "mtd write /tmp/breed-mt7621-xiaomi-r3g.bin Bootloader"
10. Rút nguồn router > nhấn giữ nút reset + cắm lại nguồn cho đến khi đèn router nháy đôi
11. Cắm dây mạng kết nối pc vs router
12. Dùng trình duyệt > 192.168.1.1 để vào Breed
13. Chọn partition 2 để khởi động (nhập "autoboot.command" & "boot flash 0x600000" theo hình)
20210fb4547b-cdbb-4308-a7e7-ec8836ac3c82.png

14. Flash firmware Padavan (file .trx theo hình)
20217347b6ff-7de2-4c21-bd28-3675bc6ebd02.png

2021074c9080-503b-41e4-a976-3cbfd1f3921b.png

15. Đợi router khởi động lại để cấu hình (Pass wifi là 1234567890, admin/admin)

cho mình hỏi sao làm cái bước 7 nó cứ báo như thế này, ko biết nhập pass vào đâu
132321.jpg
 
Back
Top