Routes for MMS interface not created
Hello,
I do not know what to do next :/
The issue is that I can't send/receive MMSes. Operator is Virgin Mobile Poland.
And the reason is:
2020-03-14 14:07:21 [mms-ofono] Settings.Interface: rmnet_data0 2020-03-14 14:07:21 [mms-ofono] Settings.Method: static 2020-03-14 14:07:21 [mms-ofono] Settings.Address: 10.225.52.112 2020-03-14 14:07:21 [mms-ofono] Settings.Netmask: 255.255.255.224 2020-03-14 14:07:21 [mms-ofono] Settings.Gateway: 10.225.52.113 2020-03-14 14:07:21 [mms-ofono] Settings.DomainNameServers: 10.1.200.150 10.1.200.151 2020-03-14 14:07:21 [mms-ofono] Interface: rmnet_data0 2020-03-14 14:07:21 [mms-connection-nemo] Interface: rmnet_data0 2020-03-14 14:07:21 [mms-ofono] Context /ril_0/context2 is active 2020-03-14 14:07:21 [mms-dispatcher] Retrieve[2425] NEED_CONNECTION 2020-03-14 14:07:21 [mms-settings-dconf] max-message-size = 1048576 2020-03-14 14:07:21 [mms-task-http] MMS proxy wap.virginpol.jsc:8080 2020-03-14 14:07:21 [mms-transfer-list] Transfer /msg/2425/Retrieve started 2020-03-14 14:07:22 [mms-task] Retrieve[2425] NEED_CONNECTION -> TRANSMITTING 2020-03-14 14:07:22 [mms-ofono] Settings.Netmask: 255.255.255.255 2020-03-14 14:07:22 [mms-transfer-list] Update flags => 0x12 2020-03-14 14:07:22 [mms-task-http] HTTP status 2 (Cannot resolve hostname)
So during MMS processing rmnet_data0 interface is created. But in configuration I see that rmnet_data is UP, but nothing else is configured.
Route is not created, and more over routes to DNS servers also (log above is not from below output time frame).
[root@Sailfish ~]# ip a s dev rmnet_data0; ip r 5: rmnet_data0: <up,lower_up> mtu 1280 qdisc htb state UNKNOWN qlen 1000 link/[530] inet 10.224.17.216/32 scope global rmnet_data0 valid_lft forever preferred_lft forever default via 192.168.2.1 dev wlan0 192.168.2.0/24 dev wlan0 proto kernel scope link src 192.168.2.114 192.168.2.1 dev wlan0 scope link 208.67.222.222 via 192.168.2.1 dev wlan0 </up,lower_up>
So the question what to do next? Can I somehow force or add static routes on rmnet_data0 interface UP?
Or is there a bug in Sailfish?
EDIT: Of course I forget about:
Sorry, I totally forgot. :/
Device: Sony Xperia XA2 - Dual SIM H4113 Sailfish OS - 3.2.1.20 (Nuuksio)
$ cat ConnectionManager.GetContexts.ril_0.txt
method return time=1584287947.606561 sender=:1.7 -> destination=:1.125 serial=770 reply_serial=2
array [
struct {
object path "/ril_0/context1"
array [
dict entry(
string "Name"
variant string "VM Internet"
)
dict entry(
string "Active"
variant boolean false
)
dict entry(
string "Type"
variant string "internet"
)
dict entry(
string "Protocol"
variant string "dual"
)
dict entry(
string "AccessPointName"
variant string "virgin-internet"
)
dict entry(
string "Username"
variant string ""
)
dict entry(
string "Password"
variant string ""
)
dict entry(
string "AuthenticationMethod"
variant string "any"
)
dict entry(
string "Settings"
variant array [
]
)
dict entry(
string "IPv6.Settings"
variant array [
]
)
]
}
struct {
object path "/ril_0/context2"
array [
dict entry(
string "Name"
variant string "MMS"
)
dict entry(
string "Active"
variant boolean false
)
dict entry(
string "Type"
variant string "mms"
)
dict entry(
string "Protocol"
variant string "dual"
)
dict entry(
string "AccessPointName"
variant string "virgin-mms"
)
dict entry(
string "Username"
variant string ""
)
dict entry(
string "Password"
variant string ""
)
dict entry(
string "AuthenticationMethod"
variant string "any"
)
dict entry(
string "MessageProxy"
variant string "wap.virginpol.jsc:8080"
)
dict entry(
string "MessageCenter"
variant string "http://mms.virginpol.jsc"
)
dict entry(
string "Settings"
variant array [
dict entry(
string "Method"
variant string "dhcp"
)
]
)
dict entry(
string "IPv6.Settings"
variant array [
]
)
]
}
]
GAndrel
it will be easier if you tell us what phone are you using and which version of OS do you have.
can you show your mms configuration?
atlochowski ( 2020-03-15 19:22:00 +0200 )editAnd additional log from ofono.log:
.
So looks like phone is receiving all information required, but connectivity is not established.
GAndrel ( 2020-03-16 18:44:53 +0200 )edithave you tried to collect logs by https://openrepos.net/content/slava/mms-logger ?
by mms-loger you can send your logs to jolla to analize them
https://jolla.zendesk.com/hc/en-us/articles/201893246-Jolla-phone-I-can-t-send-or-receive-MMS-what-should-I-do-
atlochowski ( 2020-03-16 19:19:08 +0200 )edit