'[D-01] Linux' 카테고리의 다른 글

[Linux] Bootstrap 이란?  (0) 2010.09.06
[Linux] Pipe, Filter, Redirection  (0) 2010.08.16
Ubuntu 10.04 Samba 설치하기  (0) 2010.07.05
[Linux] 네트워크를 이용한 리눅스 설치  (0) 2010.06.30
[Linux] 리눅스 명령어 - unset  (0) 2010.06.17
Posted by eoseontaek

Administrator 계정으로 로그인 암호없이 로그인 하는 방법 설명






Posted by eoseontaek

'[C-05] STi7105' 카테고리의 다른 글

[device] DDR2SDRAM : EDE1108ACBG  (0) 2010.09.06
HDCP Specification  (0) 2010.08.24
[Device] SDRAM latency  (0) 2010.08.03
[Glossary] tri-state  (0) 2010.07.21
DVB-S2  (0) 2010.04.19
Posted by eoseontaek
SDRAM의 latency에 대하여 wikipedia에 등록되 글이다.

SDRAM access has four main measurements (quantified in FSB clock cycles) important in defining the SDRAM latency in a given computer (the 't' prefixes are for 'time'):

tCAS
The number of clock cycles needed to access a certain column of data in SDRAM. CAS latency, or simply CAS, is known as Column Address Strobe time, sometimes referred to as tCL.
tRCD (RAS to CAS Delay)
The number of clock cycles needed between a row address strobe (RAS) and a CAS. It is the time required between the computer defining the row and column of the given memory block and the actual read or write to that location. tRCD stands for Row address to Column address Delay time.
tRP (RAS Precharge)
The number of clock cycles needed to terminate access to an open row of memory, and open access to the next row. It stands for Row Precharge time.
tRAS (Row Active Time)
The minimum number of clock cycles needed to access a certain row of data in RAM between the data request and the precharge command. It's known as active to precharge delay. According to Mushkin, in practice for DDR SDRAM, this should be set to at least tRCD + tCAS + 2 to allow enough time for data to be streamed out. [1]. It stands for Row Address Strobe time.






Posted by eoseontaek


출력을 하이 임피던스로 할 수 있는 출력 회로를 「트라이 스테이트」(tri-state : 세 가지 상태)

Link : http://ko.wikipedia.org/wiki/%EB%94%94%EC%A7%80%ED%84%B8_%EC%A0%84%EC%9E%90%EA%B3%B5%ED%95%99


Posted by eoseontaek
Posted by eoseontaek

꿀이 파리를 끌어들이는 이유는 단순하다. 꿀은 파리가 살기 위해 꼭 필요한 음식이기 때문이다.
꿀단지 한 병을 내놓기만 하면 거리에 나가 확성기로 파리들에게 지금 우리집에 꿀이 있으니 놀러오라고 할 필요가 없다. 어떻게 하면 파리가 우리집에 올 것인가를 의논하기 위해 위원회를 만들어 길고 지루한 회의를 할 필요도 없다. 파리들은 우리집에 올 테니까 말이다. (112p)
레슬리 기블린 지음, 노지양 옮김 '인간관계의 기술 - 사람의 마음을 움직이는' 중에서 (미래지식)

항상 사람들을 끌어모으는 매력적인 사람이 있습니다. 많은 이들이 그런 사람을 부러워하지요.
 
부러워하는 이들에게 저자는 "꽃에서 배우라"고 조언합니다. 꽃은 벌을 필요로합니다. 하지만 꽃은 벌에게 "나에게 오라"며 애걸하고 빌거나 명령하지 않습니다. 자연스럽게 벌을 끌어들입니다. 꽃은 향기로운 꿀을 내놓습니다. 벌에게 허기를 달랠 수 있는 음식을 제공하는 것이지요. 저자는 매력적인 성격을 갖고 있는 사람들을 분석해보면 그 사람 역시 인간이 갖고 있는 기본적인 허기를 채워줄 음식을 제공하는 것을 발견할 수 있다고 말합니다.
 
이를 위해 저자는 수용(Acceptance), 인정(Approval), 중시(Appreciation)라는 세가지 A에 주목하라고 강조합니다. '인간의 기본적인 세가지 허기', '세가지 A'입니다. 이를 사람들에게 제공하면 많은 이들이 자신의 곁으로 다가올 것이라는 얘깁니다. 상대를 그 모습 그대로 받아주는 것, 나아가 그의 장점을 찾아내 인정해주는 것, 그리고 그를 중요한 존재로 대하고 감사하는 것...
 
사람들에게 편안함과 지혜, 그리고 그들이 허기져 있는 세가지 A를 주는 것. 사람들을 끌어들이는 매력적인 사람이 되는 길입니다.

[예병일의 경제노트] 중에서...


Posted by eoseontaek

삼바 설치
$sudo apt-get install samba
$sudo apt-get install smbfs

이 공유에 접근할 아이디와 비밀번호를 설정한다.
$sudo smbpasswd -a 아이디

접근 아이디를 지울 때는 다음과 같이 한다.
$sudo smbpasswd -x system_username


삼바서버 설정
$sudo gedit /etc/samba/smb.conf

[global]
# 워크그룹이름은 맘대로 정한다.
workgroup = WORKGROUP
encrypt passwords = yes
# 접근을 허락할 아이피 범위
hosts allow = 192.168.
# 문자 인코딩 설정, 우분투는 utf-8을 기본적으로 사용하고
# 이것이 윈도우즈에서도 한글이 잘 깨지지 않는다.
unix charset=utf-8
dos charset=utf-8
#공유할 디렉토리 이름, 이것은 여러개를 만들 수도 있다.

[steo samba]
comment = My Documents
path = /공유할/디렉토리
#읽기 전용으로 접근할지 여부
read only = no
browsable = yes


설정 검사

$sudo testparm

삼바 실행
$sudo /etc/init.d/smbd restart 
 


Posted by eoseontaek

~/ODROID/uboot/include/configs/hkdkc100.h  - Board configuration header file

~/ODROID/uboot/board/samsung/hkdkc100     -  Board-specific files
    config.mk             - Defines base address for U-Boot in memory
    hkdkc100.c           - Board specific initialization
    Makefile               -
    u-boot.lds            - Linker script
    lowlevel_init.S     - Memory/Soc configuratioin table

~/ODROID/uboot/cpu/s5pc1xx - CPU files
    config.mk    - CPU makd flags
    cpu.c    - CPU functions
    interrupts.c    - interrupt routines
    Makefile
    start.S    Main CPU entry point
    
~/ODROID/uboot/cpu/s5pc1xx/s5pc100 - SOC files
    Makefile
    cpu_init.S    - SoC specifi functions

~/ODROID/uboot/lib_arm - Architecture support files
    board.c    - Generic board initialization code
    cache.c
    bootm.c -  Code for booting arm linux kernel

~/ODROID/uboot/include/asm-arm  - Architecture headers






Posted by eoseontaek
Posted by eoseontaek

'[C-04] ATmega2560' 카테고리의 다른 글

Windows7 64bit에 AVRISP mkII 드라이버 설치  (0) 2011.04.26
uIP-AVR  (0) 2009.11.09
Linux에서 AVR 컴파일환경 만들기  (0) 2009.11.09
AVR221: Discrete PID controller  (0) 2009.11.06
AVR Timer 계산기  (0) 2009.10.26
Posted by eoseontaek
unset : 선언된 변수를 제거하는 데 사용한다.

1) 사용법
unset 변수이름
2) 사용예
  [root@www /root]# TEL=042
  [root@www /root]# echo $TEL
  042
  [root@www /root]# unset TEL
  [root@www /root]# echo $TEL  // 변수가 제거되었으므로 아무값도 출력되지 않는다.

(참고) bash에서는 환경변수를 만들 때 변수 값을 설정한 후, 환경에 변수를 익스포트(export)하는
    두 단계를 거친다.
 * 사용예
  [posein@www posein]$ echo $LANG     // 언어관련 환경변수값 확인
  ko_KR.eucKR
  [posein@www posein]$ date
  수 5월 21 01:28:56 KST 2003       // 한글로 표시된다.
  [posein@www posein]$ LANG=euc_UN    // 영어로 변경
  [posein@www posein]$ export LANG    // 일시적으로 변경할 경우에는 생략가능
  [posein@www posein]$ date
  Wed May 21 01:29:07 KST 2003       // 영어로 표시된다.


Posted by eoseontaek

☞ export
# export [환경변수]=[값]
export 명령은 환경 변수를 지정, 변경하거나 현재 정의되어 있는 환경 변수를 보여주는 명령이다.
환경 변수를 변경함으로써 명령 프롬프트에서 실행한 프로그램에 영향을 미치게 된다. 다만
export 명령에 의해 변경된 환경 변수는 export 명령을 실행한 사용자의 로그아웃 전까지만 유효
하며 영구적으로 변경하기 위해서는 환경 변수를 정의하는 설정 파일(/etc/profile 등) 을 직접
수정해야 한다.

example>
export DVD_USE_STFRONTEND=YES

Link : http://blog.daum.net/_blog/BlogView.do?blogid=0FSvI&articleno=7887115#ajax_history_home


Posted by eoseontaek
만약 특정 디렉토리 이하에서 network 라는 문자열을 포함한 화일을 찾고싶다면.. 해당 디렉토리에서 모든 화일을 읽어 찾아보아야 하나.. 다음과 같이 find 와 grep 를 파이프로 연결하여 사용하면 쉽게 찾을 수있다.

find /etc/ -type f -exec grep 'network' {} /dev/null \;


위와 같이 명령어를 타입하면 /etc/ 디렉토리 이하에서 network 라는 문자열을 포함한 모든 화일명과 위치를 listing 해 준다.

그리고 단순히 특정 단어를 포함한 화일명을 찾고 싶으면 locste 라는 것을 쓰면 된다.
즉, locate ftp 를 하면 ftp 라는 화일명이 포함된 화일들을 listing 해 준다.

Link : http://www.joon.pe.kr/blog/160

Posted by eoseontaek

시스템이 정전에 의해 reboot 된 후, 네트워크가 붙지 않는 현상이 발생했다.

리눅스의 TERMINAL에서

root > ifup eth0

라는 명령을 주어 네트워크를 살렸다.


부팅시에 자동으로 실행되게 하려면
Cent 계열이라면...
/etc/rc.d/rc.local 파일에 해당 커맨드를 적어주면 된다.

Link : http://kldp.org/node/104601
Posted by eoseontaek
Posted by eoseontaek
Download

Link : http://www.pdf995.com/



Install & Usage

http://danbis.net/8602



Posted by eoseontaek
Posted by eoseontaek
디렉토리 크기 / 용량 확인

하위 디렉토리까지 포함하여 "트리 사이즈 (Tree Size)"를 구하려면, du 라는 명령어를 사용합니다.

du -h --apparent-size

이 명령은 현재 디렉토리와 하위 디렉토리의 크기를 출력합니다.

-h 옵션은, 블록 사이즈 대신 사람이 읽을 수 있는 (킬로바이트)KB, 메가바이트(MB) 단위로 출력하라는 것이고

--apparent-size 옵션이 없으면, 파일들이 차지하는 "여분 공간"까지 다 디렉토리 사이즈에 포함되기에 용량이 더 크집니다.




du -h --apparent-size /

이렇게 하면 전체 하드에 있는 디렉토리들의 용량이 다 출력됩니다. "/"가 루트 디렉토리이기에.


하위 디렉토리를 포함하지 않으려면
-s
옵션을 소문자로 붙입니다. 도움말에는 대문자로 -S 이렇게 되어 있던데, 실제로는 소문자로 해야 하더군요-_-?



Link : http://mwultong.blogspot.com/2006/11/unix-linux-directory-size.html


Posted by eoseontaek
Posted by eoseontaek