Choose style:

Author Topic: External Hard Drive connected to Almond+ listed 4 times in My Computer  (Read 11683 times)

0 Members and 1 Guest are viewing this topic.

Offline scroder

  • Chestnut
  • ***
  • Posts: 52
  • Thanks: 0
  • Registered : 30/12/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
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

LGNilsson

  • Guest
Re: External Hard Drive connected to Almond+ listed 4 times in My Computer
« Reply #1 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.

Offline scroder

  • Chestnut
  • ***
  • Posts: 52
  • Thanks: 0
  • Registered : 30/12/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: External Hard Drive connected to Almond+ listed 4 times in My Computer
« Reply #2 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

LGNilsson

  • Guest
Re: External Hard Drive connected to Almond+ listed 4 times in My Computer
« Reply #3 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.

Offline scroder

  • Chestnut
  • ***
  • Posts: 52
  • Thanks: 0
  • Registered : 30/12/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: External Hard Drive connected to Almond+ listed 4 times in My Computer
« Reply #4 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.

Offline Richel

  • Beta Testers
  • *
  • Posts: 62
  • Thanks: 0
  • Registered : 22/03/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: External Hard Drive connected to Almond+ listed 4 times in My Computer
« Reply #5 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.

Offline mr23

  • Backer
  • *
  • Posts: 204
  • Thanks: 1
  • Registered : 02/08/2013
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: External Hard Drive connected to Almond+ listed 4 times in My Computer
« Reply #6 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.



Offline scroder

  • Chestnut
  • ***
  • Posts: 52
  • Thanks: 0
  • Registered : 30/12/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: External Hard Drive connected to Almond+ listed 4 times in My Computer
« Reply #7 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.
« Last Edit: February 09, 2015, 12:40:54 am by scroder »

Offline Richel

  • Beta Testers
  • *
  • Posts: 62
  • Thanks: 0
  • Registered : 22/03/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears

Offline scroder

  • Chestnut
  • ***
  • Posts: 52
  • Thanks: 0
  • Registered : 30/12/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: External Hard Drive connected to Almond+ listed 4 times in My Computer
« Reply #9 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

Offline Richel

  • Beta Testers
  • *
  • Posts: 62
  • Thanks: 0
  • Registered : 22/03/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: External Hard Drive connected to Almond+ listed 4 times in My Computer
« Reply #10 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.

Offline j8048188

  • Backer
  • *
  • Posts: 108
  • Thanks: 0
  • Registered : 12/08/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: External Hard Drive connected to Almond+ listed 4 times in My Computer
« Reply #11 on: February 11, 2015, 12:50:22 am »
Can you type the following command?
cd /mnt
ls -al
rm XXX (Mounted drive here)

LGNilsson

  • Guest
Re: External Hard Drive connected to Almond+ listed 4 times in My Computer
« Reply #12 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.

Offline Richel

  • Beta Testers
  • *
  • Posts: 62
  • Thanks: 0
  • Registered : 22/03/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: External Hard Drive connected to Almond+ listed 4 times in My Computer
« Reply #13 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.

Offline scroder

  • Chestnut
  • ***
  • Posts: 52
  • Thanks: 0
  • Registered : 30/12/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: External Hard Drive connected to Almond+ listed 4 times in My Computer
« Reply #14 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.

 

Page created in 0.037 seconds with 17 queries.