Ian Manning
Member
I seem to have installed this package in the past, and have a [Shares] folder in My Video with one linked share. I now want to add a 2nd share, but I don't have a [Modsettings] folder. What's the best way to proceed?
[ModSettings]
smb
Old-Drive
domain=Workgroup
folder=usb2
host=192_168_1_254
mac=ABABABABABAB (leave as is)
password=Password (leave as is)
shareFolder=on
user=User (leave as is)
wakeConstantly? (leave as is)
wakeNow? (leave as is)
Stick with shareFolder=off, and then access the remote drives via Media >> Storage >> USB.
Install the virtual-disk2 package.with share off the mount only appears in media and USB does not appear in storage, what setting needs to change for that to happen?
Thanks for the advise, but the problem is with share off the mount only appears in media and USB does not appear in storage, what setting needs to change for that to happen?
IIRC the problems mentioned have been solved (an annoying on-screen message on startup). Personally, I have a small cheap UPD fitted in the rear USB port at all times.Note that to make all this work, a real USB drive (UPD or HDD) must be fitted to the client unit. This is not an issue for HD-FOX (which requires a USB drive to be fitted in order to host the custom firmware), but catches out people trying this on an HDR-FOX. Alternatively, install the virtual-disk2 package on the client HDR-FOX (but this comes with its own set of problems).
Any way to set a drive folder as the mount point, ie usb2/My\ Video
Further to the above, it is also possible to create an SMB share to a specific sub-folder tree (that can then be targetted by network-shares-automount): https://hummy.tv/forum/threads/network-shares-automount-package-released.1126/post-38582. Note this can be essential for USB drives with SMB, because SMB's default is to mount the whole tree - which means any network-shares-automount mounts as well, which might include cross-mounts from remote network-shares-automount mounts... which sets up a "deadly embrace".Yes, it is possible to create specific mount points but you need to create your own initialisation routines that will execute at boot time: https://hummy.tv/forum/threads/symbolic-link.3926/
Yes, it is possible to create specific mount points but you need to create your own initialisation routines that will execute at boot time: https://hummy.tv/forum/threads/symbolic-link.3926/
video="/media/My Video"
folder="[Unclassified]"
[ -d "$video/$folder" ] && ln -s "$video/$folder" "/media/$folder"
video="/media/My Video"
media="/media/"
name="Old-Drive"
[ ! -d "$video/$name" ] && ln -s "$media$name" "$video/$name"
the mount only appears in media and USB does not appear in storage
Black Hole said:Note that to make all this work, a real USB drive (UPD or HDD) must be fitted to the client unit.
Further to the above, it is also possible to create an SMB share to a specific sub-folder tree (that can then be targetted by network-shares-automount): https://hummy.tv/forum/threads/network-shares-automount-package-released.1126/post-38582. Note this can be essential for USB drives with SMB, because SMB's default is to mount the whole tree - which means any network-shares-automount mounts as well, which might include cross-mounts from remote network-shares-automount mounts... which sets up a "deadly embrace".
ln -s "$media$name" "$video/$name"
umount: can't forcibly umount /media/DVDs1: Invalid argument | |
4999 | Mount failed... |
4998 | mount: mounting //192.168.1.92/DVDS1 on /media/DVDs1 failed: Invalid argument |
4997 | mount -t cifs //192.168.1.92/DVDS1 /media/DVDs1 -o user=,password=,domain=WORKGROUP,unc=\\192.168.1.92\DVDS1 |
4996 | 192.168.1.92 is on-line - attempting to mount DVDs1 |
4995 | umount: can't forcibly umount /media/DVDs1: Invalid argument |
4994 | Mount failed... |
4993 | mount: mounting //192.168.1.92/DVDS1 on /media/DVDs1 failed: Invalid argument |
4992 | mount -t cifs //192.168.1.92/DVDS1 /media/DVDs1 -o user=,password=,domain=WORKGROUP,unc=\\192.168.1.92\DVDS1 |
4991 | 192.168.1.92 is on-line - attempting to mount DVDs1 |
4990 | umount: can't forcibly umount /media/DVDs1: Invalid argument |
4989 | Mount failed... |
4988 | mount: mounting //192.168.1.92/DVDS1 on /media/DVDs1 failed: Invalid argument |
4987 | mount -t cifs //192.168.1.92/DVDS1 /media/DVDs1 -o user=,password=,domain=WORKGROUP,unc=\\192.168.1.92\DVDS1 |
4986 | 192.168.1.92 is on-line - attempting to mount DVDs1 |
4985 | umount: can't forcibly umount /media/DVDs1: Invalid argument |
4984 | Mount failed... |
Firstly set up a Share folder on the PC.
To create a share folder in win7 - Open Windows Explorer and select the drive or directory where you want to place the Folder. –> File New –> Folder
Name that folder -> HumaxPCMedia –> right click that newly created folder. select sharing –> advance sharing –> click on “share this folder” –> ok and close
Confirm it is shared by checking in Network –> Your PC. It should be present there.
Now setup another Network Share on the HumaxHD to enable access to the “HumaxPCMedia” from it. – Name it HumaxPCMedia
Once it has been created, input the following:
Domain=Workgroup (or whatever your workgroup is named) (To find out what it is actually named – Control Panel – System and Security – System – The name will be to the right of Workgroup. Also take a note your PC name on the same page)
Folder= HumaxPCmedia
host=the network address of your PC
mac=ABABABABABAB (only needed for wakeUp)
password=your PC access password (that’s the password you use to login to your PC)
sharefolder=off
user=your pc name (found in Control panel – System – Computer name (as above). If the name has –PC after it, ignore that part. So if it was alpha-PC – you only need to use alpha)
wakeup=off
Then restart the HD box – check webif-diag-scanmounts.log to see if it has mounted and confirm by Media-blue button-USB on the remote. This should give access to the Sharefolder on the PC.
I don't understand why there are discrepancies between "DVDS1" and "DVDs1" in the log dump above, I assume it is something the forum presentation layer is doing rather than yourself (which is why listings should be in CODE tags rather than just pasted - see Newbies' Guide to the Forum - click).
I don't use shares from my PC, but I assume you have specifically declared them as shares to Windows otherwise you couldn't access them at all.
977 | umount: can't forcibly umount /media/DVDS1: Invalid argument |
976 | Mount failed... |
975 | mount: mounting //192.168.1.92/ on /media/DVDS1 failed: Invalid argument |
974 | mount -t cifs //192.168.1.92/ /media/DVDS1 -o user=,password=,domain=WORKGROUP,unc=\\192.168.1.92\ |
973 | 192.168.1.92 is on-line - attempting to mount DVDS1 |
972 | umount: can't forcibly umount /media/DVDS1: Invalid argument |
971 | Mount failed... |
970 | mount: mounting //192.168.1.92/ on /media/DVDS1 failed: Invalid argument |
969 | mount -t cifs //192.168.1.92/ /media/DVDS1 -o user=,password=,domain=WORKGROUP,unc=\\192.168.1.92\ |
968 | 192.168.1.92 is on-line - attempting to mount DVDS1 |
967 | umount: can't forcibly umount /media/DVDS1: Invalid argument |
966 | Mount failed... |
It is possible to tell Windows to configure for SMB compatibility. I'm not sure you'll have much joy trying to access Windows by NFS.How to get round this ?
Leave as are unless you need to change them (same with all the settings). Those particular entries are flags for Wake-on-LAN operation at the far end.What should wakeConstantly? and wakeNow? be ? Are they supposed to have "=no" at the end ?
Oh, well in that case he doesn't need the WORKGROUP setting. That won't help either!NFS is definitely a better bet for your Kubuntu shares.
Where are these "(4.0KiB)" strings coming from? Just an artefact of copy&paste?host=192_168_1_92 (4.0KiB)
shareFolder=off (4.0KiB)