Although I received some tips about this topic in another thread, being them not enough to solve the problem, and being that thread title completely misleading about my issue, I open a new thread to ask:
how can I have my program starting a GPRS connection without asking user intervention? My phone has 2 operator-locked access points, so I can't define a "default" one, and I'm always asked which one I want to use every time a program try accessing internet. Can I override the request in python?
import socket #imports the Module
#apid = socket.select_access_point() # Skip user request
ap = socket.access_point(1)
ap.start() # start an GPRS connection
It does not work: ap.ip() reveals the connection IS active, but upon using it to upload a file (with ftplib.FTP), I get a "(0, 'getaddrinfo failed')" error.