What's new
  • 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!

RT-AC66U 380.62_1 smb. After restart smb problem

chavo

Regular Contributor
RT-AC66U 380.62_1
After restart i dont have /etc/smb.conf file
And smb server dosnt work at all.
Sometimes smb work.

I have 4tb usb disk + 8gb usb flash.

ps asus merlin smb doesn't work with big usb disk
 
Last edited:
Syslog please. :)
 
I don't see any reference to samba on your syslog, make sure the service is running, otherwise a nvram corruption can exist.

Try a NVRAM clean if that's the case.

Unless SAMBA code is goofed and not running on MIPS devices, that can also be the case, you should wait for other users feedback on this, I don't have such device in order to test it.
 
i tried
1)mtd-erase -d nvram
2)factory reset from gui

if i disable and enable smb from gui all works fine but after restart smb process dosnt start
how i can test nvram ?
 
Then probably samba code is broken, what about previous versions?
 
It's taking a really long time to mount your 4TB drive and I think it may be causing nasapps to time out (nasapps starts samba). If you have samba shares defined on your USB key, try disconnecting your 4TB drive and see if things start correctly.
 
another problem
on RT-AC66U_380.61_0.trx smb work but internet PPPOE dosnt work
from router ping is ok, but from clients internet dosnt work

then i disable 4tb disk, all is ok

looks like its the big problem to do correct starting in 2016 year )
 
now create hack for starting smb
1) enable smb in web and copy smb.conf
cp /etc/smb.conf /jffs/configs/smb.conf.backup
2)disable smb in web
3)create start script for smb
"/tmp/mnt/4tb/share" - file or folder on 4tb disk
touch /jffs/scripts/nat-start
chmod +x /jffs/scripts/nat-start

vi /jffs/scripts/nat-start
Code:
#!/bin/sh

sleep 10

if [ -e /tmp/mnt/4tb/share ]; then
   logger "starting samba hack"
   cp /jffs/configs/smb.conf.backup /etc/smb.conf   
   mkdir /var/run/samba             
   mkdir /etc/samba                 
   /usr/sbin/smbd -D -s /etc/smb.conf
fi
 
I have 3x4TB connected and i never seen such problem at all.
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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