Académique Documents
Professionnel Documents
Culture Documents
Thomas Wambold
taw38@drexel.edu
Introduction
CORE:1 convenient, easy-to-use emulator Uses lightweight virtual machines (Linux namespaces) Can run real applications CORE allows access to physical hardware through their RJ45 tool Most Android devices support USB tethering Combine the two to run real Android applications over emulated network
http://cs.itd.nrl.navy.mil/work/core/
2/8
Requirements
Android device with USB tethering capability If disabled by a carrier, could use a third-party ROM Cyanogenmod2 is a popular ROM which enables USB tethering Android SDK with adb for executing shell commands on device
I I
Other methods such as manually running commmands in terminal emulator on device adb is easier
Tested Devices: Samsung Nexus S, Cyanogenmod 7.1, Android 2.3.3 LG Optimus V, Cyanogenmod 7.1, Android 2.3.3 ASUS EEE Pad Transformer, Android 4.0.3 A Linux machine with CORE installed Arch Linux, Kernel 3.2.9 CORE version 4.3
2
http://www.cyanogenmod.com/
3/8
Android Setup
First, connect the device to a Linux machine, then: 1. Open the main settings menu 2. Select Wireless & networks 3. Select Tethering & portable hotspot 4. Make sure USB tethering is enabled 5. On host machine, run adb shell ifconfig usb0 <ipaddress> <netmask>
I I
4/8
Android Setup
First, connect the device to a Linux machine, then: 1. Open the main settings menu 2. Select Wireless & networks 3. Select Tethering & portable hotspot 4. Make sure USB tethering is enabled 5. On host machine, run adb shell ifconfig usb0 <ipaddress> <netmask>
I I
4/8
Android Setup
First, connect the device to a Linux machine, then: 1. Open the main settings menu 2. Select Wireless & networks 3. Select Tethering & portable hotspot 4. Make sure USB tethering is enabled 5. On host machine, run adb shell ifconfig usb0 <ipaddress> <netmask>
I I
4/8
Android Setup
First, connect the device to a Linux machine, then: 1. Open the main settings menu 2. Select Wireless & networks 3. Select Tethering & portable hotspot 4. Make sure USB tethering is enabled 5. On host machine, run adb shell ifconfig usb0 <ipaddress> <netmask>
I I
4/8
Some devices seem to create two interfaces when tethering. Unfortunately both need to be tried.
5/8
Some devices seem to create two interfaces when tethering. Unfortunately both need to be tried.
5/8
Some devices seem to create two interfaces when tethering. Unfortunately both need to be tried.
5/8
Some devices seem to create two interfaces when tethering. Unfortunately both need to be tried.
5/8
6/8
6/8
6/8
6/8
6/8
7/8
7/8
Notes
Doesnt matter what IP address the tethered interface has in Linux CORE opens the device in promiscuous mode Some Android devices create two Linux network devices when tethered. For example, the LG Optimus V One device wont work, the other will Just need to try both devices Some Android devices have rndis0 instead of usb0 Both act the same way If tethering is not supported, could connect to wireless AP Instead of tethering, use a USB WiFi card to create a wireless access point One AP for each device The rest of the process is the same, use the wlan device in CORE
CORE & Android Integration 8/8