Author Topic: Xmount problem  (Read 2435 times)

October 29, 2011, 08:30:00 PM
Read 2435 times

Zak86

  • Newbie

  • Offline
  • *

  • 5
I have been scouring the forums all day for an answer to this one. I cannot get the WDTV to recognise xmounts.

I have followed the instructions on the WDLXTV Wiki and also used

I am running WDLXTVver  1.05.04_V.WDLXTV_LIVE-0.5.1.1.

I have two network share folders known as "Series" and "Movies". These two folders will appear in Network Shares.

I have placed a net.mounts file in the /conf folder and edited it as follows:

      xmount "//192.168.x.xx/Series" "Series" cifs
      xmount "//192.168.x.xx/Movies" "Movies" cifs

However, the WDTV shows no media. I have ensured that a thumbdrive is inserted, which I notice has cured many errors.

I have entered the command into Telnet and am given the following message"

  # xmount "//192.168.x.xx/Series" "Series" cifs
  mount: mounting \\192.168.x.xx\Series on /tmp/media/usb/Series failed: No such device or address
  xmount: xmount //192.168.x.xx/Series Series cifs user=guest,iocharset=utf8,ro FAILED WTF?!?
  #

Any assistance with troubleshooting my way out of this would be greatly appreciated.



November 03, 2011, 10:21:58 AM
Reply #1

recliq

  • Jr. Member

  • Offline
  • **

  • 71
    • WDLXTV
re-read the wiki article about xmounting shares... there's also infos how to debug xmounts.

hint: smbclient

also pay attention to the guest account note in the wiki and check your firewall settings on windows.
WDLXTV Project Maintainer
-:] If you like my contributions feel free to donate for a beer or a new flash drive. ...and always remember: RTFM! [:-

November 04, 2011, 03:53:23 PM
Reply #2

Zak86

  • Newbie

  • Offline
  • *

  • 5
You're talking to a guy who is pretty useless at these things but wants the intended result.

I've been through the wiki several times and the guest account issue puzzled me. Mine is disabled (I think), but my shares have no passwords. So what would be the process regarding passwords?

Care to elaborate on the smbclient hint? Any chance of a play by play process and troubleshoot with me? That's kind of what I'm chasing as at the moment every post in the forum about this issue seems half baked and gets close to fixing my issue but not quite there.


November 26, 2011, 07:38:27 PM
Reply #3

Zak86

  • Newbie

  • Offline
  • *

  • 5
UPDATE

I have gone back through the Wiki pags from start to end, and made two modifications to my current set up:

1. In my net.mounts file I provided for a username and password as follows:
    "user=My Username,pass=my password"
   My password has a series of numbers and letters

2. In the initial page of firewall settings my firewall for the Home network was disabled but in advanced firewall settings I noticed that the firwall was still on for the username. I disabled this.

Now when I telnet in I receive the following new and difference error message":

xmount "192.168.1.64/Series" "Series" cifs "user=My username,pass=my password"
mount: mounting 192.168.1.64/Series on /tmp/media/usb/Series failed: Invalid argument
xmount: xmount 192.168.1.64/Series Series cifs user=My username,pass=my password,iocharset=utf8,ro FAILED WTF?!?

The difference being the "invalid argument" section.

Any thoughts? I'm still battling with this so any help would be appreciated.



November 26, 2011, 10:16:34 PM
Reply #4

Buhric

  • Hero Member

  • Offline
  • *****

  • 1050
try it like this

xmount "//192.168.1.64/Series" "Series" cifs "user=MyID,pass=MyPsw"

November 26, 2011, 11:29:49 PM
Reply #5

Zak86

  • Newbie

  • Offline
  • *

  • 5
Good spot Buhric.

I just amended that in the Telnet and I think it appears ok. I essentially just simply got no response from the Telnet. Does this mean it has been accepted, or should I expect some sort of "success" message?

I checked my net.mounts file and I had entered it there correctly, that is, it contained the dual forward slashes. Nevertheless, it still does not appear to have worked, as I have no files available in the "Local Folders" section of my WDTV.

I have a USB plugged in.

Anything else I should troubleshoot?

December 01, 2011, 01:32:26 AM
Reply #6

stevied26

  • Newbie

  • Offline
  • *

  • 6
Good spot Buhric.

I just amended that in the Telnet and I think it appears ok. I essentially just simply got no response from the Telnet. Does this mean it has been accepted, or should I expect some sort of "success" message?

I checked my net.mounts file and I had entered it there correctly, that is, it contained the dual forward slashes. Nevertheless, it still does not appear to have worked, as I have no files available in the "Local Folders" section of my WDTV.

I have a USB plugged in.

Anything else I should troubleshoot?

Have you tried placing the xmount script onto a usb stick that is permanently connected to WDtv live box? I found when placing the script in the config file or in the webend, I had to re-enter it whenever the WDtv live was power cycled.
The script below is what is on my usb stick as a .mounts file. Copy the script into note pad and save the file as 'net.mounts' onto the usb stick. Turn off wdtv live (remove power cabe), insert usb stick then power up.

Hope this helps

//##Davies xmount##
##xmount "//192.168.1.91/Public" "Movies" cifs "user=wdtv,pass=wdtv"

##NB check case sense
##Luke's mounts:##

#xmount "//192.168.1.6/volume_1" ".volume_1" cifs #"user=xxxxx,pass=xxxxxx"
#xmount "//192.168.1.6/volume_2" ".volume_2" cifs #"user=xxxxx,pass=xxxxxx"
#xmount ".volume_1:.volume_2"  "_NAS"  unionfs


December 01, 2011, 07:24:57 PM
Reply #7

Buhric

  • Hero Member

  • Offline
  • *****

  • 1050
Good spot Buhric.

I just amended that in the Telnet and I think it appears ok. I essentially just simply got no response from the Telnet. Does this mean it has been accepted, or should I expect some sort of "success" message?

I checked my net.mounts file and I had entered it there correctly, that is, it contained the dual forward slashes. Nevertheless, it still does not appear to have worked, as I have no files available in the "Local Folders" section of my WDTV.

I have a USB plugged in.

Anything else I should troubleshoot?

after running the command from telnet, a quick way to verify if it took would be to run the following command again from telnet
Code: [Select]
ls /tmp/media/usb
and see if your "Series" folders show up in there....
if it does then it worked, if not... then bummer....

another test to see if you are entering the command ok,
from a computer type
Code: [Select]
\\192.168.1.64\Series
in the "Start --> run" and press the OK button (yes the slashes are in the correct position)

If your path is ok, it should open up in a Windows Explorer window
if not then either the computer at IP 192.168.1.64 does not exist or it as no shared folder names "Series"

December 04, 2011, 04:59:54 AM
Reply #8

recliq

  • Jr. Member

  • Offline
  • **

  • 71
    • WDLXTV
Code: [Select]
//##Davies xmount##
##xmount "//192.168.1.91/Public" "Movies" cifs "user=wdtv,pass=wdtv"

##NB check case sense
##Luke's mounts:##

#xmount "//192.168.1.6/volume_1" ".volume_1" cifs #"user=xxxxx,pass=xxxxxx"
#xmount "//192.168.1.6/volume_2" ".volume_2" cifs #"user=xxxxx,pass=xxxxxx"
#xmount ".volume_1:.volume_2"  "_NAS"  unionfs
Your net.mounts is just plain wrong and should not work!
The // in the first line will cause the script to exit with an error.
All the other lines are comments (starting with a #).

The file should rather look like this:
Code: [Select]
##Davies xmount##
##xmount "//192.168.1.91/Public" "Movies" cifs "user=wdtv,pass=wdtv"

##NB check case sense
##Luke's mounts:##

xmount "//192.168.1.6/volume_1" ".volume_1" cifs #"user=xxxxx,pass=xxxxxx"
xmount "//192.168.1.6/volume_2" ".volume_2" cifs #"user=xxxxx,pass=xxxxxx"
xmount ".volume_1:.volume_2"  "_NAS"  unionfs
WDLXTV Project Maintainer
-:] If you like my contributions feel free to donate for a beer or a new flash drive. ...and always remember: RTFM! [:-

December 04, 2011, 07:42:13 AM
Reply #9

stevied26

  • Newbie

  • Offline
  • *

  • 6
Code: [Select]
//##Davies xmount##
##xmount "//192.168.1.91/Public" "Movies" cifs "user=wdtv,pass=wdtv"

##NB check case sense
##Luke's mounts:##

#xmount "//192.168.1.6/volume_1" ".volume_1" cifs #"user=xxxxx,pass=xxxxxx"
#xmount "//192.168.1.6/volume_2" ".volume_2" cifs #"user=xxxxx,pass=xxxxxx"
#xmount ".volume_1:.volume_2"  "_NAS"  unionfs
Your net.mounts is just plain wrong and should not work!
The // in the first line will cause the script to exit with an error.
All the other lines are comments (starting with a #).

The file should rather look like this:
Code: [Select]
##Davies xmount##
##xmount "//192.168.1.91/Public" "Movies" cifs "user=wdtv,pass=wdtv"

##NB check case sense
##Luke's mounts:##

xmount "//192.168.1.6/volume_1" ".volume_1" cifs #"user=xxxxx,pass=xxxxxx"
xmount "//192.168.1.6/volume_2" ".volume_2" cifs #"user=xxxxx,pass=xxxxxx"
xmount ".volume_1:.volume_2"  "_NAS"  unionfs
Works for me with no errors.

December 06, 2011, 04:54:45 PM
Reply #10

Buhric

  • Hero Member

  • Offline
  • *****

  • 1050
Code: [Select]
//##Davies xmount##
##xmount "//192.168.1.91/Public" "Movies" cifs "user=wdtv,pass=wdtv"

##NB check case sense
##Luke's mounts:##

#xmount "//192.168.1.6/volume_1" ".volume_1" cifs #"user=xxxxx,pass=xxxxxx"
#xmount "//192.168.1.6/volume_2" ".volume_2" cifs #"user=xxxxx,pass=xxxxxx"
#xmount ".volume_1:.volume_2"  "_NAS"  unionfs
Your net.mounts is just plain wrong and should not work!
The // in the first line will cause the script to exit with an error.
All the other lines are comments (starting with a #).

The file should rather look like this:
Code: [Select]
##Davies xmount##
##xmount "//192.168.1.91/Public" "Movies" cifs "user=wdtv,pass=wdtv"

##NB check case sense
##Luke's mounts:##

xmount "//192.168.1.6/volume_1" ".volume_1" cifs #"user=xxxxx,pass=xxxxxx"
xmount "//192.168.1.6/volume_2" ".volume_2" cifs #"user=xxxxx,pass=xxxxxx"
xmount ".volume_1:.volume_2"  "_NAS"  unionfs
Works for me with no errors.

 ???
Nope it wont

You probably have an other net.mounts file some where.... like inside the /conf/ folder....