Page 104 of 137 FirstFirst ... 45494102103104105106114 ... LastLast
Results 1,031 to 1,040 of 1362

Thread: Mount samba shares with utf8 encoding using cifs

  1. #1031
    Join Date
    Apr 2007
    Location
    Canberra
    Beans
    63
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Mount samba shares with utf8 encoding using cifs

    Many thanks to you for creating this howto. Can we promote it to a STICKY, please?
    Ubuntu @ Asus eee-pc 1000
    Ubuntu @ generic PC
    OS/X @ mac

  2. #1032
    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 adonet View Post
    The output is:
    That all looks good. What are the permissions of the sub folders?
    Code:
    ls -la /media/netwerkdrive/Foto

  3. #1033
    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 richardh9936 View Post
    Many thanks to you for creating this howto. Can we promote it to a STICKY, please?
    If we stickied all the tutorials which deserve it, there would be several pages of stickies, and that would defeat the purpose.

    Thanks for the vote of confidence though

  4. #1034
    Join Date
    Aug 2005
    Location
    Fargo, ND, USA
    Beans
    1,499
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: Mount samba shares with utf8 encoding using cifs

    CIFS VFS: Server not responding error needs a bit different fix [in Jaunty].
    Why is that? It doesn't seem right to do it in the GDM shutdown. Just because GDM quits doesn't mean I'm rebooting the machine. Also, it won't work if I'm using KDM or another DM. Wouldn't the same effect be achieved if you put the rc symlink before the gdm/kdm one? Finally, the correct way to edit those symlinks is through update-rc.d.

    Code:
    sudo update-rc.d -f umountnfs.sh remove
    sudo update-rc.d umountnfs.sh start 15 0 6 .
    Sorry if this has already been addressed, but I'm not reading >100 pages in this thread.
    Help yourself: Search the community docs or try other resources.
    Quote Originally Posted by Henry Spencer
    Those who do not understand Unix are condemned to reinvent it, poorly.
    Let science use your computer when you aren't: Folding@Home.

  5. #1035
    Join Date
    Oct 2007
    Location
    Netherlands, Amstelveen
    Beans
    77
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Mount samba shares with utf8 encoding using cifs

    Quote Originally Posted by dmizer View Post
    That all looks good. What are the permissions of the sub folders?
    Code:
    ls -la /media/netwerkdrive/Foto
    The permissions of subfolder Foto is this:

    ls -la /media/netwerkdrive/Foto
    totaal 4754
    drwxrwxrwx 1 mint7 mint7 0 2009-05-09 03:19 .
    drwxrwxrwx 1 mint7 mint7 0 2009-05-09 03:31 ..
    drwxrwxrwx 1 mint7 mint7 0 2009-05-08 18:28 afdrukken
    -rwxrwxrwx 1 mint7 mint7 5 2008-04-12 22:41 .conduit.conf
    drwxrwxrwx 1 mint7 mint7 0 2009-05-08 18:49 Download
    drwxrwxrwx 1 mint7 mint7 0 2009-05-08 18:43 Foto-familie
    drwxrwxrwx 1 mint7 mint7 0 2009-05-08 18:31 Foto's
    drwxrwxrwx 1 mint7 mint7 0 2009-05-08 18:50 Foto-vrienden
    drwxrwxrwx 1 mint7 mint7 0 2009-05-08 18:50 Negatieven
    drwxrwxrwx 1 mint7 mint7 0 2009-05-08 18:50 _SYNCAPP
    -rwxrwxrwx 1 mint7 mint7 4860042 2009-07-26 17:28 .synkron.syncdb
    drwxrwxrwx 1 mint7 mint7 0 2009-07-27 22:44 test
    -rwxrwxrwx 1 mint7 mint7 7168 2008-03-28 23:23 Thumbs.db

  6. #1036
    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 jpkotta View Post
    Why is that? It doesn't seem right to do it in the GDM shutdown. Just because GDM quits doesn't mean I'm rebooting the machine. Also, it won't work if I'm using KDM or another DM. Wouldn't the same effect be achieved if you put the rc symlink before the gdm/kdm one? Finally, the correct way to edit those symlinks is through update-rc.d.

    Code:
    sudo update-rc.d -f umountnfs.sh remove
    sudo update-rc.d umountnfs.sh start 15 0 6 .
    Sorry if this has already been addressed, but I'm not reading >100 pages in this thread.
    Because Jaunty's network is managed by "network-manager" which only works in userspace, not in the system. That means you only have a network connection when you are logged in, so if you are logging off you are terminating your network connection (and therefore your connection to your shares as well). Because of that, the system links don't work as shown multiple times in this thread: http://ubuntuforums.org/showthread.php?t=293513

    Here is a debian bug report that mentions this problem: http://www.nabble.com/CIFS-VFS:-serv...d23443702.html
    Do you have network-manager installed? If you have it could cause the
    problem. Init script for shutting down network-manager has higher
    priority than umountnfs.sh script that unmounts network filesystems like
    nfs/cifs. Solution is to not use network-manager (tested) or modify
    network-manager script to require umount network filesystems before it
    shuts down (not tested)
    KDE fix is mentioned here: http://ubuntuforums.org/showpost.php...&postcount=934. I admit that it's buried. I'll update the main post with a link to that.

    If you're using another DM, then you're probably not using network-manager to manage your network, and the first fix will work fine.

    Why is
    Code:
    sudo update-rc.d -f umountnfs.sh remove
    sudo update-rc.d umountnfs.sh start 15 0 6 .
    more correct than
    Code:
    ln -s /etc/init.d/umountnfs.sh /etc/rc0.d/K15umountnfs.sh
    ln -s /etc/init.d/umountnfs.sh /etc/rc6.d/K15umountnfs.sh
    Last edited by dmizer; August 1st, 2009 at 11:14 PM.

  7. #1037
    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 adonet View Post
    The permissions of subfolder Foto is this:
    Assuming that your Ubuntu user name is mint7, then all your permissions look correct. You should take a close look at how the shares are set up on the NAS, especially considering you're having the same problem with GVFS: http://ubuntuforums.org/showpost.php...5&postcount=33
    Last edited by dmizer; August 1st, 2009 at 11:23 PM.

  8. #1038
    Join Date
    Oct 2007
    Location
    Netherlands, Amstelveen
    Beans
    77
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Mount samba shares with utf8 encoding using cifs

    Quote Originally Posted by dmizer View Post
    Assuming that your Ubuntu user name is mint7, then all your permissions look correct. You should take a close look at how the shares are set up on the NAS, especially considering you're having the same problem with GVFS: http://ubuntuforums.org/showpost.php...5&postcount=33
    My login name is mint7 indeed.
    Using GVFS gives me the same troubles.

    In my NAS setup I find this:
    Host Name FND
    Group Name VLAS
    Administrator admin
    Date/Time 2009/08/02 13:38:24 GMT1
    Language
    Firmware Version NAS2891-009B2 LOADER 3.2
    Status - Network Information
    IP Address 192.168.2.11
    DHCP Server OFF
    The SMB doesn't require any login or password for one shared Map on this drive.

    And when I try to access this share from a winXP machine it all works OK.
    Last edited by adonet; August 2nd, 2009 at 12:54 PM.

  9. #1039
    Join Date
    Aug 2005
    Location
    Fargo, ND, USA
    Beans
    1,499
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: Mount samba shares with utf8 encoding using cifs

    Quote Originally Posted by dmizer View Post
    Because Jaunty's network is managed by "network-manager" which only works in userspace, not in the system. That means you only have a network connection when you are logged in, so if you are logging off you are terminating your network connection (and therefore your connection to your shares as well).
    Fair enough. I use wicd. IMHO, network should be independent of the GUI, but if that's how they did it, then that's how they did it.

    Quote Originally Posted by dmizer View Post
    Why is
    Code:
    sudo update-rc.d -f umountnfs.sh remove
    sudo update-rc.d umountnfs.sh start 15 0 6 .
    more correct than
    Code:
    ln -s /etc/init.d/umountnfs.sh /etc/rc0.d/K15umountnfs.sh
    ln -s /etc/init.d/umountnfs.sh /etc/rc6.d/K15umountnfs.sh
    http://www.debian.org/doc/debian-pol...#s-/etc/init.d
    Help yourself: Search the community docs or try other resources.
    Quote Originally Posted by Henry Spencer
    Those who do not understand Unix are condemned to reinvent it, poorly.
    Let science use your computer when you aren't: Folding@Home.

  10. #1040
    Join Date
    May 2005
    Location
    Kennesaw, GA
    Beans
    48
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Mount samba shares with utf8 encoding using cifs

    Another Me Too on thanks for the tutorial. I have Windows 7 running on an extra machine on my home office LAN and the Ubuntu machine has been the only one which couldn't see the Win7 shares. I've now got it permanently mounted with no errors. I've got your tutorial bookmarked.

Page 104 of 137 FirstFirst ... 45494102103104105106114 ... 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
  •