|
This section describes actions that might damage your device or firmware. Proceed with care! |
OpenWrtのインストール方法は、ほとんど各デバイスに依存します。詳細なインストール手順は各デバイスページにあるでしょう:Table of Hardware。もしあなたが探している情報がこのページになければ、こちらのページも参照してみてください →Flash Layout。
|
This section describes actions that might damage your device or firmware. Proceed with care! |
OpenWrtのインストールに失敗した場合、こちらの情報が参考になるでしょう →generic.debrick。
本HowToは本当に基礎的な部分のみを説明しています。あなたはこの情報を参照して単純に実行すればよいというわけではなく、値やその他の部分を、あなたがインストールしたいハードウェアに合わせて変更する必要があります。
一般的に、3つの選択肢があります:
オプション1: OpenWrtをルーターの不揮発性メモリにインストールする: このページで説明しますオプション2: OpenWrtをRAMにインストールする:デバイスにOpenWrtをインストールするにあたり、4つの方法があります:
オリジナル・ファームウェアのWEBインタフェースをブラウザで開き、"ファームウェア・アップグレード" ページにOpenWrtのファームウェアイメージをアップロードします。おしまい。
注意: Sometimes the upgrade functionality of the original firmware contains some mechanism to make sure you do not inadvertently flash a wrong firmware-file. If that is the case, it will prevent you from installing OpenWrt this way.
To facilitate exactly this, namely to allow flashing of a firmware, most if not all bootloaders contain a build-in functionality for this purpose. Some contain a TFTP-client, others a TFTP-server, others a FTP-client and some even a FTP-server. You need to know:
Once you know all of the above parameters, you may proceed:
NOTE: Sometimes even the bootloader prevents you from flashing a non-OEM firmware, e.g. the Inventel DV4210 (AKA Livebox)
Time window: To be able to use the entire time window, the connection between host and router needs to be established quickly. To make this as quick possible, you could disable auto-negotiation of your NIC and especially disable media sensing of your OS.
This step shows you howto upload a new ramdisk image to the device. The existing firmware on the flash remains unchanged! You require a working serial cable to do the ramdisk upload.
192.168.0.10/24./wndr3700 openwrt-ar71xx-uImage-lzma.bin openwrt-fixed.outsetenv ipaddr 192.168.0.1 setenv serverip 192.168.0.10 setenv bootargs 'board=WNDR3700' tftpboot 80800000 openwrt-fixed.out bootm(if you forget the bootargs piece below, the board will boot and look normal, but it won't be able to bring up any of the network interfaces!)
Concrete examples: wnr2000, …
Don't forgett to consult the other Generic Basic Howtos for OpenWrt.
jp/doc/howto/generic.flashing.txt · Last modified: 2012/03/29 11:00 by matsuk
This text is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.