pchero on February 28th, 2014

노트북에 젠투 설치 후, 부팅을 하면 이상하게 무선랜이 안잡히는 현상이 발생했다. 처음 설치할 당시, USB로 부팅 했을 때에는 잘 잡히던 무선랜이 USB 제거 후, 노멀부팅을 하면 안잡히는 것이다. 혹시나 커널 컴파일 할 때, 깜박하고 해당 모듈을 설치 안한건 아닐까 싶어서 확인을 해 봤으나 이미 설치가 되어있는 상태였다. pchero@localhost /usr/src/linux $ grep 8723 .config CONFIG_RTL8723AE=y 먼저 […]

Continue reading about rtl8723ae driver in Gentoo

pchero on February 24th, 2014

man debuginfo-install debuginfo-install(1)                                      debuginfo-install(1) NAME debuginfo-install SYNOPSIS debuginfo-install package DESCRIPTION debuginfo-install  is  a  program  which  installs the RPMs needed to debug the specified package.  The package argument can be a wildcard, but will only match installed pacakges.  debuginfo-install will then enable any debuginfo repositories, and install the relevant debuginfo rpm. EXAMPLES Download and install all […]

Continue reading about debuginfo-install

pchero on February 21st, 2014

원격지에서 ssh 통신으로 접속해서 작업을 하는데 eclipse 연동으로 작업을 하고 싶다면??? ssh key 복사 + sshfs + eclipse  구성이 정답이다. ssh key 복사를 통해, ssh 접속시 비밀번호를 입력하지 않고도 바로 접속이 되도록 설정하고, sshfs 로 원격지 파일 시스템을 로컬 파일 시스템에 마운트한다. 그 다음, eclipse 를 통해 작업을 하는 것이다. 먼저 비밀번호 없이 ssh 로 […]

Continue reading about setting of remote system environment for eclipse

pchero on February 21st, 2014

진행중인 프로젝트에서 Libevent 를 사용중인데.. valgrind 메모리 누수 확인시 자꾸 메모리 누수가 발생하는 것을 확인했다. 어디가 문제일까… 기능상으로는 문제가 없었다. malloc/calloc 할당한 부분도 문제가 없었다. valgrind 가 지목한 문제 발생한 부분은 event_new() 부분이었다. 문제 발생 원인은 잘못된 libevent 사용에 있었다. 나는 다음과 같이 프로그램을 개발했었다. /* * main.c * * Copyright 2014 Sungtae Kim <pchero21@gmail.com> […]

Continue reading about Libevent event driven memory leak

pchero on February 21st, 2014

ssh 개인키 정보를 접속하는 서버에 복사를 하게 되면, ssh 접속시, 별도로 비밀번호 입력없이 접속이 가능해 편리하다. 아직 ssh 개인키를 생성하지 않았다면 새로 생성하자. $ ssh-keygen 이후, ~/.ssh 디렉토리에 개인키와 공개키 파일이 생성되는 것을 확인할 수 있다. pchero@MyGalaxy:~/.ssh$ ls id_rsa  id_rsa.pub  known_hosts id_rsa 파일이 개인키 파일이고, id_rsa.pub 파일이 공개키 파일이다. ssh 통신에서 개인키 파일은 전자 상거래에서의 […]

Continue reading about ssh private key copy