Page 9 of 10

Re: Problems mounting Samba shares UE32F5300!

Posted: Thu May 01, 2014 8:43 pm
by brunogts77
OK, LOL. Now it works but my NAS it?s not present.

Re: Problems mounting Samba shares UE32F5300!

Posted: Thu May 01, 2014 8:45 pm
by zoelechat
Wasn't 192.168.1.251/PUBLIC the path to your NAS?

Re: Problems mounting Samba shares UE32F5300!

Posted: Thu May 01, 2014 8:46 pm
by brunogts77
zoelechat wrote:and? does it work?
output of

Code: Select all

cat /dtv/samba.log
and

Code: Select all

mount | grep cifs

Code: Select all

VDLinux#> cat /dtv/samba.log
Fixed Server: 192.168.1.5
192.168.1.254
192.168.1.20
192.168.1.4
VDLinux#>

Code: Select all

VDLinux#> mount | grep cifs
VDLinux#>


Re: Problems mounting Samba shares UE32F5300!

Posted: Thu May 01, 2014 8:47 pm
by brunogts77
zoelechat wrote:Wasn't 192.168.1.251/PUBLIC the path to your NAS?
Yes it is.

Re: Problems mounting Samba shares UE32F5300!

Posted: Thu May 01, 2014 8:49 pm
by brunogts77
zoelechat wrote:Looks like a D working script :)

So, let's try to fix share...
Edit SERVER="" in your script to

Code: Select all

SERVER="192.168.1.251"
and edit SHARES="" to

Code: Select all

SHARES="PUBLIC"
(reboot)
This is what i make:

Code: Select all

. /dtv/SGO.env
# sleep 9
##### CHANGE MEEEEE !!!!! ######
USER="sysadmin"
PASSWD="123456789"
PERM="rw" # can be ro or rw
##### CHANGE MEEEEE END ######


DEST_DIR=$MOUNT_PATH/smb
SERVER=""
# SERVER="192.168.1.251" # if you want a fixed server
SHARES="PUBLIC"
FR_NAME="Samba Server"

Re: Problems mounting Samba shares UE32F5300!

Posted: Thu May 01, 2014 8:49 pm
by zoelechat
??
Paste your script please, it should not list IPs if server is fixed!?

Re: Problems mounting Samba shares UE32F5300!

Posted: Thu May 01, 2014 8:50 pm
by zoelechat
UNCOMMENT SERVER="192.168.1.251"
REMOVE LEADING #

Re: Problems mounting Samba shares UE32F5300!

Posted: Thu May 01, 2014 8:56 pm
by brunogts77
zoelechat wrote:??
Paste your script please, it should not list IPs if server is fixed!?
Sorry did not realize????

Re: Problems mounting Samba shares UE32F5300!

Posted: Thu May 01, 2014 8:59 pm
by zoelechat
No matter... So, what happen if you remove # :?:

Code: Select all

SERVER="192.168.1.251"
(no "#" at the beginning of line, any command preceded by # is NOT executed)

Re: Problems mounting Samba shares UE32F5300!

Posted: Thu May 01, 2014 9:03 pm
by brunogts77
zoelechat wrote:No matter... So, what happen if you remove # :?:

Code: Select all

SERVER="192.168.1.251"
(no "#" at the beginning of line, any command preceded by # is NOT executed)
Ok now i just have in virtualusb My NAS! Eh eh :mrgreen:
The problem is solved. :D :D :D Very thanks.