06-25-2020, 08:42 AM
I have problems with the mobile data connection as well: I did set up an APN in the mobile settings using the information I got from my provider and even added my provider to the mobile-broadband-provider-info (as described in https://wiki.gnome.org/Projects/NetworkM...eProviders). Everything looks alright at a first glance:
mmcli -m 0:
mmcli -b 0:
nmcli c:
nmcli d:
route:
But even a ping to the gateway doesn't work:
Power-off/-on cycle of the phone didn't help. And @Juergen: switching off "automatic suspend" didn't help in my case.
One more thing I noticed: The current images in the folder 1.2-Community-Edtion are still using the 1.1 dtb.
Looks like that those images are not built from the git 1.2 branch? Same for /boot/sun50i-a64-pinephone.dtb. Is there a reason for that?
Downloading boot.cmd and sun50i-a64-pinephone.dtb from the git repository 1.2 branch and building the boot.scr with
seems to work fine for me so far...
mmcli -m 0:
Code:
...
--------------------------------
General | dbus path: /org/freedesktop/ModemManager1/Bearer/0
| type: default
--------------------------------
Status | connected: yes
| suspended: no
| ttyUSB1 (gps), ttyUSB3 (at)
--------------------------------
Status | lock: sim-pin2
| unlock retries: sim-pin (3), sim-puk (10), sim-pin2 (3), sim-puk2 (10)
| state: connected
| power state: on
| access tech: lte
| signal quality: 100% (recent)
--------------------------------
Modes | supported: allowed: 2g; preferred: none
| allowed: 3g; preferred: none
| allowed: 4g; preferred: none
| allowed: 2g, 3g; preferred: 3g
| allowed: 2g, 3g; preferred: 2g
| allowed: 2g, 4g; preferred: 4g
| allowed: 2g, 4g; preferred: 2g
| allowed: 3g, 4g; preferred: 3g
| allowed: 3g, 4g; preferred: 4g
| allowed: 2g, 3g, 4g; preferred: 4g
| allowed: 2g, 3g, 4g; preferred: 3g
| allowed: 2g, 3g, 4g; preferred: 2g
| current: allowed: 2g, 3g, 4g; preferred: 4g
--------------------------------
Bands | supported: egsm, dcs, pcs, g850, utran-1, utran-4, utran-6, utran-5,
| utran-8, utran-2, eutran-1, eutran-2, eutran-3, eutran-4, eutran-5,
| eutran-7, eutran-8, eutran-12, eutran-13, eutran-18, eutran-19,
| eutran-20, eutran-25, eutran-26, eutran-28, eutran-38, eutran-39,
| eutran-40, eutran-41, utran-19
| current: egsm, dcs, pcs, g850, utran-1, utran-4, utran-6, utran-5,
| utran-8, utran-2, eutran-1, eutran-2, eutran-3, eutran-4, eutran-5,
| eutran-7, eutran-8, eutran-12, eutran-13, eutran-18, eutran-19,
| eutran-20, eutran-25, eutran-26, eutran-28, eutran-38, eutran-39,
| eutran-40, eutran-41, utran-19
--------------------------------
IP | supported: ipv4, ipv6, ipv4v6
--------------------------------
...
Code:
--------------------------------
General | dbus path: /org/freedesktop/ModemManager1/Bearer/0
| type: default
--------------------------------
Status | connected: yes
| suspended: no
| interface: wwan0
| ip timeout: 20
--------------------------------
Properties | apn: internet
| roaming: forbidden
| ip type: ipv4v6
--------------------------------
IPv4 configuration | method: static
| address: 10.209.216.93
| prefix: 30
| gateway: 10.209.216.94
| dns: 62.109.121.17, 62.109.121.18
| mtu: 1500
--------------------------------
Statistics | duration: 1170
| bytes rx: 3089
| bytes tx: 505
Code:
NAME UUID TYPE DEVICE
Simplytel O2 5a0fd222-5014-4127-9b81-4aad88756510 gsm cdc-wdm0
Code:
DEVICE TYPE STATE CONNECTION
cdc-wdm0 gsm verbunden Simplytel O2
Code:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 10.209.216.94 0.0.0.0 UG 1050 0 0 wwan0
10.209.216.92 0.0.0.0 255.255.255.252 U 1050 0 0 wwan0
But even a ping to the gateway doesn't work:
Code:
$ sudo ping 10.209.216.94
PING 10.209.216.94 (10.209.216.94) 56(84) bytes of data.
^C
--- 10.209.216.94 ping statistics ---
61 packets transmitted, 0 received, 100% packet loss, time 502ms
Power-off/-on cycle of the phone didn't help. And @Juergen: switching off "automatic suspend" didn't help in my case.
One more thing I noticed: The current images in the folder 1.2-Community-Edtion are still using the 1.1 dtb.
Code:
/boot/boot.cmd:
load mmc ${mmc_bootdev}:1 ${fdt_addr_r} 5.6-pinephone/allwinner/sun50i-a64-pinephone-1.1.dtb
Looks like that those images are not built from the git 1.2 branch? Same for /boot/sun50i-a64-pinephone.dtb. Is there a reason for that?
Downloading boot.cmd and sun50i-a64-pinephone.dtb from the git repository 1.2 branch and building the boot.scr with
Code:
sudo mkimage -T script -A arm64 -C none -n pinephone -d /boot/boot.cmd /boot/boot.scr
seems to work fine for me so far...