This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

WARNING: no network interfaces found

CIFS/SMB network sharing.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
fks
NewUser
NewUser
Posts: 2
Joined: 20 Jul 2016 05:24
Status: Offline

WARNING: no network interfaces found

Post by fks »

I upgraded my nas (freenas 7.2) to NAS4Free 10.3.0.3.2870, everything went fine with the update-manual for the xml-config.
Except the Samba did not work anymore, I found these errors in the logging :

Jul 20 05:16:51 mynas5 nmbd[3783]: [2016/07/20 05:16:51.465682, 0] ../source3/lib/interface.c:543(load_interfaces)
Jul 20 05:16:51 mynas5 nmbd[3783]: WARNING: no network interfaces found
Jul 20 05:16:53 mynas5 nmbd[3974]: [2016/07/20 05:16:53.917773, 0] ../source3/lib/interface.c:543(load_interfaces)
Jul 20 05:16:53 mynas5 nmbd[3974]: WARNING: no network interfaces found
Jul 20 05:16:53 mynas5 nmbd[3974]: [2016/07/20 05:16:53.917858, 0] ../lib/util/become_daemon.c:135(daemon_status)
Jul 20 05:16:53 mynas5 nmbd[3974]: STATUS=daemon 'nmbd' : No local IPv4 non-loopback interfaces available, waiting for interface ...NOTE: NetBIOS name resolution is not supported for Internet Protocol Version 6 (IPv6).
Jul 20 05:16:53 mynas5 smbd[3978]: [2016/07/20 05:16:53.966986, 0] ../source3/lib/interface.c:543(load_interfaces)
Jul 20 05:16:53 mynas5 smbd[3978]: WARNING: no network interfaces found

Samba could not find the network interface. First I changed the file smb4.conf with a direct IP-number for the interface.
This did not help because this file was every-time overwritten when I restarted Samba.
So I added the text "interfaces = 192.168.2.250/24" in the Auxiliary parameters box of the Services|CIFS/SMB|Settings (without the quotes), this was the fixed IP address of my Nas.

After save and restart of the service, everything was ok.
Maybe this workaround can help others.
But should this not be necessary ?

User avatar
tony1
Moderator
Moderator
Posts: 169
Joined: 14 Jul 2016 19:04
Status: Offline

Re: WARNING: no network interfaces found

Post by tony1 »

there is a bug in the GUI if you set "Interface selection" set to lan only. "all interfaces" will work fine.
in Auxiliary parameters you can set the interface something like "interfaces = re0 lo" instead of by IP address.
the problem is that the GUI sets it as "interfaces = auto" and that is not a correct option.
I hope it is fixed soon!

User avatar
tony1
Moderator
Moderator
Posts: 169
Joined: 14 Jul 2016 19:04
Status: Offline

Re: WARNING: no network interfaces found

Post by tony1 »

the proper fix would be to go to "Network|Interface Management" in the GUI and click the save button and reboot.
the config.xml will then be updated with the proper information and you will no longer need extra options in "Auxiliary parameters"
take care!

fks
NewUser
NewUser
Posts: 2
Joined: 20 Jul 2016 05:24
Status: Offline

Re: WARNING: no network interfaces found

Post by fks »

Hello tony1,

Thanks for the fast response.
I changed it like you described and it is working fine. :D :D :D


Regards fks

Post Reply

Return to “CIFS/SMB (Samba)”