Develop
2013.04.23 16:57
[android] 디바이스(시뮬레이터) hosts 파일 수정하기
조회 수 31130 댓글 0
remount 한다.
>adb remount
안드로이드에 있는 host 파일을 받는다.
>adb pull /system/etc/hosts D:\TDPlatform\android_home\backup\
hosts 파일 수정한다.
---------------------------------------
기본적으로 로컬만 등록되어 있음.
127.0.0.1 localhost
---------------------------------------
host 파일을 넣는다.
>adb push D:\TDPlatform\android_home\work\hosts /system/etc/
hosts 파일 수정 확인해보기
>adb -e shell
#cat /system/etc/hosts
번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|---|
1089 | System/OS | [linux] 텔넷, FTP 텍스트 모드에서 사용 | hooni | 2003.04.23 | 12005 |
1088 | System/OS | [linux] 이기종간의 파일 공유(Samba) | hooni | 2003.04.23 | 14955 |
1087 | System/OS | [linux] sendmail 설정/사용 | hooni | 2003.04.23 | 14640 |
1086 | System/OS | [linux] DNS(Domain Name System) 설치, 설정 | hooni | 2003.04.23 | 12522 |
1085 | System/OS | [linux] Masquerade 가상 ip분할기법 | hooni | 2003.04.23 | 48022 |
1084 | System/OS | [linux] DHCP(Dynamic Host Configuration Protocol) 서버 | hooni | 2003.04.23 | 13096 |
1083 | System/OS | [linux] 네트웍 트래픽 모니터링(MRTG) | hooni | 2003.04.23 | 42419 |
1082 | System/OS | [linux] 커널 컴파일, 설정 | hooni | 2003.04.23 | 17917 |
1081 | System/OS | [linux] 네트워크 커널 설정.. | hooni | 2003.04.23 | 16555 |
1080 | System/OS | [linux] 최소한의 커널 설정(커널설치 전체과정) | hooni | 2003.04.23 | 17504 |
1079 | System/OS | [linux] Xwindow/Xmanager 사용 | hooni | 2003.04.23 | 13404 |
1078 | System/OS | [linux] ipchains 옵션 | hooni | 2003.04.23 | 13702 |