02-07-2021, 04:31 AM
(01-31-2021, 09:30 AM)vkraven Wrote: Could you try a fresh reboot of your phone, and see if the "settings -> modem" tab gets populated? If it is, I found that you need to run
Code:sudo ofonoctl wan --connect --append-dns
in order to get an IP address and DNS nameserver assigned to wwan0 for mobile data. I put this command into a systemd startup script just to make it more automatic.
Very thanks. It worked for me. Unfortunately my systemd service fails (modem not found):
Code:
[Unit]
Description=Enable mobile data
After=ofono.service
[Service]
Type=oneshot
ExecStart=/usr/bin/ofonoctl wan --connect --append-dns
[Install]
WantedBy=multi-user.target