[Contribute Advice] smb配置能否增加域名配置
Tofloor
poster avatar
王先森
deepin
2022-10-31 21:32
Author

smb连配置能否增加域名配置,现在只能smb://ip,只能输入数字, 但是我的群晖有内网hostname, 以及我装了ddns自动更新域名解析的ip,在公网上是用域名加端口配置访问的。

不然每次都要改ip

image.png

Reply Favorite View the author
All Replies
fhy
deepin
2022-11-01 00:57
#1

手动挂载吧,测试好后写入开机启动 /etc/rc.local文件自动挂载。

本地挂载目录需要提前创建

mount -t cifs -o username=username,password=pwd,dir_mode=0777,file_mode=0777,vers=3.0 群晖域名 /mnt/本地挂载目录
Reply View the author
HighAvaPerCon
deepin
2022-11-01 05:10
#2

能不能把NFS也做上去,老敲mount 也不是個辦法

Reply View the author
王先森
deepin
2022-11-01 06:51
#3
fhy

手动挂载吧,测试好后写入开机启动 /etc/rc.local文件自动挂载。

本地挂载目录需要提前创建

mount -t cifs -o username=username,password=pwd,dir_mode=0777,file_mode=0777,vers=3.0 群晖域名 /mnt/本地挂载目录

这个确实是一种方式

不过不适合公司内部推广使用撒,单位有一批相对配置较差的电脑,打算改deepin,这个对业务,项目办公有一定使用门槛。

Reply View the author
王先森
deepin
2022-11-01 06:51
#4
HighAvaPerCon

能不能把NFS也做上去,老敲mount 也不是個辦法

嗯嗯 确实~

Reply View the author
晚秋(lateautumn)
Moderator
2022-11-01 23:58
#5

agree

Reply View the author