/ 雑記帳

/boot/grub/menu.lst

# grub.conf generated by anaconda

#

# Note that you do not have to rerun grub after making changes to this file

# NOTICE: You have a /boot partition. This means that

# all kernel and initrd paths are relative to /boot/, eg.

# root (hd0,0)

# kernel /vmlinuz-version ro root=/dev/sda2

# initrd /initrd-[generic-]version.img

#boot=/dev/sda

default=0

#timeout=5

splashimage=(hd0,0)/grub/splash.xpm.gz

#hiddenmenu

title CentOS (2.6.32-504.3.3.el6.x86_64)

root (hd0,0)

kernel /vmlinuz-2.6.32-504.3.3.el6.x86_64 ro root=UUID=34a7de01-2a13-47fb-ab11-e2306da5e155 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=ja_JP.UTF-8 KEYBOARDTYPE=pc KEYTABLE=jp106 crashkernel=128M nouveau.modeset=0 rdblacklist=nouveau

initrd /initramfs-2.6.32-504.3.3.el6.x86_64.img

title CentOS (2.6.32-431.29.2.el6.x86_64)

root (hd0,0)

kernel /vmlinuz-2.6.32-431.29.2.el6.x86_64 ro root=UUID=34a7de01-2a13-47fb-ab11-e2306da5e155 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=ja_JP.UTF-8 KEYBOARDTYPE=pc KEYTABLE=jp106 crashkernel=128M nouveau.modeset=0 rdblacklist=nouveau

initrd /initramfs-2.6.32-431.29.2.el6.x86_64.img

title Other-OS Windows-7

root (hd1,0)

map (hd0) (hd1)

map (hd1) (hd0)

#

makeactive

chainloader +1

#

title Other-OS

root (hd2,0)

map (hd0) (hd2)

map (hd2) (hd0)

#

makeactive

chainloader +1

#

title Other-OS

root (hd3,0)

map (hd0) (hd3)

map (hd3) (hd0)

#

makeactive

chainloader +1


— posted by くま at 04:59 pm   pingTrackBack [0]

sshfでの音楽データー再生

sshfでマウントしたHDからハイレゾデーターを再生出来るか?
受け側、送り側ともに光回線でやってもCD44.1KHzまでしか再生出来ません。
速い回線なら可能なのだろうか?

— posted by くま at 01:37 pm   pingTrackBack [0]

FriioをCentOS release 6.6 (Final) 32bitで使う

https://github.com/stz2012/recfriio
http://avalokitesxvara.blog99.fc2.com/blog-entry-273.html
stz2012のドライバーでfriioの黒が復活した。嬉しい。
TSSL = -DTSSL この行をコメントしないとSegmentation faultを起こすので
使えませんでした。

— posted by くま at 12:10 pm   pingTrackBack [0]

インターネット超しのマウント

fuse-sshfs-2.4-1.el6.src.rpm をリビルドしてインストール
      
# sshfs -o allow_other hoge@hoge.mydns.jp:/var/lib/mpd/music ./TEST

— posted by くま at 04:23 pm   pingTrackBack [0]

bash 変数が定義されているか?

#!/bin/bash

hen1=`ps aux | grep quimup | grep bin | awk '{print $2}'`

echo "$hen1"

if [ -n "${hen1}" ] ; then

echo "--------------------------"

ps aux | grep quimup

echo "--------------------------"

kill $hen1

else

echo "quimupは起動されていません。"

fi


— posted by くま at 09:16 am   pingTrackBack [0]

localtime

# cd /etc/
# ll localtime
# rm localtime
# ln -s /usr/share/zoneinfo/Japan localtime

— posted by くま at 04:13 pm   pingTrackBack [0]

samba設定

# pdbedit -a root
new password:
retype new password:
Unix username: root
NT username:
Account Flags: [U ]
User SID: S-1-5-21-1024304826-547193022-2962745630-1000
Primary Group SID: S-1-5-21-1024304826-547193022-2962745630-513
Full Name: root
Home Directory: ¥¥voyage¥root
HomeDir Drive:
Logon Script:
Profile Path: ¥¥voyage¥root¥profile
Domain: VOYAGE
Account desc:
Workstations:
Munged dial:
Logon time: 0
Logoff time: never
Kickoff time: never
Password last set: 火, 12 5月 2015 10:43:17 GMT
Password can change: 火, 12 5月 2015 10:43:17 GMT
Password must change: never
Last bad password : 0
Bad password count : 0
Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

— posted by くま at 07:54 pm   pingTrackBack [0]

メモ

mount -t ntfs -o iocharset=utf8,umask=0222 /dev/sdb1 /var/lib/mpd/music

— posted by くま at 03:31 pm   pingTrackBack [0]

1

1

— posted by at  

debian_version 7.8 samba-REGZA

一部ネット情報では不可能と言われているがdebianでも3.0系sambaならREGZAと接続出来る。
     
# smbpasswd -a kkuma
# cat /etc/samba/smb.conf
#======================= Global Settings =======================
     
[global]
workgroup = WORKGROUP
server string = Samba Server Version %v
log file = /var/log/samba/log.%m
max log size = 50
unix extensions = No
idmap config * : backend = tdb
hosts allow = 127., 192.168.11.
cups options = raw
dos charset = CP932
unix charset = UTF-8
     
[homes]
comment = Home Directories
path = %H/samba
read only = No
     
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
print ok = Yes
browseable = No
     
[video]
comment = Video Directories
path = /var/video
read only = No
create mask = 0777
directory mask = 0777
guest only = Yes
guest ok = Yes
     
# /etc/init.d/samba restart

— posted by くま at 12:18 pm   pingTrackBack [0]

<< 2024.9 >>
SMTWTFS
1234 5 6 7
89 101112 1314
15 161718192021
222324 25262728
2930     
 
























T: Y: ALL: Online:
ThemePanel
  • Basic
Created in 0.0760 sec.