The development for this project has been completed and all future development has been moved to a new repository. Please refer to the new repository for the latest updates and ongoing work:
https://github.com/site-u2023/aios
Thank you for your understanding.
Configuration
- Script Selector
- Initial system setup (host name, password, wifi, etc.)
- Internet connection setup in Japan (MAP-e, DS-LITE, PPPoE)
- OCN Virtual Connect automatic configuration (including Nichiban measures)
- Only Nichiban countermeasure settings are executed
- V6 Plus and IPv6 options automatically configured (including Nichiban measures)
- Only Nichiban countermeasure settings are executed
- Transix Auto Configuration
- Xpass Auto Configuration
- V6connect Auto Configuration
- PPPoE (iPv4 and IPv6): Authentication ID (user name) and password required
- Perform PPPoE IPv4 connection setup
- Perform PPPoE IPv4 and IPv6 connection setup
- OCN Virtual Connect automatic configuration (including Nichiban measures)
- Recommended Package Installation(USB auto-detection)
- Automatic full installation (recommended package all-in)
- Selective Install
- Confirmation of packages installed after flashing
- Access point configuration (Dumb / Bridge)
- Ad blocker and DNS encryption installation
- AdGuard HOME Setup and Installation
- Administrative web interface settings (port, username, and password only)
- AdBlockd installation and configuration (Japan only)
- AdBlock installation and configuration (custom filter add-in)
- Installation and configuration of AdBlock-fast (custom filter add-in)
- DNS over HTTPS (DoH) configuration and installation
- DNS over TLS (DoT) configuration and installation
- AdGuard HOME Setup and Installation
- Home Assistant Installation
- Other
- Quit
Scripts
- README.md
SSH access with PowerShell
- Starting PowerShell (Key entry):
Win+x>a>yes※Standard on Windows 7 or later
Install Powershell 7 and create shortcut
- Script for installing PowerShell 7 and creating shortcuts in a PowerShell 5.1 environment (desktop)
$currentVersion = $PSVersionTable.PSVersion
Write-Host "Current PowerShell version: $($currentVersion)"
$installed = Get-Command pwsh -ErrorAction SilentlyContinue
if ($installed) {
Write-Host "PowerShell 7 is already installed. Skipping installation."
} else {
Write-Host "Installing PowerShell 7..."
$url = "https://aka.ms/install-powershell.ps1"
Invoke-WebRequest -Uri $url -OutFile "install-powershell.ps1"
.\install-powershell.ps1
Write-Host "PowerShell 7 installation completed."
}
$desktop = [Environment]::GetFolderPath("Desktop")
$shortcutPath = "$desktop\PowerShell 7 (Admin).lnk"
$targetPath = "C:\Program Files\PowerShell\7\pwsh.exe"
$arguments = "-Command Start-Process pwsh -Verb runAs"
$shell = New-Object -ComObject WScript.Shell
$shortcut = $shell.CreateShortcut($shortcutPath)
$shortcut.TargetPath = $targetPath
$shortcut.Arguments = $arguments
$shortcut.Description = "PowerShell 7 Administrator Shortcut"
$shortcut.WorkingDirectory = "$HOME"
$shortcut.IconLocation = $targetPath
$shortcut.Save()
Write-Host "PowerShell 7 administrator shortcut has been created."ssh -o StrictHostKeyChecking=no -oHostKeyAlgorithms=+ssh-rsa root@192.168.1.1❗If you cannot log in to SSH
%USERPROFILE%\.ssh\known_hosts
Clear-Content .ssh\known_hosts -Force mkdir -p /etc/config-software; wget --no-check-certificate -O /etc/config-software/ttyd.sh https://raw.githubusercontent.com/site-u2023/config-software/main/ttyd.sh; sh /etc/config-software/ttyd.sh; confsoft❗When scripts cannot be executed due to insufficient flash capacity
- Only scripts are executed (ttyd not used)
mkdir -p /etc/config-software; wget --no-check-certificate -O /etc/config-software/ssh.sh https://raw.githubusercontent.com/site-u2023/config-software/main/confsoft.sh; sh /etc/config-software/confsoft.sh; confsoft❗MAP-e or other IPv4 unconnected
https://github.com/ can be connected using IPv6
- Connect client for setup to LAN1
# IPv6 Usage Settings
uci add network device
uci set network.@device[-1].name='lan1'
uci set network.@device[-1].mtu='1500'
uci set network.@device[-1].ipv6='1'
uci set network.@device[-1].mtu6='1500'
#
uci commit network
/etc/init.d/network reloadPermited only from LAN side
No login authentication
-
Run from browser: openwrt.lan:8888 (192.168.1.1:8888)
-
Run from command
confsoft
Ctrl+c
rm -rf /etc/config-software
rm -rf /usr/bin/confsoft- Run from LuCi:
openwrt.lan (192.168.1.1)
- User Name:
root - Password:
Password you set
- User Name:
- Run from QR Code: 192.168.1.1
Filer (used like Explorer with WinSCP)
-
Run from browser: openwrt.lan:7681 (192.168.1.1:7681)
-
Run from LuCi: openwrt.lan/ttyd (http://192.168.1.1/ttyd)
-
Run from QR Code: 192.168.1.1:7681
- Download: WinSCP
Automatic install (powershell)
- Install latest version software
$psVersion = $PSVersionTable.PSVersion.Major
$LINKS = Invoke-WebRequest "https://winscp.net/eng/download.php"
$LINKS_VERSION = $LINKS.Links | Where-Object {$_.href -like "*WinSCP-*-Setup.exe*"} | Select-Object -ExpandProperty href
$VERSION = ($LINKS_VERSION -split '/')[-2] -replace "WinSCP-([0-9]+\.[0-9]+\.[0-9]+).*", '$1'
Write-Host "Version to install: $VERSION"
$downloadUrl = "https://jaist.dl.sourceforge.net/project/winscp/WinSCP/$VERSION/WinSCP-$VERSION-Setup.exe?viasf=1"
Write-Host "Downloading from: $downloadUrl"
$ONAMAE = (whoami).Split('\')[1]
$destinationPath = "C:\Users\$ONAMAE\Downloads\WinSCP-$VERSION-Setup.exe"
Invoke-WebRequest -Uri $downloadUrl -OutFile $destinationPath
Write-Host "Installing WinSCP..."
Start-Process -FilePath $destinationPath -ArgumentList "/VERYSILENT /NORESTART" -Wait
Invoke-Expression "C:\Users\$ONAMAE\AppData\Local\Programs\WinSCP\WinSCP.exe"- Session
- Host Nmae:
192.168.1.1 - User Name:
root - Password:
Password you set - login
Click
- Host Nmae:
- QR Code Issuance: openwrt.lan/guest.html (192.168.1.1/guest.html)
- initial value: openwrt.lan:3000 (192.168.1.1:3000)
# attention required
firstboot && reboot nowThis will erase all settings and remove any installed packages. Are you sure? [N/y]
y
Press and hold the reset button on the device for 5 seconds
Japanese notation


