interzona / mplayer-ce

Automatically exported from code.google.com/p/mplayer-ce
0 stars 0 forks source link

Mybookworld NAS SMB problem #258

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Loading Mplayer CE and adding NAS smb shares
2.
3.

What is the expected output? What do you see instead?
ERROR

What version of the product are you using? On what operating system?
V0.62

Please provide any additional information below.
The smb.conf file on the NAS is set us as below however I have added the
ports line but this makes no difference
[global]
server string=MyBookWorld
workgroup=workgroup
interfaces=192.168.1.3/24 127.0.0.1/8
smb ports = 139 445 #line i have added myself, believe as default mybook
runs on 139
security=user
smb passwd file=/var/private/smbpasswd
private dir=/var/private
guest account=www-data
dns proxy=No
lock directory=/var/locks
pid directory=/var/locks
use sendfile=Yes
map to guest = Bad User
create mask = 755
map hidden = Yes
veto files = /shares/internal/.senvidData/ /shares/internal/lost+found/
max log size = 1

[dummy-2]
include=/var/oxsemi/shares.inc

[dummy-3]
include=/var/oxsemi/senvid.inc

and my smb.conf mplayer file is 
#Max 5 samba shares (review menu.conf to add more samba browsing)
#no ip or no share means samba disabled
#It's important use quotes (") on shares with blank spaces, see example 2

#Samba share1  (smb1:/)
ip1=192.168.1.3
share1=PUBLIC
user1=
pass1=

#Samba share2  (smb2:/)
ip2=192.168.1.3
share2=public
user2=admin
pass2=123456

#Samba share3  (smb3:/)
ip3=192.168.1.3
share3=public
user3=STUART
pass3=123456

#Samba share4  (smb4:/)
ip4=192.168.1.3 
share4=PUBLIC
user4=STUART
pass4=123456

#Samba share5  (smb5:/)
ip5=
share5=
user5=
pass5=

any ideas on what i could try? 

Original issue reported on code.google.com by stu.tr...@gmail.com on 4 Jun 2009 at 11:25

GoogleCodeExporter commented 8 years ago
Ok so after 4 hours of trial and error I have learnt a few lessons. I realised 
that
the wii was never even hitting the NAS so i tried for a while to make sure port 
445
was configured, eventually I found the netstat tool and this clearly shows which
ports are being listened for I used netstat -an or netstat -ln. it turns out 
there
has to be more configured than just the smb.conf file.

basically there are a few files which needed some editing.

sevices file in /etc
I added these lines below the existing 139 ports
microsoft-ds    445/tcp                         # NETBIOS session service
microsoft-ds    445/udp

I also added these lines in inetd.conf file

microsoft-ds  stream tcp nowait root /usr/local/samba/sbin/smbd smbd -s/etc/smb$
microsoft-ds  stream udp nowait root /usr/local/samba/sbin/smbd smbd -s/etc/smb$

and my smb.conf file now looks like this

[global]
server string=MyBookWorld
workgroup=workgroup
interfaces=192.168.1.3/24 127.0.0.1/8
smb ports=445
security=user
smb passwd file=/var/private/smbpasswd
private dir=/var/private
log file=/var/log/wii.%m
debug level = 3
guest account=www-data
guest ok = Yes
dns proxy=No
lock directory=/var/locks
pid directory=/var/locks
use sendfile=Yes
create mask = 755
[PUBLIC]
path=/shares/internal/PUBLIC
valid users=STUART TEST1 ADMIN
write list=STUART TEST1 ADMIN
admin users = STUART
map to guest = Bad Password

[dummy-2]
include=/var/oxsemi/shares.inc

[dummy-3]
include=/var/oxsemi/senvid.inc
map hidden = Yes
veto files = /shares/internal/.senvidData/ /shares/internal/lost+found/
max log size = 1

[PUBLIC]
path=/shares/internal/PUBLIC
valid users=STUART TEST1 ADMIN
write list=STUART TEST1 ADMIN
admin users = STUART
map to guest = Bad Password

[dummy-2]
include=/var/oxsemi/shares.inc

[dummy-3]
include=/var/oxsemi/senvid.inc

Original comment by stu.tr...@gmail.com on 4 Jun 2009 at 3:42