SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV HD Theater - Media Player
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV HD Theater - Media Player Discussion related to using the SageTV HD Theater as a Media Player, i.e.: in use while not connected to a SageTV server. Questions, issues, problems, suggestions, etc. relating to using a SageTV HD Theater as a Media Player should be posted here. Use the SageTV Media Extender forum for issues related to using it while connected to a SageTV server.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-03-2009, 12:01 AM
petely petely is offline
Sage User
 
Join Date: Jan 2009
Posts: 15
Authentication Information for connecting to USB drive attached to HD200 with Samba

I have a HD200 running 20081230 0 and have a USB harddrive plugged into the HD200's USB port. I can browse to the HD200's IP address via CIFS and then see my drive shared at which point I am prompted to enter credentials. After canceling the prompts, it allows me to browse to the drive but albeit in read only mode. I am looking to copy files directly to the device to prevent network jitters from interfering with playback. What credentials should be provided?

Thanks

Last edited by petely; 01-03-2009 at 12:21 AM.
Reply With Quote
  #2  
Old 01-03-2009, 12:25 AM
petely petely is offline
Sage User
 
Join Date: Jan 2009
Posts: 15
It appears that when credentials are not supplied, your logged into SMB via root albeit locked down a bit.

FYI: All groups and users seem to have only browse and read privledges.
Attached Images
File Type: png sage_root.png (9.0 KB, 335 views)
Reply With Quote
  #3  
Old 01-03-2009, 12:54 AM
petely petely is offline
Sage User
 
Join Date: Jan 2009
Posts: 15
I figured out that I can telnet into the device and login as root without a password however I cannot figure out how to view files. Tried the usual type, vi, nano, etc commands but seems this version of uLinux is quite stripped down. Was hoping to view the smb.config file for clues.
Reply With Quote
  #4  
Old 01-03-2009, 01:06 AM
petely petely is offline
Sage User
 
Join Date: Jan 2009
Posts: 15
An update:

Found some ways to actually display whats in the in the smb.conf. Seems it maintains a copy in /tmp

Notice that readonly is off however the group or user permissions seems to be overriding.

MEDIASHIZ[/]# cd /tmp
MEDIASHIZ[/tmp]# cat smb.conf
[global]
guest account = root
security = share
netbios name = MEDIASHIZ
server string = MEDIASHIZ
workgroup = MSHOME
[ST340063 3AS (373 GB)]
read only = No
force user = root
force group = root
guest ok = yes
comment = ST340063 3AS (373 GB)
path = /tmp/external/ST340063 3AS (373 GB)
Reply With Quote
  #5  
Old 01-03-2009, 02:54 AM
petely petely is offline
Sage User
 
Join Date: Jan 2009
Posts: 15
It appears that my later suspicions were correct. My first attempt was with a drive formatted with NTFS. I then low level wiped the MBR then formated to ext2. Drive was not even detected. I then formatted to FAT32 (note this is with a 400GB drive) and the drive is detected and the share is writable. I am assuming the NTFS driver that the HD200 is using does not support write capability instead of the NTFS-3G driver that does support writes.

My only concern is the capacity that the FAT32 driver can access (won't mention journaling at the moment). I suppose we will find out.
Reply With Quote
  #6  
Old 01-03-2009, 07:08 AM
petely petely is offline
Sage User
 
Join Date: Jan 2009
Posts: 15
Now after trying to copy to the HDD attached to the HD200 via the share of the FAT32 HDD, I consistently get Error 64 which is "The specified network name is no longer available" This only occurs on files that are larger than a few kb.

This is indicative of a bottle neck which is most likely occurring on the HD200 rather than on the 100Mbps full duplex network between source and destination.

Last edited by petely; 01-03-2009 at 07:11 AM.
Reply With Quote
  #7  
Old 01-03-2009, 08:00 PM
petely petely is offline
Sage User
 
Join Date: Jan 2009
Posts: 15
As I continue to try to troubleshoot, I noticed this weird issue. After a fresh reboot, the drive is initially writable as seen by the mount output below.


/dev/sda1 on /tmp/external/ST340063 3AS (373 GB) type vfat (rw,noatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,utf8)

After starting a file copy, the drive appears to remount this time in Read Only (RO) mode

/dev/sda1 on /tmp/external/ST340063 3AS (373 GB) type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,utf8)


What the heck is going on here. I cannot manually mount it as it as the device is always busy. I can force unmount it (umount -l) but it will not be mountable after that (Device or resource is busy).

It seems that smbd server might still be a new feature to the HD200 so some of the bugs might not have been worked out but hopefully some of this troubleshooting would be of some help.
Reply With Quote
  #8  
Old 03-18-2009, 12:04 AM
petely petely is offline
Sage User
 
Join Date: Jan 2009
Posts: 15
Recently upgraded to the 03162009 beta firmware. Still seeing the same issues with the USB drive being mounted read only. Can someone at least acknowledge this even if they don't have the answer?
Reply With Quote
  #9  
Old 03-18-2009, 12:12 AM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
Have you submitted a bug report to Sage?
Reply With Quote
  #10  
Old 03-18-2009, 12:13 AM
petely petely is offline
Sage User
 
Join Date: Jan 2009
Posts: 15
Just found this thread which seems to have received a little more notice.

https://forums.sagetv.com/forums/showthread.php?t=39166

Next steps: try EXT3 as the filesystem instead of NTFS or FAT32
Reply With Quote
  #11  
Old 03-18-2009, 12:15 AM
petely petely is offline
Sage User
 
Join Date: Jan 2009
Posts: 15
Evilpenguin: No not yet. Thanks for the response. I figured I would give the community time to respond since it seems many SageTV developers lurked about the forums.

If I can get R/W access with EXT3, that would be an acceptable, albeit, not ideal solution. At that point I would likely file an enhancement request for adding NTFS-3G support to the HD200.
Reply With Quote
  #12  
Old 03-18-2009, 12:55 AM
petely petely is offline
Sage User
 
Join Date: Jan 2009
Posts: 15
Confirmed that formatting as ext3 does indeed perform as expected with RW access.

Here is the proof from the mount output:

Code:
/dev/sda1 on /tmp/external/ST340063 3AS              (373 GB) type ext3 (rw,noat
ime,errors=continue,data=ordered)
Thanks everyone
Reply With Quote
Reply

Tags
hd200, hdd, read only, samba, smb


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SageTV FAQ Narflex SageTV Software 45 04-15-2011 08:34 AM
HD200 Standalone Question len12121 SageTV Media Extender 3 12-10-2008 10:36 AM
NO USB UIRT Configuration Controls in SAGE!!!! OldPCGUY Hardware Support 9 10-28-2008 09:14 PM
Hard drive not recognized by name robinson Hardware Support 9 08-25-2006 08:07 AM
Recording drive question (calling all hard drive experts!) Kirby Hardware Support 4 07-17-2006 12:01 PM


All times are GMT -6. The time now is 04:46 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.