Re: Re: SMB issue connecting to NAS MyBook World Edition

Home › Forums › Help and Support › SMB issue connecting to NAS MyBook World Edition › Re: Re: SMB issue connecting to NAS MyBook World Edition

#25746
txarly
Member

Hello !

I’m resolving the problem with MyBook Blue Ring and SMB.
I must start Samba on deamon with a script, not with inetd.conf.

1° Create a script “S08samba” in /etc/init.d/ with this:

#!/bin/sh

# set samba_active=1 to activate samba
samba_active=1

[ 1 = $samba_active ] || exit 0

if [ -n "`pidof smbd`" ] ; then
echo "Stopping smbd:"
killall smbd
fi

if [ -n "`pidof nmbd`" ] ; then
echo "Stopping nmbd:"
killall nmbd
fi

sleep 2

echo "Starting nmbd:"
/usr/local/samba/sbin/nmbd -D -s /etc/smb.conf
echo "Starting smbd:"
/usr/local/samba/sbin/smbd -D -s /etc/smb.conf

2) edit inetd.conf in /etc and erase smb part

3) reboot your MyBook

And MyBook’s samba finally run with wiimc !