11
RouterOS 3G Modem Applications Arnis Riekstiņš MikroTik, Riga, Latvia MikroTik User Meeting Bogota, Colombia November 18-19, 2010

03-arnis_3g

Embed Size (px)

Citation preview

Page 1: 03-arnis_3g

RouterOS 3G Modem Applications

Arnis RiekstiņšMikroTik, Riga, Latvia

MikroTik User MeetingBogota, Colombia

November 18-19, 2010

Page 2: 03-arnis_3g

MUM 2010 MikroTik 2

Why 3G/GPRS?

WiFi or wired Internet is not available Backup link, if the main link fails Out-of-band management of router systems Sending SMS from the router Receiving SMS and executing scripts 3G becomes faster and Internet access is

more affordable

Page 3: 03-arnis_3g

MUM 2010 MikroTik 3

Main Link over 3G/GPRS

Rural areas w/o Internet access

Public transport In your car On your yacht While traveling

Page 4: 03-arnis_3g

MUM 2010 MikroTik 4

USB Dongle and RB411U

Page 5: 03-arnis_3g

MUM 2010 MikroTik 5

3G mPCIe Module and RB411U

OPTION GTM378 Sierra Wireless

− MC8780, 8781− MC8775

See wiki.mikrotik.com supported 3G cards

Page 6: 03-arnis_3g

MUM 2010 MikroTik 6

Configuring the PPP

Page 7: 03-arnis_3g

MUM 2010 MikroTik 7

Configuring the PPP (2)

Page 8: 03-arnis_3g

MUM 2010 MikroTik 8

Sending SMS from Router

Command line example to send an SMS:− /tool sms send usb2 "29111222" channel=0

message="Help!" In RouterOS V4, SMS can be sent while the

port is used by other service (PPP or terminal)

Page 9: 03-arnis_3g

MUM 2010 MikroTik 9

Receiving SMS

Turn on receiving the SMS− specify “port” and “channel”− set “secret” (required)− set “allowed-number” (optional)

Received SMSs are stored in /tool sms inbox SMS message format

− :cmd SECRET script NAME [[ VAR[=VAL] ] ... ]

Page 10: 03-arnis_3g

MUM 2010 MikroTik 10

Troubleshooting GPRS

Can you talk to the modem at all? Try using serial terminal to talk to the modem!

Is the SIM card requiring the PIN? Disable PIN request, or, enter PIN! (RouterOS V3.24 and later)!

Consult MikroTik WiKi and any 3G/GPRS AT Command Reference!

Page 11: 03-arnis_3g

MUM 2010 MikroTik 11

Thank you!