We have moved to a new Sailfish OS Forum. Please start new discussions there.
0

Routes for MMS interface not created

asked 2020-03-15 19:09:39 +0200

GAndrel gravatar image

updated 2020-03-17 15:58:26 +0200

jiit gravatar image

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

edit retag flag offensive close delete

Comments

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 )edit

And additional log from ofono.log:

2020-03-16 17:30:15.980 drivers/ril/ril_data.c: ril_data_call_list_parse() version=11,num=1
2020-03-16 17:30:15.982 drivers/ril/ril_data.c: ril_data_call_parse() [status=0,retry=-1,cid=0,active=1,type=IP,ifname=rmnet_data0,mtu=1280,address=10.201.45.198/30,dns=10.1.9.7 10.1.9.8,gateways=10.201.45.197]
2020-03-16 17:30:15.982 drivers/ril/ril_data.c: ril_data_set_calls() data calls changed
2020-03-16 17:30:15.986 drivers/ril/ril_gprs_context.c: ril_gprs_context_call_list_changed() call 0 didn't change

.

So looks like phone is receiving all information required, but connectivity is not established.

GAndrel ( 2020-03-16 18:44:53 +0200 )edit

have 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

1 Answer

Sort by » oldest newest most voted
2

answered 2020-03-17 15:08:58 +0200

atlochowski gravatar image

updated 2020-03-17 15:27:34 +0200

I think here you have your answer https://bugs.merproject.org/show_bug.cgi?id=903

mmsproxy have to be an IP address.

edit flag offensive delete publish link more

Comments

Thank You very much.

Indeed with proxy configured as IP MMS sending and receiving is working.

GAndrel ( 2020-03-17 15:31:03 +0200 )edit

what IP address did you use?

atlochowski ( 2020-03-17 20:26:15 +0200 )edit

10.1.201.100

I managed to resolve hostname in brief moment when mms interface was up.

GAndrel ( 2020-03-17 20:46:14 +0200 )edit

thanks. I will update SailfishOS gitlab project with config for Virgin Mobile Poland. So future releases will have Virgin Mobile Poland config by default.

atlochowski ( 2020-03-17 20:54:28 +0200 )edit
Login/Signup to Answer

Question tools

Follow
3 followers

Stats

Asked: 2020-03-15 19:09:39 +0200

Seen: 607 times

Last updated: Mar 17 '20