Securifi Community Forum

Securifi Products => Almond+ => Topic started by: Roger on October 26, 2014, 05:12:59 am

Title: Samba - new directories created in the disk
Post by: Roger on October 26, 2014, 05:12:59 am
Hi, I have a disk connected to my PC but I want to connect to the Almond+ and use it for another PCs without having the big one connected. OK.

I am using R066, the latest.

When I connect the disk to the USB port and enable Samba, I can see the dik with Windows Explorer but I also see that it has created some additional blank directories within my structure:

In Windows I have:

Disk H\Music\Bach\Cantatas; CD1; CD2; etc
Disk H\Music\Beethoven\Symphonies; CD1; CD2; etc

But in some directories, not all, it creates directories with content and name like:

Disk H\Music\Bach\Cantatas; CD1; CD2; "   "; "    "; etc

Also I use special characters like á; ä, etc. and these appear "wrong". Can I force UTF-8 ?

Also when I try to point to the music from a player in the network it just aborts, the program stops responding. If I have the same disk connected to a Windows machine everything works well.

Does this happen to anyone else ? Any ideas ?

Thanks




Title: Re: Samba - new directories created in the disk
Post by: bonobo1234 on October 27, 2014, 04:24:48 am
I had the same issue using the folder/file name with Chinese characters. 
I tried to force it to use UTF-8, but can not. 
Had post a question in here for a while, but no positive feedback.   
Title: Re: Samba - new directories created in the disk
Post by: Roger on October 27, 2014, 04:33:46 am
bonobo1234, what do you mean by the same issue, the characters or the creation of additional directories ?

Thanks for replying.
Title: Re: Samba - new directories created in the disk
Post by: LGNilsson on October 28, 2014, 06:25:45 am
I've reported this to the software team.
Title: Re: Samba - new directories created in the disk
Post by: Roger on October 28, 2014, 06:27:13 am
Thanks.

Both issues ? Directory creation and UTF-8 ?
Title: Re: Samba - new directories created in the disk
Post by: LGNilsson on October 28, 2014, 06:30:59 am
We have some general issues with Samba, the goal is to get it updated to a more recent version and fix these problems, but we've had some more pressing issues to fix first and we're nearly done addressing those.
UTF-8 is supposed to be the default setting in Samba though according to the config file.
Title: Re: Samba - new directories created in the disk
Post by: Roger on December 26, 2014, 10:30:36 am
Any news for the Samba issue ?

Let me tell you that I am deeply disappointed with the router. Several months delay, a lot of problems, no Samba server, etc.

By the way, any news for sensors/actuators for controlling blinds (up/down with chrono) ?

Merry Christmas and Happy New Year
Title: Re: Samba - new directories created in the disk
Post by: LGNilsson on December 26, 2014, 11:03:55 am
The drive mounting has been fixed for the next firmware release.

We won't support blind controls for the next firmware, but hopefully the one after that, we have one of Fibaro's roller blind controllers that I know they've started work on.
Title: Re: Samba - new directories created in the disk
Post by: Roger on February 15, 2015, 11:29:05 am
Well, I have upgrade to R70.

I have a formated disk (FAT32 or NTFS) and I connect it to the USB in Almond+.

I enable SAMBA server.

And i do not see the disk.

Can someone please explian me step-by-step what to do ? I followed the instructions and I still do not see the disk.

Also, is there any any special disk structure with directories such as /mnt, /share or similar where the data must be ?

Thank you
Title: Re: Samba - new directories created in the disk
Post by: nonaitall on February 15, 2015, 02:24:57 pm
Well, I have upgrade to R70.

I have a formated disk (FAT32 or NTFS) and I connect it to the USB in Almond+.

I enable SAMBA server.

And i do not see the disk.

Can someone please explian me step-by-step what to do ? I followed the instructions and I still do not see the disk.

Also, is there any any special disk structure with directories such as /mnt, /share or similar where the data must be ?

Thank you

So I just connected a USB 2.0 Seagate drive to the USB port on the Almond+. I have the latest firmware (not beta). R70
I turned on SAMBA and FTP and after about 5 minutes, "almondplus" appeared under shared. I am using a MacBook Pro (mid 2011) running Yosemite. I clikced on it, logged in as "almondplus" and password that I set (default is "password") and I am now transferring my movies to it. ( am going to get a flash drive USB3 when I can get a good one on sale (256 GB) to speed it up.

VERY HAPPY. Going to point my plex server to it and try streaming video from it. Will let everyone know how it goes.

Thank you
Title: Re: Samba - new directories created in the disk
Post by: wolfe4656 on February 15, 2015, 08:12:27 pm
I had two drives hooked up on versions 69 but the drives kept reproducing themselves and making more drive letters. I updated to version 70 firmware and now it will only let me attach one drive. I have both Samba and FTP turned on and have rebooted and it will only give me one drive. Any ideas.
Title: Re: Samba - new directories created in the disk
Post by: Roger on February 16, 2015, 03:40:55 am
I formated 2 pens (2 MB and 8MB) in NTFS. In W7 explorer it does show Almondplus but no disks.

Yesterday I could even see the disks in the Mount Points but not in Explorer.

Today I formated the disks and created a Folder in them and I cannot see them in Mount Points.

One question: should I enable Samba, FTP or both ?

Samba for sure but FTP ? Why ? Why both ?

Can we use OpenWRT to chenge any file in order for the router to detect the disks ?

Yesterday I configured my Raspberry Pi to serve as a NAS. It took me 30 minutes to do so and I already have lost many hours with this this. Waiting for this release that should solve the problem but it doesn't, at least for me.

Should I do a total reset and start from scratch ?

Do we have access to /etc/samba to look at the configuration file ? Can we configure it by hand as we do with Debian ?

Help please.

Title: Re: Samba - new directories created in the disk
Post by: LGNilsson on February 16, 2015, 06:06:38 am
You can SSH into the Almond+ and you'll have full access things like the Samba config file.

I'm not sure why some of you are having problems, but as I pointed out elsewhere, the drives are mounted a bit differently in this firmware as they're under \\ALMONDPLUS\[volume label]
I've noticed some devices don't behave properly unless they have a volume label, so please make sure your drive has a volume label.
Title: Re: Samba - new directories created in the disk
Post by: Roger on February 16, 2015, 07:13:48 am
When I formatted both pens (as you imagine these are just for trials), I named them Disk 1 & Disk 2 and created a directory in each one just to see if that was the problem.
Title: Re: Samba - new directories created in the disk
Post by: Roger on February 16, 2015, 06:23:47 pm
Well, I think I got it.

When the name of the disk has a space (Disk 1), it is not recognized but if it doesn't (Disk1), it is recognized.

I tried several times and this is the rule, at least with me.

Can someone check this ?
Title: Re: Samba - new directories created in the disk
Post by: wolfe4656 on February 17, 2015, 10:11:33 am
You were absolutely right. I had the same issue. I renamed my drive which was Segate Expansion Drive to Segate_Expansion_Drive and it showed up on the Almond+ Saba. Thank You
Dave.
Title: Re: Samba - new directories created in the disk
Post by: Roger on February 17, 2015, 03:58:20 pm
You know, I am really sick of this. No support, we, the clients, are doing the debugging, tests, Q&A, etc.

It seems to wotk rigth but it starts to create directories under directories in a recursive way but only in some directories. My music server could not finish reading the music.

C´mon guys, I managed to have my Raspberry working with Samba in 30 minutes and with Securify we don't get any answer for months and the software still has a lot of problems. This recursive stuff is not new, it has been here for months and I tought it was solved.

Title: Re: Samba - new directories created in the disk
Post by: nonaitall on February 18, 2015, 12:30:04 pm
CONFIRMED

Using USB 2.0 external HD (powered by USB, not AC) and I am able to stream videos using Plex server inside the house.
I'm very impressed.

This "spaces" in the volume name is not really that big a deal - most file systems don't allow spaces in the volume name anyway.
Is it a bug that should be fixed, yes, but if you're a backer you got a bunny of a deal on the A+.

The Raspberry Pi developer network is much larger than this one is.

Title: Re: Samba - new directories created in the disk
Post by: t0dd on February 19, 2015, 09:44:55 pm
Sorry, I'm with Roger.   I have an NTFS drive that will not show up with the Samba enabled whether the volume name is with a space, a dash, or an underscore with the R70 firmware.

I would be a little more sympathetic if it were some obscure zigbee or z-wave device, but a Samba share is pretty basic.  It's hard to find a mid-range or better router that doesn't do shares.   This should work, and I've sat on my device since October because this doesn't.

I would like a refund OR you can pay me to do your SQA.   I'm not amused.   

 
Title: Re: Samba - new directories created in the disk
Post by: Roger on March 01, 2015, 05:31:22 am
No comments from Securify ?

Any plans to fix this Samba issue ?
Title: Re: Samba - new directories created in the disk
Post by: LGNilsson on March 20, 2015, 06:36:18 am
Apologies for the lack of replies, I was away and I guess no-one else had anything to add to this.
We're working on updating Samba to version 3.6.5, it won't make it into R071 as it's too close to release, but it should be in R072.
Hopefully this will help fix a bunch of the issues that everyone's experiencing.
Title: Re: Samba - new directories created in the disk
Post by: Roger on March 20, 2015, 06:39:07 am
"but it should be in R072"

When is this going to be released ?
Title: Re: Samba - new directories created in the disk
Post by: LGNilsson on March 20, 2015, 11:44:47 am
I'm afraid I don't have any exact deadlines. We're working on R071 and that'll be the next major release which will include further enhancements to the rules and some other improvements. We didn't want to rush this into a firmware that's about to go into release candidate testing, as that's what happened back with R067 and the Hue support and that was a total mess.