1、修改/etc/network/interfaces要su,默认密码网上有yutech
2、interfaces参考,kbenp1s0的inet manual,我还没重启过,不知道,生不生效,默认生成时是dhcp,要想u-nas自身能上网,需要删除分配的ip(虚拟机中的openwrt具有dhcp服务)
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
iface enp1s0 inet manual
iface enp2s0 inet manual
auto kbenp1s0
iface kbenp1s0 inet manual
bridge_ports enp1s0
auto kbenp2s0
iface kbenp2s0 inet static
bridge_ports enp2s0
address 192.168.1.197
netmask 255.255.255.0
gateway 192.168.1.1
broadcast 192.168.1.255
dns-nameservers 192.168.1.1
3、网络配置如下图,kb开头的是自动生成的,ip等我是后台改的
4、虚拟网络配置如下图,lan口和wan口,自己分,最好根据openwrt自动识别的顺序分,不然lan/wan反了,要修改openwrt的网络配置,我自己的就反了
5、j4125的性能很强,我开了三个虚拟机
openwrt替换原来的ubnt er-x,虚拟的比物理的性能更好
ubuntu跑京东自动签到
windows server 2022连接打印机,安装office/ps/迅雷,提供远程打印和下载,我用的长城宽带,transmission基本作废,就迅雷好用点
windows server 2022配合u-anywhere,这就是神器,公网远程文件共享/打印无障碍