tl-wa901nd
Розбіжності
Тут показані розбіжності між вибраною ревізією та поточною версією сторінки.
| Наступна ревізія | Попередня ревізія | ||
| tl-wa901nd [2014/10/26 14:28] – створено wombat | tl-wa901nd [2014/10/28 20:04] (поточний) – [Подключение к компьютеру] wombat | ||
|---|---|---|---|
| Рядок 1: | Рядок 1: | ||
| + | ====== Восстановление нерабочей прошивки TP-Link TL-WA901ND ====== | ||
| + | ===== Подключение к компьютеру ===== | ||
| - | sudo apt-get install | + | FIXME |
| + | http:// | ||
| + | ===== Необходимые программы ===== | ||
| + | В ос Debian GNU/Linux потребовалось установить следующие пакеты: | ||
| + | sudo apt-get install minicom lrzsz | ||
| + | |||
| + | |||
| + | ===== Процесс востановления ===== | ||
| + | |||
| + | |||
| + | |||
| + | Запускаем '' | ||
| + | |||
| + | < | ||
| Welcome to minicom 2.6.1 | Welcome to minicom 2.6.1 | ||
| Рядок 12: | Рядок 27: | ||
| Press CTRL-A Z for help on special keys | Press CTRL-A Z for help on special keys | ||
| + | </ | ||
| + | После включения устройства появляется следующее: | ||
| + | < | ||
| U-Boot 1.1.4 (Jul 15 2010 - 12: | U-Boot 1.1.4 (Jul 15 2010 - 12: | ||
| Рядок 35: | Рядок 52: | ||
| eth0 up | eth0 up | ||
| eth0 | eth0 | ||
| - | Autobooting in 1 secondsar7100> | + | Autobooting in 1 seconds |
| - | ar7100> loady | + | </code> |
| - | ## Ready for binary (ymodem) download to 0x81000000 at 115200 bps... | + | |
| - | Cm - CRC mode, 30722(SOH)/0(STX)/ | + | |
| - | ## Total Size = 0x003c0000 = 3932160 Bytes | + | |
| - | ar7100> | + | |
| + | Вводим команду | ||
| + | tpl | ||
| + | Появляется приглашение командной строки: | ||
| + | < | ||
| + | ar7100> | ||
| + | ar7100> loady | ||
| + | ## Ready for binary (ymodem) download to 0x81000000 at 115200 bps... | ||
| + | </ | ||
| + | Нажимаем '' | ||
| + | Выбираем файл для загрузки FIXME | ||
| + | и протокол отправки (ymodem) | ||
| + | После этого видим | ||
| + | < | ||
| + | Cm - CRC mode, 30722(SOH)/ | ||
| + | ## Total Size = 0x003c0000 = 3932160 Bytes | ||
| + | ar7100> | ||
| + | </ | ||
| + | |||
| + | Далее задаём команды записи загруженной в устройство прошивки в нужную область памяти: | ||
| + | |||
| + | < | ||
| ar7100> erase 0xbf020000 +0x3c0000 | ar7100> erase 0xbf020000 +0x3c0000 | ||
| Рядок 54: | Рядок 88: | ||
| 61 | 61 | ||
| Erased 60 sectors | Erased 60 sectors | ||
| - | ar7100> | ||
| - | |||
| - | |||
| - | |||
| - | |||
| ar7100> cp.b 0x81000000 0xbf020000 0x3c0000 | ar7100> cp.b 0x81000000 0xbf020000 0x3c0000 | ||
| Copy to Flash... write addr: bf020000 | Copy to Flash... write addr: bf020000 | ||
| done | done | ||
| ar7100> | ar7100> | ||
| + | </ | ||
| + | Перезагружаем устройство: | ||
| + | < | ||
| ar7100> reset | ar7100> reset | ||
| Рядок 232: | Рядок 263: | ||
| [ | [ | ||
| procd: - init complete - | procd: - init complete - | ||
| + | </ | ||
| + | Жмём на клавиатуре '' | ||
| - | + | < | |
| - | + | ||
| - | + | ||
| - | [ 108.970000] eth0: link up (100Mbps/ | + | |
| - | [ 108.970000] br-lan: port 1(eth0) entered forwarding state | + | |
| - | [ 108.980000] br-lan: port 1(eth0) entered forwarding state | + | |
| - | [ 108.980000] IPv6: ADDRCONF(NETDEV_CHANGE): | + | |
| - | [ 108.990000] IPv6: ADDRCONF(NETDEV_CHANGE): | + | |
| - | [ 110.980000] br-lan: port 1(eth0) entered forwarding state | + | |
| - | + | ||
| - | + | ||
| BusyBox v1.22.1 (2014-10-26 01:54:05 UTC) built-in shell (ash) | BusyBox v1.22.1 (2014-10-26 01:54:05 UTC) built-in shell (ash) | ||
| Enter ' | Enter ' | ||
| Рядок 264: | Рядок 286: | ||
| | | ||
| root@OpenWrt:/# | root@OpenWrt:/# | ||
| - | root@OpenWrt: | + | </code> |
| + | ---- | ||
| + | После подключения кабеля видим: | ||
| + | |||
| + | < | ||
| + | [ 108.970000] eth0: link up (100Mbps/ | ||
| + | [ 108.970000] br-lan: port 1(eth0) entered forwarding state | ||
| + | [ 108.980000] br-lan: port 1(eth0) entered forwarding state | ||
| + | [ 108.980000] IPv6: ADDRCONF(NETDEV_CHANGE): | ||
| + | [ 108.990000] IPv6: ADDRCONF(NETDEV_CHANGE): | ||
| + | [ 110.980000] br-lan: port 1(eth0) entered forwarding state | ||
| + | </ | ||
| + | |||
| + | Можем установить пароль администратора прямо из этой консоли: | ||
| + | |||
| + | < | ||
| root@OpenWrt:/# | root@OpenWrt:/# | ||
| Changing password for root | Changing password for root | ||
| New password: | New password: | ||
| - | Bad password: too weak | ||
| Retype password: | Retype password: | ||
| Password for root changed by root | Password for root changed by root | ||
| root@OpenWrt:/# | root@OpenWrt:/# | ||
| + | </ | ||
| + | Если требуется установить на сетевой интерфейс IP-адрес, | ||
| - | + | <file "/ | |
| - | + | ||
| - | | + | |
| - | [ 352.970000] br-lan: port 1(eth0) entered disabled state | + | |
| - | [ 470.970000] eth0: link up (100Mbps/ | + | |
| - | [ 470.970000] br-lan: port 1(eth0) entered forwarding state | + | |
| - | [ 470.980000] br-lan: port 1(eth0) entered forwarding state | + | |
| - | [ 472.980000] br-lan: port 1(eth0) entered forwarding state | + | |
| - | + | ||
| - | root@OpenWrt:/# | + | |
| - | root@OpenWrt:/# | + | |
| - | br-lan | + | |
| - | inet addr: | + | |
| - | inet6 addr: fe80:: | + | |
| - | inet6 addr: fd69: | + | |
| - | UP BROADCAST RUNNING MULTICAST | + | |
| - | RX packets:178 errors:0 dropped:0 overruns:0 frame:0 | + | |
| - | TX packets:153 errors:0 dropped:0 overruns:0 carrier:0 | + | |
| - | collisions: | + | |
| - | RX bytes:20119 (19.6 KiB) TX bytes:20112 (19.6 KiB) | + | |
| - | + | ||
| - | eth0 Link encap: | + | |
| - | UP BROADCAST RUNNING MULTICAST | + | |
| - | RX packets:197 errors:0 dropped:0 overruns:0 frame:0 | + | |
| - | TX packets:144 errors:0 dropped:0 overruns:0 carrier:0 | + | |
| - | collisions: | + | |
| - | RX bytes:24141 (23.5 KiB) TX bytes:18978 (18.5 KiB) | + | |
| - | Interrupt:4 | + | |
| - | + | ||
| - | lo Link encap:Local Loopback | + | |
| - | inet addr: | + | |
| - | inet6 addr: ::1/128 Scope: | + | |
| - | UP LOOPBACK RUNNING | + | |
| - | RX packets: | + | |
| - | TX packets: | + | |
| - | collisions: | + | |
| - | RX bytes: | + | |
| - | + | ||
| - | root@OpenWrt:/# | + | |
| - | root@OpenWrt:/# | + | |
| - | br-lan | + | |
| - | inet addr: | + | |
| - | inet6 addr: fe80:: | + | |
| - | inet6 addr: fd69: | + | |
| - | UP BROADCAST RUNNING MULTICAST | + | |
| - | RX packets:178 errors:0 dropped:0 overruns:0 frame:0 | + | |
| - | TX packets:153 errors:0 dropped:0 overruns:0 carrier:0 | + | |
| - | collisions: | + | |
| - | RX bytes:20119 (19.6 KiB) TX bytes:20112 (19.6 KiB) | + | |
| - | + | ||
| - | eth0 Link encap: | + | |
| - | UP BROADCAST RUNNING MULTICAST | + | |
| - | RX packets:198 errors:0 dropped:0 overruns:0 frame:0 | + | |
| - | search lan | + | |
| - | nameserver | + | |
| - | nameserver | + | |
| - | nameserver 127.0.0.1 | + | |
| - | ~ | + | |
| - | ~ | + | |
| - | ~ | + | |
| - | ~ | + | |
| - | ~ | + | |
| - | ~ | + | |
| - | ~ | + | |
| - | ~ | + | |
| - | ~ | + | |
| - | ~ | + | |
| - | ~ | + | |
| - | ~ | + | |
| - | ~ | + | |
| - | ~ | + | |
| - | ~ | + | |
| - | ~ | + | |
| - | ~ | + | |
| - | ~ | + | |
| - | ~ | + | |
| - | ~ | + | |
| - | root@OpenWrt:/# | + | |
| - | PING ya.ru (93.158.134.3): | + | |
| - | 64 bytes from 93.158.134.3: | + | |
| - | ^C | + | |
| - | --- ya.ru ping statistics --- | + | |
| - | 1 packets transmitted, | + | |
| - | round-trip min/avg/max = 32.451/ | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | root@OpenWrt:/# | + | |
| - | Downloading http:// | + | |
| - | Updated list of available packages in / | + | |
| - | Downloading http:// | + | |
| - | Updated list of available packages in / | + | |
| - | Downloading http:// | + | |
| - | Updated list of available packages in / | + | |
| - | Downloading http:// | + | |
| - | Updated list of available packages in / | + | |
| - | Downloading http:// | + | |
| - | Updated list of available packages in / | + | |
| - | Downloading http:// | + | |
| - | Updated list of available packages in / | + | |
| - | root@OpenWrt:/# | + | |
| - | Downloading http:// | + | |
| - | Updated list of available packages in / | + | |
| - | Downloading http:// | + | |
| - | Updated list of available packages in / | + | |
| - | Downloading http:// | + | |
| - | Updated list of available packages in / | + | |
| - | Downloading http:// | + | |
| - | Updated list of available packages in / | + | |
| - | Downloading http:// | + | |
| - | Updated list of available packages in / | + | |
| - | Downloading http:// | + | |
| - | Updated list of available packages in / | + | |
| - | root@OpenWrt:/# | + | |
| - | Installing luci (git-14.294.77948-ecb0c2f-1) to root... | + | |
| - | Downloading http:// | + | |
| - | Installing uhttpd (2014-08-25-dabd7dea6445aaa0e5b8d9add1872fa7393b3a85) to root. | + | |
| - | Downloading http:// | + | |
| - | Installing uhttpd-mod-ubus (2014-08-25-dabd7dea6445aaa0e5b8d9add1872fa7393b3a85. | + | |
| - | Downloading http:// | + | |
| - | Installing luci-mod-admin-full (git-14.294.77948-ecb0c2f-1) to root... | + | |
| - | Downloading http:// | + | |
| - | Installing luci-base (git-14.294.77948-ecb0c2f-1) to root... | + | |
| - | Downloading http:// | + | |
| - | Installing lua (5.1.5-1) to root... | + | |
| - | Downloading http:// | + | |
| - | Installing liblua (5.1.5-1) to root... | + | |
| - | Downloading http:// | + | |
| - | Installing libuci-lua (2014-04-11.1-1) to root... | + | |
| - | Downloading http:// | + | |
| - | Installing libubus-lua (2014-09-17-4c4f35cf2230d70b9ddd87638ca911e8a563f2f3) to. | + | |
| - | Downloading http:// | + | |
| - | Installing luci-theme-bootstrap (git-14.294.77948-ecb0c2f-1) to root... | + | |
| - | Downloading http:// | + | |
| - | Installing luci-app-firewall (git-14.294.77948-ecb0c2f-1) to root... | + | |
| - | Downloading http:// | + | |
| - | Installing luci-proto-ppp (git-14.294.77948-ecb0c2f-1) to root... | + | |
| - | Downloading http:// | + | |
| - | Installing libiwinfo-lua (51) to root... | + | |
| - | Downloading http:// | + | |
| - | Installing luci-lib-nixio (git-14.294.77948-ecb0c2f-1) to root... | + | |
| - | Downloading http:// | + | |
| - | Configuring liblua. | + | |
| - | Configuring libuci-lua. | + | |
| - | Configuring libubus-lua. | + | |
| - | Configuring libiwinfo-lua. | + | |
| - | Configuring luci-theme-bootstrap. | + | |
| - | Configuring luci-app-firewall. | + | |
| - | Configuring lua. | + | |
| - | Configuring luci-proto-ppp. | + | |
| - | Configuring luci-base. | + | |
| - | Configuring luci-mod-admin-full. | + | |
| - | Configuring uhttpd. | + | |
| - | ln: / | + | |
| - | Configuring uhttpd-mod-ubus. | + | |
| - | Collected errors: | + | |
| - | * wfopen: / | + | |
| - | * pkg_write_filelist: | + | |
| - | * opkg_install_pkg: | + | |
| - | * opkg_install_cmd: | + | |
| - | * opkg_conf_write_status_files: | + | |
| - | root@OpenWrt:/# | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | / | + | |
| - | / | + | |
| - | + | ||
| - | root@OpenWrt:/# | + | |
| config interface ' | config interface ' | ||
| Рядок 469: | Рядок 335: | ||
| option delegate ' | option delegate ' | ||
| + | </ | ||
| + | после чего перезапустить сеть: | ||
| + | / | ||
| - | / | + | В конце полезно разрешить автозапуск веб-интерфейса и запустить его сразу: |
| - | / | + | |
| + | / | ||
| + | / | ||
tl-wa901nd.1414333733.txt.bz2 · Востаннє змінено: повз wombat
