Page 15 of 137 FirstFirst ... 513141516172565115 ... LastLast
Results 141 to 150 of 1362

Thread: Mount samba shares with utf8 encoding using cifs

  1. #141
    Join Date
    Nov 2006
    Beans
    111
    Distro
    Ubuntu 6.10 Edgy

    Re: Mount samba shares with utf8 encoding using cifs

    root@r00t-suck-on-that:/home/r00t-fck# smbtree
    Password:
    WORKGROUP
    \\XYZ-8FB08C0E596
    cli_start_connection: failed to connect to XYZ-8FB08C0E596<20> (0.0.0.0)
    \\XP
    cli_start_connection: failed to connect to XP<20> (0.0.0.0)
    \\SUDHA-16B0C4B5D
    \\RUMEL01
    cli_start_connection: failed to connect to RUMEL01<20> (0.0.0.0)
    \\RAB-E103633FC51
    cli_start_connection: failed to connect to RAB-E103633FC51<20> (0.0.0.0)
    \\PUSPO
    \\NIPUN
    \\NIPUN\L$ Default share
    \\NIPUN\J$ Default share
    \\NIPUN\Printer Canon S200SP
    \\NIPUN\C$ Default share
    \\NIPUN\ADMIN$ Remote Admin
    \\NIPUN\F$ Default share
    \\NIPUN\M$ Default share
    \\NIPUN\G$ Default share
    \\NIPUN\K$ Default share
    \\NIPUN\I$ Default share
    \\NIPUN\SharedDocs
    \\NIPUN\print$ Printer Drivers
    \\NIPUN\D$ Default share
    \\NIPUN\IPC$ Remote IPC
    \\NIPUN\E$ Default share
    \\MERAJ
    cli_start_connection: failed to connect to MERAJ<20> (0.0.0.0)
    \\LUCKY-9EAC2AD7E
    cli_start_connection: failed to connect to LUCKY-9EAC2AD7E<20> (0.0.0.0)
    \\KHADEM7-577EA85
    cli_start_connection: failed to connect to KHADEM7-577EA85<20> (0.0.0.0)
    \\ICED Mudvayne's PC
    \\HELLO-841DE0ECD
    cli_start_connection: failed to connect to HELLO-841DE0ECD<20> (0.0.0.0)
    \\FAHMID-C6A009D1
    cli_start_connection: failed to connect to FAHMID-C6A009D1<20> (0.0.0.0)
    \\DK-R0BJCB4G659X
    \\CORPORAT-444C9B
    cli_start_connection: failed to connect to CORPORAT-444C9B<20> (0.0.0.0)
    \\CELL-XQC6XYS624
    cli_start_connection: failed to connect to CELL-XQC6XYS624<20> (0.0.0.0)
    \\BRIGHT-1A0846E4
    cli_start_connection: failed to connect to BRIGHT-1A0846E4<20> (0.0.0.0)
    \\ARAFIN
    timeout connecting to 192.168.8.60:445
    timeout connecting to 192.168.8.60:139
    Error connecting to 192.168.8.60 (Operation already in progress)
    cli_start_connection: failed to connect to ARAFIN<20> (192.168.8.60)
    \\ALANGIR-89DF279
    cli_start_connection: failed to connect to ALANGIR-89DF279<20> (0.0.0.0)
    MULTI
    \\PC7
    cli_start_connection: failed to connect to PC7<20> (0.0.0.0)
    \\PC5
    cli_start_connection: failed to connect to PC5<20> (0.0.0.0)
    \\PC4
    cli_start_connection: failed to connect to PC4<20> (0.0.0.0)
    \\PC3
    cli_start_connection: failed to connect to PC3<20> (0.0.0.0)
    \\PC2
    cli_start_connection: failed to connect to PC2<20> (0.0.0.0)
    \\PC1
    cli_start_connection: failed to connect to PC1<20> (0.0.0.0)
    \\MSERVER
    \\MSERVER\700
    \\MSERVER\C$ Default share
    \\MSERVER\ADMIN$ Remote Admin
    \\MSERVER\F$ Default share
    \\MSERVER\print$ Printer Drivers
    \\MSERVER\D$ Default share
    \\MSERVER\IPC$ Remote IPC
    \\MSERVER\EPSONLQ-300 EPSON LQ-300+ ESC/P 2
    \\MSERVER\E$ Default share
    MSHOME
    \\R00T-SUCK-ON-THA r00t-suck-on-that server (Samba, Ubuntu)
    \\R00T-SUCK-ON-THA\ADMIN$ IPC Service (r00t-suck-on-that server (Samba, Ubuntu))
    \\R00T-SUCK-ON-THA\IPC$ IPC Service (r00t-suck-on-that server (Samba, Ubuntu))
    \\R00T-SUCK-ON-THA\print$ Printer Drivers
    \\EXCELSIOR
    timeout connecting to 192.168.8.15:445
    timeout connecting to 192.168.8.15:139
    Error connecting to 192.168.8.15 (Operation already in progress)
    cli_start_connection: failed to connect to EXCELSIOR<20> (192.168.8.15)
    MONTESORY
    MICROSOFTBD
    \\GOOGLECAFP
    HB
    \\BANNA


    any idea? i getting error
    cli_start_connection: failed to connect to "NETBIOS"
    Ubuntu 6.10 edgy user
    i love ubuntu.and i am learning it now.

  2. #142
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,361
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Mount samba shares with utf8 encoding using cifs

    hello pavel_kbc, sorry for my delay. i've been quite busy at work.

    looks like you have a fair number of computers in your network, as well as several domains. which one of those multitude are you trying to connect to?

  3. #143
    Join Date
    Dec 2006
    Location
    Melbourne, Australia
    Beans
    431

    Question Re: Mount samba shares with utf8 encoding using cifs

    Thank you for this guide.

    After editing fstab and using the mount command i get the following:


    rob@ubuntu:~$ sudo nano /etc/fstab
    rob@ubuntu:~$ sudo mount -a
    mount: mount point cifs does not exist
    rob@ubuntu:~$

    My fsaab is:
    # /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    # /dev/hda1
    UUID=2bf4580d-fb6a-4f9c-ac34-4e09c86370a0 / ext3 defaults,errors=remount-ro 0 1
    # /dev/hda3
    UUID=caa16d69-0146-4972-91e9-53d9a27f78cb /var xfs defaults 0 2
    # /dev/hda2
    UUID=d9143452-7712-41dd-a14c-ef9495825d72 none swap sw 0 0
    /dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
    //robs./TVCapture/media/sharename cifs guest,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0


    The network is as follows:

    I have a pc with Edgy installed named Ubuntu and a second pc with Win XP home named robs and a shared folder with the share name TVCapture they are connected via a router and both can access the internet.

    The XP machine has a Zone alarm firewall that is configured to put the Ubuntu machine in the trusted zone. Turning off Zonealarm has the same result to sudo mount -a

    I have some doubt as to whether the XP machuine is robs. or robs without the "." so I have tried both with the same result. I thought it was robs which is what is in Computer Description but after Full computer name: it has the "."

    Another part of the confusion is what I get from smbtree:

    rob@ubuntu:~$ smbtree
    Password:
    ERLANDER
    \\UBUNTU Samba 3.0.22
    \\UBUNTU\BJC-8200 Canon i865 Local
    \\UBUNTU\Canoni865 Canon_i865
    \\UBUNTU\ADMIN$ IPC Service (Samba 3.0.22)
    \\UBUNTU\IPC$ IPC Service (Samba 3.0.22)
    \\UBUNTU\rob
    \\UBUNTU\print$
    \\UBUNTU\homes
    \\ROBS Robs
    \\ROBS\BJC-8200 Canon i865 Local
    \\ROBS\Canoni865 Canon_i865
    \\ROBS\ADMIN$ IPC Service (Samba 3.0.22)
    \\ROBS\IPC$ IPC Service (Samba 3.0.22)
    \\ROBS\rob
    \\ROBS\print$
    \\ROBS\homes
    rob@ubuntu:~$

    What is showing up under ROBS are the shared files and devices on the Ubuntu machine as shown on the XP but no XP files or devices!!!!

    I can copy files from the xp machine to the Ubuntu as the XP machine sees the Ubuntu but the Ubuntu cannot see into the XP but will ping it!!!!

    Any assistance will be gratefully accepted.

    Rob

  4. #144
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,361
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Mount samba shares with utf8 encoding using cifs

    okay ... well, there are several issues here. first of all, it doesn't look like you have xp set up to share the tvcapture folder. you'll have to right click on it and select properties and set the share permissions correctly.

    second, robs does not have a period after it.

    third, there needs to be a space between the server part of the fstab mount line, and the client side of the mount line. or in other words like so:
    //robs/tvcapture /media/sharename

    fourth, did you actually create a folder in /media named "sharename"? my media folder looks like this:
    Code:
    /media$ ls
    cdrom  cdrom0  floppy  floppy0  server  tokkyu
    where both "server" and "tokkyu" are other computers that i mount shares into. so when the i see the folder on my desktop, it is named something relevant to my server so, at a glance, i can recognize which folder belongs to which machine.

    but really, the main part of the issue here is that windows does not appear to be set up correctly. check networking to make sure that file and printer sharing is enabled.

  5. #145
    Join Date
    Dec 2005
    Location
    Italy
    Beans
    216
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Mount samba shares with utf8 encoding using cifs

    dmizer, why should we use cifs instead of old plain smbfs??

    I actually don't know the difference between the two, but with smbfs (same commands you wrote in the howto) I get full access (read and write) while with cifs I can't write to the shared folder. The server is a win XP machine.

    Thanks,

  6. #146
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,361
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Mount samba shares with utf8 encoding using cifs

    multiple reasons which i tried to list on the first page.

    first and foremost, cifs is faster and more stable (network traffic wise).
    second, cifs will be replacing smbfs soon, so eventually we won't have a choice.
    third, (and most importantly for me) i could make cifs handle japanese file names in mounted shares.

    cifs is a better way of dealing with mounting samba shares. if you do not get write access with cifs, then there's probably something we can do to correct that either by changing the permissions on the mounted folder, or by taking a look at your mount commands. but if it's working satisfactorally for ya, there's no real immediate need for a switch.

    smbfs does not meet my needs, but that doesn't mean smbfs can't meet yours.

  7. #147
    Join Date
    Dec 2006
    Location
    Melbourne, Australia
    Beans
    431

    Re: Mount samba shares with utf8 encoding using cifs

    Dmizer,

    Thank you for your advice.

    1. Sharing on the XP machine. I suspect the problem here is in Win XP Home. I have several folders and a printer shared. We also have a laptop running Win XP Pro that is also on the network when it is turned on. It can browse the shared files on the Win XP Home machine and use the printer.

    From the Ubuntu machine I can browse the laptops shared files but cannot browse the Win XP Home machine. The XP Home machine does have Zonealarm installed but even when I turn it off Ubuntu still cannot access the shared folders. I have read on the Microsoft Knowledge base that Home has a cutdown version of file and printer sharing. I know there are people on these forums who have networked a XP Home machine with a Ubuntu and would dearly love to know how.

    2. Have removed the period.

    3. I have inserted the space in the fstab mount line.

    4. Very silly of me. I hadn't created that folder. Have amended fstab to point it to a folder that does exist.

    The mount command now gives this error:

    rob@ubuntu:~$ sudo mount -a
    Password:
    retrying with upper case share name
    mount error 6 = No such device or address
    Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
    rob@ubuntu:~$

    I need to stay with Windoze for a while due to the investment I have in software particularly in video, image & sound editing and until I understand Ubuntu better. If necessary I will buy XP Pro to overcome this problem but would rather not.

    Thank you.

    Rob

  8. #148
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,361
    Distro
    Ubuntu 11.04 Natty Narwhal

  9. #149
    Join Date
    Dec 2005
    Location
    Italy
    Beans
    216
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Mount samba shares with utf8 encoding using cifs

    Quote Originally Posted by dmizer View Post
    multiple reasons which i tried to list on the first page.

    first and foremost, cifs is faster and more stable (network traffic wise).
    second, cifs will be replacing smbfs soon, so eventually we won't have a choice.
    third, (and most importantly for me) i could make cifs handle japanese file names in mounted shares.
    ok, thanks for the explanation.

    Quote Originally Posted by dmizer View Post
    smbfs does not meet my needs, but that doesn't mean smbfs can't meet yours.
    So far I could not setup cifs to meet my needs, if I can solve this I would gladly switch

    Quote Originally Posted by dmizer View Post
    cifs is a better way of dealing with mounting samba shares. if you do not get write access with cifs, then there's probably something we can do to correct that either by changing the permissions on the mounted folder, or by taking a look at your mount commands. but if it's working satisfactorally for ya, there's no real immediate need for a switch.
    I explain my setup so that you can help troubleshoot the problem that normal users don't get write access to the share.

    The server "Z2" is a winxp pro machine, with a shared folder named "condi" in read/write access with no password (I just use it to pass stuff from one comp to the other).

    Code:
    matteo@burnt:~$ smbtree 
    Password: 
    ZCASA
            \\Z2             
                    \\Z2\C$                 Condivisione predefinita
                    \\Z2\ADMIN$             Amministrazione remota
                    \\Z2\F              
                    \\Z2\iso            
                    \\Z2\Stampante          Epson Stylus COLOR 740 ESC/P
                    \\Z2\Zip            
                    \\Z2\print$             Driver della stampante
                    \\Z2\D$                 Condivisione predefinita
                    \\Z2\IPC$               IPC remoto
                    \\Z2\condi          
            \\BURNT                         ubuntu
                    \\BURNT\ADMIN$          IPC Service (ubuntu)
                    \\BURNT\IPC$            IPC Service (ubuntu)
                    \\BURNT\share           shared stuff
    MSHOME
    Code:
    matteo@burnt:~$ ping z2
    PING z2 (192.168.1.2) 56(84) bytes of data.
    64 bytes from 192.168.1.2: icmp_seq=1 ttl=128 time=0.262 ms
    64 bytes from 192.168.1.2: icmp_seq=2 ttl=128 time=0.249 ms
    
    --- z2 ping statistics ---
    2 packets transmitted, 2 received, 0% packet loss, time 999ms
    rtt min/avg/max/mdev = 0.249/0.255/0.262/0.017 ms
    Code:
    matteo@burnt:~$ cat /etc/fstab
    # /etc/fstab: static file system information.
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    proc            /proc           proc    defaults        0       0
    # /dev/sda3 -- converted during upgrade to edgy
    UUID=853a9cf6-d4c2-474f-8384-0b33ae57923d / ext3 defaults,errors=remount-ro 0 1
    # /dev/sda7 -- converted during upgrade to edgy
    UUID=df93ad94-ef99-4b4a-96c2-e752d2b42f1d /media/linux2 ext3 defaults 0 2
    # /dev/sda6 -- converted during upgrade to edgy
    UUID=D48C60BD8C609C2C /media/secondo ntfs defaults,nls=utf8,umask=007,gid=46 0 1
    # /dev/sda1 -- converted during upgrade to edgy
    UUID=9EA03185A03164C5 /media/windows ntfs defaults,nls=utf8,umask=007,gid=46 0 1
    # /dev/sda5 -- converted during upgrade to edgy
    UUID=a914c6c8-9d28-47e3-b45a-f0cdba1e55a7 none swap sw 0 0
    /dev/scd0       /media/cdrom0   udf,iso9660 user,noauto     0       0
    #//192.168.1.2/condi /media/condisuz2 smbfs defaults,username=defaults,password=defaults,gid=46 0 0
    #//netbiosname/sharename /media/sharename cifs guest,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
    //z2/condi /media/condisuz2 cifs guest,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
    Code:
    matteo@burnt:~$ vdir /media/condisuz2/
    total 5.7G
    -rwxrwxrwx 1 root root 5.7G 2006-10-22 12:53 backup-burnt-2006-10-22_11-40.tgz
    drwxrwxrwx 1 root root 4.0K 2006-12-02 16:07 cs
    -rwxrwxrwx 1 root root   35 2006-09-24 14:03 prova2.txt
    -rwxrwxrwx 1 root root  156 2006-09-24 14:06 prova.tar.bz2
    -rwxrwxrwx 1 root root   29 2006-09-24 14:00 prova.txt
    matteo@burnt:~$ cp /home/matteo/Desktop/ValueatRisk.doc /media/condisuz2/
    matteo@burnt:~$ rm /media/condisuz2/ValueatRisk.doc 
    matteo@burnt:~$ vdir /media/condisuz2/
    total 5.7G
    -rwxrwxrwx 1 root root 5.7G 2006-10-22 12:53 backup-burnt-2006-10-22_11-40.tgz
    drwxrwxrwx 1 root root 4.0K 2006-12-02 16:07 cs
    -rwxrwxrwx 1 root root   35 2006-09-24 14:03 prova2.txt
    -rwxrwxrwx 1 root root  156 2006-09-24 14:06 prova.tar.bz2
    -rwxrwxrwx 1 root root   29 2006-09-24 14:00 prova.txt
    hum.. ok now it works, this is strange. You know it is very good to post on the forums because when you're trying to solve a problem, very soon you enter a "frenzy" state where you do "trial and error" and you stop thinking.. now everything is clear, cifs works. Ok, I'll keep posting if stops workings.

    Thanks for the help

  10. #150
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,361
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Mount samba shares with utf8 encoding using cifs

    lol ... good to see you got it sorted.

Page 15 of 137 FirstFirst ... 513141516172565115 ... 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
  •