OEC 刷机Armbain 25.05后配置说明

DHCP 调整为固定IP

nano /etc/netplan/00-default-use-network-manager.yaml

Added by Armbian

Reference: https://netplan.readthedocs.io/en/stable/netplan-yaml/

Let NetworkManager manage all devices on this system.

Any device will come up with DHCP, once carrier is detected.

This is basically Netplan passing control over to NetworkManager at boot time.

network:

version: 2

renderer: NetworkManager

ethernets:

eth0: # 根据你的网络接口名称更改,例如eth1, enp3s0等

dhcp4: no

addresses: [10.0.0.178/24] # 你的IP地址和子网掩码

gateway4: 10.0.0.1 # 网关地址

nameservers:

addresses: [8.8.8.8, 8.8.4.4]

挂载SSD硬盘

nano /etc/fstab

复制代码
UUID=7ba6f126-a3e1-4fc2-b934-40f23013bf65  /      ext4  defaults,noatime,nodiratime,commit=600,errors=remount-ro  0 1
LABEL=BOOT_EMMC  /boot  ext4  defaults  0 2
tmpfs           /tmp     tmpfs    defaults,nosuid                                             0 0

UUID=94460f0e-89ea-47fb-a80a-a748262aec46 /store ext4 defaults,noatime,nodiratime,commit=600,errors=remount-ro  0 0

开启SAMBA共享 apt install samba

nano /etc/samba/smb.conf

global

workgroup = SAMBA

security = user

map to guest=Bad User

passdb backend = tdbsam

printing = cups

printcap name = cups

load printers = yes

cups options = raw

store

comment=oec

path=/store

writable=yes

public=yes

browseable=yes

writable=yes

create mask=0644

MacBook M1访问测试 显示-> 连接服务器 smb://10.0.0.178 选访客 不输入帐号密码

就可以在访达中访问smb服务。

相关推荐
超龄超能程序猿1 天前
云原生网关Higress介绍与部署指南
服务器·容器
肖老师xy1 天前
uniapp 苹果端bug合集
java·服务器·uni-app
冠希陈、1 天前
云锁客户端连不上服务器处理
linux·运维·服务器
似水এ᭄往昔1 天前
【Linux】--入门、基础命令
linux·服务器
做运维的阿瑞1 天前
Linux 企业级备份体系实战:cron/anacron/restic/rclone 对比与脚本总结
linux·运维·服务器·后端·学习·系统架构·centos
wanhengidc1 天前
BGP高防服务器具体是指什么
运维·服务器·网络·安全·游戏·智能手机
2301_767902641 天前
10. Linux 系统启动原理
linux·运维·服务器
☆璇1 天前
【Linux】Ext系列文件系统(下)
linux·运维·服务器
crackpot·1 天前
Linux 命令
linux·运维·服务器
ProgrammerPulse1 天前
告别“硬件绑定”困局:青云云易捷如何让异构服务器“物尽其用”
服务器