PC-MV52DX/U2 と PC-MV7DX/U2 とで録画ができるようになったので、 周辺環境を整備していく。
sil:/etc/samba# diff -c smb.conf.orig smb.conf
*** smb.conf.orig Sun Jul 1 17:15:44 2007
--- smb.conf Sun Jul 1 22:16:17 2007
***************
*** 29,34 ****
--- 29,37 ----
# server string is the equivalent of the NT Description field
server string = %h server
+ # cording system
+ dos charset = CP932
+
# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable its WINS Server
; wins support = no
***************
*** 102,107 ****
--- 105,111 ----
; guest account = nobody
invalid users = root
+ map to guest = Bad User
# This boolean parameter controls whether Samba attempts to sync the Unix
# password with the SMB password when the encrypted SMB password in the
***************
*** 303,305 ****
--- 307,325 ----
; preexec = /bin/mount /cdrom
; postexec = /bin/umount /cdrom
+ [sil]
+ comment = HS-DHGL share
+ path = /mnt
+ writable = Yes
+
+ [PCast]
+ comment = PCast Video
+ path = /mnt/buffalo/mnt/disk1/share
+ writable = Yes
+
+ [NewVideo]
+ comment = PCast Video
+ path = /mnt/buffalo/mnt/disk1/share
+ guest only = Yes
+ guest ok = Yes
+ writable = Yes
sil:/etc/samba#
普通にPCで共有するなら PCast のセクションの追加だけで良いのだが、
某ネットワークビデオプレイヤで見るためにそれ以外の修正が入れてある。
修正が終われば smb.conf を再読込みする。
sil:/etc/samba# /etc/init.d/samba reload Reloading /etc/samba/smb.conf: smbd only. sil:/etc/samba#
良くみたら、
sil:~# cd /mnt/buffalo/mnt/disk1/ sil:/mnt/buffalo/mnt/disk1# ls -ld drwx------ 5 root root 51 Jul 1 03:30 . sil:/mnt/buffalo/mnt/disk1#と root にしか読めない。そらあかんわ。
sil:/mnt/buffalo/mnt/disk1# chmod 755 . sil:/mnt/buffalo/mnt/disk1# ls -ld drwxr-xr-x 5 root root 51 Jul 1 03:30 . sil:/mnt/buffalo/mnt/disk1#として、無事アクセスできるようになった。
|
楽天市場
アット・ニフティストア Joshin web |
|
← Re: HS-DHGL でハック de 録!!(4)延長対応ハック de ダブ録!!のインストール |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ Re: HS-DHGL でハック de 録!!(6)ビデオディレクトリの変更 |