For added detail, the dispatcher script mentioned above is 03mmsproxy
and is installed to /etc/NetworkManager/dispatcher.d.

The script is written in Python does the following:

1) it does some minor error checking on modem_path ( 'DEVICE_IPATH' )
and connection ( 'CONNECTION_ID' )

2) it makes a synchronous dbus call to get the properties of the
specified ofono context

3) is use socket.gethostbyname to resolve the MMS proxy

4) if uses subprocess.call to invoke the "ip route" command to configure
the proxy

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1304501

Title:
  handle ofono MMS host routes that are hostnames and not IP addresses

Status in “network-manager” package in Ubuntu:
  Fix Released
Status in “ofono” package in Ubuntu:
  Invalid

Bug description:
  NM should be able to handle (read: resolve) MMS proxy settings as
  strings for hostnames: if the value is a hostname rather than an IP
  address, we should try to resolve it to generate a proper host route
  to the MMS proxy.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1304501/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to