network file not open

Asked by asgujju

I installed kubuntu 8.4 version... I'm using SMB file server as network storage, when i access file server to using a all file like 'TGA
, PNG, TXT, DOC' etc. All file i can use but when i open media file mov,mpeg,mp3,wav etc. are not opening. so advice me how to open that kind of file.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu samba Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

use smbmount to mount the shared folder. Maybe your chose media player has difficulty accessing shares that arent mounted.

https://help.ubuntu.com/community/MountWindowsSharesPermanently

Mount the share as a local folder in your file system and try to open the data that way.

Revision history for this message
asgujju (asgujju) said :
#2

Thanks sir, i tried all this thinks as per follow link.... i little bit success, mount the drive but it's not accessible. when i attempt to open the drive window will be open but below the window showing me permission denied with Red mark..... i giving u detail of fstab configuration below......

//192.168.2.155 /media/winshare smbfs rw,_netdev,user=tv9155,password=1234,uid=1000 0 0

plz Help me

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

ok now you need to ignore the thing in "places", I recommend you remove it if you can. You can also make life a lot easier with this command:

ln -s /media/winshare ~/winshare

Open up your home folder in nautilus to see what has been achieved.

Revision history for this message
asgujju (asgujju) said :
#4

i can't understand what u say.... where i put this command...

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

in terminal

Revision history for this message
asgujju (asgujju) said :
#6

i run the command -s /media/winshare ~/winshare
showing me "no such file or directory'

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

ok, what is the output of:

file /media/winshare

Thanks

Revision history for this message
asgujju (asgujju) said :
#8

i don't know what u talking about.....

Plz
Thanks

Revision history for this message
asgujju (asgujju) said :
#9

can i chat with u?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#10

We are now. Why have you marked this as solved?

file /media/winshare

is a command

Press ALT+F2
type: gnome-terminal
press enter
in the black box, paste the command: file /media/winshare
Some output will appear, copy it and paste it here as an update.

Thanks

Revision history for this message
asgujju (asgujju) said :
#11

error showing me like below

ERROR: cannot open '/media/winshare' (No such file or directory)

Thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#12

Then your mount will fail.as the mount point you specified in fstab doesnt exist. How can the mount command mount to a non-existant mount point?

run:

sudo mkdir /media/winshare; sudo mount -a

The ount point has no been created, if your fstab is correct it will now mount as the mountpoint now exists.

Revision history for this message
asgujju (asgujju) said :
#13

i create dir /media/winshare...
and command in terminal file /media/winshare, showing me 'directory'

In my fstab i configure like below
//192.168.2.166/root-Writable /media/winshare smbfs iocharset=utf8,credentials=/etc/smbcredentials,gid=1001 0 0
and save it

when i command in terminal sudo mount -a

showing me error
[mntent] : warning : no final newline at the end of /etc/fstab
mount error 13 = permission denied
refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

Note: 192.168.2.166 is redhat linux System

Thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#14

gksudo gedit /etc/fstab

go to the end of the last line, press enter

save the new file

Revision history for this message
asgujju (asgujju) said :
#15

Thanking you very much.....
My Problem is almost solved, i able to mount smb server successfully.... and i happy to say you all media file i can open....
But when i reboot my system i can't found map drive. i run the command 'sudo mount -a' then it's come.

so guide to me what i do....

Thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#16

If you run:

gksudo gedit /etc/rc.local

and add this line to the file ABOVE the exit line:

mount -a

Save the file and close gedit, then reboot to test. The mounts with fstab happen before anything (but after the kernel wakes up) so there is no network,so the mount fails. rc.local is ran LAST so will succeed as network manager / interfaces file have worked their magic and got the network sorted.

Revision history for this message
asgujju (asgujju) said :
#17

it's not coming...

Here i again clear to u my fstab configuration...
//192.168.2.3/hyd /media/winshare smbfs iocharset=utf8,credentials=/etc/smbcredentials,gid=1001 0 0

Thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#18

Not sure then, sudo mount -a should attempt to remount all in /etc/fstab

Maybe someone else ccan advise.

Revision history for this message
asgujju (asgujju) said :
#19

After reboot my system i run command sudo mount -a all map drive are connect. but is there any solution it will mount automatically?

Becoz every reboot i run command manually then after it's coming

Thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#20

You could put a line in /etc/rc.local above the exit line saying:

mount -a

the disk mounts happen before the network is initialised so the mount fails.

Can you help with this problem?

Provide an answer of your own, or ask asgujju for more information if necessary.

To post a message you must log in.