小编Ati*_*ris的帖子

安装samba时跳过提示

我想创建一个脚本来在我的树莓派上安装所有东西(重新安装后或在另一个 pi 上,但这通常是 linux 问题)。我将命令一个一个地写到我的脚本中,但是当我安装 samba 时sudo apt-get install samba -y,会出现以下问题并等待答案:

Samba server and utilities

If your computer gets IP address information from a DHCP server on the network,
the DHCP server may also provide information about WINS servers
("NetBIOS name servers") present on the network.
This requires a change to your smb.conf file so that DHCP-provided WINS settings
will automatically be read from /var/lib/samba/dhcp.conf.

The dhcp-client package must be installed to take advantage …
Run Code Online (Sandbox Code Playgroud)

samba apt shell-script software-installation raspberry-pi

6
推荐指数
1
解决办法
2530
查看次数