Armadilloフォーラム

Armadillo IoT A6 でLTE接続時に名前解決ができません

yuji_aoki

2023年10月4日 15時54分

有線LANを抜きLTE接続のみの時

ping -c 3 8.8.8.8 -I ppp0                                                                                                                                                      
PING 8.8.8.8 (8.8.8.8) from 100.70.139.35 ppp0: 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=55 time=300 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=55 time=90.4 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=55 time=131 ms
 
--- 8.8.8.8 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 4ms
rtt min/avg/max/mdev = 90.409/173.909/300.417/90.969 ms

には成功しているのですが、

ping -c 3 google.co.jp -I ppp0
ping: google.co.jp: Temporary failure in name resolution

は名前解決が出来ずにいます。

また、インターネット接続可能な有線LANを挿した状態ですと

root@armadillo:~# ping google.co.jp
PING google.co.jp (172.217.174.99) 56(84) bytes of data.
64 bytes from nrt12s28-in-f3.1e100.net (172.217.174.99): icmp_seq=1 ttl=114 time=17.6 ms
64 bytes from nrt12s28-in-f3.1e100.net (172.217.174.99): icmp_seq=2 ttl=114 time=16.5 ms
64 bytes from nrt12s28-in-f3.1e100.net (172.217.174.99): icmp_seq=3 ttl=114 time=16.2 ms
64 bytes from nrt12s28-in-f3.1e100.net (172.217.174.99): icmp_seq=4 ttl=114 time=16.3 ms
64 bytes from nrt12s28-in-f3.1e100.net (172.217.174.99): icmp_seq=5 ttl=114 time=16.7 ms
64 bytes from nrt12s28-in-f3.1e100.net (172.217.174.99): icmp_seq=6 ttl=114 time=16.3 ms
64 bytes from nrt12s28-in-f3.1e100.net (172.217.174.99): icmp_seq=7 ttl=114 time=16.3 ms
64 bytes from nrt12s28-in-f3.1e100.net (172.217.174.99): icmp_seq=8 ttl=114 time=16.5 ms
64 bytes from nrt12s28-in-f3.1e100.net (172.217.174.99): icmp_seq=9 ttl=114 time=16.3 ms
64 bytes from nrt12s28-in-f3.1e100.net (172.217.174.99): icmp_seq=10 ttl=114 time=16.7 ms
64 bytes from nrt12s28-in-f3.1e100.net (172.217.174.99): icmp_seq=11 ttl=114 time=16.7 ms
^C
--- google.co.jp ping statistics ---
11 packets transmitted, 11 received, 0% packet loss, time 26ms
rtt min/avg/max/mdev = 16.231/16.546/17.550/0.376 ms
root@armadillo:~# ping -c 3 google.co.jp -I ppp0
PING google.co.jp (172.217.174.99) from 100.70.145.171 ppp0: 56(84) bytes of data.
64 bytes from nrt12s28-in-f3.1e100.net (172.217.174.99): icmp_seq=1 ttl=113 time=250 ms
64 bytes from nrt12s28-in-f3.1e100.net (172.217.174.99): icmp_seq=2 ttl=113 time=115 ms
64 bytes from nrt12s28-in-f3.1e100.net (172.217.174.99): icmp_seq=3 ttl=113 time=163 ms
 
--- google.co.jp ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 4ms
rtt min/avg/max/mdev = 115.149/176.036/250.197/55.927 ms

のようにLTEでも名前解決できているのでしょうか?
ping -c 3 google.co.jp -I ppp0 ←こちらはLTEでのpingだと理解しています。

simはmeeq の定額 低速プラン(256kbps) softbank回線を使用しています。
以下のWebサイト
https://support.meeq.jp/hc/ja/articles/360003560336-MEEQ-SIM-%E3%82%A4%…
に従い、
APN名 meeq.io
ユーザー名 meeq
パスワード meeq
認証タイプ CHAP or PAP

/etc/aiot-modem-control/startup.conf
に設定しました。 「認証タイプ CHAP or PAP」については
# auth_prot: "pap" or "chap" or "none"
とありましたので
"pap" を設定した場合と"chap" を両方試しましたが変化ありませんでした。

aiot-modem-control status の結果は以下の通りです

root@armadillo:~# aiot-modem-control status
    manufacturer: Cinterion
           model: EMS31-J
        revision: REVISION 04.014
     app revison: A-REVISION 01.001.10
         port(s): ttyMux0
          status: dial
    phone number: <電話番号が表示されていました>
            imei: 358009090237347
signale quality
            rsrq: 16 [-12.0 dB <= rsrq < -11.5 dB]
            rsrp: 51 [-90 dBm <= rsrp < -89 dBm]
        sim slot: 1
     operator id: "44020"

dnsは設定されているように見えるのですが。。。
systemlog、startup.conf、wvdial.confを添付します。
アドバイスをお願いします。

ファイル ファイルの説明
syslog.txt
startup.conf
wvdial.conf
コメント

at_mitsuhiro.yoshida

2023年10月5日 16時45分

吉田です。

お手数ですが、以下のフォーラムにあります、
https://armadillo.atmark-techno.com/forum/armadillo/11921

/etc/ppp/peers/wvdial に "replacedefaultroute" を追加する方法を
試してもらえますでしょうか。

yuji_aoki

2023年10月7日 8時54分

吉田様
的確なご回答ありがとうございます。
/etc/ppp/peers/wvdial に "replacedefaultroute" を追加した所、
通信できるようになり、解決いたしました。
ありがとうございました。