BQ Aquaris E 4.5 Ubuntu phone
  • Initial page
  • LANGS
  • Cosas que he aprendido al usar el teléfono BQ Aquaris E4.5, basado en Ubuntu
    • Summary
    • ¿Cómo configurar el acceso por SSH al teléfono a través de Wi-Fi?
    • Using IRC - the weechat application
    • El menú para comprobar el hardware
    • Compiling the MUA mutt and making a click app of it (UNFINISHED)
    • El cliente de correo Dekko
    • Compiling the Telegram client "telegram-cli" in the jail
    • Mandar mensajes SMS desde la línea de comandos (shell)
    • Installing an additional root FS and run 'mutt'
    • Desarrollar aplicaciones y el SDK (no revisado hasta ahora)
    • Instalación del firmware en el teléfono
    • Cambiar las aplicaciones (core-apps) mostradas en scope de aplicaciones
    • Historial del navegador Web
    • Acceso a registro (logs) del dispositivo BQ
    • Enlaces útiles
    • Histórico de llamadas y SMS
    • Cambiar las teclas de control de la aplicación de terminal
    • Importar y exportar contactos
    • Red inalámbrica: Usar el teléfono como punto de acceso (hotspot) a Internet
    • Leer contenido local de HTML con un navegador
    • Eliminar la información privada
    • Configuración en el ordenador(Linux/FreeBSD) usando el móvil conectado a Internet con tethering por
    • Other usefull commands (unsorted)
    • Reiniciar el escritorio Unity
    • Lanzar apps desde la línea de comandos del usuario phablet(shell)
    • Cortafuegos
    • Using ubuntu-device-flash
    • El archivo de configuración del GPRS
    • ssh localhost
    • Grabar la pantalla del teléfono(MIR) para presentaciones, charlas, etcétera hacia un ordenador(X11)
    • Exporting notes from app 'reminder'
    • Tareas de Cron
    • chapter30
    • GPS, maps && apps (uNav)
    • Red por USB: tethering
    • Notas sobre algunos aspectos del hardware
    • Dónde quedan guardados los ficheros (imágenes, documentos, etc.)
  • What I have learned about the Ubuntu mobile phone BQ Aquaris E4.5
    • Exporting notes from app 'reminder'
    • Cron jobs
    • chapter30
    • Summary
    • Using IRC - the weechat application
    • Import and export of Contacts
    • Wireles networking: The BQ as an AccessPoint (hotspot)
    • Some hints for your Linux/FreeBSD netbook using the BQ with USB tethering as a router to Internet
    • Firewall
    • Hardware test menus
    • Capturing the MIR screen for presentation, talks etc. on a X11 desktop
    • Compiling the MUA mutt and making a click app of it (UNFINISHED)
    • The MailUserAgent (MUA) Dekko
    • GPS, maps && apps (uNav)
    • Compiling the Telegram client "telegram-cli" in the jail
    • Sending SMS from shell
    • USB networking: tethering
    • Installing an additional root FS and run 'mutt'
    • Developmen and SDK (completely UNTESTED until now)
    • Notes about some hardware aspects
    • Flashing the device
    • How to alter presented apps in the app scope
    • Where the files (pictures, ...) end up
    • Webbrowser history
    • Access to logs in the device
    • How to get SSH access to the ubuntu-phone via Wifi
    • Usefull links
    • Call and SMS history
    • Reading local HTML content with a browser
    • Sanitisation
    • How to alter presented keyboard's Control keys
    • Other usefull commands (unsorted)
    • Restart the Unity UI
    • How to lauch apps from the phablet's cmd line
    • Using ubuntu-device-flash
    • GPRS config file
    • ssh localhost
Powered by GitBook
On this page

Was this helpful?

  1. Cosas que he aprendido al usar el teléfono BQ Aquaris E4.5, basado en Ubuntu

Red inalámbrica: Usar el teléfono como punto de acceso (hotspot) a Internet

Queremos conectar un ordenador por red inalámbrica con el móvil y correr TCP/IP sobre dicha red y tal vez hasta acceder a Internet. En este esquema, el móvil hace las veces de punto de acceso(hotspot):

ordenador ---(Wifi)---> BQ ---(datos del móvil) ---> Internet

La configuración es simple: Configuración de sistema -> Hotspot. Aquí damos al hotspot un nombre de SSID y ponemos una contraseña (bien pensada, como mínimo 8 letras y números). Después marca '-->hotspot' y enciende el recibidor de Wi-Fi si éste aún está apagado. La configuración permite a todos los dispositivos(ordenadores o teléfonos) que conocen la contraseña conectarse a Internet.

La siguiente es la configuración del fichero /etc/wpa_supplicant.conf que uso en mi ordenador con FreeBSD:

/etc/wpa_supplicant.conf
...
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
eapol_version=1
ap_scan=1
fast_reauth=1
update_config=1

# BQ
#
network={
        ssid="UbuntuBQ"
        priority=10
        key_mgmt=WPA-PSK
        psk="XXXXXXXXXX"
}
...

Además de usar Internet en el ordenador, puedes usar la conexión de red inalámbrica para hacer tareas de configuración en el teléfono mismo. La interfaz es ahora ap0 (y no wlan0) y el direccionamiento por defecto va a la interfaz de datos del móvil ccmni0 (o ccmni1, depende del puerto de SIM usado):

$ ssh phablet@10.42.0.1
Welcome to Ubuntu 15.04 (GNU/Linux 3.4.67 armv7l)
Last login: Fri Oct 23 06:43:00 2015 from localhost.localdomain

phablet@ubuntu-phablet:~$ ifconfig ap0
ap0       Link encap:Ethernet  HWaddr 4e:74:03:5f:20:60  
          inet addr:10.42.0.1  Bcast:10.42.0.255  Mask:255.255.255.0
          inet6 addr: fe80::4c74:3ff:fe5f:2060/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3987 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4341 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:409598 (409.5 KB)  TX bytes:1253624 (1.2 MB)

phablet@ubuntu-phablet:~$ netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
0.0.0.0         10.44.25.175    0.0.0.0         UG        0 0          0 ccmni0
10.42.0.0       0.0.0.0         255.255.255.0   U         0 0          0 ap0

Desde el ordenador tienes acceso completo a Internet:

$ cat /etc/resolv.conf 
# Generated by resolvconf
nameserver 10.42.0.1

$ ping www.sisis.de
capability mode sandbox enabled
PING www.sisis.de (178.254.11.41): 56 data bytes
64 bytes from 178.254.11.41: icmp_seq=0 ttl=48 time=49.513 ms
64 bytes from 178.254.11.41: icmp_seq=1 ttl=48 time=44.741 ms

Y puedes alejarte del ordenador, con el teléfono en el bolsillo, hasta unos 25 metros sin que se corte la conexión de red inalámbrica.

La batería del móvil se descarga aproximadamente al 36% en 2 horas de uso.

Última actualización: jueves, 19 de noviembre de 2015, 20:44:29 CET

PreviousImportar y exportar contactosNextLeer contenido local de HTML con un navegador

Last updated 5 years ago

Was this helpful?