1 2 Previous Next 16 Replies Latest reply on Mar 30, 2017 12:12 AM by mohamedshaharris_intel

    Advantech UTX-3115 - HE910 PCI Express Mini Card module cellular module

    shrinivasanganapathy

      I have an advantech utx-3115 intel iot gateway. It has Telit HE910 PCI Express Mini Card module. I've installed sim provided by cellular service provider.

      I don't see the driver nor the device under /dev/ttyA*.

      OS is WindRiver ® Linux 7, 3.14 Kernel

      System version is Intelligent Device Platform XT 3.1 / LuCI (0.12)

      Kernel version is 3.14.58_IDP-XT_3.1-WR7.0.0.13_idp.

       

      What packages need to be installed to use ppp dialer on top of Telit HE910 PCI Express Mini Card module

      What configurations need to be done using the AT command.

        • 1. Re: Advantech UTX-3115 - HE910 PCI Express Mini Card module cellular module
          mohamedshaharris_intel

          Hi,

           

          Could you provide the output for:

           

          1) lsusb

          2) dmesg

           

          Could you also provide the contents of these files:

           

          1) "/etc/config/network"

          2) "/etc/modem_cell_default"

           

          Regards,

          Shah

          • 2. Re: Advantech UTX-3115 - HE910 PCI Express Mini Card module cellular module
            shrinivasanganapathy

            root@WR-IDP-E2EB:~#

            root@WR-IDP-E2EB:~# lsusb

            Bus 001 Device 004: ID 8087:07dc Intel Corp.

            Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

            Bus 001 Device 003: ID 0424:2512 Standard Microsystems Corp. USB 2.0 Hub

            Bus 001 Device 002: ID 258a:0001

            Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

            root@WR-IDP-E2EB:~# cat /etc/config/network

             

             

            config interface 'loopback'

                    option ifname 'lo'

                    option proto 'static'

                    option ipaddr '127.0.0.1'

                    option netmask '255.0.0.0'

             

             

            config interface 'wan'

                    option ifname 'eth0'

                    option proto 'dhcp'

             

             

            config interface 'lan'

                    option ifname 'wlan0'

                    option type 'bridge'

                    option proto 'static'

                    option ipaddr '192.168.1.1'

                    option netmask '255.255.255.0'

             

             

            config interface 'wwan'

                    option ifname '3g-wwan'

                    option device '/dev/ttyACM0'

                    option ppp_redial 'demand'

                    option defaultroute '1'

                    option peerdns '1'

                    option service 'umts_first'

                    option sconnservice 'UMTS'

                    option dialnumber '*99***1#'

                    option proto 'none'

             

             

            config device 'modem_cell'

                    option name 'modem_cell'

                    option present 'No'

             

             

            config device 'sim_card'

                    option name 'sim_card'

                    option present 'No'

             

             

            root@WR-IDP-E2EB:~# cat /etc/modem_cell_default

            # This file includes all the modems information supported default

            # Manufacturer|Production|ManufacturerID|ProductID|ConnectionType|pppdDevice|stateDevice

            # Ericsson|F5521gw|0bdb|190d|3g|ttyACM0|ttyACM1

            Telit|HE910|1bc7|0021|3g|ttyACM0|ttyACM3

            Dell|DW5580|413c|81ba|3g|ttyACM0|ttyACM3

            Dell|DW5812|413c|81bb|3g|ttyACM0|ttyACM0

            root@WR-IDP-E2EB:~#

            • 3. Re: Advantech UTX-3115 - HE910 PCI Express Mini Card module cellular module
              mohamedshaharris_intel

              Hi,

               

              It is seems that, your device is not detecting the HE910 PCI mini express card.

              We suggest you to update to latest RCPL0022.

              Could you update to latest RCPL0022?

              We are not facing the issue on our side.

               

              Regards,

              Intel Customer Supports.

              • 4. Re: Advantech UTX-3115 - HE910 PCI Express Mini Card module cellular module
                shrinivasanganapathy

                Hi Mohamedshaharris_intel,

                 

                I got to the point where Telit HE910 G PCIe modem is getting detected.

                lsusb shows the TElit Modem.

                I see the following devices being created.

                /dev/ttyACM0 .../dev/ttyACM5

                 

                /dev/ttyACM0 is the serial and /dev/ttyACM3 is the device.

                 

                I could send AT command and get reply on /dev/ttyACM0.

                 

                i see pppd running on 3g-wwan interface. i see 3g-wwan interface getting dynamic ip address from AT&T Service provider.

                I see both local and peer ip address are the same.

                /var/log/ppp-3g.log shows that ppp connection is established.

                 

                But the problem i'm facing now is that ping is failing on 3g-wwan interface. Not sure why. I see there is a default route.

                • 5. Re: Advantech UTX-3115 - HE910 PCI Express Mini Card module cellular module
                  shrinivasanganapathy

                  I can't ping 8.8.8.8 through interface 3g-wwan

                   

                  root@WR-IDP-E2EB:~#

                  root@WR-IDP-E2EB:~# netstat -rn

                  Kernel IP routing table

                  Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface

                  0.0.0.0         10.125.119.189  0.0.0.0         UG        0 0          0 3g-wwan

                  192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 br-lan

                  192.168.21.0    0.0.0.0         255.255.255.0   U         0 0          0 eth0

                  root@WR-IDP-E2EB:~#

                  root@WR-IDP-E2EB:~# ifconfig | grep wwan -A20

                  3g-wwan   Link encap:Point-to-Point Protocol

                            inet addr:10.125.119.189  P-t-P:10.125.119.189  Mask:255.255.255.255

                            UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1

                            RX packets:39 errors:0 dropped:0 overruns:0 frame:0

                            TX packets:248 errors:0 dropped:0 overruns:0 carrier:0

                            collisions:0 txqueuelen:3

                            RX bytes:3248 (3.1 KiB)  TX bytes:27403 (26.7 KiB)

                   

                   

                  br-lan    Link encap:Ethernet  HWaddr ac:fd:ce:03:4d:b9

                            inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0

                            inet6 addr: fe80::aefd:ceff:fe03:4db9/64 Scope:Link

                            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

                            RX packets:0 errors:0 dropped:0 overruns:0 frame:0

                            TX packets:25 errors:0 dropped:0 overruns:0 carrier:0

                            collisions:0 txqueuelen:0

                            RX bytes:0 (0.0 B)  TX bytes:2286 (2.2 KiB)

                   

                   

                  eth0      Link encap:Ethernet  HWaddr 00:0b:ab:98:e2:eb

                            inet addr:192.168.21.12  Bcast:192.168.21.255  Mask:255.255.255.0

                            inet6 addr: fe80::20b:abff:fe98:e2eb/64 Scope:Link

                            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

                  root@WR-IDP-E2EB:~# ping -c 4 -I 3g-wwan 8.8.8.8

                  PING 8.8.8.8 (8.8.8.8) from 10.125.119.189 3g-wwan: 56(84) bytes of data.

                   

                   

                  --- 8.8.8.8 ping statistics ---

                  4 packets transmitted, 0 received, 100% packet loss, time 3009ms

                   

                   

                  root@WR-IDP-E2EB:~# cat /var/log/ppp-3g.log

                  Removed stale lock on ttyACM0 (pid 12329)

                  abort on (BUSY)

                  abort on (NO CARRIER)

                  abort on (VOICE)

                  abort on (NO DIALTONE)

                  abort on (NO DIAL TONE)

                  abort on (NO ANSWER)

                  abort on (DELAYED)

                  abort on (ERROR)

                  Initializing

                  send (ATZ^M)

                  expect (OK)

                  ATZ^M^M

                  OK

                  -- got it

                   

                   

                  send (AT+CGDCONT=1,"IP","wap.cingular"^M)

                  expect (OK)

                  ^M

                  AT+CGDCONT=1,"IP","wap.cingular"^M^M

                  OK

                  -- got it

                   

                   

                  send (AT+CFUN=1^M)

                  expect (OK)

                  ^M

                  AT+CFUN=1^M^M

                  OK

                  -- got it

                   

                   

                  send (AT^M)

                  expect (OK)

                  ^M

                  AT^M^M

                  OK

                  -- got it

                   

                   

                  send (ATD*99***1#^M)

                  timeout set to 120 seconds

                  expect (CONNECT)

                  ^M

                  ATD*99***1#^M^M

                  CONNECT

                  -- got it

                   

                   

                  send ( ^M)

                  Serial connection established.

                  Using interface 3g-wwan

                  Connect: 3g-wwan <--> /dev/ttyACM0

                  local  IP address 10.125.119.189

                  remote IP address 10.125.119.189

                  primary   DNS address 172.26.38.1

                  root@WR-IDP-E2EB:~# ping -c 4 -I 3g-wwan 8.8.8.8

                  PING 8.8.8.8 (8.8.8.8) from 10.125.119.189 3g-wwan: 56(84) bytes of data.

                   

                   

                  --- 8.8.8.8 ping statistics ---

                  4 packets transmitted, 0 received, 100% packet loss, time 3000ms

                   

                   

                  root@WR-IDP-E2EB:~# ping -c 4 -I 3g-wwan 172.26.38.1

                  PING 172.26.38.1 (172.26.38.1) from 10.125.119.189 3g-wwan: 56(84) bytes of data.

                   

                   

                  --- 172.26.38.1 ping statistics ---

                  4 packets transmitted, 0 received, 100% packet loss, time 3000ms

                   

                   

                  root@WR-IDP-E2EB:~# ping -c 4 -I 3g-wwan 10.125.119.189

                  PING 10.125.119.189 (10.125.119.189) from 10.125.119.189 3g-wwan: 56(84) bytes of data.

                  64 bytes from 10.125.119.189: icmp_seq=1 ttl=64 time=0.565 ms

                  64 bytes from 10.125.119.189: icmp_seq=2 ttl=64 time=0.159 ms

                  64 bytes from 10.125.119.189: icmp_seq=3 ttl=64 time=0.159 ms

                  64 bytes from 10.125.119.189: icmp_seq=4 ttl=64 time=0.158 ms

                   

                   

                  --- 10.125.119.189 ping statistics ---

                  4 packets transmitted, 4 received, 0% packet loss, time 3002ms

                  rtt min/avg/max/mdev = 0.158/0.260/0.565/0.176 ms

                  root@WR-IDP-E2EB:~#

                  root@WR-IDP-E2EB:~# netstat -rn

                  Kernel IP routing table

                  Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface

                  0.0.0.0         10.125.119.189  0.0.0.0         UG        0 0          0 3g-wwan

                  192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 br-lan

                  192.168.21.0    0.0.0.0         255.255.255.0   U         0 0          0 eth0

                  root@WR-IDP-E2EB:~#

                  • 6. Re: Advantech UTX-3115 - HE910 PCI Express Mini Card module cellular module
                    shrinivasanganapathy

                    i see ppp running on 3g-wwan interface

                    root@WR-IDP-E2EB:~#

                    root@WR-IDP-E2EB:~# ps aux | grep pp

                    root     12076  0.0  0.0  18264  1804 ?        Ss   22:19   0:00 /bin/sh /etc/rc.common /sbin/netifd-systemd-wrapper start

                    root     12333  0.0  0.0  21940  1236 ?        S    22:19   0:00 /usr/sbin/pppd nodetach ipparam wwan ifname 3g-wwan logfile /var/log/ppp-3g.log nodefaultroute usepeerdns persist maxfail 1 connect USE_APN=wap.cingular /usr/sbin/chat -t5 -v -s -S -E -f /etc/chatscripts/3g.chat ip-up-script /lib/netifd/ppp-up ipv6-up-script /lib/netifd/ppp-up ip-down-script /lib/netifd/ppp-down ipv6-down-script /lib/netifd/ppp-down noipdefault noaccomp nopcomp novj nobsdcomp noauth lock crtscts 115200 /dev/ttyACM0

                    root     13532  0.0  0.0   4400   500 pts/0    S+   22:36   0:00 grep pp

                    root@WR-IDP-E2EB:~#

                    • 7. Re: Advantech UTX-3115 - HE910 PCI Express Mini Card module cellular module
                      shrinivasanganapathy

                      root@WR-IDP-E2EB:~#

                      root@WR-IDP-E2EB:~# ls /dev/ttyA*

                      /dev/ttyACM0  /dev/ttyACM1  /dev/ttyACM2  /dev/ttyACM3  /dev/ttyACM4  /dev/ttyACM5  /dev/ttyACM6

                      root@WR-IDP-E2EB:~# tail -10 /var/log/ppp-3g.log

                      CONNECT

                      -- got it

                       

                       

                      send ( ^M)

                      Serial connection established.

                      Using interface 3g-wwan

                      Connect: 3g-wwan <--> /dev/ttyACM0

                      local  IP address 10.125.119.189

                      remote IP address 10.125.119.189

                      primary   DNS address 172.26.38.1

                      root@WR-IDP-E2EB:~# traceroute -i 3g-wwan 10.125.119.189

                      traceroute to 10.125.119.189 (10.125.119.189), 30 hops max, 46 byte packets

                      1  10.125.119.189 (10.125.119.189)  0.036 ms  0.024 ms  0.032 ms

                      root@WR-IDP-E2EB:~# traceroute -i 3g-wwan 172.26.38.1

                      traceroute to 172.26.38.1 (172.26.38.1), 30 hops max, 46 byte packets

                      1  *  *  *

                      2  *  *  *

                      3

                      ^C

                      root@WR-IDP-E2EB:~# traceroute -i 3g-wwan 8.8.8.8

                      traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 46 byte packets

                      1  *  *  *

                      2  *^C

                      root@WR-IDP-E2EB:~#

                      • 8. Re: Advantech UTX-3115 - HE910 PCI Express Mini Card module cellular module
                        shrinivasanganapathy

                        I ran tcpdump on 3g-wwan interface and found that there are lots of outgoing packets and no incoming packets.

                        i pinged 8.8.8.8 on 3g-wwan interface. All 4 ping packets did not get response.

                         

                        root@WR-IDP-E2EB:~# ping -c 4 -I 3g-wwan 8.8.8.8

                        PING 8.8.8.8 (8.8.8.8) from 10.216.11.32 3g-wwan: 56(84) bytes of data.

                         

                         

                        --- 8.8.8.8 ping statistics ---

                        4 packets transmitted, 0 received, 100% packet loss, time 3000ms

                         

                         

                        root@WR-IDP-E2EB:~#

                         

                        root@WR-IDP-E2EB:~#

                        root@WR-IDP-E2EB:~# tcpdump -i 3g-wwan -np

                        tcpdump: verbose output suppressed, use -v or -vv for full protocol decode

                        listening on 3g-wwan, link-type LINUX_SLL (Linux cooked), capture size 262144 bytes

                        18:24:20.121923 IP 10.216.11.32.52998 > 104.245.33.76.123: NTPv4, Client, length 48

                        18:24:30.340547 IP 10.216.11.32.40743 > 209.202.167.189.443: Flags [FP.], seq 2187954222:2187954311, ack 2709331868, win 229, options [nop,nop,TS val 1614464 ecr 796105537], length 89

                        18:24:30.371996 IP 10.216.11.32.48447 > 69.167.160.102.123: NTPv4, Client, length 48

                        18:24:33.869981 IP 10.216.11.32 > 8.8.8.8: ICMP echo request, id 3566, seq 1, length 64

                        18:24:34.870719 IP 10.216.11.32 > 8.8.8.8: ICMP echo request, id 3566, seq 2, length 64

                        18:24:35.870161 IP 10.216.11.32 > 8.8.8.8: ICMP echo request, id 3566, seq 3, length 64

                        18:24:36.870570 IP 10.216.11.32 > 8.8.8.8: ICMP echo request, id 3566, seq 4, length 64

                        18:24:40.623908 IP 10.216.11.32.24491 > 172.26.38.1.53: 47519+ A? 0.pool.ntp.org. (32)

                        18:24:40.674519 IP 10.216.11.32.51496 > 69.89.207.99.123: NTPv4, Client, length 48

                        • 9. Re: Advantech UTX-3115 - HE910 PCI Express Mini Card module cellular module
                          shrinivasanganapathy

                          Disabled the firewall and still do not see ping go through 3g-wwan interface.

                          traceroute shows outgoing packets and no incoming packets on 3g-wwan interface.

                           

                          root@WR-IDP-E2EB:~#

                          root@WR-IDP-E2EB:~# iptables --flush

                          root@WR-IDP-E2EB:~#

                          root@WR-IDP-E2EB:~# ping -c 4 -I 3g-wwan 8.8.8.8

                          PING 8.8.8.8 (8.8.8.8) from 10.216.11.32 3g-wwan: 56(84) bytes of data.

                           

                           

                          --- 8.8.8.8 ping statistics ---

                          4 packets transmitted, 0 received, 100% packet loss, time 3000ms

                           

                           

                          root@WR-IDP-E2EB:~#

                          root@WR-IDP-E2EB:~# tcpdump -i 3g-wwan -np

                          tcpdump: verbose output suppressed, use -v or -vv for full protocol decode

                          listening on 3g-wwan, link-type LINUX_SLL (Linux cooked), capture size 262144 bytes

                          19:31:00.826207 IP 10.216.11.32 > 8.8.8.8: ICMP echo request, id 7273, seq 1, length 64

                          19:31:01.826574 IP 10.216.11.32 > 8.8.8.8: ICMP echo request, id 7273, seq 2, length 64

                          19:31:02.084446 IP 10.216.11.32.40980 > 209.202.167.189.443: Flags [FP.], seq 720095523:720095612, ack 3627251267, win 229, options [nop,nop,TS val 5606208 ecr 797101598], length 89

                          19:31:02.826596 IP 10.216.11.32 > 8.8.8.8: ICMP echo request, id 7273, seq 3, length 64

                          19:31:03.826658 IP 10.216.11.32 > 8.8.8.8: ICMP echo request, id 7273, seq 4, length 64

                          19:31:05.640322 IP 10.216.11.32.40984 > 209.202.167.189.443: Flags [S], seq 1144215539, win 2

                          • 10. Re: Advantech UTX-3115 - HE910 PCI Express Mini Card module cellular module
                            mohamedshaharris_intel

                            Hi,

                             

                            Could you try with curl command?

                            You can run as an example

                             

                            $ curl <website>

                             

                            Regards,

                            Intel Customer Supports.

                            • 11. Re: Advantech UTX-3115 - HE910 PCI Express Mini Card module cellular module
                              shrinivasanganapathy

                              curl -L URL  does not follow the redirect. I get the AT&T Free Text msg.

                               

                               

                              root@WR-IDP-E2EB:~# curl -L http://www.google.com

                              <!DOCTYPE html

                                      PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

                                       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

                              <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">

                              <head>

                              <title>Page was redirected.</title>

                              <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

                              </head>

                              <body>

                              AT&T Free Msg: It looks like you want to use data but have none available. You may need to add a data package, refill to use pay-per-use data or change to a plan that supports data. To check your plan and manage your account, start at <a href="http://att.com/mygophone">att.com/mygophone</a>. If you just made a payment for your monthly plan with data, power your device off and back on, then try again.

                              </body>

                              </html>root@WR-IDP-E2EB:~#

                              • 12. Re: Advantech UTX-3115 - HE910 PCI Express Mini Card module cellular module
                                shrinivasanganapathy

                                root@WR-IDP-E2EB:~# curl -v http://google.co.in

                                * Rebuilt URL to: http://google.co.in/

                                * Hostname was NOT found in DNS cache

                                *   Trying 216.58.195.227...

                                *   Trying 2607:f8b0:4005:806::2003...

                                * Immediate connect fail for 2607:f8b0:4005:806::2003: Invalid argument

                                * Connected to google.co.in (216.58.195.227) port 80 (#0)

                                > GET / HTTP/1.1

                                > User-Agent: curl/7.37.1

                                > Host: google.co.in

                                > Accept: */*

                                >

                                < HTTP/1.1 302 Found

                                < Location: http://redirect.ac.sl.attcompute.com/cgi-bin/redirect.cgi?msg=2

                                < Content-Type: text/html; charset=iso-8859-1

                                < Proxy-Connection: close

                                * no chunk, no close, no size. Assume close to signal end

                                <

                                * Closing connection 0

                                The document has movedroot@WR-IDP-E2EB:~#

                                1 2 Previous Next