What's new

Asus RT-AX86U_Pro where is smb.conf?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

olegy

New Around Here
Just bought a new RT-AX86U_Pro router.
Trying to setup a samba share. It does work, but maps an incorrect folder, and there is nothing I can do.
Wanted to edit smb.conf file manually, but cannot find it anywhere
For example:
admin@RT-AX86U_Pro-9788:/tmp/etc/samba# ls
secrets.tdb smbpasswd
admin@RT-AX86U_Pro-9788:/tmp/etc/samba#

Any ideas?
Thanks.
 
From the ssh prompt on the router, enter

find / -name smb.conf 2>/dev/null

Cut 'n paste that.
 
Founf it. Thanks!
ASUSWRT-Merlin RT-AX86U_PRO 388.1_0 Sat Dec 3 18:16:11 UTC 2022
admin@RT-AX86U_Pro-9788:/tmp/home/root# find / -name smb.conf 2>/dev/null
/tmp/etc/smb.conf
admin@RT-AX86U_Pro-9788:/tmp/home/root#
 
Editing that file is pointless, it's dynamically generated by the router whenever the Samba service is started.
 

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top