Problems with cyrillic filenames on USB devices
Moderator: Moderators
Problems with cyrillic filenames on USB devices
I connect my flashdrive (Fat32) to Usb port of my router (TL-WR1043ND) running Gargoyle 1.5.3 and share it with smb - and all files|folders names thet are not latin shown in random latin names. I hecked - cyrillic packeges are present in firmware.
Re: Problems with cyrillic filenames on USB devices
VFAT needs kernel modules, for each language support.Wild Rat wrote:I connect my flashdrive (Fat32) to Usb port of my router (TL-WR1043ND) running Gargoyle 1.5.3 and share it with smb - and all files|folders names thet are not latin shown in random latin names. I hecked - cyrillic packeges are present in firmware.
You can try to run dmesg, to see what language module it needs.
Maybe this should be a feature request, that at least some of the kernel modules get added (but I am not sure of their size).
I have now moved it to feature requests, as I can see that this could be a problem for lots of people.
Router: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4
Re: Problems with cyrillic filenames on USB devices
dmesg didn't show any errors:
i try:
so i sought, that all neaded packeges are present in system.
If i wrong, it whould be nice to have this feature in future versions.
Code: Select all
usb 1-1: new high speed USB device using ar71xx-ehci and address 3
usb 1-1: configuration #1 chosen from 1 choice
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
scsi 0:0:0:0: Direct-Access Samsung GT-B2710-CARD 2.31 PQ: 0 ANSI: 2
usb-storage: device scan complete
sd 0:0:0:0: [sda] 3862528 512-byte logical blocks: (1.97 GB/1.84 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 0f 0e 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Assuming drive cache: write through
sda: sda1
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Attached SCSI removable disk
warning: `smbd' uses 32-bit capabilities (legacy support in use)
nfsd: last server has exited, flushing export cache
nfsd: last server has exited, flushing export cache
usb 1-1: USB disconnect, address 3
Code: Select all
/root$ opkg install kmod-nls-cp866
Package kmod-nls-cp866 (2.6.32.27-1) installed in root is up to date.
/root$ opkg install kmod-nls-koi8r
Package kmod-nls-koi8r (2.6.32.27-1) installed in root is up to date.
/root$ opkg install kmod-nls-cp1251
Package kmod-nls-cp1251 (2.6.32.27-1) installed in root is up to date.
If i wrong, it whould be nice to have this feature in future versions.
Re: Problems with cyrillic filenames on USB devices
I just checked.
The charset needs to be setup while compiling vfat
By default iso8859-1 is chosen, but when mounting, you can set the charset with the nls= option.
So you should be able to simply add the following to the mount line
The charset needs to be setup while compiling vfat

By default iso8859-1 is chosen, but when mounting, you can set the charset with the nls= option.
So you should be able to simply add the following to the mount line
Code: Select all
nls=cp866
Router: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4
Re: Problems with cyrillic filenames on USB devices
On NTFS system filenames displayed correctly.
Re: Problems with cyrillic filenames on USB devices
Yes, it looks like it is "only" the vfat filesystem.that has this problem.Wild Rat wrote:On NTFS system filenames displayed correctly.
Router: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4