Securifi Community Forum

Securifi Products => Almond+ => Topic started by: scroder on January 31, 2015, 05:32:26 pm

Title: External Hard Drive connected to Almond+ listed 4 times in My Computer
Post by: scroder on January 31, 2015, 05:32:26 pm
I hope I am describing this problem correctly. I have a Western Digital 750 gb hard drive connected to the USB port on the Almond+. Every time there is a reboot the hard drive is listed again in my computer. For example, when I first connected the hard drive it was listed as WD on my computer. Now there is  WD, WD_2, WD_3, and WD_4. I have to go to WD_4 to access files on the hard drive. I also cannot delete the other 3. This is kind of annoying. Any fixes or ideas? Thanks,

Dave
Title: Re: External Hard Drive connected to Almond+ listed 4 times in My Computer
Post by: LGNilsson on January 31, 2015, 10:59:29 pm
It's a bug and we'll get it fixed, but I don't think it'll be in time for the next firmware release.
If you SSH in to the Almond+, you can go into the /mnt directory and you can manually delete the older entries there.
Off the top of my head I think it's rmdir and then whatever the device is called, as that removes the empty directories.
This is a small glitch with the auto mounting/unmounting script.
Title: Re: External Hard Drive connected to Almond+ listed 4 times in My Computer
Post by: scroder on February 03, 2015, 12:22:39 am
It's a bug and we'll get it fixed, but I don't think it'll be in time for the next firmware release.
If you SSH in to the Almond+, you can go into the /mnt directory and you can manually delete the older entries there.
Off the top of my head I think it's rmdir and then whatever the device is called, as that removes the empty directories.
This is a small glitch with the auto mounting/unmounting script.

Thanks Lars, just now sure what you mean buy SSH into the router.

Thanks
Title: Re: External Hard Drive connected to Almond+ listed 4 times in My Computer
Post by: LGNilsson on February 03, 2015, 01:27:14 am
http://en.wikipedia.org/wiki/Secure_Shell
It's a way to access the command line interface.
I'm afraid it's the only way you can remove it now.
You need to use something like Putty or TeraTerm in Windows, not sure what is is for Mac and Linux tend to have a terminal program built in.
Title: Re: External Hard Drive connected to Almond+ listed 4 times in My Computer
Post by: scroder on February 04, 2015, 12:54:58 am
Haha looks like I'll wait for an Almond fix over messing with this stuff. Thanks though.
Title: Re: External Hard Drive connected to Almond+ listed 4 times in My Computer
Post by: Richel on February 04, 2015, 05:20:54 am
A hard reset will fix the problem, too (at least it does for me). The reset button is in the upper left top. It erases all settings, though.
Title: Re: External Hard Drive connected to Almond+ listed 4 times in My Computer
Post by: mr23 on February 04, 2015, 08:11:31 pm
Thanks Lars, just now sure what you mean buy SSH into the router.

Thanks

'ssh into the router'

Open a command shell on your pc (windows=cmd; linux, apple, whatever, most support ssh).
at the prompt, type in
ssh -lroot 10.10.10.254
or sub in the non-default IP address you used.
enter your password when prompted.


Title: Re: External Hard Drive connected to Almond+ listed 4 times in My Computer
Post by: scroder on February 09, 2015, 12:38:31 am
'ssh into the router'

Open a command shell on your pc (windows=cmd; linux, apple, whatever, most support ssh).
at the prompt, type in
ssh -lroot 10.10.10.254
or sub in the non-default IP address you used.
enter your password when prompted.



Using windows 7. This is the message I get when trying to do what you said at the cmd prompt (I think I'm at the wrong prompt to do it, by default C:)

'ssh' is not recognized as an internal or external command, operable program or batch file.
Title: Re: External Hard Drive connected to Almond+ listed 4 times in My Computer
Post by: Richel on February 09, 2015, 07:10:08 am
Download and use puTTY:
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
Title: Re: External Hard Drive connected to Almond+ listed 4 times in My Computer
Post by: scroder on February 09, 2015, 10:56:09 pm
Download and use puTTY:
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html


Ok did that, accessed the router with login and password. Can you please help with the remaining steps to remove the 5 times my external hard drive is showing up. Thanks
Title: Re: External Hard Drive connected to Almond+ listed 4 times in My Computer
Post by: Richel on February 10, 2015, 06:46:14 am
Ah, therein lies the rub. I have not been able to get beyond the command line myself, no matter what Linux command I use (except for when I type in 'help'). You sign in as 'root' and then enter your password. You should see graphics that include 'ALMOND+" and 'SECURIFI Home Automation.' Many of the built-in commands return nothing but the prompt. So, I'm lost, too. Someone more familiar with Linux needs to help both of us.
Title: Re: External Hard Drive connected to Almond+ listed 4 times in My Computer
Post by: j8048188 on February 11, 2015, 12:50:22 am
Can you type the following command?
cd /mnt
ls -al
rm XXX (Mounted drive here)
Title: Re: External Hard Drive connected to Almond+ listed 4 times in My Computer
Post by: LGNilsson on February 11, 2015, 03:25:33 am
The drives are usually something like usb1_1, usb1_2 or the name of the drive if you gave it a name when you formatted it or of if had name when you bought it.

That said, rm won't work, as that's for deleting files. As such you might have to do umount [drive name] to unmount the "drive" first, then rmdir [drive name] to delete the "dead" directory.
Title: Re: External Hard Drive connected to Almond+ listed 4 times in My Computer
Post by: Richel on February 11, 2015, 09:25:19 am
Can you type the following command?
cd /mnt
ls -al
rm XXX (Mounted drive here)

Thanks for this help. Yes, these commands work and I can see my USB drive via puTTY.  But now, I have another problem, which is with the upgrade to the new firmware (R070), I can no longer see or map this drive in Windows 7.
Title: Re: External Hard Drive connected to Almond+ listed 4 times in My Computer
Post by: scroder on February 11, 2015, 08:42:40 pm
Thanks for this help. Yes, these commands work and I can see my USB drive via puTTY.  But now, I have another problem, which is with the upgrade to the new firmware (R070), I can no longer see or map this drive in Windows 7.

So I just did the upgrade and I also lost my mapped drive. BUT it showed up in my network and I mapped it to my computer from there.