interzona / mplayer-ce

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

Cannot open SMB share with v0.75 but with v0.72 #484

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. open smb share with 0.72 = working
2. open smb share with 0.75 = getting error by opening the share
3. smb host logs recv error (details see below)

What is the expected output? What do you see instead?
It used to work with 0.72. After upgrading to 0.75 it does not open SMB shares 
anymore.

What version of the product are you using? On what operating system?
mplayer-ce 0.72, 0.72
homebrew channel 1.0.6
system menu 4.0E 

Do you have a modchip?
No.

Please provide any additional information below.

Samba2 on OpenWrt - a linux based router with a harddrive share. The share 
works with mac and 
windows clients and it did work 0.72. But with 0.75 either I get an immediate 
connecting error 
message or getting that after a while. The samba host logged the following when 
it was accessed 
by 0.75:

Oct 21 15:02:23 (none) kern.err smbd[9021]: [2009/10/21 15:02:22, 0] 
lib/util_sock.c:read_socket_data(477) 
Oct 21 15:02:23 (none) kern.err smbd[9021]:   read_socket_data: recv failure 
for 4. Error = 
Connection reset by peer

* It seems to me that mplayer disconnects by iteself.
* Tried keepalive = 0 (see below). No working.
* Tried security = share. No working.
* Tried smb ports = 139 445. No working.

host (192.168.9.1) smb.conf
==================

[global]
syslog = 5
syslog only = yes
workgroup = schnecke 
server string = Samba on schnecke
security = user #share
encrypt passwords = yes 
guest account = nobody 
local master = yes 
name resolve order = lmhosts hosts bcast
invalid users = root

case sensitive = no
preserve case = yes
create mask = 0644
directory mask = 0755
follow symlinks = yes
hosts deny = ALL
hosts allow = 192.168. 127.0.0.1
interfaces = br0 lo 
bind interfaces only = yes
#keepalive = 0
#socket options = IPTOS_LOWDELAY TCP_NODELAY

[wlhdd]
comment = wlhdd
path = /wlhdd
browseable = yes
public = no 
writeable = no
write list = wlhdd

mplayer smb.conf
===========

#Samba share1  (smb1:/)
ip1=192.168.9.1
share1=wlhdd
user1=wlhdd
pass1=*****

Original issue reported on code.google.com by yenwench...@googlemail.com on 21 Oct 2009 at 1:27

GoogleCodeExporter commented 8 years ago
I have the same problem you do.  I have a USB hard drive hooked up to a router 
(Asus
WL-520GU) running Tomato USB mod, which is sharing the hard drive as NAS via 
Samba
server 2.0.10.  0.72 can browse this share, 0.75 either shows an immediate 
error, or
what looks like a time-out error after several seconds, even with no 
authentication.

I have two other Windows XP shares that work excellent on both versions of 
mplayer-ce.

#Samba share3  (smb3:/)
ip3=192.168.1.1
share3=share
user3=
pass3=

Original comment by aj.sobo...@gmail.com on 24 Oct 2009 at 5:01

GoogleCodeExporter commented 8 years ago
@aj.sobotka
Try adding a login/pass to your share, making it non-anonymous.
Any shared dir on for example Vista failed me if I didn't use a given l/p.
Also, if you have other shares that work fine, that is a pretty clear 
indication that
Mce is working and you may have to change your settings on the SMB/SAMBA host.

@yenwenchieh
In any given situation, setting the name of the share to the same as your login 
is a
bad idea.

This is what my smb.conf says about my share, on a xubuntu.

[DOWNLOADS]
path = /media/disk1/DOWNLOADS
available = yes
browsable = yes
writable = yes
guest ok = no

I have of course added the necessary user to the SMB userdb.
I don't have any hosts denied/allowed.

I use 0.76 from 091020 (more stable than 091027) and it plays fine from SMB/USB.

Original comment by There.is...@gmail.com on 29 Oct 2009 at 5:02

GoogleCodeExporter commented 8 years ago
@There.is.No.Substitute

I tried non-anonymous.  Unfortunately, my Windows XP laptop has a problem
authenticating with tomato and that's a show-stopper, but oddly 72 can connect, 
and
75 still can't.

Here's smb.conf on the router

[share]
path = /mnt/disc0_1/
available = yes
browsable = yes
writable = yes
guest ok = no

I checked my server's logs and just like yenwenchieh, I got 

lib/util_sock.c:read_socket_data(477)
read_socket_data: recv failure for 4. Error = Connection reset by peer

Maybe I'll learn how to use git...in the mean time, here's smb.conf for mce; 
note the
share, user, and pass are all different.

#Samba share3  (smb3:/)
ip3=192.168.1.1
share3=share
user3=foo
pass3=bar

Original comment by aj.sobo...@gmail.com on 30 Oct 2009 at 4:35

GoogleCodeExporter commented 8 years ago
I have managed to acquire some WireShark dumps of the network traffic when 0.75 
gets
the "connection reset by peer" error with my Linux router's SMB.  I also got a 
dump
of 0.72 succeeding where 0.75 fails.  I'm not familiar with the Samba protocol, 
so if
anyone more knowledgeable than me wants to browse them, contact me via gmail 
(same
account name as what I have here)

Original comment by aj.sobo...@gmail.com on 16 Nov 2009 at 6:41

GoogleCodeExporter commented 8 years ago
did u all tried to put an entrie for the wii in the /etc/hosts file matching 
the good
ip address ? 

Original comment by smashxpo@gmail.com on 5 Dec 2009 at 1:33

GoogleCodeExporter commented 8 years ago
any feedback???

Original comment by Gamewiza...@gmail.com on 16 Apr 2010 at 3:48

GoogleCodeExporter commented 8 years ago

Original comment by metaradil on 22 Dec 2010 at 8:33