Hi that's nice but I found a better way with direct pppd, its faster than sakis and does auto reconnect:
pppd /dev/ttyUSB0 921600 mtu 552 mru 552 modem crtscts dump defaultroute noipdefault usepeerdns ktune noauth logfd 2 logfile /pppd.log lock persist holdoff 2 maxfail 20 connect "/usr/sbin/chat -v -f /etc/ppp/vodafone_chat"
This is the command, find if our 3g modem data serial is on ttyUSB0 sometimes could be on ttyUSB1 or ttyUSB2
U have to edit first the vodafone_chat to your APN, my one is like this:
root@omap:/etc/init.d# cat /etc/ppp/vodafone_chat
# chat script for Huawei E160E HSDPA USB stick with Optus prepaid mobile internet
# Developed from sakis3g script
ABORT 'NO CARRIER'
ABORT 'NO DIALTONE'
ABORT 'NO ANSWER'
OK 'ATQ0 V1 E1'
OK 'AT&D2 &C1'
Also for the first step dont forget to do the registation on network with ur pin with command on serial port AT+CPIN=1234 or disable pin on sim card on some cell phone
If ur good on scripting it would be nice that u add ddclient command on script for update IP dynamic address on http://dyn.com/dns/
on each recconect on 3G (the network disconnect u like every day or 2 days and renew IP)