오드로이드 T로 작업 중입니다.
커널을 조금 수정하여 cdc ethernet usb 지원하게 했는데요..
한가지 문제가 dhcp 서버가 내장된 디바이스를 오드로이드에 usb로 연결하게 되면
eth0 가 올라오긴 합니다만, dhcpcd를 adb shell에서 직접 쳐서 ip를 받아야만 하는 문제가 생기네요..
램디스크를 수정하여 dhcpcd -d eth0 부분의 주석을 풀면 dhcpcd 가 지속적으로 실행이되면서 usb를 통해 dhcp 서버가 내장
된 디바이스를 오드로이드에 꽂게 되면 ip를 자동으로 받아오긴 합니다만, 문제는 계속적으로 돌아가면서 ps로 확인하면
dhcpcd 프로세스가 일정시간 간격으로 계속 증가합니다.
그리고 나중에는 엄청 많아져서 안드로이드가 느려지는 현상이 발생하고요..
알고 싶은 건요. usb를 딱 꽂았을 때 eth0가 올라온후에 "dhcpcd eth0" 명령어가 실행되게끔 할려고 하는데.. 이거 가능한가요?
고수님들의 따뜻한 조언 부탁드립니다.