| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision |
| ja:docs:guide-quick-start:start [2017/05/03 16:33] – notes update musashino205 | ja:docs:guide-quick-start:start [2018/02/20 20:56] – ↷ Links adapted because of a move operation bobafetthotmail |
|---|
| ===== この説明の前提 ===== | ===== この説明の前提 ===== |
| もしあなたの状況が以下の基準に合致しない場合、更なる情報は併記されているリンクを使用してください: | もしあなたの状況が以下の基準に合致しない場合、更なる情報は併記されているリンクを使用してください: |
| * LEDE の "リリース" ビルドのインストールを計画している ([[docs:guide-quick-start:developmentinstallation|または、これの代わりに開発ビルドのための手順...]]) | * LEDE の "リリース" ビルドのインストールを計画している ([[docs:guide-quick-start:developmentinstallation|開発版ビルドでの手順]]) |
| * あなたのルーターが、少なくとも 8MB の Flash 及び 64MB の RAM を持っている ([[#why_we_require_8_mbytes_of_flash|なぜこれが重要なのでしょう?]]) | * あなたのルーターが、少なくとも 8MB の Flash 及び 64MB の RAM を持っている ([[#why_we_require_8_mbytes_of_flash|なぜこれが重要なのでしょう?]]) |
| * この手順に何らかの疑問を持っていたり、ルーター以外の種類のデバイスに LEDE をインストールしたい場合、この手順を開始する前にヘルプを得るため [[https://forum.lede-project.org/c/installation|フォーラム]] の [[https://forum.lede-project.org/c/installation|Installing and Using LEDE]] カテゴリーで質問してください。 | * この手順に何らかの疑問を持っていたり、ルーター以外の種類のデバイスに LEDE をインストールしたい場合、この手順を開始する前にヘルプを得るため [[https://forum.lede-project.org/c/installation|フォーラム]] の [[https://forum.lede-project.org/c/installation|Installing and Using LEDE]] カテゴリーで質問してください。 |
| - 設定を完了するために、**デバイスのデフォルト アドレスである http://192.168.1.1 にアクセスします**。LEDE のログインページを見つけるでしょう。 | - 設定を完了するために、**デバイスのデフォルト アドレスである http://192.168.1.1 にアクセスします**。LEDE のログインページを見つけるでしょう。 |
| - **パスワードを設定します。** LEDE はパスワード無しで開始され、続行する前にパスワードを設定しなければなりません。この通りに行います: | - **パスワードを設定します。** LEDE はパスワード無しで開始され、続行する前にパスワードを設定しなければなりません。この通りに行います: |
| * ユーザー名を "root" と入力し、パスワード欄は空のまま "ログイン"(または "Login")をクリックします。そうしたら、システム -> 管理画面(または System -> Administration)ページへ移動します。 | * ユーザー名を "root" と入力し、パスワード欄は空のまま "ログイン" をクリックします。そうしたら、システム -> 管理画面 ページへ移動します。 |
| * 両方の欄に新しいパスワードを入力し、ページ最下部の "保存 & 適用"(または "Save and Apply")をクリックします。 | * 両方の欄に新しいパスワードを入力し、ページ最下部の "保存 & 適用" をクリックします。 |
| * //Note: Use a good password: it is the first line of defense for your home network. Write the username ("root") and password, and the IP address of the router, on a sticker on the bottom of the device so you don't forget. Use the username and password for any other access through Luci and ssh in the future.// | * //注意: 良いパスワードを使用します: このルータは、家庭内ネットワークを守る第一線です。ユーザー名 ("root") やパスワード、ルーターの IP アドレスを忘れないよう、それらをステッカーに書いてルーターの底面に張り付けるなどしてください。そのユーザー名とパスワードは、今後 Luci や SSH を通したあらゆるアクセスの際に使用します。// |
| - **Set up networking** we are now setting up networking to integrate it in your current network, the configuration varies depending on what is the role of the new LEDE device you are configuring. | - **ネットワークのセットアップ** 今私たちが行っているネットワークのセットアップでは、設定の仕方はあなたが設定中のルーターの機能によって異なります。 |
| - **Client device** If you want to connect your device to an existing network to provide additional functions (for example, you just want to use the Wi-Fi network it provides, or the device is a NAS serving files over the network, or a mini-server offering whatever other service). | - **クライアント デバイス** もしあなたが、既存のネットワークに追加の機能を提供するためにデバイスを接続したい場合(例えば、デバイスの提供する Wi-Fi を利用したいという時や、デバイスがネットワークを通してファイルをやり取りする NAS である時、もしくはその他の何らかのサービスを提供する小規模なサーバーです)。 |
| * **Luci instructions**: | * **Luci の解説**: |
| - Click on **Network** -> **Interfaces**, then click on the **Edit** button of the LAN Network. | - **ネットワーク** -> **インターフェース** という順にクリックし、LAN ネットワークの **編集** ボタンをクリックします。 |
| - In **General Setup** tab, in **Protocol**, select **Static Address** | - **一般設定** タブの **プロトコル** で、**静的アドレス** を選択します。 |
| - In **IPv4 address** write the static address of this device, if your router's address is 192.168.1.1 (most common) and there are no other devices with static addresses on your network (also the most common situation for home networks) you can usually choose any address from 192.168.1.2 to 192.168.1.250. Once you have chosen and written the IP address, write it down in the same sticker with the user/password above, it will be used to connect to your device in the future.\\ | - **IPv4 アドレス** にはこのデバイスの静的アドレスを設定します。もしルーターのアドレスが 192.168.1.1(一般的)で、なおかつネットワークに静的アドレスを持つ他のデバイスが無い場合(これもまた、家庭内ネットワークでは一般的な状況です)、192.168.1.2 から 192.168.1.250 までのいずれかのアドレスを選ぶこともできます。選択し設定した IP アドレスは、今後デバイスに接続する時のために、ユーザー名とパスワードを記したのと同じステッカーに書き記しておきましょう。\\ |
| - in **IPv4 Netmask** select the same netmask as set in your router's Lan/ethernet settings, it is (very) usually 255.255.255.0 | - **IPv4 ネットマスク** には、ルーターの LAN/イーサネット設定と同じネットマスクを入力します。これは、255.255.255.0 が一般的です。 |
| - in **IPv4 gateway** write the address of the gateway, the device that allows internet access in your local network. In most home networks, the router is the gateway too, and its default address is 192.168.1.1. | - **IPv4 ゲートウェイ** には、ゲートウェイのアドレスを入力します。これは、ローカル ネットワークにおけるインターネット アクセスを可能にします。ほとんどの場合ルーターはゲートウェイでもあり、デフォルト アドレスは 192.168.1.1 です。 |
| - Set the DNS in the Custom DNS field. A DNS is a server used to translate human-readable website names (like "www.google.com") into their actual IP address. In most cases you should write there the address of the local network's router/gateway (that acts as local DNS), so 192.168.1.1, or the address of an actual DNS server in the internet, for example 8.8.8.8 that is the address of Google's DNS servers. | - カスタム DNS 欄には、DNS を設定します。DNS は人間が読み取れる Web サイトの名前(例: "www.google.com")を、それらの実際の IP アドレスへ変換するために用いられるサーバーです。ほとんどの場合、この設定にはローカル ネットワークのルーター / ゲートウェイ(ローカル用の DNS として機能します)のアドレスである 192.168.1.1 や、インターネット上に存在する Google の DNS サーバーのアドレスである 8.8.8.8 などを使用します。 |
| - Scroll down and in **DHCP Server**, in **General** tab, select "**Disable DHCP for this interface**", to disable automatic IP assignment on the LAN. Client devices will be connected to a network where there is a router doing DHCP server already and this will avoid conflicts with it. | - ページをスクロールして **DHCP サーバー** の **一般設定** タブでは、**インターフェースを無視する** を選択して LAN に対しての動的な IP アドレスの割り当てを無効にします。クライアント デバイスが既に DHCP サーバーがルーターによって実行されているネットワークに接続され、DHCP での衝突を防止するためです。 |
| - :!: Setting **DHCP Client** in the **Protocol** field will allow you to skip all of the above in most cases, but a device set like that will have an IP that changes depending on the current network router's decisions, so any time you need to connect to it you need to find its current IP first, which may be easy or not depending on the router's web interface or other networking tools you have on your PC/smartphone. This option is not recommended, as it makes connecting with the device unnecessarily more complex. | - :!: **プロトコル** を **DHCP クライアント** に設定することでほとんどの場合上記全ての設定をスキップすることができますが、デバイスに設定される IP アドレスは現在のネットワーク上に存在するルーターの決定により変動することになります。そのため、デバイスに接続したい場合にまず現在の IP アドレスを特定する必要があり、ルーターの Web インターフェースや PC / スマートフォンに搭載されているツールによっては、それが簡単であるかもしれませんし、困難であるかもしれません。このオプションは非推奨であり、デバイスへの接続を不必要に複雑化させます。 |
| - When you are done, click on **Save & Apply** button at the end of the page. This will change the network configuration of the device, and will now be accessible at the IP you set above (or at an unknown dynamic IP if you used "**DHCP client option**"), so the current page you used for configuring it will fail to connect to the device. Disconnect the cable from the PC and connect it to the current network router's Lan ethernet ports, write the IP address in your browser's address bar and you should be able to connect to it again as normal. | - 以上が完了したら、ページ下部にある **保存 & 適用** ボタンをクリックします。これはデバイスのネットワーク設定を変更し、上記で設定した IP アドレス(もしくは、"**DHCP クライアント** オプション" を使用した場合は何らかの動的 IP アドレス)でアクセス可能になります。そのため、ここまでの設定に使用したページは、デバイスへの接続に失敗するでしょう。デバイスのケーブルを PC から切断の上、現在のネットワーク上に存在するルーターの LAN ポートへ接続し、ブラウザのアドレスバーへデバイスの新しいアドレスを入力すると、再度アクセスすることができます。 |
| * **Command line instructions** to make the same we just did with Luci webinterface above, see above for more detailed explanation of the steps: | * **コマンドラインの解説** 上記で Luci Web インターフェースで行ったのと同じ内容を設定します。手順の詳細な説明については、上記を参照して下さい: |
| - type ''uci set network.lan.ipaddr='new-ip-address''' and press Return | - ''uci set network.lan.ipaddr='new-ip-address''' と入力して Enter キーを押下。 |
| - type ''uci set network.lan.gateway='your-gateway-address''' and press Return | - ''uci set network.lan.gateway='your-gateway-address''' と入力して Enter キーを押下。 |
| - type ''uci set network.lan.dns='dns-address-here''' and press Return | - ''uci set network.lan.dns='dns-address-here''' と入力して Enter キーを押下。 |
| - type ''uci commit && service network restart'' (this will save the changes and restart network interfaces) | - ''uci commit && service network restart''(これは、変更の保存とネットワーク インターフェースの再起動を行います) |
| - the ssh session will not work anymore because the device has changed address, this is normal | - SSH セッションは、デバイスの持つアドレスが変更されたため機能しなくなります。これは正常です。 |
| - now you can connect the network cable from the device's LAN port to your existing network (the other router's LAN ports usually) | - ここで、デバイスのネットワーク ケーブルを既存のネットワークの LAN ポートに接続できます。(一般的に、他のルーターの LAN ポートです) |
| - connect again to the device at its new address as defined above | - 上記で設定した新しいアドレスで、デバイスに再度接続します。 |
| - **Router device** If your device has some ports labeled LAN and at least a port labeled WAN and you want it to operate as a router (a connection between two different networks). Depending on actual hardware support, it may be possible to create a WAN port on a device with only LAN ports, see your device's page for more info about this.\\ :!: the default IP of the LAN ports of a LEDE device is 192.168.1.1, if the addresses of the devices in the network you connect to the WAN port are **192.168.1.X** (X=any number), you need to change the IP address of the LAN interfaces your LEDE router to **192.168.2.1** (or to something that isn't **192.168.1.X**, anyway), or change the addressing of the other network you are connecting to.\\ The LAN and WAN ports MUST have at least different subnets for routing to work. | - **ルーター デバイス** デバイスに LAN と表記された複数のポートと少なくとも1つの WAN と表記されたポートがあり、ルーター(2つの異なるネットワーク間の接続)として動作させたい場合です。 LAN ポートのみのデバイスで WAN ポートを作成できるかどうかは、実際のハードウェアのサポート状況によります。これについての詳細な情報は、デバイスのページを確認してください。\\ :!: LEDE デバイスでの LAN ポートのデフォルト IP アドレスは 192.168.1.1 です。もし WAN ポート側で接続されるデバイスのアドレスが **192.168.1.x**(x は何らかの数字)である場合、LEDE ルーターの LAN インターフェースの IP アドレスを **192.168.2.1**(または、とにかく **192.168.1.x** ではない別のもの)に変更するか、あるいは接続先をアドレス帯が異なる別のネットワークへ変更する必要があります。\\ LAN と WAN ポートは、ルーティングが機能するために少なくとも異なるサブネットを持つ必要があります。 |
| * **Luci instructions**: | * **Luci の解説**: |
| - Click on **Network** -> **Interfaces**, then click on the **Edit** button of the LAN Network. | - **ネットワーク** -> **インターフェース** の順に移動し、LAN ネットワークの **編集** ボタンをクリックします。 |
| - In **General Setup** tab, in **IPv4 address** write the static address of this device, if your router's address is 192.168.1.1 (most common) you can usually choose any address from 192.168.1.2 to 192.168.1.250. Once you have chosen and written the IP address, write it down in the same sticker with the user/password above, it will be used to connect to your device in the future.\\ | - **一般設定** タブの **IPv4 アドレス** に、このデバイスの静的アドレスを入力します。もしルーターのアドレスが 192.168.1.1 である場合、通常 192.168.1.2 から 192.168.1.250 までのいずれかのアドレスを選択することも可能です。 選択し設定した IP アドレスは、今後デバイスに接続する時のために、ユーザー名とパスワードを記したのと同じステッカーに書き記しておきましょう。\\ |
| - By default the WAN interface/port is set as **DHCP client**, this will allow it to work with networks where there is another router giving addresses without further configuration. If you need to set static address please see the instructions for Client device above, and change the WAN interface settings accordingly. | - WAN インターフェース / ポートは、デフォルトで **DHCP クライアント** に設定されます。 this will allow it to work with networks where there is another router giving addresses without further configuration. If you need to set static address please see the instructions for Client device above, and change the WAN interface settings accordingly. |
| * **Command line instructions**: | * **Command line instructions**: |
| - type ''uci set network.lan.ipaddr='new-ip-address''' ("new-ip-address" is the new IP address you want for the LEDE device in your network) and press Return, | - type ''uci set network.lan.ipaddr='new-ip-address''' ("new-ip-address" is the new IP address you want for the LEDE device in your network) and press Return, |
| - type ''uci commit && service network restart'' and press Return | - type ''uci commit && service network restart'' and press Return |
| - then connect again to your device at its new IP address and continue | - then connect again to your device at its new IP address and continue |
| - **Gateway device** If your device has a port labeled WAN or an integrated modem (supported by LEDE) and you want it to operate as a gateway (controlling a modem to give Internet access to all devices in a local network, usually a gateway is also a router for the local network).\\ Here Router settings as detailed above apply as in most cases the gateway is also the router in the same local network, but on the WAN port you either connect a modem in bridging, or you use an integrated modem. In either case, read the article about [[docs:user-guide:wan_interface_protocols|WAN interface protocols]] or look in your device's page. /* LINK TO A WIKI ARTICLE TO CONNECT MODEMS IN BRIDGING SHOULD ALSO GO HERE */ | - **Gateway device** If your device has a port labeled WAN or an integrated modem (supported by LEDE) and you want it to operate as a gateway (controlling a modem to give Internet access to all devices in a local network, usually a gateway is also a router for the local network).\\ Here Router settings as detailed above apply as in most cases the gateway is also the router in the same local network, but on the WAN port you either connect a modem in bridging, or you use an integrated modem. In either case, read the article about [[docs:user-guide:network:wan_interface_protocols|WAN interface protocols]] or look in your device's page. /* LINK TO A WIKI ARTICLE TO CONNECT MODEMS IN BRIDGING SHOULD ALSO GO HERE */ |
| - **Confirm internet connectivity of your device:** Go to Network -> Diagnostics and Click on "ping" button (or write ''ping lede-project.org'' from command line ) - it should print "0% packet loss" if all is right.\\ If you cannot connect to the internet, review the steps at [[:docs:guide-quick-start:ts-internetconnectivity|Troubleshooting Internet Connectivity.]] | - **Confirm internet connectivity of your device:** Go to Network -> Diagnostics and Click on "ping" button (or write ''ping lede-project.org'' from command line ) - it should print "0% packet loss" if all is right.\\ If you cannot connect to the internet, review the steps at [[:docs:guide-quick-start:ts-internetconnectivity|Troubleshooting Internet Connectivity.]] |
| - **Enable Wi-Fi in the device.** Devices that have ethernet ports have Wi-Fi turned off by default. Go to **Network -> Wireless** in the Web GUI to enable and configure Wi-Fi. /*WOULD BE COOL TO HAVE WIFI CONFIG TUTORIAL TOO HERE*/ | - **Enable Wi-Fi in the device.** Devices that have ethernet ports have Wi-Fi turned off by default. Go to **Network -> Wireless** in the Web GUI to enable and configure Wi-Fi. /*WOULD BE COOL TO HAVE WIFI CONFIG TUTORIAL TOO HERE*/ |
| After a sysupgrade you must install again all the packages you installed before the sysupgrade, also enable them again if they added system services. | After a sysupgrade you must install again all the packages you installed before the sysupgrade, also enable them again if they added system services. |
| After you did so, you can restore the setting backup file you generated before the upgrade from Luci's System -> Backup/Flash Firmware page. | After you did so, you can restore the setting backup file you generated before the upgrade from Luci's System -> Backup/Flash Firmware page. |
| You might also want to check [[docs:user-guide:ssh-firmware-upgrade|Installing LEDE from the Command Line]] if you want to see what are the differences between new/old config files or do other advanced-user tasks. | You might also want to check [[docs:user-guide:installation:sysupgrade.cli|Installing LEDE from the Command Line]] if you want to see what are the differences between new/old config files or do other advanced-user tasks. |
| |
| ===== Optional Next Steps ===== | ===== Optional Next Steps ===== |