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
@murigny64 wrote:
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.conf2) edit inetd.conf in /etc and erase smb part
3) reboot your MyBook
And MyBook’s samba finally run with wiimc !
Actually this is not quite correct, I have a bluering myself and it works fine with out doing this. One thing you do need to do is make sure that you comment out an entry in inetd.con but put a different one in.
Edit /etc/inetd.conf
#netbios-ssn stream tcp nowait root /usr/local/samba/sbin/smbd smbd -s/etc/smb.conf -l/var/log -d0
microsoft-ds stream tcp nowait root /usr/local/samba/sbin/smbd smbd -s/etc/smb.conf -l/var/log -d0
Edit /etc/services (Make sure this line exists)
microsoft-ds 445/tcp # Microsoft Directory Service
This should force your box to listen on the correct ports and get it running.
