OpenWrtMobileNotes

I'm doing a convoluted data logging device, and it requires openwrt with umts (mobile data) support:

.---.               | sd flashair card, also ap | |                          |                |                           |                |                           |                |                           |                |                           |                '---'

.-.           |                                 |            |     .---.       |            |     | wlan0 client      |       | |    |                   |       |            |     |                   |       |            |     |                   |       |            |     |                   |       |            |     |                   |       |            |     '---'       |            |                                 |            |                                 |            |                                 |            |                                 |            | .-. |            | | umts - broadband connection | | | |                            | |            | |                             | |            | '-' |            |                                 |            '-'

.--.                | server - save stuff here | '--'

Installing the UMTS support on my openwrt box (a TP-LINK TL-WR703N):

root@OpenWrt:/etc/config# comgt -d /dev/ttyUSB2 -e info Product text: ====
 * 1) Wireless WAN Modem Configuration #####

Manufacturer: ZTE CORPORATION Model: MF190 Revision: BD_MF190V1.0.0B04 IMEI: **************** +GCAP: +CGSM,+DS,+ES OK ATI Manufacturer: ZTE CORPORATION Model: MF190 Revision: BD_MF190V1.0.0B04 IMEI: **************** +GCAP: +CGSM,+DS,+ES OK ==== Manufacturer:          TI IMEI and Serial Number: ATE1 Manufacturer's Revision: A Hardware Revision: AT+CGDCONT=1,"IP","internetg" Network Locked:        0 Customisation:         ZTE CORPORATION Band settings:         ( AT+CGDCONT=1,"IP","internetg") APN:                   1,"IP","internetg","0.0.0.0",0,0
 * 1) END #####

But actual connection fails: ifup mobile

Mar 14 21:49:29 OpenWrt local2.info chat[26262]: AT+CGDCONT=1,"IP","internetg"^M^M Mar 14 21:49:29 OpenWrt local2.info chat[26262]: OK Mar 14 21:49:29 OpenWrt local2.info chat[26262]: -- got it Mar 14 21:49:29 OpenWrt local2.info chat[26262]: send (ATD*99#^M) Mar 14 21:49:29 OpenWrt local2.info chat[26262]: expect (CONNECT) Mar 14 21:49:29 OpenWrt local2.info chat[26262]: ^M Mar 14 21:49:29 OpenWrt local2.info chat[26262]: ATD*99#^M^M Mar 14 21:49:29 OpenWrt local2.info chat[26262]: ERROR Mar 14 21:49:29 OpenWrt local2.info chat[26262]: -- failed Mar 14 21:49:29 OpenWrt local2.info chat[26262]: Failed (ERROR) Mar 14 21:49:29 OpenWrt daemon.err pppd[26257]: Connect script failed

This is the 3g chat script, after editing to use (per http://repo.cellcom.co.il/MediaServer/PDF/quick1.pdf) ATD*99# instead of ATD*99***1