- 论坛徽章:
- 0
|
在 http://www003.upp.so-net.ne.jp/hat/netatalk/cjk.html 找到了netatalk 的 CJK 补丁,按以下步骤打上之后出了问题,请高手看看:
1:cd /usr/port/net/netatalk
2:make extract
3:cd work ,按上述网址的说明打上补丁.
4:cd ..;make install
5:修改后的配置文件:
/usr/local/etc/AppleVolumes.default
- /Data/public volcharset:MAC_CHINESE_SIMP
复制代码
/usr/local/etc/afpd.conf
- - -transall -maccoepage MAC_CHINESE_SIMP
复制代码
/usr/local/etc/netatalk.conf
- AFPD_MAX_CLIENTS=50
- ATALK_NAME=`echo ${HOSTNAME}|cut -d. -f1`
- ATALK_MAC_CHARSET='MAC_CHINESE_SIMP'
- ATALK_UNIX_CHARSET='LOCALE'
- AFPD_GUEST=nobody
- ATALKD_RUN=yes
- PAPD_RUN=yes
- CNID_METAD_RUN=yes
- AFPD_RUN=yes
- TIMELORD_RUN=no
- A2BOOT_RUN=no
- ATALK_BGROUND=no# export the charsets, read form ENV by apps
- export ATALK_MAC_CHARSET
- export ATALK_UNIX_CHARSET
复制代码
重启后出现以下错误信息:
- Mar 18 17:01:43 server nbprgstr: Required conversion from MAC_
- CHINESE_SIMP to UCS-2 not supported
- Mar 18 17:01:43 server nbprgstr: Required conversion from UCS-2 to MAC_CHINESE_S
- IMP not supported
- Mar 18 17:01:43 server nbprgstr: Required conversion from MAC_CHINESE_SIMP to UC
- S-2 not supported
- Mar 18 17:01:43 server nbprgstr: Required conversion from UCS-2 to MAC_CHINESE_S
- IMP not supported
- Mar 18 17:01:43 server nbprgstr: Conversion failed (CH_UCS2 to MAC_CHINESE_SIMP)
- :Unknown error: 0
- Mar 18 17:01:43 server nbprgstr: Conversion failed (CH_UCS2 to MAC_CHINESE_SIMP)
- :Unknown error: 0
- Mar 18 17:01:49 server afpd[637]: Required conversion from MAC_CHINESE_SIMP to U
- CS-2 not supported
- Mar 18 17:01:49 server afpd[637]: Required conversion from UCS-2 to MAC_CHINESE_
- SIMP not supported
- Mar 18 17:01:49 server afpd[637]: Conversion failed (CH_UCS2 to MAC_CHINESE_SIMP
- ):Unknown error: 0
- Mar 18 17:01:49 server afpd[637]: Could not set servername, using fallback
复制代码
MAC 机器可以看到 bsd , 但在选配器中没有可用的联结.
哪位大侠有办法解决? |
|