Showtime read socket error during negotiation
Showtime read socket error during negotiation
Hi everyone my ps3 is fixed and ready to continue getting my nas setup, help is greatly appreciated.
Im running into the following problem when i try to connect to my nas "read socket error during negotiation". This only happens when i use showtime mediaplayer (https://showtimemediacenter.com/). I can acces my samba fine from windows7 or android using es file explorer.
I've also read that showtime is compatible with samba3 or higher (?), does this mean the nas drive (medion P89660 md 86979) runs an older samba version? Anyone can help me with this please.
Im running into the following problem when i try to connect to my nas "read socket error during negotiation". This only happens when i use showtime mediaplayer (https://showtimemediacenter.com/). I can acces my samba fine from windows7 or android using es file explorer.
I've also read that showtime is compatible with samba3 or higher (?), does this mean the nas drive (medion P89660 md 86979) runs an older samba version? Anyone can help me with this please.
Re: Showtime read socket error during negotiation
According to the GPL sources, the box runs Samba 3.0.32.
Re: Showtime read socket error during negotiation
Is there anyway to upgrade to a higer samba version?
Re: Showtime read socket error during negotiation
Possibly. There is a Samba 3.6.6 in my repository. To get that working you'll have to kill the firmware samba. I'm not sure if it is (easy) possible to use the webinterface for Samba administration in that case.
But of course you can first test if upgrading Samba solves your problem, before jumping through hoops.
But of course you can first test if upgrading Samba solves your problem, before jumping through hoops.
Re: Showtime read socket error during negotiation
thank you for the feedback is there any place i kind find information on how to upgrade samba? Preferably in layman's terms?
Thanks in advance
Thanks in advance
Re: Showtime read socket error during negotiation
Basically it's installing the package, killing the firmware daemons:and starting the FFP one:You'll need to provide a smb.conf, but I guess you can start with copying the firmware generated configurations:
Code: Select all
killall smbd
killall nmbd
Code: Select all
sh /ffp/start/samba.sh start
Code: Select all
mkdir -p /ffp/etc/samba
cp /etc/samba/smb.conf /ffp/etc/samba/
Re: Showtime read socket error during negotiation
I first used the commands:
killall smbd
killall nmbd
then i used slacker -Ui scrolled to mz (allready added your repository from the sabnzb wiki) then selected install mz:samba-3.6.6-arm-2.txz
it installed. Then sh /ffp/start/samba.sh start it returned:
/ffp/etc/samba/smb.conf: Required file not found or not readable
so i followed your step on copying the firmware generated one:
mkdir -p /ffp/etc/samba
cp /etc/samba/smb.conf /ffp/etc/samba/
Then sh /ffp/start/samba.sh start it returned:
Starting /ffp/sbin/smbd -D
Starting /ffp/sbin/nmbd -D
then entered reboot in terminal
Booted up showtime mediaplayer on the ps3 and got connection refused. First of all thanks for your help getting me to run this.
Could you please help me into getting it running, my copied firmware smb config :
[global]
workgroup = WORKGROUP
server string = NAS-SERVER
netbios name = Ziggo
dos charset = UTF8
display charset = UTF8
unix charset = UTF8
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
guest account = pc-guest
map to guest = Bad User
write ok = yes
force create mode = 777
force directory mode = 777
force security mode = 777
force directory security mode = 777
auth methods = guest sam_ignoredomain
max log size = 50
host msdfs = yes
lanman auth = yes
smb ports = 139
printing = cups
printcap = /etc/printcap
load printers = yes
use sendfile = yes
passdb backend = smbpasswd
peek command type = yes
Is it still the nas blocking the connection or showtime, help is appreciated.
edit: showtime log shows it tries to connect to port 445 i tried changing the smb ports in my nas config to 445 and rebooted, but still getting connection refused.
killall smbd
killall nmbd
then i used slacker -Ui scrolled to mz (allready added your repository from the sabnzb wiki) then selected install mz:samba-3.6.6-arm-2.txz
it installed. Then sh /ffp/start/samba.sh start it returned:
/ffp/etc/samba/smb.conf: Required file not found or not readable
so i followed your step on copying the firmware generated one:
mkdir -p /ffp/etc/samba
cp /etc/samba/smb.conf /ffp/etc/samba/
Then sh /ffp/start/samba.sh start it returned:
Starting /ffp/sbin/smbd -D
Starting /ffp/sbin/nmbd -D
then entered reboot in terminal
Booted up showtime mediaplayer on the ps3 and got connection refused. First of all thanks for your help getting me to run this.
Could you please help me into getting it running, my copied firmware smb config :
[global]
workgroup = WORKGROUP
server string = NAS-SERVER
netbios name = Ziggo
dos charset = UTF8
display charset = UTF8
unix charset = UTF8
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
guest account = pc-guest
map to guest = Bad User
write ok = yes
force create mode = 777
force directory mode = 777
force security mode = 777
force directory security mode = 777
auth methods = guest sam_ignoredomain
max log size = 50
host msdfs = yes
lanman auth = yes
smb ports = 139
printing = cups
printcap = /etc/printcap
load printers = yes
use sendfile = yes
passdb backend = smbpasswd
peek command type = yes
Is it still the nas blocking the connection or showtime, help is appreciated.
edit: showtime log shows it tries to connect to port 445 i tried changing the smb ports in my nas config to 445 and rebooted, but still getting connection refused.
Re: Showtime read socket error during negotiation
This is wrong. After reboot the firmware Samba is active again. You should test your mediaplayer after having started the FFP samba.then entered reboot in terminal
I'm not sure about that port 445. AFAIK that is a default samba port. You can check which ports are open by Samba by executing (as root)
Code: Select all
netstat -lptn | grep mbd
Code: Select all
sh /ffp/start/samba.sh stop
sh /ffp/start/samba.sh start
Re: Showtime read socket error during negotiation
Tried the command to see which ports are open on samba
netstat -lptn | grep mbd
but it just returns with an empty line
Still getting connection refused, after removing the smb ports line. For now im using twonky to server my video file's. Seems to be related to showtime only, can still connect to my share via windows7 or android. Well off for a goodnights rest maybe ill have more luck to morrow.
netstat -lptn | grep mbd
but it just returns with an empty line
Still getting connection refused, after removing the smb ports line. For now im using twonky to server my video file's. Seems to be related to showtime only, can still connect to my share via windows7 or android. Well off for a goodnights rest maybe ill have more luck to morrow.
Re: Showtime read socket error during negotiation
Did you execute the command as root? Using this flags netstat is supposed to tell which process has the port open, but it fails when it's not running as root.zoejoe wrote:Tried the command to see which ports are open on samba
netstat -lptn | grep mbd
but it just returns with an empty line
Anyway, you can skip the grep part:
Code: Select all
netstat -lptn
Re: Showtime read socket error during negotiation
I am logged in as root but netstat -lptn | grep mbd first showed an empty line but after i used netstat -lptn it worked. netstat -lptn | grep mbd now returns:
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 1946/smbd
I'm guessing the 0 0.0.0.0:139 port should be 445? I tried editting that line from the smb.config to 445 and also complety removing it, but no luck will try it again.
edit: to add. Once i reboot the nas and the native smb starts netstat -lptn | grep mbd shows:
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 1946/smbd
then i use sh /ffp/start/samba.sh stop to stop the native samba it returns
Stopping smbd
Stopping nmbd
then i use sh /ffp/start/samba.sh start to start the ffp samba it returns
Starting /ffp/sbin/smbd -D
Starting /ffp/sbin/nmbd -D
then when ffp samba has started and i use netstat -lptn | grep mbd i get and empty field in return but netstat -lptn will return
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:514 0.0.0.0:* LISTEN 1553/syslog-ng
tcp 0 0 192.168.178.24:9443 0.0.0.0:* LISTEN 1911/twonkyserver
tcp 0 0 127.0.0.1:9443 0.0.0.0:* LISTEN 1911/twonkyserver
tcp 0 0 192.168.178.24:9001 0.0.0.0:* LISTEN 1911/twonkyserver
tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1911/twonkyserver
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 1816/pure-ftpd (SER
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 3106/sshd
tcp 0 0 0.0.0.0:631 0.0.0.0:* LISTEN 1457/cupsd
tcp 0 0 0.0.0.0:38008 0.0.0.0:* LISTEN 3108/ps3netsr
tcp 0 0 :::80 :::* LISTEN 3165/httpd
tcp 0 0 :::8082 :::* LISTEN 3165/httpd
tcp 0 0 :::21 :::* LISTEN 1816/pure-ftpd (SER
tcp 0 0 :::22 :::* LISTEN 3106/sshd
tcp 0 0 :::443 :::* LISTEN 3165/httpd
i dont see samba running anymore.
Edit: I have succes runnign the native samba and filling in the bookmark in showtime mediaplayer smb://192.168.178.24:139/share
it will now pop up to fill in user name and password. Thank you mijzelf for guiding and also helping me learn new things. Working finaly
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 1946/smbd
I'm guessing the 0 0.0.0.0:139 port should be 445? I tried editting that line from the smb.config to 445 and also complety removing it, but no luck will try it again.
edit: to add. Once i reboot the nas and the native smb starts netstat -lptn | grep mbd shows:
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 1946/smbd
then i use sh /ffp/start/samba.sh stop to stop the native samba it returns
Stopping smbd
Stopping nmbd
then i use sh /ffp/start/samba.sh start to start the ffp samba it returns
Starting /ffp/sbin/smbd -D
Starting /ffp/sbin/nmbd -D
then when ffp samba has started and i use netstat -lptn | grep mbd i get and empty field in return but netstat -lptn will return
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:514 0.0.0.0:* LISTEN 1553/syslog-ng
tcp 0 0 192.168.178.24:9443 0.0.0.0:* LISTEN 1911/twonkyserver
tcp 0 0 127.0.0.1:9443 0.0.0.0:* LISTEN 1911/twonkyserver
tcp 0 0 192.168.178.24:9001 0.0.0.0:* LISTEN 1911/twonkyserver
tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1911/twonkyserver
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 1816/pure-ftpd (SER
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 3106/sshd
tcp 0 0 0.0.0.0:631 0.0.0.0:* LISTEN 1457/cupsd
tcp 0 0 0.0.0.0:38008 0.0.0.0:* LISTEN 3108/ps3netsr
tcp 0 0 :::80 :::* LISTEN 3165/httpd
tcp 0 0 :::8082 :::* LISTEN 3165/httpd
tcp 0 0 :::21 :::* LISTEN 1816/pure-ftpd (SER
tcp 0 0 :::22 :::* LISTEN 3106/sshd
tcp 0 0 :::443 :::* LISTEN 3165/httpd
i dont see samba running anymore.
Edit: I have succes runnign the native samba and filling in the bookmark in showtime mediaplayer smb://192.168.178.24:139/share
it will now pop up to fill in user name and password. Thank you mijzelf for guiding and also helping me learn new things. Working finaly
