我需要使用我的Pi 4(最新Buster)访问网络驱动器。这也可通过终端通过以下命令工作:
sudo mount -t cifs -o username=xxx@root.lan,password=xxxxxx //xxshr9.root.lan/daten /home/pi/mnt
现在,我希望在启动时,整个程序都能自动运行。 不幸的是,这不起作用。 到目前为止,我已经尝试了以下方法,但没有成功:
//xxshr9.root.lan/daten /home/pi/mnt cifs username=xxx@root.lan,password=xxxxxx 0 0
有人有什么想法吗
我找到了解决办法。 我必须激活“raspi配置”下的函数,以便Pi仅在网络加载时启动
相关问题 更多 >
编程相关推荐