Results 1 to 10 of 10

Thread: need codepage 936/65001 for Chinese user :p,also we us ddns 3322.org

  1. #1

    Lightbulb need codepage 936/65001 for Chinese user :p,also we us ddns 3322.org

    Oleg,please please...
    can u add codepage 936/65001 for Chinese users
    thx

    & we also us ddns:3322.org

    my ez-ipupdate.conf file is:

    service-type=qdns-static
    user=usernameassword
    host=myhost.2233.org
    interface=ppp0
    retrys=3
    period=120
    cache-file=/tmp/ez-ipupdate.cache
    daemon

    we add it in /tmp/local/sbin/post-boot
    but codepage how can I DIY
    thx a lot

    everyone please help!

  2. #2

    Smile codepage is ok!

    use
    nvram set usb_vfat_options=codepage=936,iocharset=cp936
    though there is no such codepage.936 etc. files.no codepage files means no translate,but it can work:my computer = codepage.936 ==> wl500g no translate it also codepage.936 .That means if you need the codepage there is codepage file support,you can set yours usb_vfat_options just with no translate!

    if we use vfat filesystem,only can use 8.3 filename.ext2/3 can support long filename .

  3. #3

    use codepage in samba2 package

    hello abo,

    I want to see the chinese filename on my samba share.
    I tried the following command,and it really helps. thx a lot!
    nvram set usb_vfat_options=codepage=936,iocharset=cp936
    nvram commit
    But as you mentioned, this solution only supports short (8.3) file name. If I want to use ext2/3 filesystem to support long file name, what should I do?


    Can I tell samba to use codepage 936 ?
    I find out the samba2 package already contains the files:
    /opt/lib/codepages/codepage.936
    /opt/lib/codepages/unicode_map.936

    But the samba2 can't find these files. In the smd.log files, I find the following errors:

    Code:
    [2007/04/24 22:38:35, 0] lib/util_unistr.c:load_unicode_map(435)
      load_unicode_map: filename /usr/codepages/unicode_map.936 does not exist.
    [2007/04/24 22:38:35, 0] lib/charset.c:load_client_codepage(215)
      load_client_codepage: filename /usr/codepages/codepage.936 does not exist
    I thinks the samba2 is complied to look for the codepage files under /usr/codepages. Since the /usr is readonly, I can't move codepage there.

    Do I have to recompile the samba2 package or the firmwire with more codepage support?

    Any help will be wellcome.

    Thanks in advance

    caikn
    Last edited by caikn; 24-04-2007 at 22:16.

  4. #4

    Chinese (Double Byte) Characters on Ext3?

    Hi All,

    I am just wondering if there's any supported method on Oleg's firmware that can read/write Chinese (Double Byte) characters on Ext3 file system off my USB HDD?

    Regards,
    Michael

  5. #5
    Quote Originally Posted by caikn View Post
    hello abo,

    I want to see the chinese filename on my samba share.
    I tried the following command,and it really helps. thx a lot!

    But as you mentioned, this solution only supports short (8.3) file name. If I want to use ext2/3 filesystem to support long file name, what should I do?


    Can I tell samba to use codepage 936 ?
    I find out the samba2 package already contains the files:
    /opt/lib/codepages/codepage.936
    /opt/lib/codepages/unicode_map.936

    But the samba2 can't find these files. In the smd.log files, I find the following errors:

    Code:
    [2007/04/24 22:38:35, 0] lib/util_unistr.c:load_unicode_map(435)
      load_unicode_map: filename /usr/codepages/unicode_map.936 does not exist.
    [2007/04/24 22:38:35, 0] lib/charset.c:load_client_codepage(215)
      load_client_codepage: filename /usr/codepages/codepage.936 does not exist
    I thinks the samba2 is complied to look for the codepage files under /usr/codepages. Since the /usr is readonly, I can't move codepage there.

    Do I have to recompile the samba2 package or the firmwire with more codepage support?

    Any help will be wellcome.

    Thanks in advance

    caikn
    hi, could you post two cp936 files here? i am looking for them for long times.
    my samba share disk could display chinese filename in windows, but not in xbmc (a media play on xbox). i am trying to handle.

  6. #6
    Quote Originally Posted by yushengxin View Post
    hi, could you post two cp936 files here? i am looking for them for long times.
    my samba share disk could display chinese filename in windows, but not in xbmc (a media play on xbox). i am trying to handle.
    is this the file you wanted?
    Attached Images Attached Images  
    Attached Files Attached Files

  7. #7

    Chinese Character problem

    Quote Originally Posted by whiteskin View Post
    is this the file you wanted?
    Thank you very much. I am having such issue for long time. Really to say thank you as such resources. Do you know any Tutor about setup Chinese character on this router? Samba, FTP, Torrent etc etc ? Thx

  8. #8
    has there been a solution yet?
    no SAMBA 3 support with double byte?

  9. #9
    Hi there, I was making a custom firmware the other day, and remembered this thread. so I made a firmware with CP936 files installed in /usr/codepages. The firmware is based on oleg 1.9.2.7-7e for WL-500g (not for gx or gP!). I've used it for serveral days and so far so good, however I don't have a CP936 FAT disk and can't tell if samba works.
    Also I've made some other changes to the firmware, the changes are:
    Code:
    Changes made to customized 1.9.2.7-7e firmware:
    * added ipt_u32, ipt_IPID, ipt_IDTTL
    * deleted all except codepage 437 in /usr/codepages/, added codepage 936
    * rm /usr/sbin/waveserver
      rm /usr/sbin/lpd
    ipt_u32 http://www.netfilter.org/documentati...s-HOWTO-3.html
    ipt_IPID is to modify the ID in IP header, http://www.chinaunix.net/jh/4/888274.html
    ipt_IDTTL is the 2in1 of ipt_IPID and ipt_TTL(--ttl-set only)

    I've uploaded the firmware to http://yaana.ys168.com/ ,hope this helps. (AND DONT ASK ME IF YOU BRICKED YOUR ROUTER AND DON'T KNOW HOW TO RECOVER)

    做这个ipt_IDTTL主要为了对付电信的NAT检测,不过后来改成e家套餐,就用不到这个了,如果需要 的话可以试试:
    insmod ipt_IDTTL
    iptables -t mangle -A POSTROUTING -o ppp0 -j IDTTL --ipid-inc 1 --ttl-set 64
    Last edited by yaana; 11-02-2008 at 05:11.

  10. #10
    Quote Originally Posted by whiteskin View Post
    is this the file you wanted?
    I currently use Oleg firmware 1.9.2.7-10. Do you have files: codepage.1251 and unicode_map.1251?

Similar Threads

  1. lighttp and php tutorial
    By theboy50 in forum WL-500g/WL-500gx Tutorials
    Replies: 29
    Last Post: 30-01-2008, 18:03
  2. Can someone help pls.. I can't enable user based share access mode...
    By m466e in forum WL-700g Firmware Discussion
    Replies: 10
    Last Post: 09-03-2007, 13:41
  3. ftp einrichten...probleme mit user account
    By p4dox in forum German Discussion - Deutsch (DE)
    Replies: 4
    Last Post: 02-02-2007, 17:16

Posting Permissions

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