It worked perfectly fine on my Raspberry Pi 3. I suspect it is because I don’t have wwan0. On my raspberry pi, wwan shows up when i type ifconfig whereas, I get this when I type ifconfig on my terminal
Thank you for the reply! I got these errors when running
sudo ModemManager --debug
My Jetson Nano can detect the modem when I do lsusb
Bus 002 Device 002: ID 0bda:0411 Realtek Semiconductor Corp.
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 8087:0a2b Intel Corp.
Bus 001 Device 005: ID 046d:c31d Logitech, Inc. Media Keyboard K200
Bus 001 Device 004: ID 0461:4d81 Primax Electronics, Ltd Dell N889 Optical Mouse
Bus 001 Device 008: ID 12d1:1506 Huawei Technologies Co., Ltd. Modem/Networkcard
Bus 001 Device 002: ID 0bda:5411 Realtek Semiconductor Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
When I run
sudo systemctl status ModemManager
● ModemManager.service - Modem Manager
Loaded: loaded (/lib/systemd/system/ModemManager.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2019-10-02 10:21:03 +08; 1h 5min ago
Main PID: 21243 (ModemManager)
Tasks: 3 (limit: 4183)
CGroup: /system.slice/ModemManager.service
└─21243 /usr/sbin/ModemManager --filter-policy=strict
Oct 02 11:25:53 gaanesh-desktop ModemManager[21243]: <info> Simple connect state (5/8): Register
Oct 02 11:25:53 gaanesh-desktop ModemManager[21243]: <info> Simple connect state (6/8): Bearer
Oct 02 11:25:53 gaanesh-desktop ModemManager[21243]: <info> Simple connect state (7/8): Connect
Oct 02 11:25:53 gaanesh-desktop ModemManager[21243]: <info> Modem /org/freedesktop/ModemManager1/Modem/0: state changed (registered -> connecting)
Oct 02 11:25:56 gaanesh-desktop ModemManager[21243]: <warn> (tty/ttyUSB0) at port timed out 7 consecutive times
Oct 02 11:25:59 gaanesh-desktop ModemManager[21243]: <warn> (tty/ttyUSB0) at port timed out 8 consecutive times
Oct 02 11:26:02 gaanesh-desktop ModemManager[21243]: <warn> (tty/ttyUSB0) at port timed out 9 consecutive times
Oct 02 11:26:05 gaanesh-desktop ModemManager[21243]: <warn> Couldn't initialize PDP context with our APN: 'Serial command timed out'
Oct 02 11:26:05 gaanesh-desktop ModemManager[21243]: <info> Modem /org/freedesktop/ModemManager1/Modem/0: state changed (connecting -> registered)
Oct 02 11:26:05 gaanesh-desktop ModemManager[21243]: <error> (tty/ttyUSB0) at port timed out 10 consecutive times, marking modem '/org/freedesktop/ModemManager1/Modem/0' as invalid
I feel like there is something wrong with port ttyUSB0
I see ttyUSB0 timeout. If there is firmware needed by the modem, then it is possible the hardware wouldn’t respond (or would respond incorrectly). Can’t think of anything else to try, but check if there is any additional firmware to load (often firmware is from the manufacturer site and not directly downloaded through the Ubuntu package mechanism).
There are some open source firmware packages as well. If your RPi has that installed, but not the Nano, then you would still see that behavior. Nanos and RPIs usually ship with very different default packages. I don’t have another suggestion if that isn’t the case, but find out if there is an explicit list of prerequisites for that modem on Linux which might not be preinstalled on the Nano. If that isn’t the issue, then you can go from there knowing firmware is set up already.