Issues with saving config

NethServer Version: 7.3.1611 (rc3)
Hi I have installed a new Nethserver on my box.
When I was done installing my network did not receive an IP address, so I had to add one with ifconfig command.
Not sure if that is relevant but hey.

The server works okay, but I have some issues. special related to network and samba
If I update either a samba share or network connection I get an error message briefly.
I tried to capture it. but its a bit weak since it dissapeared fast.

I can change the network settings like DHCP or Static.
But samba will not update.
I can create a share but can’t find it on the network after.
if I browse the server it has no shares.

Anyone have any idea.
I don’t want to reinstall the server, because I need to have this server online as close to 100%

Please post the output of following command:

ifconfig -a
db networks show
shorewall check

Thanks for the reply.
Here are the outputs

ifconfig -a

enp5s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet  netmask  broadcast
        inet6 fe80::3697:f6ff:fe5a:8d79  prefixlen 64  scopeid 0x20<link>
        ether 34:97:f6:5a:8d:79  txqueuelen 1000  (Ethernet)
        RX packets 280089946  bytes 411896382231 (383.6 GiB)
        RX errors 0  dropped 0  overruns 392  frame 0
        TX packets 46806858  bytes 9018701782 (8.3 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device memory 0xc6b00000-c6b7ffff

enp6s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 34:97:f6:5a:8d:7a  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device memory 0xc6a00000-c6a7ffff

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet  netmask
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 646041  bytes 239323950 (228.2 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 646041  bytes 239323950 (228.2 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

I only have esp5s0 active (no cable in 6)

db networks show

    provider=xDSL provider

shorewall check

Checking using Shorewall
Processing /etc/shorewall/params ...
Processing /etc/shorewall/shorewall.conf...
Loading Modules...
Checking /etc/shorewall/zones...
Checking /etc/shorewall/interfaces...
Checking /etc/shorewall/hosts...
Determining Hosts in Zones...
Locating Action Files...
Checking /etc/shorewall/policy...
Running /etc/shorewall/initdone...
Adding Anti-smurf Rules
Adding rules for DHCP
Checking TCP Flags filtering...
Checking Kernel Route Filtering...
Checking Martian Logging...
Checking MAC Filtration -- Phase 1...
Checking /etc/shorewall/rules...
Checking /etc/shorewall/conntrack...
Checking MAC Filtration -- Phase 2...
Applying Policies...
Checking /usr/share/shorewall/action.Reject for chain Reject...
Checking /usr/share/shorewall/action.Broadcast for chain Broadcast...
Checking /usr/share/shorewall/action.Drop for chain Drop...
Checking /etc/shorewall/stoppedrules...
Shorewall configuration verified


I don’t how it happened, but it seems that enp60 is not configured properly.

Execute this from command line:

db networks setprop enp6s0 role ''
signal-event interface-update

If you still are expiring issues, please send the relevant part from /var/log/messages.

1 Like

and voila it works properly again.
Thanks :smiley:
Now the enp6s0 is un-configured.
So was probably that who caused the problem.
the smb.conf is now updating just fine :slight_smile:

Well at least I’m learning something more all the time about nethserver and CentOS :slight_smile: