informatica:linux:android
Differences
This shows you the differences between two versions of the page.
Next revisionBoth sides next revision | |||
informatica:linux:android [2012/10/21 16:43] – creado javi | informatica:linux:android [2012/10/21 18:27] – javi | ||
---|---|---|---|
Line 10: | Line 10: | ||
Yo la instalo sobre Virtualbox | Yo la instalo sobre Virtualbox | ||
+ | |||
===== Red en Virtualbox ===== | ===== Red en Virtualbox ===== | ||
Line 15: | Line 16: | ||
stackoverflow.com/ | stackoverflow.com/ | ||
- | **MEJORAR** | + | Hay 2 formas: |
- | 1. First of all, I set my VirtualBox network configuration: | + | 1. Manual |
+ | **MEJORAR** Hay que ejecutar el proceso cada vez que se enciende la VM | ||
+ | |||
+ | 1.1. First of all, I set my VirtualBox network configuration: | ||
Attached to: Bridged Adapter | Attached to: Bridged Adapter | ||
Adapter type: PCnet-FAST III | Adapter type: PCnet-FAST III | ||
- | 2. After that, I start Android from VirtualBox; after boot, I open a root shell, pressing Alt+F1 | + | 1.2. After that, I start Android from VirtualBox; after boot, I open a root shell, pressing Alt+F1 |
- | + | ||
- | 3. Here, I use these commands: | + | |
+ | 1.3. Here, I use these commands: | ||
ifconfig eth0 up 192.168.0.250 | ifconfig eth0 up 192.168.0.250 | ||
Line 32: | Line 35: | ||
setprop net.dns1 192.168.0.10 | setprop net.dns1 192.168.0.10 | ||
- | 4. Now, I return to Android (Alt + F7), and I can surf on internet! | + | 1.4. Now, I return to Android (Alt + F7), and I can surf on internet! |
+ | |||
+ | 2. Permanente | ||
+ | |||
+ | 2.1 Editar: | ||
+ | |||
+ | cp / | ||
+ | |||
+ | Y anyadir las siguientes lineas (se puede mejorar mucho): | ||
+ | |||
+ | ifconfig eth0 up | ||
+ | setprop net.dns1 8.8.8.8 | ||
+ | |||
+ | 2.2 Reiniciar la VM | ||
+ |
informatica/linux/android.txt · Last modified: 2015/04/13 20:19 by 127.0.0.1