151

(44 odpowiedzi, napisanych Oprogramowanie / Software)

nie uruchomiłem, ale co mam wpisać w putty żeby się podłączyć?

152

(44 odpowiedzi, napisanych Oprogramowanie / Software)

sterowniki pobrane, zworki przestawione, nic się nie dzieje dalej, kompa też zrestartowałem jakby co

153

(44 odpowiedzi, napisanych Oprogramowanie / Software)

Instalowałem pierwszy raz openwrt, według instrukcji z https://openwrt.org/toh/xiaomi/mir3

Niestety udało mi się uwalić router, włącza się tylko pomarańczowy led i nic więcej, więc kupiłem Programator CH341A, który ktoś polecił że to jest dobre i sprawdzone, więc przylutowałem te wszystkie piny, podłączyłem kabelki, wszystko według instrukcji odbrickowania ze strony openwrt, niestety jednak w solarwinds TFTP nic się nie pojawia, żadne opcje do wyboru, żadne logi, nie wiem co mam zrobić...

4. When connected on serial CP2102 remember GND to GND/ TX to RX / RX to TX crossing, after plug the power cord on device.
5. Boot the router and select option 1 “Load system code to SDRAM via TFTP.”

niestety tutaj nie ma żadnej informacji co zrobić jeśli po wykonaniu punktu 4, nic się nie dzieje...

_____________________________________________________________________________________


Problem rozwiązany, podam tutaj poprawioną instrukcję, dla kogoś kto tego nigdy nie robił powinno być bardziej zrozumiałe (przynajmniej z mojego punktu widzenia):

==== Recovering from Softbrick ====
If your MIR3 is soft bricked, but you have write access to the serial console, you may be able to recover.

  1 Save kernel0.bin from https://drive.google.com/drive/folders/ … WZHcFM4NGc to a TFTP server (I used solarwinds for windows 10 , folder c:\TFTP-Root\  move kernel0.bin for here)
  2 Start Solaris TFTP Server
  3 Place the 2.11.20 (DEV rom Xiaomi) you will rename for firmware.bin on a FAT32 formatted flash drive and connect it to the router
  4 Connect ROUTER to the LAN port, and set the IP of the network card (TCP/IPv4) to 192.168.31.100 (subnet mask: 255.255.255.0)
  5 When connected on serial port CP2102 remember GND to GND/ TX to RX / RX to TX crossing, (Serial line: COMX (X is the number of your COM port), and set speed to 115200)
  6 after plug the power cord on device
  7 Boot the router and select option 1 "Load system code to SDRAM via TFTP." (you will only have 4 seconds to do that)
  8 Set the IP to:

first: 192.168.31.103
second: 192.168.31.100

  9 refresh the TFTP server
  10 Enter the name of the file

kernel0.bin

  11 Wait for it to reboot
  12 It will print something like the following - press and hold reset unitl the LED flashes orange and it will revert back to stock:

[    4.550000] Check for USB recovery...
[    4.580000] Both systems are corrupted... Entering recovery mode
starting pid 81, tty '': '/etc/rcS'
Press reset button to enter USB recovery

- In this moment, a red light is flashing, that pressing and holding reset button for 3 seconds, will change light to orange flashing
- Wait for automatic flashing start
- Continue on putty terminal console
- Pressing enter for entering root@XiaoQiang:/# (thanks god!)


_____________________________________________________________________________________


Jakby ktoś chciał łatwo i szybko zainstalować openwrt na Xiaomi mi r3 to wystarczy dostać się do ssh tym sposobem:
Najpierw pobrać najnowsze pliki z https://downloads.x-wrt.com/rom/
aktualnie są to:

x-wrt-6.0-b201912290728-ramips-mt7620-xiaomi_miwifi-r3-squashfs-kernel1.bin
x-wrt-6.0-b201912290728-ramips-mt7620-xiaomi_miwifi-r3-squashfs-rootfs0.bin

następnie już według instrukcji:

Flash instructions:
 1. unlock ssh access via https://openwrt.org/toh/xiaomi/mir3#get_sshdropbear_access
 2. insert a usb stick (FAT/FAT32) with copied two firmware files (.bin)
      x-wrt-6.0-b201912290728-ramips-mt7620-xiaomi_miwifi-r3-squashfs-kernel1.bin
      x-wrt-6.0-b201912290728-ramips-mt7620-xiaomi_miwifi-r3-squashfs-rootfs0.bin
 3. in ssh:
      nvram set flag_last_success=1
      nvram set boot_wait=on
      nvram set uart_en=1
      nvram commit
      cd /extdisks/sda1
      mtd write x-wrt-6.0-b201912290728-ramips-mt7620-xiaomi_miwifi-r3-squashfs-kernel1.bin kernel1
      mtd write x-wrt-6.0-b201912290728-ramips-mt7620-xiaomi_miwifi-r3-squashfs-rootfs0.bin rootfs0
      reboot

po kilku minutach będzie można się zalogowac poprzez 192.168.15.1, root/admin

tutaj przydatne będzie tłumacz z chrome żeby automatycznie tłumaczył wszystko (potrzebne jest połączenie z internetem), potem można sobie zmienić język na angielski w ustawieniach, oraz włączyć dostęp do ssh