Status: "nmbd: No local IPv4 non-loopback interfaces available, waiting for i...
Isto é um problema claro... mais uns comandos, por favor.
ifconfig -a
testparm
dfo-02@dfo-02:~$ ifconfig -a
Command 'ifconfig' not found, but can be installed with:
sudo apt install net-tools
dfo-02@dfo-02:~$ sudo apt-get install net-tools
[sudo] senha para dfo-02:
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
Os NOVOS pacotes a seguir serão instalados:
net-tools
0 pacotes atualizados, 1 pacotes novos instalados, 0 a serem removidos e 12 não atualizados.
É preciso baixar 194 kB de arquivos.
Depois desta operação, 803 kB adicionais de espaço em disco serão usados.
Obter:1
http://br.archive.ubuntu.com/ubuntu bionic/main amd64 net-tools amd64 1.60+git20161116.90da8a0-1ubuntu1 [194 kB]
Baixados 194 kB em 0s (427 kB/s)
A seleccionar pacote anteriormente não seleccionado net-tools.
(Lendo banco de dados ... 174558 ficheiros e directórios actualmente instalados.)
A preparar para desempacotar .../net-tools_1.60+git20161116.90da8a0-1ubuntu1_amd64.deb ...
A descompactar net-tools (1.60+git20161116.90da8a0-1ubuntu1) ...
A processar 'triggers' para man-db (2.8.3-2) ...
Configurando net-tools (1.60+git20161116.90da8a0-1ubuntu1) ...
dfo-02@dfo-02:~$ ifconfig -a
enp0s25: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.156 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::84d:810d:2db2:73b8 prefixlen 64 scopeid 0x20<link>
ether 00:1e:c9:21:35:91 txqueuelen 1000 (Ethernet)
RX packets 2313 bytes 1510311 (1.5 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2586 bytes 357496 (357.4 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 20 memory 0xfdfc0000-fdfe0000
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Loopback Local)
RX packets 568 bytes 63422 (63.4 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 568 bytes 63422 (63.4 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
dfo-02@dfo-02:~$ testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
WARNING: The "syslog" option is deprecated
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
# Global parameters
[global]
dns proxy = No
log file = /var/log/samba/log.%m
map to guest = Bad User
max log size = 1000
obey pam restrictions = Yes
pam password change = Yes
panic action = /usr/share/samba/panic-action %d
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
passwd program = /usr/bin/passwd %u
server role = standalone server
server string = %h server (Samba, Ubuntu)
syslog = 0
unix password sync = Yes
usershare allow guests = Yes
wins support = Yes
idmap config * : backend = tdb
[printers]
browseable = No
comment = All Printers
create mask = 0700
path = /var/spool/samba
printable = Yes
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
dfo-02@dfo-02:~$