Home Page Forums Raspberry Pi Shields Everything but routing – New LTE Base HAT

This topic contains 2 replies, has 2 voices, and was last updated by  Saeed 7 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #35822

    cj.terry
    Participant

    I just got may hardware. Base, LTE for USA (T-mobile sim) and the antenna. Did an update update & upgrade. Shut down, installed hardware and booted up. It worked immediately, ifconfig show wwan0. Modem lights flashing red & blue. I then ran your new PPP script on this page:

    PPP installer for Sixfab Shield

    It all seems to be there but a default gateway for the wireless modem. I have rebooted, looked at netstat etc. What am I missing. I seem to be 1 route away from it working.

    I also installed network-manager for help

    See below, thanks! Chris T.

    ————–

    —————
    [email protected]:~ $ ifconfig
    eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
    ether b8:27:eb:7f:50:fd txqueuelen 1000 (Ethernet)
    RX packets 0 bytes 0 (0.0 B)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 0 bytes 0 (0.0 B)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
    inet 127.0.0.1 netmask 255.0.0.0
    inet6 ::1 prefixlen 128 scopeid 0x10<host>
    loop txqueuelen 1000 (Local Loopback)
    RX packets 185 bytes 12956 (12.6 KiB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 185 bytes 12956 (12.6 KiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    ppp0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500
    inet 22.186.160.144 netmask 255.255.255.255 destination 10.64.64.64
    ppp txqueuelen 3 (Point-to-Point Protocol)
    RX packets 4 bytes 52 (52.0 B)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 4 bytes 58 (58.0 B)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    wwan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
    inet 169.254.157.155 netmask 255.255.0.0 broadcast 169.254.255.255
    inet6 fe80::feab:85f5:f370:8780 prefixlen 64 scopeid 0x20<link>
    ether fe:7e:a3:e5:9a:98 txqueuelen 1000 (Ethernet)
    RX packets 0 bytes 0 (0.0 B)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 69 bytes 7346 (7.1 KiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    [email protected]:~ $ ping localhost
    PING localhost(localhost (::1)) 56 data bytes
    64 bytes from localhost (::1): icmp_seq=1 ttl=64 time=0.091 ms
    64 bytes from localhost (::1): icmp_seq=2 ttl=64 time=0.161 ms
    64 bytes from localhost (::1): icmp_seq=3 ttl=64 time=0.129 ms
    ^C
    — localhost ping statistics —
    3 packets transmitted, 3 received, 0% packet loss, time 2118ms
    rtt min/avg/max/mdev = 0.091/0.127/0.161/0.028 ms
    [email protected]:~ $ ping espn.com
    ^C
    [email protected]:~ $ route -n
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    0.0.0.0 0.0.0.0 0.0.0.0 U 204 0 0 wwan0
    10.64.64.64 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
    169.254.0.0 0.0.0.0 255.255.0.0 U 204 0 0 wwan0
    [email protected]:~ $

    ———————
    [email protected]:~ $ nmcli connection
    NAME UUID TYPE DEVICE
    Wired connection 1 e19eae98-a6f4-37fe-b37c-56d075fbc103 802-3-ethernet eth0
    —————–
    [email protected]:~ $ nmcli -p
    eth0: connected to Wired connection 1
    “0424 7800”
    ethernet (lan78xx), B8:27:EB:7F:50:FD, hw, mtu 1500
    ip4 default
    inet4 192.168.1.181/24
    inet6 fe80::f75e:aac8:81dc:9c09/64

    cdc-wdm0: unavailable
    gsm (qmi_wwan, option1), hw

    wlan0: unavailable
    “Broadcom ”
    wifi (brcmfmac), 0A:1E:99:23:1F:C4, hw, mtu 1500

    lo: unmanaged
    loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536

    ppp0: unmanaged
    ppp, hw, mtu 1500

    DNS configuration:
    servers: 1.1.1.1 208.67.222.222
    interface: eth0

    Use “nmcli device show” to get complete information about known devices and
    “nmcli connection show” to get an overview on active connection profiles.

    Consult nmcli(1) and nmcli-examples(5) manual pages for complete usage details.
    ——————-
    [email protected]:~ $ nmcli g
    STATE CONNECTIVITY WIFI-HW WIFI WWAN-HW WWAN
    connected full enabled disabled enabled enabled
    ——————

    #35827

    cj.terry
    Participant

    This is fixed with the command of: sudo route add default ppp0 (it should be included in the instructions….) I think everyone need this.

    #35886

    Saeed
    Moderator

    Thank you for your feedback.
    We will add it.

    Thank you

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.