Page 62 of 137 FirstFirst ... 1252606162636472112 ... LastLast
Results 611 to 620 of 1362

Thread: Mount samba shares with utf8 encoding using cifs

  1. #611
    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 Chewiesw View Post
    Thanks for the great guide, I have manged to mount everything I need. My only problem is that my network connection is a little slow. I am using a wireless connections that activates using a script in the .rc file, which I presume executes after the fstab file, so my shares won't mount until I run the mount -a cmd. Is there antway I can automate this mount -a cmd so I don't have to do it manually everytime ?
    edit /etc/rc.local
    Code:
    sudo nano /etc/rc.local
    add this line:
    Code:
    mount -a
    on a new line after your wireless script.

    save the file, and that should remedy your problem.

  2. #612
    Join Date
    May 2005
    Location
    Melbourne, Australia
    Beans
    30
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Mount samba shares with utf8 encoding using cifs

    Hello, I hope I am in the right place. I have followed the initial instructions at the start of this post and got to "sudo mount -a" with the following result

    "mount error: could not find target server. TCP name bernie-vista/music not found
    No ip address specified and hostname not found"

    I wasn't sure what to do next and read on to "smbtree" This produced

    "WORKGROUP
    \\MATT-PC
    cli_rpc_pipe_open: cli_nt_create failed on pipe \srvsvc to machine MATT-PC. Error was NT_STATUS_ACCESS_DENIED
    \\MAIN Main
    \\MAIN\Printer Intuit Internal Printer
    \\MAIN\Printer2 Change save options with Printer Properties.
    \\MAIN\operate sys
    \\MAIN\Printer5 Canon MF4200 Series UFRII LT
    \\MAIN\Printer4 hp deskjet 3820 series (Copy 1)
    \\MAIN\Printer6 Canon MF4200 Series (FAX)
    \\MAIN\SharedDocs
    \\MAIN\print$ Printer Drivers
    \\MAIN\IPC$ Remote IPC
    \\BERNIE-VISTA
    \\BERNIE-VISTA\Public
    \\BERNIE-VISTA\print$ Printer Drivers
    \\BERNIE-VISTA\PageManager PDF Writer Change save options with Printer Properties.
    \\BERNIE-VISTA\Music Located on Vista PC as G: Drive
    \\BERNIE-VISTA\J$ Default share
    \\BERNIE-VISTA\IPC$ Remote IPC
    \\BERNIE-VISTA\I$ Default share
    \\BERNIE-VISTA\H$ Default share
    \\BERNIE-VISTA\G$ Default share
    \\BERNIE-VISTA\F$ Default share
    \\BERNIE-VISTA\Canon MF4200 Series UFRII LT Canon MF4200 Series UFRII LT
    \\BERNIE-VISTA\Canon MF4200 Series (FAX) Canon MF4200 Series (FAX)
    \\BERNIE-VISTA\C$ Default share
    \\BERNIE-VISTA\ADMIN$ Remote Admin
    \\BERNIE-MINT Samba 3.0.28a
    \\BERNIE-MINT\IPC$ IPC Service (Samba 3.0.28a)"

    I am not concerned about 'MATT" and 'MAIN" appears to do what I want but 'BERNI-VISTA" is still causing problems and I have no idea where to go from here. Can anybody point me in the right direction?

  3. #613
    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

    Linux is case sensitive, so bernie-vista/music is not the same as bernie-vista/Music

    try capitalizing Music in your fstab line and see if you're able to connect then.

  4. #614
    Join Date
    May 2005
    Location
    Melbourne, Australia
    Beans
    30
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Mount samba shares with utf8 encoding using cifs

    Thanks for the quick reply dmizer but I still get exactly the same messages. Is there something else I can try?

  5. #615
    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 Bernie01 View Post
    Thanks for the quick reply dmizer but I still get exactly the same messages. Is there something else I can try?
    humm, i was pretty sure that would fix things for you.

    did you configure winbind as outlined under "prework"? are you using any kind of firewall?

    can you post your fstab line please?

  6. #616
    Join Date
    May 2005
    Location
    Melbourne, Australia
    Beans
    30
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Mount samba shares with utf8 encoding using cifs

    I have managed to crash my system and have only just completed reinstalling. I will rework your guide and then post my fstab file.

    Interestingly the LiveCD will read Bernie-Vista but not the installed version. Even the fresh instal

  7. #617
    Join Date
    May 2005
    Location
    Melbourne, Australia
    Beans
    30
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Mount samba shares with utf8 encoding using cifs

    My system is rebuilt and I have reworked your guide. Here is my fstab file

    # /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    # /dev/sda2
    UUID=8fb6e396-2fe0-4b44-a1ae-9578310d597b / ext3 relatime,errors=remount-ro 0 1
    # /dev/sda4
    UUID=09A8-7D8D /windows vfat utf8,umask=007,gid=46 0 1
    # /dev/sda1
    UUID=6771186a-124d-06b3-ec58-3965eb7d0248 none swap sw 0 0
    /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
    //BERNIE-VISTA/vista-data /media/vista-data cifs guest,rw,iocharset=utf8,file_mode=0777,dir_mode=07 77 0 0

    My current error message is

    "sudo mount -asudo gedit
    mount: wrong fs type, bad option, bad superblock on //BERNIE-VISTA/vista-data,

    missing codepage or helper program, or other error

    (for several filesystems (e.g. nfs, cifs) you might

    need a /sbin/mount.<type> helper program)

    In some cases useful info is found in syslog - try

    dmesg | tail or so
    "

    I have run dmesg | tail and the result from that is:-

    "dmesg | tail

    [ 132.929786] usb-storage: device scan complete

    [ 132.936801] scsi 4:0:0:0: Direct-Access General Flash Disk Drive 3.10 PQ: 0 ANSI: 2

    [ 132.943785] scsi 4:0:0:1: Direct-Access General Flash Disk Drive 3.10 PQ: 0 ANSI: 2

    [ 132.954806] sd 4:0:0:0: [sdb] Attached SCSI removable disk

    [ 132.954872] sd 4:0:0:0: Attached scsi generic sg2 type 0

    [ 132.965795] sd 4:0:0:1: [sdc] Attached SCSI removable disk

    [ 132.965854] sd 4:0:0:1: Attached scsi generic sg3 type 0

    [ 1741.059360] cdrom: This disc doesn't have any tracks I recognize!

    [ 2635.248028] CIFS VFS: No username specified

    [ 2635.248038] CIFS VFS: cifs_mount failed w/return code = -22
    "

    which means nothing at all to me.

    Am I getting anywhere with this?

  8. #618
    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

    try this:
    Code:
    sudo aptitude install smbfs
    then retry your mount and see if you still get the same error.

  9. #619
    Join Date
    May 2005
    Location
    Melbourne, Australia
    Beans
    30
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Mount samba shares with utf8 encoding using cifs

    Thankyou dmizer it all works now. I had installed smbfs previously but as soon as I installed it again everything worked.

    It is fantastic to be able to access such assistance and patience as can be ound on this forum

    Thankyou again.

    Cheers, Bernie

  10. #620
    Join Date
    May 2008
    Beans
    106

    Re: Mount samba shares with utf8 encoding using cifs

    Still getting the "mount error 13 = Permission denied" error message when I'm using this in fstab:

    //192.168.0.100/fred /media/fred cifs credentials=/root/.smbcredentials,rw,nounix,iocharset=utf8,file_mode =0777,dir_mode=0777 0 0

    I try to connect to share from windows servers.
    I use a credential file with username='user name'
    password='pass word'

    The user have administrative rights and can access everything from a windows xp machine.

    thanks

Page 62 of 137 FirstFirst ... 1252606162636472112 ... 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
  •