type
status
date
slug
summary
tags
category
icon
password
准备工具:
  • TF卡
  • 读卡器
  • NanoPi-R4S
notion image

下载系统

NanoPi-R4S-R4SE
DHDAXCWUpdated Aug 29, 2023
后台地址:192.168.11.1 full = 全插件
docker = 带docker
slim = 精简版
beggar = 乞丐版
推荐下载:
full-friendlyarm_nanopi-r4s-squashfs-sysupgrade.img.gz
notion image
下载完成后,将zip文件解压

系统刻录工具下载

我这边使用的 Rufus来烧录系统
notion image
 

烧录系统

TF卡 用读卡器插到电脑上(有时候可能电脑不显示你插上的 TF卡)
打开 rufus ,以 rufus 检测为准
notion image
这里选择刚刚解压出来的镜像文件
notion image
点击开始
notion image
格式化确认
notion image
可以看到开始工作了
notion image
这样就是烧录好了
notion image
接下来弹出 TF卡 ,将 TF卡 安装到设备上
notion image
 

开机

我们是用来做旁路由的,所以只需要将 R4SLAN口,接入主路由出来的 LAN口即可
简单的说就是,把你任意原来可以用来插电脑的那根线,插到你的 R4SLAN口即可
notion image
然后接通电源,开机(这里需要等待系统启动)
notion image
 

系统设置

进入管理后台

默认初始地址为:192.168.11.1
但是注意,这种旁路由接法,你目前是无法直接进入后台页面的
notion image
因为你的网段是 192.168.0.xx(或者其他)
你需要在网络设置里修改一下网络环境
notion image
再次打开:
默认的账号密码是: password
notion image
 

修改设备的ip

将设备的网段修改回主网: 192.168.0.xx
notion image
然后再将你自己的网络设置修改回来即可
notion image
比如我上面设置的:http://192.168.0.249/
现在就可以直接访问了
notion image
 

设置设备网关

notion image
你的旁路由网关需要设置为主路由的ip
notion image
关闭DHCP,这一块由主路由处理
notion image
禁用IPv6相关
notion image
notion image
最后保存应用即可
notion image
 
防火墙设置
notion image
打开IP动态伪装,不然会经常出问题
notion image
这样旁路由基本完成设置了
 

如何使用旁路由

非侵入式:

修改网络设置,将网关设置为我们刚刚设置的旁路由地址
notion image
其他设备设置都是类似的,将网络设置为手动,然后设置ip、网关等信息即可
 
优点:
  • 非侵入式,现有网络不变
  • 设备自行选择是否走旁路由
 
缺点:
  • 每个设备都需要手动设置ip网关和DNS,比较繁琐
 

侵入式

觉得上面设置太过于繁琐了,不想每次都手动设置网关ip这些
修改主路由网关ip即可
LAN设置DHCP服务网关地址
notion image
优点:
  • 其他设备无需做额外设置,操作方便
 
缺点:
  • 万一软路由坏了,会导致所有设备网络中断
 

其他功能就,自己去摸索吧,在控制面板操作就好了。
如果安装过程中出现什么无法解决问题,重新烧录系统,重新设置就好了。
 
DDNS使用教程GPT-4 API全面开放
Loading...