|
||||||||
Raydon's media server - Twonky on a Mac |
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Forum Member
Join Date: Apr 2003
Location: London postcode
Posts: 347
|
Raydon's media server - Twonky on a Mac
Hi, can somebody please advise me on the following?:
I'm using the latest Raydon v4 media server add-on with my Foxsat HDD, but neither Twonky nor MediaTomb seem to work on my new Mac to show the files I've recorded - it was no problem when I was using a Windows PC. On the Mac, I can see my Foxsat-HDR as a network device, but it says "connection failed" and if I click on "connect as..." it says: "The version of the server you are trying to connect to is not supported..." Thanks in advance for any help. |
|
|
|
|
Please sign in or register to remove this advertisement.
|
|
|
#2 |
|
Forum Member
Join Date: Apr 2003
Location: London postcode
Posts: 347
|
No replies - but I have now discovered that the problem is this that OS X Lion will not connect to older SMB servers that do not support UNICODE or NT style commands.
Apple's answer: "To enable OS X Lion to connect to this device, execute the following Terminal command: sudo sysctl -w net.smb.fs.kern_deprecatePreXPServers=0 This change will be in effect until the OS X Lion computer is restarted." This works! - so I guess Raydon's media server uses an older Samba version. Raydon and/or Raydon officianados: any chance to get a UNICODE or NT support for Samba in a future Foxsat Media Server release, please? I can now see my FoxSat from my Mac, but it's a real pain having to execute terminal script at each start-up. Thanks in advance for your help. |
|
|
|
|
|
#3 |
|
Forum Member
Join Date: Jun 2010
Location: Perchede, France
Posts: 1,936
|
Quote:
No replies - but I have now discovered that the problem is this that OS X Lion will not connect to older SMB servers that do not support UNICODE or NT style commands.
Apple's answer: "To enable OS X Lion to connect to this device, execute the following Terminal command: sudo sysctl -w net.smb.fs.kern_deprecatePreXPServers=0 This change will be in effect until the OS X Lion computer is restarted." This works! - so I guess Raydon's media server uses an older Samba version. Raydon and/or Raydon officianados: any chance to get a UNICODE or NT support for Samba in a future Foxsat Media Server release, please? I can now see my FoxSat from my Mac, but it's a real pain having to execute terminal script at each start-up. Thanks in advance for your help. "Windows compatible file sharing. Allows access to the HDR filesystem from a computer on the same network. The file system is shared using Windows compatible sharing so can be access from Windows, MacOSX and most other operating systems." |
|
|
|
|
|
#4 |
|
Forum Member
Join Date: Apr 2003
Location: London postcode
Posts: 347
|
Quote:
Have you checked for updates in package management? The current release is 2.2.12 and described as:
"Windows compatible file sharing. Allows access to the HDR filesystem from a computer on the same network. The file system is shared using Windows compatible sharing so can be access from Windows, MacOSX and most other operating systems." The flexibility of the Media Server Bundle is great, as it means effectively that I can now connect two TV's simultaneously to the Foxsat box and watch different recorded programmes (or one recording and one live), but the downside is that I have to fiddle around with these terminal scripts each time I reboot the Mac. |
|
|
|
|
|
#5 |
|
Forum Member
Join Date: Feb 2004
Location: Sunny France (sometimes)
Posts: 1,019
|
You should be able to put the equivalent of your terminal script in the appropriate startup file in /etc so that it gets executed on automatically on every boot.
I'm not familiar with the specifics of OS X's files in /etc but on Debian for instance it would be /etc/sysctl.conf |
|
|
|
|
|
#6 |
|
Forum Member
Join Date: Apr 2003
Location: London postcode
Posts: 347
|
Quote:
You should be able to put the equivalent of your terminal script in the appropriate startup file in /etc so that it gets executed on automatically on every boot.
I'm not familiar with the specifics of OS X's files in /etc but on Debian for instance it would be /etc/sysctl.conf ... but if anyone out there can help, all I need to do is add: "sudo sysctl -w net.smb.fs.kern_deprecatePreXPServers=0" on start-up. It's more complicated than I thought, I got a program that is supposed to help (Lingon3) but it says that I can't use the "sudo" command in a root (??) and says "refer to manual"... but there is no manual. |
|
|
|
|
|
#7 |
|
Forum Member
Join Date: Jun 2010
Location: Perchede, France
Posts: 1,936
|
Quote:
Thanks tgrabber, I'm not very Mac-savvy and the info on the net on this is all over my head. I've posted some enquiries on the Apple forums
... but if anyone out there can help, all I need to do is add: "sudo sysctl -w net.smb.fs.kern_deprecatePreXPServers=0" on start-up. It's more complicated than I thought, I got a program that is supposed to help (Lingon3) but it says that I can't use the "sudo" command in a root (??) and says "refer to manual"... but there is no manual. It's a guess but try the command line without the "sudo" prefix. |
|
|
|
|
|
#8 |
|
Forum Member
Join Date: Apr 2003
Location: London postcode
Posts: 347
|
Quote:
I think it is trying to tell you that "sudo" gives you root access and you have it already when the command line is executed.
It's a guess but try the command line without the "sudo" prefix. |
|
|
|
|
|
#9 |
|
Forum Member
Join Date: Apr 2003
Location: London postcode
Posts: 347
|
Just to let you know, the problem is solved by this reply that I just got on the MacRumors forum:
Open the Applescript editor app from the /Applications/Utilities folder. Then copy/paste in the below command. Code: do shell script "sysctl -w net.smb.fs.kern_deprecatePreXPServers=0" with administrator privileges Then click the compile button in Applescript editor. Now click the run button to test your script. It should give you a popup window with your user name already filled in and the password window blank. Type in your password and hit return. That should execute the script. If it worked okay, you now want to save the Applescript as an application. In Applescript editor click on the file menu then "save as" and name your new app. Toward the bottom of the save as window change the format from script to application. Pick where you want to save your app (I would put it in /Applications) then save it. Quit the Applescript editor. Now go to System Preferences / Users & Groups and click your user name then add your new app as a login item. Logout then log back in. You should get the same password prompt you did earlier when testing. Type in the password and hit enter and your script should execute. You could embed the password in the script, but this is not very safe and exposes your password in a plain text file. The better and safer way is what we did here that prompts for the password each time. It didn't work by putting the newly-created app in the start-up folder, but anyway at least now I have an app icon which I just have to click on to get the Media Server Bundle to connect via Samba. If anyone out there who is Apple-based (Mac OSX Lion plus Apple TV), the above configuration in conjunction with Beamer from Tupil (€7) is a great way to get a decent picture from the Foxsat HDR ts files directly onto another TV in another room. If you have an older Mac, then it's even easier as the older SMB protocols are natively supported. |
|
|
|
|
|
#10 |
|
Forum Member
Join Date: Feb 2004
Location: Sunny France (sometimes)
Posts: 1,019
|
Hmm, I checked the OS X documentation and the file seems to be called /etc/sysctl.conf on OS X too.
So basically you'd just edit this file (as root) and add a line net.smb.fs.kern_deprecatePreXPServers=0 and that would then get read and set on every startup. OS X documentation page here: https://developer.apple.com/library/...tl.conf.5.html |
|
|
|
|
|
#11 |
|
Forum Member
Join Date: Apr 2003
Location: London postcode
Posts: 347
|
Quote:
Hmm, I checked the OS X documentation and the file seems to be called /etc/sysctl.conf on OS X too.
So basically you'd just edit this file (as root) and add a line net.smb.fs.kern_deprecatePreXPServers=0 and that would then get read and set on every startup. OS X documentation page here: https://developer.apple.com/library/...tl.conf.5.html |
|
|
|
![]() |
|
All times are GMT. The time now is 09:04.

