2011년 4월 19일 화요일

arm-none-eabi-gcc: error trying to exec 'cc1': execvp: No such file or directory

cc1파일은 해당 컴파일러 설치 디렉토리 기준으로
The cc1 file is located

libexec/gcc/arm-none-eabi/4.2.0/cc1
에 위치한다. 컴파일러가 이 파일을 참조할 수 있도록 적절히 PATH 환경변수에 추가한다.
based on installed directory. You must add PATH, so that your compiler can refer the cc1 file.

2011년 4월 17일 일요일

백트랙에서 해상도 크게하기 - How to adjust resolution largely in backtrack.

VMware나 virtual box에서 최대 800*600 해상도만 지원한다.
이 문제를 해결하기 위해 콘솔 모드에서 아래 명령어를 실행하면 해결된다.

In VMware or virtual box, only maximum 800*600 resoluition is available.
If u want to solve the problem, just type below instruction in console mode.
# fix-vesa

그러면 800*600을 넘어서는 해상도가 가능할 것이다.
Then, u can set more lage resolution than previous.

리눅스 맥주소 변경 - how to change mac address in linux

맥 주소 변경은 아래와 같이 3줄만 쓰면 된다.
If you want to change the mac address, type instruction like below.

#ifconfig [interface name] down
#ifconfig [interface name] hw ether [fake mac addr]
#ifconfig [interface name] up


예를들면,
for example,

#ifconfig eth0 down
#ifconfig eth0 hw ether 00:11:22:33:44:55:66
#ifconfig eth up