nas:readynas_duo_v2_openwrt
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
nas:readynas_duo_v2_openwrt [2022/05/22 15:06] – [opkg が使えない] nipa28 | nas:readynas_duo_v2_openwrt [2022/05/22 21:09] (現在) – nipa28 | ||
---|---|---|---|
行 172: | 行 172: | ||
なんで OpenWrtなRedyNASは IPv6 になってるんだろ: | なんで OpenWrtなRedyNASは IPv6 になってるんだろ: | ||
- | ### Luciのインストール | ||
- | ### opkg が使えない | + | ### Luciのインストールに一苦労(opkg が使えない) |
- | #### 方針 | + | #### 問題はIPv6 |
とりあえず Open-Wrt はインストールされ、ssh接続できるようにはなった。 | とりあえず Open-Wrt はインストールされ、ssh接続できるようにはなった。 | ||
行 368: | 行 367: | ||
network再起動しても `IPv6: ADDRCONF(NETDEV_CHANGE): | network再起動しても `IPv6: ADDRCONF(NETDEV_CHANGE): | ||
+ | ``` | ||
+ | root@OpenWrt:/# | ||
+ | 1: lo: < | ||
+ | link/ | ||
+ | inet 127.0.0.1/8 scope host lo | ||
+ | | ||
+ | inet6 ::1/128 scope host | ||
+ | | ||
+ | 2: eth0: < | ||
+ | link/ether 2c: | ||
+ | 5: br-lan: < | ||
+ | link/ether 2c: | ||
+ | inet 192.168.10.11/ | ||
+ | | ||
+ | inet6 2001: | ||
+ | | ||
+ | inet6 fe80:: | ||
+ | | ||
+ | root@OpenWrt:/# | ||
+ | 1: lo: < | ||
+ | inet6 ::1/128 scope host | ||
+ | | ||
+ | 5: br-lan: < | ||
+ | inet6 2001: | ||
+ | | ||
+ | inet6 fe80:: | ||
+ | | ||
+ | root@OpenWrt:/# | ||
+ | ``` | ||
+ | |||
+ | br-lanに inet6 ですと。 | ||
+ | |||
+ | ### やっとIPv6を無効にできた | ||
+ | |||
+ | 「OpenWrtでIPv6を無効にする」方法をGoogle先生に訊きまわったが、どうもうまくいかない。 | ||
+ | Ubuntuの記事だが、/ | ||
+ | |||
+ | ``` | ||
+ | root@OpenWrt:/# | ||
+ | root@OpenWrt:/# | ||
+ | root@OpenWrt:/# | ||
+ | root@OpenWrt:/# | ||
+ | ``` | ||
+ | |||
+ | が、OpenWRTには systemctlコマンドがなかった: | ||
+ | ええい、再起動してしまえ・・・ | ||
+ | |||
+ | ``` | ||
+ | BusyBox v1.35.0 (2022-05-20 19:00:24 UTC) built-in shell (ash) | ||
+ | |||
+ | _______ | ||
+ | | ||
+ | | ||
+ | | ||
+ | |__| W I R E L E S S F R E E D O M | ||
+ | | ||
+ | | ||
+ | | ||
+ | root@OpenWrt:/# | ||
+ | root@OpenWrt:/# | ||
+ | 1: lo: < | ||
+ | link/ | ||
+ | inet 127.0.0.1/8 scope host lo | ||
+ | | ||
+ | inet6 ::1/128 scope host | ||
+ | | ||
+ | 2: eth0: < | ||
+ | link/ether 2c: | ||
+ | 3: br-lan: < | ||
+ | link/ether 2c: | ||
+ | inet 192.168.10.11/ | ||
+ | | ||
+ | root@OpenWrt:/# | ||
+ | PING openwrt.org (139.59.209.225): | ||
+ | 64 bytes from 139.59.209.225: | ||
+ | 64 bytes from 139.59.209.225: | ||
+ | 64 bytes from 139.59.209.225: | ||
+ | 64 bytes from 139.59.209.225: | ||
+ | ^C | ||
+ | --- openwrt.org ping statistics --- | ||
+ | 4 packets transmitted, | ||
+ | round-trip min/avg/max = 247.421/ | ||
+ | root@OpenWrt:/# | ||
+ | ``` | ||
+ | |||
+ | おっ、IPv4になってる。 | ||
+ | なんかいろいろ無駄なことしたかもだけど、結果オーライということにしますか: | ||
+ | |||
+ | ### ようやくluciのインストールができそう | ||
+ | |||
+ | IPv6を無効にしたことで、IPv4での接続となり、opkgコマンドが無事使えるようになった。 | ||
+ | |||
+ | `opkg update` して、、、 | ||
+ | |||
+ | ``` | ||
+ | root@OpenWrt:/# | ||
+ | Downloading https:// | ||
+ | Updated list of available packages in / | ||
+ | Downloading https:// | ||
+ | Signature check passed. | ||
+ | Downloading https:// | ||
+ | Updated list of available packages in / | ||
+ | Downloading https:// | ||
+ | Signature check passed. | ||
+ | Downloading https:// | ||
+ | Updated list of available packages in / | ||
+ | Downloading https:// | ||
+ | Signature check passed. | ||
+ | Downloading https:// | ||
+ | Updated list of available packages in / | ||
+ | Downloading https:// | ||
+ | Signature check passed. | ||
+ | Downloading https:// | ||
+ | Updated list of available packages in / | ||
+ | Downloading https:// | ||
+ | Signature check passed. | ||
+ | Downloading https:// | ||
+ | Updated list of available packages in / | ||
+ | Downloading https:// | ||
+ | Signature check passed. | ||
+ | Downloading https:// | ||
+ | Updated list of available packages in / | ||
+ | Downloading https:// | ||
+ | Signature check passed. | ||
+ | root@OpenWrt:/# | ||
+ | |||
+ | ``` | ||
+ | |||
+ | luciをインストール | ||
+ | |||
+ | ``` | ||
+ | root@OpenWrt:/# | ||
+ | root@OpenWrt:/# | ||
+ | root@OpenWrt:/# | ||
+ | ``` | ||
+ | |||
+ | |||
+ | ### luci 起動に成功 | ||
+ | |||
+ | |||
+ | ブラウザから ReadyNasのIPアドレスに接続。 やっとここまでたどり着いた^_^ | ||
+ | |||
+ | {{: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | OpenWRT化したReadyNAS Duo v2起動時のコンソールログ → [[nas: | ||
+ | |||
+ | ### WebUIでのネットワーク設定変更に失敗 | ||
+ | |||
+ | 現状ではブロードバンドルーター(NEC Aterm)のDHCPサーバー機能でIPアドレスをもらっていた。 | ||
+ | NASで運用するには固定IPの方がよいため、WebUIから固定IPへ変更しようとした。 | ||
+ | しかし、失敗したらしく、WebUIにも、SSHでも接続できなくなってしまった。 | ||
+ | |||
+ | {{: | ||
+ | {{: | ||
+ | {{: | ||
+ | {{: | ||
+ | {{: | ||
+ | {{: | ||
+ | {{: | ||
+ | {{: | ||
+ | {{: | ||
+ | {{: | ||
+ | {{: | ||
nas/readynas_duo_v2_openwrt.1653199575.txt.gz · 最終更新: by nipa28