Este documento describe los pasos para una distribución Debian, pero en otras debería ser más o menos lo mismo. Para usar esto es necesario tener el soporte Bluetooth funcionando (mi documento Building a Bluetooth network with Linux puede servir de ayuda). Esta configuración debería servir igual para GPRS ó UMTS: mi teléfono móvil conmuta de uno a otro automáticamente según la cobertura.
"" AT&F OK AT+CGDCONT=1,"IP","movistar.es","",0,0 OK ATDT*99# CONNECT \d\c
-crtscts local
hide-password noauth connect "/usr/sbin/chat -v -f /etc/chatscripts/movistar" debug /dev/rfcomm0 115200 defaultroute noipdefault user MOVISTAR ipparam movistar usepeerdns
MOVISTAR * MOVISTAR
Para conectar:
# pon movistar
Para desconectar:
# poff
El módem incorporado en el teléfono suele estar en /dev/rfcomm0, pero en tu configuración podría ser distinto. Se configura en /etc/bluetooth/rfcomm.conf:
rfcomm0 {
bind yes;
# Bluetooth address of the device
device xx:xx:xx:xx:xx:xx;
# RFCOMM channel for the connection
channel 1;
# Description of the connection
comment "mycellular";
}
Supuestamente, otros modelos y marcas de teléfono móvil podrían funcionar igual.