Page 100 of 137 FirstFirst ... 50909899100101102110 ... LastLast
Results 991 to 1,000 of 1362

Thread: Mount samba shares with utf8 encoding using cifs

  1. #991
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,362
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: [8.10] I did sumpin bad, now it won't see Winboxes

    Quote Originally Posted by billswan View Post
    It seems my reply got lost. Thought I was there for a bit but backtracking in Thunar produced a "Transport endpoint is not connected" error. Reading through on a search on that message it appears some module is not thread-safe and a reversion to an earlier one worked for somebody. Naturally, the link to what that person used (for xubuntu 8.10, same as me) is dead.
    <p>
    And very shortly I will be away from this machine for nearly a month, both business and vacation travel. Oh well, will try to pick it up when I'm back.
    No, your post is here -> http://ubuntuforums.org/showthread.php?t=1169149&page=8 and I have replied to it.

  2. #992
    Join Date
    Sep 2008
    Location
    Scotland
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Mount samba shares with utf8 encoding using cifs

    dmizer

    I followed your instructions and am pleased to say that I can read my hard drive on the XP server. Your details were clear and easily followed once I took the time to read and re-read the instructions.

    One problem that I still have is that when I access the HD I find that a number of the items that I want to look at end up with a .lnk file extension and that nothing happens when I click on the item.

    Can you offer any further guidance?

    Thanks
    If you are here to drink to forget please pay in advance.

    Intel Dual Core T2390 1.86Ghz; Intel GMA x 3100 graphics, Atheros AR242x802.11 a/b/g. 1GB RAM.

  3. #993
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,362
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Mount samba shares with utf8 encoding using cifs

    Quote Originally Posted by Scunnered View Post
    dmizer

    I followed your instructions and am pleased to say that I can read my hard drive on the XP server. Your details were clear and easily followed once I took the time to read and re-read the instructions.

    One problem that I still have is that when I access the HD I find that a number of the items that I want to look at end up with a .lnk file extension and that nothing happens when I click on the item.

    Can you offer any further guidance?

    Thanks
    In Windows talk, a .lnk file translates into "shortcut to ...", and either fortunately or unfortunately, Ubuntu won't be able to follow your shortcuts.

  4. #994
    Join Date
    Sep 2008
    Location
    Scotland
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Mount samba shares with utf8 encoding using cifs

    dmizer

    After all that thought and effort put in by you to let me access my XP machine it falls down at the end.

    I think that I will go back and ask the individual who wrote the programme that I particularly wanted to access if he can either write it to work with Linux or at least have a sharing property.

    I hope that he can do Linux but at worst I will accept a Windows compromise.

    If nothing else it has banished my fears of working with the terminal.

    My sincere thanks for all your kind assistance in this matter.
    If you are here to drink to forget please pay in advance.

    Intel Dual Core T2390 1.86Ghz; Intel GMA x 3100 graphics, Atheros AR242x802.11 a/b/g. 1GB RAM.

  5. #995
    Join Date
    Mar 2008
    Location
    Watford, UK
    Beans
    255
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Mount samba shares with utf8 encoding using cifs

    Hi again...

    I return to this beast after a year or so to try again.

    Set up my NAS. Can mount it dead easy in Places > Connect to Server > Windows Share:

    Just by entering
    server: ip address of nas
    share: PUBLIC (the name of the shared smb folder

    it mounts in nautilus as 'public on 192.168.0.3'

    I can bookmark it, and clicking on the bookmark will mount it.

    BUT... where is this mounting? How do I find it via cmd line?
    And why can I not mount it by the means in the beginning of this tutorial?? i.e. if it mounts fine...why cant I do it in fstab?

    It is a bit funny... as in, there is no info available on free disk space etc... but i can write to it it seems.

    Cheers

    Jon
    Cheers,

    Jon Reynolds (j0nr)

  6. #996
    Join Date
    Sep 2007
    Beans
    29

    Can not copy exe files

    Hi gang,

    I'm having a strange problem. I'm running 8.04 with Kernel 2.6.24-24. I have mounted a Windows XP shared folder using CIFS. All seems well except ...

    I can not copy any files from the share to my home directory if they are of type exe. BUT .txt .doc .msi ... several others I've tested work. I am apparently only unable to copy exe files!!?!??!?? I'm stumped.

    When I try to copy an exe file I get an error:

    "There was an error copying the file into /home/ ...
    Error opening file : Permission denied.

    The permissions on the exe files are exactly the same as those on the txt files. The share is mounted as follows

    mount.cifs kernel mount options unc=//pmde1505\receive,ip=192.168.1.80,ver=1,username=** **,password=****,
    iocharset=utf8,nounix,file_mode=0555,dir_mode=0555 ,uid=1000,gid=1000

    ALL file permissions reported by Nautilus as 555.

    Copy being done by Ubuntu user with uid=1000,gid=1000 who is also the owner of the files

    No mount errors reported in dmesg.

    Has anybody seen this before?
    95% switched to Ubuntu
    Hardy 8.04 running on an old Dell Dimension
    House full of Windows boxes for rest of family

  7. #997
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,362
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Can not copy exe files

    Quote Originally Posted by jcr1 View Post
    Hi again...

    I return to this beast after a year or so to try again.

    Set up my NAS. Can mount it dead easy in Places > Connect to Server > Windows Share:

    Just by entering
    server: ip address of nas
    share: PUBLIC (the name of the shared smb folder

    it mounts in nautilus as 'public on 192.168.0.3'

    I can bookmark it, and clicking on the bookmark will mount it.

    BUT... where is this mounting? How do I find it via cmd line?
    And why can I not mount it by the means in the beginning of this tutorial?? i.e. if it mounts fine...why cant I do it in fstab?

    It is a bit funny... as in, there is no info available on free disk space etc... but i can write to it it seems.

    Cheers

    Jon
    Your problem is the very reason why this tutorial exists. Places > connect to server DOESN'T actually mount anywhere, it only mounts virtually.

    If my howto seems a bit too much for you to accomplish, perhaps this is more like what you're looking for:
    http://ubuntuforums.org/showthread.php?t=1186877

    Quote Originally Posted by exsysprog View Post
    Hi gang,

    I'm having a strange problem. I'm running 8.04 with Kernel 2.6.24-24. I have mounted a Windows XP shared folder using CIFS. All seems well except ...

    I can not copy any files from the share to my home directory if they are of type exe. BUT .txt .doc .msi ... several others I've tested work. I am apparently only unable to copy exe files!!?!??!?? I'm stumped.

    When I try to copy an exe file I get an error:

    "There was an error copying the file into /home/ ...
    Error opening file : Permission denied.

    The permissions on the exe files are exactly the same as those on the txt files. The share is mounted as follows

    mount.cifs kernel mount options unc=//pmde1505\receive,ip=192.168.1.80,ver=1,username=** **,password=****,
    iocharset=utf8,nounix,file_mode=0555,dir_mode=0555 ,uid=1000,gid=1000

    ALL file permissions reported by Nautilus as 555.

    Copy being done by Ubuntu user with uid=1000,gid=1000 who is also the owner of the files

    No mount errors reported in dmesg.

    Has anybody seen this before?
    It may help if you mount by netbios name rather than IP address.

    Try copying an exe file via the CLI.

    Something like
    Code:
    cp -v /media/mountpoint/somefile.exe /home/your-username
    See if that gives you an error of some kind.

  8. #998
    Join Date
    Sep 2007
    Beans
    29

    Re: Can not copy exe files

    Quote Originally Posted by dmizer View Post
    It may help if you mount by netbios name rather than IP address.

    Try copying an exe file via the CLI.

    Something like
    Code:
    cp -v /media/mountpoint/somefile.exe /home/your-username
    See if that gives you an error of some kind.
    Will give it a go upon return from work tomorrow night - gotta sleep now!
    95% switched to Ubuntu
    Hardy 8.04 running on an old Dell Dimension
    House full of Windows boxes for rest of family

  9. #999
    Join Date
    Jul 2009
    Beans
    1

    Re: Mount samba shares with utf8 encoding using cifs

    Hello! I am Brazilian and would like to thank the excellent tutorial!

    However, for the mapping function, and can edit any files (not only in openoffice) in the directory mapped, it is necessary to include the "nounix" beyond the syntax "nobrl" ...

    This worked 100%!

    Big hug, and once again thanks!
    Last edited by israelfreire; July 10th, 2009 at 06:55 PM.

  10. #1000
    Join Date
    Sep 2007
    Beans
    29

    Re: Mount samba shares with utf8 encoding using cifs

    Share mounted as follows ...

    pm:~$ sudo mount.cifs //pmde1505/receive /mnt/pmde1505/receive -v -o username=*****,password=*****,iocharset=utf8,uid=1 000,gid=1000,nounix,file_mode=0555,dir_mode=0555
    [sudo] password for pm:
    parsing options: username=*****,password=*****,iocharset=utf8,uid=1 000,gid=1000,nounix,file_mode=0555,dir_mode=0555

    mount.cifs kernel mount options unc=//pmde1505\receive,ip=192.168.1.80,ver=1,username=** **,password=*****,iocharset=utf8,nounix,file_mode= 0555,dir_mode=0555,uid=1000,gid=1000

    ls of subject directory.....

    pm:~$ ls -l /mnt/pmde1505/receive/dell
    total 31524
    dr-xr-xr-x 1 pm pm 0 2008-01-31 00:17 080131
    -r-xr-xr-x 1 pm pm 32279040 2008-01-30 23:48 dell_support_center.msi
    pm:~$


    above file was copied.
    copy of msi file .....

    pm:~$ cp -v /mnt/pmde1505/receive/dell/dell_support_center.msi /home/pm
    `/mnt/pmde1505/receive/dell/dell_support_center.msi' -> `/home/pm/dell_support_center.msi'
    pm:~$


    ls of second subject directory ......

    pm:~$ ls -l /mnt/pmde1505/receive/dell/080131
    total 62416
    -r-xr-xr-x 1 pm pm 2428008 2008-01-31 00:14 R114200.EXE
    -r-xr-xr-x 1 pm pm 35980120 2008-01-31 00:16 R127314.EXE
    -r-xr-xr-x 1 pm pm 5696560 2008-01-31 00:17 R142470.EXE
    -r-xr-xr-x 1 pm pm 15086968 2008-01-31 00:11 R157449_MediaDirect_3_Patch.exe
    -r-xr-xr-x 1 pm pm 2589392 2008-01-31 00:14 R90851.EXE
    -r-xr-xr-x 1 pm pm 761301 2008-01-31 00:13 SDVD8820_AD20_Philips.zip
    -r-xr-xr-x 1 pm pm 1359471 2008-01-31 00:13 TS-L632H_D300.zip
    pm:~$

    Attempted copy of exe file .....

    pm:~$ cp -v /mnt/pmde1505/receive/dell/080131/R114200.EXE /home/pm
    `/mnt/pmde1505/receive/dell/080131/R114200.EXE' -> `/home/pm/R114200.EXE'
    cp: cannot open `/mnt/pmde1505/receive/dell/080131/R114200.EXE' for reading: Permission denied
    pm:~$
    95% switched to Ubuntu
    Hardy 8.04 running on an old Dell Dimension
    House full of Windows boxes for rest of family

Page 100 of 137 FirstFirst ... 50909899100101102110 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •