Install socat:
| # aptitude install socat |
Edit the /etc/htcunid/htcunid.conf with the date of your provider, for Czech O2:
| # echo 'gprs_apn = "internet"' > /etc/htcunid/htcunid.conf |
Now you can start the ppp as a daemon to dial into your provider's UMTS (3G) / GPRS service when apps need internet access, for Czech O2 with:
| # pppd pty 'socat - tcp:127.0.0.1:1702' noauth defaultroute demand connect noipdefault user "internet" /bin/true idle 60 holdoff 3 |
Or you can dial manually with, for Czech O2:
| $ pppd pty 'socat - tcp:127.0.0.1:1702' noauth defaultroute usepeerdns debug nodetach |