1
3

OpenWrt 23.05 NETGEAR WAX206 Windowsから導入

Last updated at Posted at 2023-11-03

:warning:Japanese notation

はじめに

初心者対応構成

  • スクリプトでの自動設定
  • UCIとLuCi及びWinSCPにて比較しながら作業がおススメ

PowerShellSSHアクセス

ssh root@192.168.1.1
ssh root@192.168.1.1のショートカット作成(デスクトップ)
powershell
$DESKTOP = ([Environment]::GetFolderPath("Desktop") + "\192.168.1.1.lnk")
$WshShell = New-Object -comObject WScript.Shell
$Shortcut = $WshShell.CreateShortcut("$DESKTOP")
$Shortcut.TargetPath = "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"
$Shortcut.Arguments = '-windowstyle hidden -ExecutionPolicy RemoteSigned "Start-Process ssh root@192.168.1.1"'
$Shortcut.IconLocation = "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe,0"
$Shortcut.WorkingDirectory = "."
$Shortcut.Save()

  • 強制的に貼り付け
  • yes

SSHログイン出来ない場合:exclamation:

known_hostsクリア

  • C:\Users\yourusername\.ssh\known_hosts ※Windows隠しファイル
powershell
Clear-Content .ssh\known_hosts -Force


OpenSSHのインストール
※Windows 10 Fall Creators Update(1709)以降標準搭載

  • 機能の確認
powershell
Get-WindowsCapability -Online | Where-Object Name -like 'OpenSSH*'

  • 機能のインストール
powershell
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0


ファームウェアについて

デバイスについて

NETGEAR WAX206

wax206.png

NETGERAR_WAX206メモ.md

  • ハードウェア仕様
    ARM Cortex-A53
    • CPU : 1.35 GHz x4 (Dual Core)
    • RAM : 512 MB DDR3
    • Flash : 256 GB
    • WiFi : 6 (ax)
    • Ethernet : 2.5 Gbps x1 / 1 Gbps x4
    • Power : DC 12 V / 2.5 A
  • MediaTek MT7622BV
  • MT7915AN
  • MT7975AN
  • UART : Marked J19

OpenWrtインストール手順:Installation:

デバイス用のOpenWrtファームウェアをダウンロード

ダウンロードサイト

Flash the factory image through the stock web interface, or TFTP to the bootloader. NMRP can be used to TFTP without opening the case.

  • 純正のウェブインターフェースを介してファクトリーイメージをフラッシュします

  • ログイン

  • 高度な機能のホーム

    • 管理者
      • ファームウェア更新
        • OK
          • はい

注意: ファームウェアのアップグレードには約 3 分かかります。
この間は、電源をオフにしたり、リセットボタンを押したりしないでください。

完了

WAX206固有設定

Wi-Fiハードウェアアクセラレーション (WED)

sed -i -e "s/mt7915e/mt7915e wed_enable=Y/g" /etc/modules.d/mt7915e
reboot

LAN LEDを無効にする方法

  • 無効
opkg update
opkg install mdio-tools
mdio mt7530-0 0:0x1f raw 0x21 0x0008
 
  • 復元
mdio mt7530-0 0:0x1f raw 0x21 0x000b

新規設定用 オールインワンスクリプト 初心者対応

デバイス更新

アップグレード

ダウンロードサイト

※ダウンロードしたファイル名に合わせリネーム

SSH: openwrt-23.05.2
wget /tmp/https://downloads.openwrt.org/releases/23.05.2/targets/mediatek/mt7622/openwrt-23.05.2-mediatek-mt7622-netgear_wax206-squashfs-sysupgrade.bin
sysupgrade -v /tmp/openwrt-23.05.2-mediatek-mt7622-netgear_wax206-squashfs-sysupgrade.bin

Attended Sysupgrade

opkg update
luci-app-attendedsysupgrade
opkg install auc

純正ファームウェアリカバリ:Reverting to stock firmware:

Microsoft Windows 上の TFTP クライアントを使用してファームウェアを NETGEAR ルーターにアップロードするにはどうすればよいですか?
NETGEAR ルーターが使用できない (ブリックしている) 場合、またはファームウェアの更新中または更新後にその他の問題が発生した場合は、コンピューター上の TFTP クライアントを使用して、ルーターにファームウェアをリモートからアップロードできます。

https://kb.netgear.com/000059633/How-do-I-upload-firmware-to-my-NETGEAR-router-using-a-TFTP-client-on-Microsoft-Windows

あとがき

  • LEDの数が多いのが良いが、3原色を利用出来ないのが残念

参考資料(感謝:relaxed:

1
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
3