PDA

View Full Version : Can't access Box's SMB Share


dimaspivak
November 11th, 2010, 10:15 PM
Hi everyone,

Everything's been working pretty splendidly for me with the Boxee Box so far with just one problem. I set up a Windows Sharing server from the Box so that I may be able to add files to it from my laptop. Upon connecting to "boxeebox," I am presented the option to connect to my attached hard drive. Unfortunately, even when entering the correct username (guest), domain, and password, I can't seem to get access to the Box; it just keeps asking me for my credentials. For what it's worth, I'm running Ubuntu Linux 10.10. Anyone have any ideas?

Thanks!

-Dima

TreeBeard
November 11th, 2010, 10:44 PM
I am able to access the drive via SMB and am using OS X 10.6.5. However, I cannot write to the drive only read.
Note I did not need to specify the domain, only guest and the password, if one is set.

dimaspivak
November 12th, 2010, 12:12 AM
Thanks so much for taking the time to respond, TreeBeard. I've continued to try, but unfortunately I can't seem to get through the Box's security. Furthermore, at least in Ubuntu, I'm required to put in a domain (I left it as WORKGROUP, but also tried variants). Has anyone running a Linux-based OS been able to connect to a SMB server run off the Boxee Box?

TreeBeard
November 12th, 2010, 10:22 AM
Workgroup and domain are separate things, domain should not be applicable in this instance and should not be set to the name of the workgroup. The screenshots I see of Ubuntu gui smb mounting show domain as an option, not a requirement, try leaving it blank. You can also try removing the password at the box.

You should only be specifying the ip or 'boxeebox' as the host and the configured username/password.

Here are instructions via terminal as well:

https://help.ubuntu.com/community/MountWindowsSharesPermanently

pcgizzmo
November 12th, 2010, 10:59 AM
I'm still unable to do this. I specified the password and turned on Window's sharing in the boxee box and tried to connect from my Windows laptop and get prompted but use the user name guest and my password and keep getting denied.

TreeBeard
November 12th, 2010, 11:17 AM
I'm still unable to do this. I specified the password and turned on Window's sharing in the boxee box and tried to connect from my Windows laptop and get prompted but use the user name guest and my password and keep getting denied.

I was able to connect (read-only) from a Windows 7 machine. Be sure the box is configured with the correct workgroup as Windows 7 uses a different default workgroup then XP. I simply mapped a network drive to \\boxeebox\[share].

pcgizzmo
November 12th, 2010, 02:49 PM
Where do you specify the share name on the Boxee? I have never seen this. Only the part to enable Windows sharing and put in a password.

NSB
November 12th, 2010, 02:51 PM
I am able to access the drive via SMB and am using OS X 10.6.5. However, I cannot write to the drive only read.
Note I did not need to specify the domain, only guest and the password, if one is set.

TreeBeard, would you be willing to help me with this? I do not understand at all how I'm supposed to set this up and I'm on a Mac running 10.6.5. I want my Boxee to see my laptop and I want my laptop to see the Boxee. It's supposed to do this, right? I'd appreciate any help you can provide. I've read the info here (http://wiki.xbmc.org/index.php?title=Windows_File_Sharing_(SMB/SAMBA/CIFS)) and it didn't help me at all.

Neil

king.incar
November 12th, 2010, 02:55 PM
i am able to connect to the drive connected to the box but its (read only) is there a way to read and write?

O.F: is it just me or can you only use one external drive? i have 2 connected and it will only read one... :/

NSB
November 12th, 2010, 02:58 PM
i am able to connect to the drive connected to the box but its (read only) is there a way to read and write?

O.F: is it just me or can you only use one external drive? i have 2 connected and it will only read one... :/

I had two drives plugged into it and it was reading form both.

I have a drive plugged into my Airport Extreme and the Boxee is also plugged into the Airport Extreme, but that drive is not showing up in Boxee. I wish it would. All of my media files are on it.

Neil

pcgizzmo
November 12th, 2010, 03:08 PM
What were trying to do is backwards from what others have had issues with. We want to access the Boxee and others wanted to access their media on a Window7 machine or XP.

When I turned on file sharing in the Boxee and gave it a password it seemed to me that there should be a place to specify the resources you want to share. TreeBeard has eluded to that but I can't find anywhere that you do this.

The only options I see are hostname, password, turn sharing on or off and that's it.

Also, above the sharing selection there seems to be browser access to the boxee box but I haven't been able to make it work. Have you guy's tried it?

TreeBeard
November 12th, 2010, 03:49 PM
What were trying to do is backwards from what others have had issues with. We want to access the Boxee and others wanted to access their media on a Window7 machine or XP.

When I turned on file sharing in the Boxee and gave it a password it seemed to me that there should be a place to specify the resources you want to share. TreeBeard has eluded to that but I can't find anywhere that you do this.

The only options I see are hostname, password, turn sharing on or off and that's it.

Also, above the sharing selection there seems to be browser access to the boxee box but I haven't been able to make it work. Have you guy's tried it?

That's what I'm referring to, accessing Boxee's SMB shared external drives. It works fine.

Step 1: Enable Windows File Sharing in Boxee network menu

Step 2: Connect to smb://boxeebox

Step 3: Browse files

It works fine everytime, no password required, no additional configuration. However, access is readonly, I have been unable to gain write access to any drive connected to the Box.

pcgizzmo
November 12th, 2010, 03:56 PM
That's what I'm referring to, accessing Boxee's SMB shared external drives. It works fine.

Step 1: Enable Windows File Sharing in Boxee network menu

Step 2: Connect to smb://boxeebox

Step 3: Browse files

It works fine everytime, no password required, no additional configuration. However, access is readonly, I have been unable to gain write access to any drive connected to the Box.

Maybe I'm messing up on the connect. I'm in Windows so I right click "My Computer" and then select "Map Network Drive"

Your typing smb://boxeebox from a command line? I've never done this on a Windows machine. I've used the net use command or are you using linux?

dconti
November 12th, 2010, 04:08 PM
when you map a network drive with windows you need to know the share name and the hostname.

the best way to start this is open a cmd prompt and do:

net view \\boxeebox

that should list out shares, then you can mount a specific one.
you should also be able to browse 'workgroup' in your network and see the boxee box listed there

NSB
November 12th, 2010, 04:45 PM
That's what I'm referring to, accessing Boxee's SMB shared external drives. It works fine.

Step 1: Enable Windows File Sharing in Boxee network menu

Step 2: Connect to smb://boxeebox

Step 3: Browse files

It works fine everytime, no password required, no additional configuration. However, access is readonly, I have been unable to gain write access to any drive connected to the Box.

Thanks for that! Boxee is now showing up in my finder. Like you, I can't add things to the connected drive. My computer I can get to show up if I manually enter the address, but I'm not sure it's scraping and finding anything. But I guess it's a start.

Neil

dimaspivak
November 12th, 2010, 08:16 PM
Yay, I also got it to connect to the drive plugged into the Box! Thanks for the help, guys. Now if anyone figures out how to have it write as well as read, let us know! :)

-Dima

Nall
November 12th, 2010, 08:30 PM
When you guys say you can't write to it, do you mean you can't write *anything* to it? Or that you can't write large files? I can connect to the SMB share without an issue but the box only thinks the drive has 300MB free on it. I can upload hundreds of 100 meg files to it without changing the free space, but nothing larger.

It seems to be sending the box's onboard space as the free space for the connected drive.

pcgizzmo
November 12th, 2010, 10:46 PM
Still no luck. I keep getting error 53 access denied.

gmd024
November 12th, 2010, 11:09 PM
i am able to connect to the drive connected to the box but its (read only) is there a way to read and write?

O.F: is it just me or can you only use one external drive? i have 2 connected and it will only read one... :/

In 'Sharing' and "security" settings - you can specify 'R' and/or R/W (at least in W7--haven't used other OSs for a long time to remember how they work)

If your USB HDDs are not externally powered, then the BBox can only access ONE USB powered HDD - if you connect TWO self powered HDDs, no problem -- and if you use a powered USB Hub, you can use multiple HDDs - powered or not

Nall
November 12th, 2010, 11:35 PM
Even only one SD card connected to the box I still can't write more than 300 megs at a time over SMB, it simply refuses to accept that there is more room available on whatever I have connected.

Edit: It's actually 190 megs now, so it's definitely using the BoxeeBox's onboard space as the available space for all connected devices.

NSB
November 13th, 2010, 01:24 AM
Even only one SD card connected to the box I still can't write more than 300 megs at a time over SMB, it simply refuses to accept that there is more room available on whatever I have connected.

Edit: It's actually 190 megs now, so it's definitely using the BoxeeBox's onboard space as the available space for all connected devices.
Add that to the list of fixes.

Neil

woolsey
November 13th, 2010, 05:29 PM
Yay, I also got it to connect to the drive plugged into the Box! Thanks for the help, guys. Now if anyone figures out how to have it write as well as read, let us know! :)

-Dima

From my limited testing, I have determined that the boxee box cannot write to NTFS (windows) or HFS+ (mac os x) formatted drives connected via usb (or in the memory card slot, I assume). It can however write to FAT32 (old windows, and default for many usb thumb/hdds).

I assume Nall's success in writing is based on the fact that his memory card is formatted in FAT32. As Nall mentioned, however, I wasn't able to write files over a certain size, and I assume it is for the reason Nall suggested, that the internal boxee box capacity is limiting what can be written.

I have done no testing with ext* formatted drives. I assume the box can write to them, but may suffer from the same file size issue (can someone check this?). I suspect, however, that in the end, once they fix the issue of writing larger filesizes (if possible), that only ext* formatted drives will be able to store large files (as FAT32 has the ~4gb file size limit) or perhaps NTFS (since linux, which the box software is based on, has limited write support for that) but that HFS+ drives will likely be left out of luck.

I hope this isn't the case, because HFS+ drives are all I really use!

dimaspivak
November 13th, 2010, 05:31 PM
Interesting... The drive I'm trying to write to is formatted ext3.

woolsey
November 13th, 2010, 05:40 PM
Interesting... The drive I'm trying to write to is formatted ext3.

Even if the file is really small? This would really surprise me, just because of the linux nature of the box. But, perhaps they assumed the box users weren't going to use ext* drives.

Having only FAT32 support would be a real bummer to anyone hoping to have HD content stored on (more specifically, written to) their drives connect to the box.

But luckily, I think the hardware is capable, and as the Boxee team has said time and time again, "We are software people." Lets hope for some great software updates!

dimaspivak
November 13th, 2010, 05:42 PM
Well in my case, it's not even a matter of file size, but permissions; I can't even add a folder to an existing drive through my SMB share. The other problem, though, is that the Box looks to be reporting the free space available on its internal memory instead of on the hard drive it's connected to. In other words, there appear to be a number of problems with external drives, but I'm hoping they'll be addressed soon.

Cozmo85
November 13th, 2010, 05:53 PM
I think 10.6.5 osx supports exFat now. Anyone tried an exfat partition?

edit: just tried a thumb drive and an sd card formatted exFat. does not appear to support exfat.

kansei
November 15th, 2010, 07:50 PM
I think 10.6.5 osx supports exFat now. Anyone tried an exfat partition?

edit: just tried a thumb drive and an sd card formatted exFat. does not appear to support exfat.

That was my finding as well. It didn't see the drive at all with exFAT.

It also doesn't support BTRFS, and I too was unable to get EXT3 or EXT4 to let me write from a remove system via the SMB share. I thought it might have to do with permissions, so I even tried setting permissions to 777 at the root of an empty drive, and it wouldn't even let me copy a 20MB test file over.

I just finished backing up my 2x2TB (HFS+) external, and I've gotta find a new filesystem to use before the night is over so I can start copying back all the media. I'm going to play around some more with EXT4 I think.

dimaspivak
November 15th, 2010, 08:50 PM
I'd go with ext3. After chmod'ing and chown'ing, I have full read/write access to the Box's media through SMB (under Ubuntu 10.10). Furthermore, while it claims to only have ~280 MB available, I've copied over GBs of content without a hitch.

kansei
November 15th, 2010, 09:48 PM
I'd go with ext3. After chmod'ing and chown'ing, I have full read/write access to the Box's media through SMB (under Ubuntu 10.10). Furthermore, while it claims to only have ~280 MB available, I've copied over GBs of content without a hitch.

Who (or better yet what uid/gid) did you chown to? I haven't explored the linux side of things, so I figured being owned by user and group root with 777 would be enough.

dimaspivak
November 15th, 2010, 10:02 PM
Ah, that may be your problem right there. I chowned to my username and group in Ubuntu (otherwise, I'd get permission denied errors if I were to try copying a file to the Box from my computer). In my case, I've got username "dima" and Ubuntu creates a group of the same name for every user so, to be able to get full R/W access, I connected the drive to my laptop, cd'd to the drive in a terminal, and put in the following:

sudo chmod 777 -R ./

This sets full read/write privileges for everyone on the hard drive and acts recursively so that it trickles down to all folders further down.

sudo chown dima:dima -R ./

This sets me up to be the owner of all the content on the drive.

I'd point out that these settings are not necessarily a good idea if you're using a shared device with someone else, but seeing as how I just have the drive attached to the Box, I figured I'd make my life easy and avoid dealing with permissions altogether. As far as I'm aware, these allow for the maximum amount of access possible.

-Dima

kansei
November 15th, 2010, 10:15 PM
Well now I know why I was having difficulty before. I just made a test partition in fdisk, 20gb, formatted ext4. Plugged it into boxee, added it as a source, connected from my mac via SMB, and I can copy files. Try to copy a file larger than about 300MB though, and it is FINDER that complains. Not that it can't write, but that there isn't enough space. Simple enough. Open a terminal window, and cp Downloads/blah.mkv /Volumes/Media/Unnamed/ et voila, it works beautifully.

I'm totally OK dealing with that until that bug gets fixed.

So that's EXT3 and EXT4 we have confirmed working, hooray!

dimaspivak
November 15th, 2010, 10:16 PM
:) Glad to hear it. Yeah, I don't know how things work on a Mac, but I'm lucky that, when Ubuntu complains that there's not enough space, there's a "Copy anyway" button I can press that pushes it through.

kansei
November 16th, 2010, 01:48 AM
I did find a workaround for the free space bug anyway. If you enable telnet (http://boxeeboxwiki.org/wiki/TelnetD) and then edit the smb.conf (http://boxeeboxwiki.org/wiki/Samba) to make a new samba share pointing directly to the mount point of the drive, it works ok :)

obviously, not a great solution for anyone not familiar with Linux. I'm sure Boxee will patch this soon, as it's an easy fix.

Boxee shares "/media", which just has symlinks that point to the mount points. Hence, in "/media", there's only a few hundred megabytes of free space.

brenbags
November 17th, 2010, 11:20 PM
This hasn't been a problem for me. I formatted my 1tb drive with ntfs. I can access it and write to it with any size file. But here is the HUGE problem. The transfer rate hovers around 2mbps. 2 MB! This is unbearably slow. Is there something I could do to improve the transfer rate???

gmd024
November 18th, 2010, 07:51 AM
This hasn't been a problem for me. I formatted my 1tb drive with ntfs. I can access it and write to it with any size file. But here is the HUGE problem. The transfer rate hovers around 2mbps. 2 MB! This is unbearably slow. Is there something I could do to improve the transfer rate???

I to only get around 2.7MBs - this seems to be a common problem with a lot of media players - I tried it on 3 other networked Media boxes and it's a pretty consistant fact

If your not in a hurry, at least it works -- but if you need/want the content/files transferred faster, hook up the HDD directly to your PC and do the transfer that way -- depending on a few parameters you should get about 10 X's the transfer speed this way

kansei
November 18th, 2010, 09:40 PM
See my response to this speed issue in the other thread it was posted in: http://forums.boxee.tv/showthread.php?p=124361#post124361

Looks like there are other factors, the boxee box itself shouldn't be choking on it.

stianj
November 23rd, 2010, 01:36 PM
I did find a workaround for the free space bug anyway. If you enable telnet (http://boxeeboxwiki.org/wiki/TelnetD) and then edit the smb.conf (http://boxeeboxwiki.org/wiki/Samba) to make a new samba share pointing directly to the mount point of the drive, it works ok :)

obviously, not a great solution for anyone not familiar with Linux. I'm sure Boxee will patch this soon, as it's an easy fix.

Boxee shares "/media", which just has symlinks that point to the mount points. Hence, in "/media", there's only a few hundred megabytes of free space.

Would really appriciate a "work around for dummies" (like myself), on how to do this :D

kansei
November 23rd, 2010, 07:29 PM
Would really appriciate a "work around for dummies" (like myself), on how to do this :D

Well the easiest workaround is to not muck around with the config files on the boxee at all.

I'm told Windows handles the lack of space fine, still letting people copy files, and I know the only gui file manager I have on my Linux computers also works, so is it safe to assume you're on a mac?

With the Boxee's share mounted with Finder, open the app "Terminal", using spotlight or however you prefer to launch apps (it's in the Utilities folder inside Applications if you're looking for it manually).

Then just use the unix "cp" (copy) command, like so:

cp ~/Downloads/[filename.avi] /Volumes/Media/[path to your drive here]

You can hit the tab key to autocomplete. The "~/" means relative to your home directory, so in the above example that would be the Downloads folder inside your user's folder. "/Volumes/Media" is where your Boxee share should be mounted, but after that I can't predict how the naming will be. The next folder name will be the name of the volume in Boxee, and from there it's however you have your files organized.

Hope that helps, a bit.

A quick google search for "basic linux file management commands" turned up this: http://www.tuxfiles.org/linuxhelp/fileman.html which probably does a better job of explaining it than I did.

skydemon_01
November 29th, 2010, 09:40 PM
Has anyone had any luck getting write access via SMB to a external USB HD connected to the box? I can get read access with no issues but cannot write (this is with a 250GB NTFS drive)

Cheers

Jonas81
December 3rd, 2010, 01:05 AM
I know this was mentioned in the past, but search isn't reporting anything of use and jira reports the issue for regular boxee and no attention from BBox brass.

Issue: 500GB External USB 2 HDD attached to Boxee Box, SMB over network, Windows cannot send more than 524MB. The drive is NTFS, brand new, empty, yet reported as having 524MB of free space.

Whatever happened to this issue? Has it not been addressed, yet?

dconti
December 3rd, 2010, 02:38 PM
I know this was mentioned in the past, but search isn't reporting anything of use and jira reports the issue for regular boxee and no attention from BBox brass.

Issue: 500GB External USB 2 HDD attached to Boxee Box, SMB over network, Windows cannot send more than 524MB. The drive is NTFS, brand new, empty, yet reported as having 524MB of free space.

Whatever happened to this issue? Has it not been addressed, yet?

It's here - http://jira.boxee.tv/browse/BOXEE-6727

I'll see if i can figure out a solution for this and get it in quicker. Sorry that this is impacting so many of you.

alheebs
December 6th, 2010, 02:14 PM
I'm having the same problem. Also, drive only reads as having 300 MB free space (in reality, there's about 1 TB free).
I can't even write files smaller than 300 MB to it though.

Running OS X 10.6.5 and it's a WD HD. I'm guessing this'll be fixed on next release (at least that's how it looks on Jira).

I am able to access the drive via SMB and am using OS X 10.6.5. However, I cannot write to the drive only read.
Note I did not need to specify the domain, only guest and the password, if one is set.

Ph8
December 7th, 2010, 05:56 PM
It's here - http://jira.boxee.tv/browse/BOXEE-6727

I'll see if i can figure out a solution for this and get it in quicker. Sorry that this is impacting so many of you.

Its odd, I havent checked the file size since before the last update, but since the last update I have been able to move large files (all over 1GB and 1 over 14GB) without any issues. My 1TB WD HDD is connected to the Boxee box and the laptop I am transferring from is connected to my router via ethernet. I was surprised as once before Ihad an error, but now it take a long time, but it always goes succefully.

xanderp123
December 8th, 2010, 11:47 PM
Hi everyone,

Everything's been working pretty splendidly for me with the Boxee Box so far with just one problem. I set up a Windows Sharing server from the Box so that I may be able to add files to it from my laptop. Upon connecting to "boxeebox," I am presented the option to connect to my attached hard drive. Unfortunately, even when entering the correct username (guest), domain, and password, I can't seem to get access to the Box; it just keeps asking me for my credentials. For what it's worth, I'm running Ubuntu Linux 10.10. Anyone have any ideas?

Thanks!

-Dima

I have two Ubuntu 10.10 Maverick and one of the two suffers from this problem. I can't figure out why. The samba versions and smb.conf files on the two machines are the same. I finally discovered that adding the line

client lanman auth = yes

after

[global]

in /etc/samba/smb.conf allows the troubled machine to connect to the Boxee share.