Posts: 312
Joined: Jul 2011
Reputation:
6
2011-09-25, 06:19
(This post was last modified: 2011-09-26, 04:53 by elmerohueso.)
XBMC can communicate with my other PCs (I know because I'm using a shared MySQL library), but as of this evening has decided to stop seeing my SMB shares. I noticed when I tried to play a movie and it said the file wasn't available. I went into Videos>Add and looked under "Windows Network (SMB)", but it no longer lists *anything* there. I know my network's OK because all my Windows installations of XBMC are working fine. I even did a completely new install of XBMC on my ATV2 (uninstall then remove XBMC folder), and it still doesn't list any available shares. Has anyone run into this? Does anyone know how to fix it?
Posts: 1,275
Joined: Oct 2006
Reputation:
5
I am betting the shared database is corrupt, can you post a full debug log to confirm?
Posts: 630
Joined: Aug 2011
Reputation:
3
2011-09-25, 10:05
(This post was last modified: 2011-09-25, 10:09 by g-off.)
If in doubt, reflash. Mine did something equally stupid when I had done nothing to change it, and thing that would fix it was to reflash. Has been fine since. If you are using MYSQL then you have nothing much to lose.
Is your mysql database running on something that can be a browse master? If not, you won't be able to browse the hosts on the SMB network. If you are using a nas for serving the files try running a pc at the same time to act as a browse master.
Failing that, please provide log files. It can still provide information that you have not.
Posts: 630
Joined: Aug 2011
Reputation:
3
I never claimed they did.
He states that ATV will not browse SMB. That requires a browse master. I have come across cases where a NAS such as a QNAP was configured to not to act as a browse master. If you have an ATV and the NAS together, browsing will not work properly unless you have a windows or properly configured samba box present.
He still needs to access the share by smb even if he is using mysql for the database.
Posts: 630
Joined: Aug 2011
Reputation:
3
Were you running the Cydia stable version before? There are lots of errors in the log about the database being a later version. You need to have all your XBMC running on the same database version.
You might have two problems here.
1. Your database versions are incompatible
2. Your smb networking may not be working
I would suggest you work on one problem at a time.
Find out what version database your other XMBC are using and install the appropriate version on the ATV and get rid of the database errors.
Then try and get your smb working again. It may be simpler if you remove the advancedsettings.xml file and just work locally until you sort that out. You need to be able to browse the sources properly before trying to use the mysql thing again.
Posts: 630
Joined: Aug 2011
Reputation:
3
The time not setting is not a good sign. Is the networking configured using dhcp or manually on the ATV2?
All other networking works? Have you pinging google.com from the ATV? That will check out DNS and default gateway routing. You may need to "apt-get install network-cmds" to get ping and ifconfig.
Posts: 1,275
Joined: Oct 2006
Reputation:
5
2011-09-26, 01:58
(This post was last modified: 2011-09-26, 02:00 by Hudson_Hawk04.)
what antivirus are you using?
Might want to think about throwing everything out and starting over, delete your sources, clean your library, re add your sources be sure to set content then do a library scan.
Posts: 312
Joined: Jul 2011
Reputation:
6
Date and time finally set itself after waiting 10 minutes and not interrupting it. Apparently, that's a common issue according to the Apple forums.
When I SSH into the ATV it can ping out fine.
Posts: 312
Joined: Jul 2011
Reputation:
6
After a lot more testing, it's finally working now.
I started my Ubuntu VM and noticed that couldn't get to the SMB shares either. This is something I've run into before with Ubuntu, and since that's *NIX based and iOS is also *NIX based, it makes sense that the same solution worked. I changed the following Security Policies on my Win 7 box:
Network security: LAN Manager authentication level
--Send LM & NTLM responses
Network security: Minimum session security for NTLM SSP
--Disable Require 128-bit encryption
After that, my ATV2 is seeing my shares again. The only thing that doesn't make sense to me is why the ATV2 decided all of a sudden that those settings matter (it worked yesterday morning and stopped yesterday evening, and the server has always used the default security settings).