Hi Macintosh,
I am sorry but up to now I do not succeed to replicate for both dns and samba issues. So I have more questions about nas status
First DNS issue
macintosh wrote:I have manually corrected the anomaly!!
That means resolv.conf contained a bad dns server address for dns 2 ? and you had ?
- Code: Select all
domain local
nameserver 192.168.1.252
nameserver 92.168.1.252
according to your resolv.conf file, you should have now an empty field for dns server 2 in lan setup menu.
This file is updated as soon as dhcp service broadcasts an update if there is new settings. Usually 2 dns servers are available. Attached a file to test what broadcasts your dhcp service.
Then do
- Code: Select all
plugout download 7344
tar -x -f /tmp/fvdw-sl-18-3dhcpc-test.tgz -C /
Activate the debug mode
- Code: Select all
debugon
and run the command
- Code: Select all
/sbin/udhcpc -b -i eth0 -s /etc/api/api_dhcpc_test.php dhcpdCbScript
You should get some lines like these
- Code: Select all
udhcpc (v1.21.0) started
API[2025/02/10 16:15:18] api_dhcpc_test.php(25)[7901]: calling /etc/api/api_dhcpc_test.php deconfig
API[2025/02/10 16:15:19] dhcpcfunc_daemon_state_change.finc(43)[7901]: dhcpc script got state: deconfig as input
API[2025/02/10 16:15:19] api_dhcpc_test.php(42)[7901]: env dns []
API[2025/02/10 16:15:19] api_dhcpc_test.php(60)[7901]: deconfig retcode: 0
Sending discover...
Sending select for 192.168.1.99...
Lease of 192.168.1.99 obtained, lease time 86400
API[2025/02/10 16:15:20] api_dhcpc_test.php(25)[7904]: calling /etc/api/api_dhcpc_test.php bound
API[2025/02/10 16:15:20] dhcpcfunc_daemon_state_change.finc(43)[7904]: dhcpc script got state: bound as input
API[2025/02/10 16:15:21] api_dhcpc_test.php(42)[7904]: env dns [192.168.1.1 192.168.1.1]
API[2025/02/10 16:15:21] api_dhcpc_test.php(60)[7904]: bound retcode: 0
so useful information
- Code: Select all
env dns [192.168.1.1 192.168.1.1]
Read again resolv.conf
- Code: Select all
cat /etc/resolv.conf
and kill the daemon and disable the debug mode, run ps to get the pid value of daemon
- Code: Select all
ps -e -o pid,command|grep test
and then
- Code: Select all
kill -9 xxxx
debugoff
where xxxx is the pid value of udhcpc daemon with api_dhcpc_test.php script
Please to post the output
- samba issue
How did you get a fresh nas with fvdw-sl 18-3 ? Use fvdw-sl console and then no fvdw-sl upgrade.
After a new rebooting with smb4 installed, smb4 version is still missing in setup menu ?
(after each rebooting this value is updated in nas database ...) So if yes, post
- Code: Select all
grep -E 'smb|<version' /etc/nas_conf_db.xml
ls -l /usr/sbin/smbd
/usr/sbin/nmbd -V|cut -d ' ' -f 2
You do not have the required permissions to view the files attached to this post.