ロケットモバイルの月額298円SIMを契約したので、
IoT向けにRaspberry Piでセットアップ。
はじめてATコマンドで接続しましたが、思いのほかあっさりつながりました。
シンプルでよいよい。

<環境>
・Raspberry Pi Zero
・Raspbian Jessy
・L-02C
・ロケットモバイル(神プラン)標準SIM

<ログ>
pi@raspberrypi:~ $ sudo apt update
pi@raspberrypi:~ $ sudo apt install eject wvdial screen
-----------------------------------------------------------------------------------------
pi@raspberrypi:~ $ eject /dev/cdrom
-----------------------------------------------------------------------------------------
pi@raspberrypi:~ $ sudo vim /etc/wvdial.conf
[Dialer Defaults]
Modem Type = Analog Modem
Phone = *99***1#
Carrier Check = no
Auto Reconnect = yes
Stupid Mode = yes

ISDN = 0
Init1 = ATZ
#Init2 = AT+CGDCONT=1,"IP","4gn.jp"
Init2 = ATH
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Dial Attempts = 3
Dial Command = ATD
#下記のパスは環境によって変わる? 
Modem = /dev/serial/by-path/platform-20980000.usb-usb-0:1.1:1.2-port0
Baud = 460800

Username = roke@moba
Password = rokemoba
New PPPD = yes
APN = 4gn.jp

-----------------------------------------------------------------------------------------
pi@raspberrypi:~ $ screen /dev/ttyUSB2
AT+CGDCONT?
+CGDCONT: 1,"IP","4gn.jp",,0,0,0
+CGDCONT: 11,"IP","mopera.net",,0,0,0

OK
AT+CGDCONT=1,"IP","4gn.jp"
OK
ATZ0
OK

ctrl+a -> kを押してyで抜ける。
-----------------------------------------------------------------------------------------
pi@raspberrypi:~ $ sudo wvdial
--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATH
ATH
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATD*99***1#
--> Waiting for carrier.
ATD*99***1#
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Sat Nov 12 21:48:10 2016
--> Pid of pppd: 1493
--> Using interface ppp0
--> pppd: ィlf[01]
--> pppd: ィlf[01]
--> pppd: ィlf[01]
--> pppd: ィlf[01]
--> pppd: ィlf[01]
--> pppd: ィlf[01]
--> local IP address xxx.xx.xxx.xxx
--> pppd: ィlf[01]
--> remote IP address xxx.xxx.xxx.xxx
--> pppd: ィlf[01]
--> primary DNS address xxx.xxx.xxx.xxx
--> pppd: ィlf[01]
--> secondary DNS address xxx.xxx.xxx.xxx
--> pppd: ィlf[01]