Change the ISO codes

From OpenFSG

Jump to: navigation, search
1-Conect to FSG using SSH via Putty.
2- log in as Admin
3- log in as a root

4- Edit with vi the file /usr/local/samba/lib/smb.conf
  • type
vi /usr/local/samba/lib/smb.conf
and it list the text
  • Edit the [GLOBAL] section like this :
[global]
workgroup=MSHOME
netbios name=FSG
server string=Freecom StorageGateway
unicode=yes
display charset=ISO-8859-1
dos charset=850
unix charset=ISO-8859-1
security=user^M
encrypt passwords=Yes^M
null passwords=Yes^M
admin users=admin^M
disable spoolss=Yes^M
...
  • If you see some ^M : not important , no need to input

5- Then reboot or Stop and Start the samba server
~ # /usr/local/samba/bin/smbd -stop
~ # /usr/local/samba/bin/smbd -restart


Now, all problems with special characters (e.g. ä, Ä, ó, ò, ß, ñ, ...) will disapear...


Note: Important vi commands:

  • ESC and then i to insert
  • ESC and then x to delete
  • ESC and then : and then x to save
  • ESC and then : and than q and than ! to quite without saving
Personal tools