2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Rasoberry Pi + SORACOM Air SIM ( L-02C , AK-020 ) の wvdial.conf 設定情報

Posted at

Abstract

Raspberry Pi 2B,3 と SORACOM Air SIM で wvidal 接続する場合の wvdial.conf 設定情報の共有です。
USBドングルは L-02C と AK-020 の2種類です。diff っていただければ幸いです。
とにかく「シンプルに書くこと」が個人的に好きなので、余計なところは省きました :wink:

Raspberry Pi + L-02C + SORACOM Air SIM

pi@raspberrypi:~$ cat /etc/wvdial.conf
[Dialer Defaults]
Init1 = ATH
Init2 = AT&F
Init3 = ATZ
Init4 = ATQ0 V1 E1 S0=0 &C1 &D2
Init5 = AT+CGDCONT=1,"IP","soracom.io"
Dial Attempts = 3
Modem Type = Analog Modem
Dial Command = ATD
Stupid Mode = yes
Baud = 460800
New PPPD = yes
Modem = /dev/ttyUSB2 # ここは適宜変更
ISDN = 0
Phone = *99***1#
APN = soracom.io
Username = sora
Password = sora
Carrier Check = no
Auto DNS = 1
Check Def Rpoute = 1

Raspberry Pi2B + AK-020 + SORACOM Air SIM

pi@raspberrypi:~$ cat /etc/wvdial.conf
[Dialer Defaults]
Init1 = ATH
Init2 = AT+CFUN=1
Init3 = ATZ
Init4 = ATQ0 V1 E1 S0=0 &C1 &D2
Init5 = AT+CGDCONT=1,"IP","soracom.io"
Dial Attempts = 3
Modem Type = Analog Modem
Dial Command = ATD
Stupid Mode = yes
Baud = 460800
New PPPD = yes
Modem = /dev/ttyUSB0 # ここは適宜変更
ISDN = 0
Phone = *99#
APN = soracom.io
Username = sora
Password = sora
Carrier Check = no
Auto DNS = 1
Check Def Rpoute = 1

余談

クールなドングルがないですよね。AK-020 は Windows 10、Ubuntu 16.04 LTS で接続を試みても、すぐに切断されるのです。上記の Raspberry Pi2B では問題なく接続されます。wvdial ではなく Network Manager の知識/経験を高めた方が良さそうかもしれませんね。AK-020 公式サイトは情報の集積、FAQの充実、応用方法をもう少し公開されることをフィードバックとして記載しておきました。

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?