1) List the modem (note no pin is required) /tmp # ./list-modems [ /huawei0 ] Features = gprs cbs net ussd sms rat sim Powered = 1 Lockdown = 0 Interfaces = org.ofono.ConnectionManager org.ofono.CellBroadcast org.ofono.NetworkRegistration org.ofono.SupplementaryServices org.ofono.CallBarring org.ofono.CallSettings org.ofono.CallForwarding org.ofono.MessageWaiting org.ofono.SmartMessaging org.ofono.PushNotification org.ofono.MessageManager org.ofono.RadioSettings org.ofono.AudioSettings org.ofono.VoiceCallManager org.ofono.SimManager Online = 1 Model = E1692 Manufacturer = huawei Serial = 353108032160081 Revision = 11.126.08.00.192 [ org.ofono.ConnectionManager ] Powered = 1 Attached = 1 Bearer = none Suspended = 0 RoamingAllowed = 0 [ org.ofono.CellBroadcast ] Topics = Powered = 1 [ org.ofono.NetworkRegistration ] Status = registered Strength = 41 Name = Telecom Italia M LocationAreaCode = 61108 Mode = auto MobileCountryCode = 222 CellId = 72657880 MobileNetworkCode = 01 [ org.ofono.SupplementaryServices ] State = idle [ org.ofono.CallBarring ] VoiceOutgoing = disabled VoiceIncoming = disabled [ org.ofono.CallSettings ] HideCallerId = default CallingLinePresentation = enabled VoiceCallWaiting = disabled CalledLinePresentation = disabled ConnectedLineRestriction = unknown ConnectedLinePresentation = disabled CallingLineRestriction = off CallingNamePresentation = unknown [ org.ofono.CallForwarding ] ForwardingFlagOnSim = 0 VoiceNoReplyTimeout = 20 VoiceNotReachable = +39363338585692 VoiceBusy = +39363338585692 VoiceNoReply = +39363338585692 VoiceUnconditional = [ org.ofono.MessageWaiting ] VoicemailMessageCount = 0 VoicemailMailboxNumber = VoicemailWaiting = 0 [ org.ofono.SmartMessaging ] [ org.ofono.PushNotification ] [ org.ofono.MessageManager ] Alphabet = default UseDeliveryReports = 0 Bearer = cs-preferred ServiceCenterAddress = +393359609600 [ org.ofono.RadioSettings ] UmtsBand = any TechnologyPreference = any GsmBand = any [ org.ofono.AudioSettings ] Active = 0 [ org.ofono.VoiceCallManager ] EmergencyNumbers = 112 911 [ org.ofono.SimManager ] Retries = [pin2 = 3] [puk2 = 10] [pin = 3] [puk = 10] MobileCountryCode = 222 FixedDialing = 0 SubscriberNumbers = 3338585692 PreferredLanguages = it en BarredDialing = 0 ServiceNumbers = [12.54] = '1254' [MilleunaTIM] = '40848' [Disattiva Segr] = '##002#' [TIM Taxi] = '42494' [Serv. Clienti] = '+393399119' [Segreteria Tel] = '41919' [Avv Chiam NO] = '#43#' [Attiva Segr.] = '**62*41919#' [Avv Chiam SI] = '*43#' CardIdentifier = 89390100001387706456 LockedPins = MobileNetworkCode = 01 SubscriberIdentity = 222019903120772 Present = 1 PinRequired = none 2) Enable the modem /tmp # ./enable-modem Connecting modem /huawei0... /tmp # ./online-modem Setting modem /huawei0 online... /tmp # 2 Bis) List context /tmp # ./list-contexts [ /huawei0 ] [ /huawei0/context1 ] Username = Protocol = ip Name = Internet Settings = { } IPv6.Settings = { } Active = 0 AccessPointName = ibox.tim.it Password = Type = internet 3) Setting the apn dbus-send --system --print-reply --reply-timeout=120000 --type=method_call --dest='org.ofono' /huawei0/context1 org.ofono.ConnectionContext.SetProperty string:AccessPoint Name variant:string:ibox.tim.it method return sender=:1.9 -> dest=:1.14 reply_serial=2 4) Activate the context /tmp # dbus-send --system --print-reply --reply-timeout=120000 --type=method_call --dest='org.ofono' /huawei0/context1 org.ofono.ConnectionContext.SetProperty string:Active variant:boolean:true Error org.ofono.Error.NotImplemented: Implementation not provided 4 Bis) Activate the context /tmp # ./activate-context Error activating /huawei0/context1: org.ofono.Error.NotImplemented: Implementation not provided /tmp #