Results 1 to 11 of 11

Thread: Bugs FTP, Samba server

  1. #1

    Bugs FTP, Samba server

    Hi, Oleg. I am fing two bugs in firmware version 1.9.2.7-5a and before version.
    Do not copy to FTP server and Samba file server files with Czech characters code.
    Example: ěščřžýáíé.rar
    When copy file exaple: escryaie.rar, this copy it is OK!
    Please update this firmware.
    Thank you very mutch!
    unreal1024@seznam.cz
    ftp://194.228.5.3/jnovak/0.jpg ftp://194.228.5.3/jnovak/1.jpg ftp://194.228.5.3/jnovak/2.jpg ftp://194.228.5.3/jnovak/3.jpg

  2. #2
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    You've to manualy configure nvram options to fix this. I've no idea which codepage is used in Czech Republic, so someone else (probably engy) should post correct settings. For the Russian cp1251 I use these commands:

    Code:
    nvram set usb_vfat_options=codepage=866,iocharset=cp1251
    nvram set usb_smbcpage_x=866
    nvram set usb_smbcset_x=1251
    nvram commit

  3. #3

    Talking

    It is possible implement this change Czech, English, Rusian characters in the new version firmware?

    Your code is working!

    For Czech republic is this code:
    =======================
    nvram set usb_vfat_options=codepage=852,iocharset=cp1250
    nvram set usb_smbcpage_x=852
    nvram set usb_smbcset_x=1250
    nvram commit


    Internationals Code page

    Thank you very mutch for your help.
    Sorry, but i am not good speaker in english language.

  4. #4

    Configure samba for three users

    Hi Oleg, please help me, STEP-BY-STEP.
    I am using WL-500gx with firmware version 1.9.2.7-5a.
    I am need configure samba server for three users.
    I have extrenal usb hdd mounted /usr/tmp/harddisk/
    I am need configure three users:
    user1 with password1 access to directory read/write to /usr/tmp/harddisk/user1
    user2 with password2 access to directory read/write to /usr/tmp/harddisk/user2
    user3 with password3 access to directory only read to /usr/tmp/harddisk/user1 and /usr/tmp/harddisk/user2

    Thanks for your help!!!
    unreal1024@seznam.cz

  5. #5

    How can I give back original setting?

    Quote Originally Posted by Oleg
    You've to manualy configure nvram options to fix this. I've no idea which codepage is used in Czech Republic, so someone else (probably engy) should post correct settings. For the Russian cp1251 I use these commands:

    Code:
    nvram set usb_vfat_options=codepage=866,iocharset=cp1251
    nvram set usb_smbcpage_x=866
    nvram set usb_smbcset_x=1251
    nvram commit
    I tried Oleg's setting (with Josef's Czech modification) and it really works. Samba is now shortening all file names. But that is not what I want.
    How can I return to the original setting?
    My problem is that some files containing Czech letters were not possible to copy on Samba disk. I hoped to solve this problem by this code but the reason is shortening, not correct displaying (submining) by Samba.
    Thanks in advance

  6. #6
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    Code:
    nvram unset usb_vfat_options
    nvram unset usb_smbcpage_x
    nvram unset usb_smbcset_x
    nvram commit

  7. #7
    Join Date
    Feb 2007
    Location
    CzechRep
    Posts
    151

    samba & codepage problem

    I have the same problem as Ondřej;
    filenames are shorter and without Czech symbols ěščřžďťň and corresponding upper case symbols ĚŠČŘŽĎŤŇ. Any idea? (cp1250,852; Samba2)

  8. #8
    Join Date
    Feb 2007
    Location
    CzechRep
    Posts
    151

    Samba čeština

    I have installed Samba 3 and there is a similar problem. Czech symbols aren't displayed correctly (filenames of my old data on my external disc). I can rename it manually and then I can see ěščřž... but it isn't solution.
    System Fat32 (I cannot use ext3 at this moment) .
    I tried (in smb.conf)
    Code:
    unix charset = UTF-8
    dos charset = 852
    display charset = UTF-8
    and also
    Code:
    unix charset = ISO8859-2
    dos charset = 852
    display charset = ISO8859-2
    Code:
    nvram set usb_vfat_options=codepage=852,iocharset=cp1250
    nvram set usb_smbcpage_x=852
    nvram set usb_smbcset_x=1250
    nvram commit
    I need a bit of advice. Maybe there is missing a right library.

  9. #9

    Worked for Greek

    Hello,

    I use samba3 and Oleg's firmware.

    For Greek(Ελληνικά) filenames the correct steps are the following:

    nvram set usb_vfat_options=defaults,utf8
    nvram set usb_smbcpage_x=737
    nvram set usb_smbcset_x=1253
    nvram commit

    and the contents of my smb.conf:
    [global]
    workgroup = WORKGROUP
    guest account = admin
    security = share
    browseable = yes
    writeable = yes
    guest ok = yes
    guest only = yes
    log level = 1
    max log size = 100
    encrypt passwords = yes
    dns proxy = no
    netbios name = Plethon
    server string = wl500gPremium customized by Asterios
    unix charset = UTF-8
    dos charset = 1253
    display charset = UTF-8

    [Files]
    path=/tmp/harddisk/Files
    writeable = yes
    browseable =yes
    read only = no

    [Downloads]
    path=/tmp/harddisk/downloads
    writeable = yes
    browseable =yes
    read only = no

    thanks a lot for your hints Oleg, very nice work.

  10. #10

    Greek filenames in FTP

    asteriosk i did what yoy wrote above but with no success.
    i still get no greek filenames in ftp when i conect to my WL500gp at home via Filezilla. Do you have any idea what i did wrong. Do you have also the custom bios from oleg?

    (θες να επικοινωνήσουμε μέσω mail?)

    Grigoris

  11. #11
    Do i need also to execute the following statements?

    flashfs save
    flashfs commit
    flashfs enable
    reboot

    to make the changes permanent?

Similar Threads

  1. Samba with German-Umlaute & UPnP-Server
    By Walt in forum WL-HDD Q&A
    Replies: 10
    Last Post: 08-03-2005, 21:47
  2. Replies: 0
    Last Post: 20-05-2004, 17:57

Posting Permissions

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