paul- wrote: 
> We needed a starting point.   A USB stick was the entry point for music
> storage for the first testing/release.   ext3/4 and Dos partitions are
> supported directly in the Kernel.   All other file systems require a
> different extension.   If you are not using a USB stick formatted that
> way, then you will need to do something manual for now.
> 
> "filesystems-4.1.13-piCore+.tcz"   (the kernel version will be different
> if you are using a rpi2)
> "ntfs-3g.tcz" for NTFS support.
> 
> I've never tested the ntfs stuff on piCore.........

Been running LMS on TC7 following the previous command line kindly
posted here.
Using Rpi2 and mounting a WD Mycloud NAS share.


Code:
--------------------
    tce-load -iw filesystems-4.1.13-piCore_v7+.tcz
--------------------

did help but not in so far as a successful mount, but resulted in some
clues for further handlers and after googling around I found them in
cifs-utils.
So I added

Code:
--------------------
    tce-load -iw cifs-utils.tcz
--------------------


The old fstab entry on the BBB (previous LMS server) was

Code:
--------------------
    //192.168.1.100/MyCloud /media/MyCloud cifs 
username=00:90:a9:40:c3:fa.local/guest,uid=1000,guest
  
--------------------


So I prated around with variations of 

Code:
--------------------
    sudo mount //192.168.1.100/MyCloud /media/MyCloud cifs 
username=00:90:a9:40:c3:fa.local/guest,uid=1000,guest
  
--------------------


Eventually I had a working command line with

Code:
--------------------
    sudo mount //192.168.1.100/MyCloud /mnt/mycloud -o password=
  
--------------------


But no persistence of course so I added the command to opt/bootlocal.sh

Code:
--------------------
    sudo vi /opt/bootlocal.sh
--------------------


Resulting file

Code:
--------------------
    #!/bin/sh
  # put other system startup commands here
  
  GREEN="$(echo -e '\033[1;32m')"
  
  echo
  echo "${GREEN}Running bootlocal.sh..."
  /home/tc/www/cgi-bin/do_rebootstuff.sh
  sudo mkdir /mnt/mycloud
  sudo mount //192.168.1.100/MyCloud /mnt/mycloud -o password=
  
--------------------
 

Then

Code:
--------------------
    sudo filetool.sh -b
--------------------


And

Code:
--------------------
    sudo reboot
--------------------


Success, persistent mount and LMS running on TC7.

Will try running LMS from your GUI from pCP in the near future.
Thanks for the latest update and all you have given us so far, you've
been busy this year.


------------------------------------------------------------------------
Bemused's Profile: http://forums.slimdevices.com/member.php?userid=65092
View this thread: http://forums.slimdevices.com/showthread.php?t=105018

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to