안녕하세요? 마음먹은 것처럼 진행이 잘 안되네요 ^^;
우선, iptables 컴파일에서는 ld명령을 잘못세팅했었습니다. 님 도움으로 해결했구요.
busybox의 컴파일에는 route명령을 enable시키면 컴파일에러가 발생하더라구요.. 컴파일 경로 설정을 Makefile에 추가하라는 걸 인터넷(http://www.busybox.net/lists/busybox/2003-February/008003.html)에서 보고 아래의 경로를 넣었습니다.
CROSS_CFLAGS+=-I/usr/cross-tools/arm-linux/include
그랬더니 route컴파일이 무사히 되더라구요...
=================================================
그런데 다른 문제가 생기네요 ^^;
busybox를 컴파일 후 ramdisk에 붙여넣었더니 부팅때 여러 에러 메시지가 떴습니다.
아마도 busybox에서 지원하는 명령중 더 필요한게 있는가 싶어서 ramdisk의 실행파일과 Config.h를 비교해보았습니다. ramdisk에 있는 실행파일들을 기준으로 Config.h를 수정하여 ramdisk 부팅을 했더니 아까의 에러들은 사라졌는데 Ethernet driver 부분에서 말썽이 생겼습니다(아래).
http://mdom19302-1.postech.ac.kr/thesis/bootError.html
(붉은글)
비교를 위해 CD의 ramdisk로 부팅한 메시지를 아래에 올립니다.
http://mdom19302-1.postech.ac.kr/thesis/boot.html (파란글)
보니까 Ethernet driver module의 license 문제인듯 한데요... 이걸 어떻게 해결해야 하나요?
ifconfig명령과 telnet 등 관련 명령들이 이로 인해 작동을 하지 않습니다. route는 실행은 되는데 인터페이스를 제대로 못잡는 것 같아요.
[root@EMPOS root]$ifconfig
ifconfig: ifconfig was not compiled with interface status display support.
[root@EMPOS root]$
[root@EMPOS root]$
[root@EMPOS root]$
[root@EMPOS root]$telnet 141.223.107.26
141.223.107.26: applet not found
[root@EMPOS root]$
[root@EMPOS root]$route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
141.223.107.0 * 255.255.255.0 U 0 0 0 eth0
141.223.107.0 * 255.255.255.0 U 0 0 0 eth1
[root@EMPOS root]$