hello guys, how are you? i am having a small problem when I install file sharing, the ip of my network card does not appear. I’ve read the documentation and I didn’t think anything could help me.
Hi,
welcome to NethServer community.
Did you configure a static IP? See also System requirements — NS8 documentation
Let’s check the IP config:
ip a
It’s also possible to manually set the IP but it should appear in the UI.
api-cli run module/samba1/set-ipaddress --data '{"ipaddress":"192.168.1.123"}'
Hello, first of all, thank you for your time and attention. Second, please excuse my lack of knowledge. I’m still learning. I redid all the configurations, created a DNS server, and did everything according to the documentation. But it didn’t work.
When I try to run the command, it gives me this error.
Warning: using user “cluster” credentials from the environment.
How do I access the cluster credentials via ssh?
Sorry for the silly questions. Thank you very much for your attention.
This isn’t an error, you can ignore it.
If it worked, it looks like this:
[root@ns8rockytest ~]# api-cli run module/samba1/set-ipaddress --data '{"ipaddress":"192.168.3.123"}'
Warning: using user "cluster" credentials from the environment
""
Please check which IP address is used currently for samba:
runagent -m samba1 grep IPADDRESS environment
Don’t mind. The only silly questions are the ones not asked…
So, the command came empty.
When I install Samba and check the box to share it with Windows, nothing appears. Only when I check to use the VPN.
It seems that my network card does not exist.
I don’t know if it makes any difference, but the scenario I’m testing is within Proxmox.
I even created a VM with two interfaces.
And when I try to set an IP in the field… it gives an error.
Once again, thanks for your attention.
Did you check network configuration?
No, Proxmox is widely used with NS8 so it should work.
Which error? Is there something interesting in the logs, see also System logs — NS8 documentation