Hello
I'm working with a telit HE910-D with the latest ofono 1.30 and latest connman
I do the following:
systemctl start ofono
root@bumblebee-21c24c:~# cd /usr/lib/ofono/test/
root@bumblebee-21c24c:/usr/lib/ofono/test# ./list-modems
[ /telit_0 ]
Online = 0
Powered = 0
Lockdown = 0
Emergency = 0
SystemPath =
/sys/devices/soc0/soc/30800000.aips-bus/30b30000.usb/ci_hdrc.1/usb2/2-1/2-1.1
Interfaces =
Features =
Type = hardware
root@bumblebee-21c24c:/usr/lib/ofono/test# ./enable-modem
Connecting modem /telit_0...
root@bumblebee-21c24c:/usr/lib/ofono/test# ./list-modems
[ /telit_0 ]
Online = 1
Powered = 1
Lockdown = 0
Emergency = 0
Manufacturer = Telit
Model = HE910-D
Revision = 12.00.024
Serial = 351579052975024
SystemPath =
/sys/devices/soc0/soc/30800000.aips-bus/30b30000.usb/ci_hdrc.1/usb2/2-1/2-1.1
Interfaces = org.ofono.SmartMessaging org.ofono.PushNotification
org.ofono.MessageManager org.ofono.Phonebook
org.ofono.NetworkRegistration org.ofono.ConnectionManager
org.ofono.AllowedAccessPoints org.ofono.SimManager
Features = sms net gprs sim
Type = hardware
[ org.ofono.SmartMessaging ]
[ org.ofono.PushNotification ]
[ org.ofono.MessageManager ]
ServiceCenterAddress = +353868002000
UseDeliveryReports = 0
Bearer = cs-preferred
Alphabet = default
[ org.ofono.Phonebook ]
[ org.ofono.NetworkRegistration ]
Status = registered
Mode = auto
LocationAreaCode = 32500
CellId = 47189919
Technology = umts
MobileCountryCode = 272
MobileNetworkCode = 02
Name = 3
Strength = 40
[ org.ofono.ConnectionManager ]
Attached = 1
Bearer = hsdpa
RoamingAllowed = 0
Powered = 1
Suspended = 0
[ org.ofono.AllowedAccessPoints ]
[ org.ofono.SimManager ]
Present = 1
CardIdentifier = 8935302173240104694
SubscriberIdentity = 272023119202599
FixedDialing = 0
BarredDialing = 0
MobileCountryCode = 272
MobileNetworkCode = 02
SubscriberNumbers = +353864633764
LockedPins =
PinRequired = none
Retries = [pin = 3] [pin2 = 3] [puk = 10] [puk2 = 10]
CardSlotCount = 1
ActiveCardSlot = 1
root@bumblebee-21c24c:/usr/lib/ofono/test# ./list-contexts
[ /telit_0 ]
[ /telit_0/context1 ]
Name = Internet
Active = 0
Type = internet
Protocol = ip
AccessPointName =
Username =
Password =
AuthenticationMethod = chap
Settings = { }
IPv6.Settings = { }
root@bumblebee-21c24c:/usr/lib/ofono/test# ./remove-contexts
Removed: [ /telit_0/context1 ]
root@bumblebee-21c24c:/usr/lib/ofono/test# ./create-internet-context
Created new context /telit_0/context1
root@bumblebee-21c24c:/usr/lib/ofono/test# ./online-modem
Setting modem /telit_0 online...
root@bumblebee-21c24c:/usr/lib/ofono/test# ./activate-context
root@bumblebee-21c24c:/usr/lib/ofono/test# ./list-modems
[ /telit_0 ]
Online = 1
Powered = 1
Lockdown = 0
Emergency = 0
Manufacturer = Telit
Model = HE910-D
Revision = 12.00.024
Serial = 351579052975024
SystemPath =
/sys/devices/soc0/soc/30800000.aips-bus/30b30000.usb/ci_hdrc.1/usb2/2-1/2-1.1
Interfaces = org.ofono.SmartMessaging org.ofono.PushNotification
org.ofono.MessageManager org.ofono.Phonebook
org.ofono.NetworkRegistration org.ofono.ConnectionManager
org.ofono.AllowedAccessPoints org.ofono.SimManager
Features = sms net gprs sim
Type = hardware
[ org.ofono.SmartMessaging ]
[ org.ofono.PushNotification ]
[ org.ofono.MessageManager ]
ServiceCenterAddress = +353868002000
UseDeliveryReports = 0
Bearer = cs-preferred
Alphabet = default
[ org.ofono.Phonebook ]
[ org.ofono.NetworkRegistration ]
Status = registered
Mode = auto
LocationAreaCode = 32500
CellId = 47192005
Technology = umts
MobileCountryCode = 272
MobileNetworkCode = 02
Name = 3
Strength = 40
[ org.ofono.ConnectionManager ]
Attached = 1
Bearer = hsdpa
RoamingAllowed = 0
Powered = 1
Suspended = 0
[ org.ofono.AllowedAccessPoints ]
[ org.ofono.SimManager ]
Present = 1
CardIdentifier = 8935302173240104694
SubscriberIdentity = 272023119202599
FixedDialing = 0
BarredDialing = 0
MobileCountryCode = 272
MobileNetworkCode = 02
SubscriberNumbers = +353864633764
LockedPins =
PinRequired = none
Retries = [pin = 3] [pin2 = 3] [puk = 10] [puk2 = 10]
CardSlotCount = 1
ActiveCardSlot = 1
root@bumblebee-21c24c:/usr/lib/ofono/test# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state
DOWN qlen 1000
link/ether 00:01:c0:21:c2:4c brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether 00:01:c0:21:c2:53 brd ff:ff:ff:ff:ff:ff
inet 10.32.234.43/24 brd 10.32.234.255 scope global dynamic eth1
valid_lft 6899sec preferred_lft 6899sec
inet6 fe80::201:c0ff:fe21:c253/64 scope link
valid_lft forever preferred_lft forever
4: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN qlen 1000
link/sit 0.0.0.0 brd 0.0.0.0
5: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc
pfifo_fast state UNKNOWN qlen 500
link/[65534]
inet6 fe80::cfa:2a85:a32a:9967/64 scope link
valid_lft forever preferred_lft forever
The problem is that the ppp0 interface doesn't get an ip while on te
log I can clearly see it
Oct 16 14:24:46 bumblebee-21c24c ofonod[551]: ofonod[551]: PPP:
../../../../../../workspace/sources/ofono/gatchat/gatppp.c:ppp_enter_phase()
4
Oct 16 14:24:46 bumblebee-21c24c ofonod[551]: ofonod[551]:
../../../../../../workspace/sources/ofono/drivers/atmodem/gprs-context.c:ppp_connect()
Oct 16 14:24:46 bumblebee-21c24c ofonod[551]: ofonod[551]: IP: 100.88.174.61
Oct 16 14:24:46 bumblebee-21c24c ofonod[551]: ofonod[551]: DNS:
83.136.46.138, 62.40.32.33
Oct 16 14:24:46 bumblebee-21c24c ofonod[551]: ofonod[551]:
../../../../../../workspace/sources/ofono/src/gprs.c:pri_activate_callback()
0x2201620
Oct 16 14:24:46 bumblebee-21c24c ofonod[551]: ofonod[551]:
../../../../../../workspace/sources/ofono/plugins/udevng.c:add_serial_device()
Device is missing required OFONO_DRIVER property
Oct 16 14:24:47 bumblebee-21c24c ofonod[551]: ofonod[551]:
../../../../../../workspace/sources/ofono/plugins/udevng.c:check_modem_list()
Oct 16 14:24:50 bumblebee-21c24c ofonod[551]: ofonod[551]:
../../../../../../workspace/sources/ofono/src/modem.c:get_modem_property()
modem 0x76c5f530 property SystemPath
Can you help me to debug this?
Thanks
Nicola Lunghi
Show replies by date
Some more information
if i use the monitor-ofono script
./monitor-ofono
{NetworkRegistration} [/telit_0] Status = registered
{NetworkRegistration} [/telit_0] LocationAreaCode = 32500
{NetworkRegistration} [/telit_0] CellId = 47192005
{NetworkRegistration} [/telit_0] Technology = umts
{NetworkRegistration} [/telit_0] Status = searching
{NetworkRegistration} [/telit_0] Status = registered
{NetworkRegistration} [/telit_0] LocationAreaCode = 32500
{NetworkRegistration} [/telit_0] CellId = 47192005
{NetworkRegistration} [/telit_0] Technology = umts
{NetworkRegistration} [/telit_0] Strength = 0
{NetworkRegistration} [/telit_0] Name = 3
{NetworkRegistration} [/telit_0] MobileCountryCode = 272
{NetworkRegistration} [/telit_0] MobileNetworkCode = 02
{ConnectionManager} [/telit_0] Attached = True
{ConnectionManager} [/telit_0] Bearer = hsdpa
{NetworkRegistration} [/telit_0] Strength = 40
{MessageManager} [/telit_0] ServiceCenterAddress = +353868002000
{ConnectionContext} [/telit_0/context1] Settings = { Interface = ppp0,
Method = static, Address = 100.93.113.108, Netmask = 255.255.255.255,
DomainNameServers = 83.136.46.138 62.40.32.33 }
{ConnectionContext} [/telit_0/context1] Active = True
{NetworkRegistration} [/telit_0] Strength = 60
{NetworkRegistration} [/telit_0] CellId = 47212292
{ConnectionManager} [/telit_0] Bearer = lte
{NetworkRegistration} [/telit_0] LocationAreaCode = 101
{NetworkRegistration} [/telit_0] CellId = 45402
{NetworkRegistration} [/telit_0] Technology = gsm
{ConnectionManager} [/telit_0] Bearer = edge
{NetworkRegistration} [/telit_0] LocationAreaCode = 32500
{NetworkRegistration} [/telit_0] CellId = 47192005
{NetworkRegistration} [/telit_0] Technology = umts
{ConnectionManager} [/telit_0] Bearer = hsdpa
{NetworkRegistration} [/telit_0] Strength = 40
{NetworkRegistration} [/telit_0] Strength = 60
{NetworkRegistration} [/telit_0] Strength = 40
after the activate context call this line is printed
{ConnectionContext} [/telit_0/context1] Settings = { Interface = ppp0,
Method = static, Address = 100.93.113.108, Netmask = 255.255.255.255,
DomainNameServers = 83.136.46.138 62.40.32.33 }
But the ppp0 interface is not correctly configured
ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc
pfifo_fast state UNKNOWN qlen 500
link/[65534]
inet6 fe80::55b:a2f6:60d5:9196/64 scope link
valid_lft forever preferred_lft forever
On Mon, 14 Oct 2019 at 15:33, nick83ola <nick83ola(a)gmail.com> wrote:
>
> Hello
> I'm working with a telit HE910-D with the latest ofono 1.30 and latest connman
>
> I do the following:
>
> systemctl start ofono
> root@bumblebee-21c24c:~# cd /usr/lib/ofono/test/
> root@bumblebee-21c24c:/usr/lib/ofono/test# ./list-modems
> [ /telit_0 ]
> Online = 0
> Powered = 0
> Lockdown = 0
> Emergency = 0
> SystemPath =
> /sys/devices/soc0/soc/30800000.aips-bus/30b30000.usb/ci_hdrc.1/usb2/2-1/2-1.1
> Interfaces =
> Features =
> Type = hardware
>
> root@bumblebee-21c24c:/usr/lib/ofono/test# ./enable-modem
> Connecting modem /telit_0...
> root@bumblebee-21c24c:/usr/lib/ofono/test# ./list-modems
> [ /telit_0 ]
> Online = 1
> Powered = 1
> Lockdown = 0
> Emergency = 0
> Manufacturer = Telit
> Model = HE910-D
> Revision = 12.00.024
> Serial = 351579052975024
> SystemPath =
> /sys/devices/soc0/soc/30800000.aips-bus/30b30000.usb/ci_hdrc.1/usb2/2-1/2-1.1
> Interfaces = org.ofono.SmartMessaging org.ofono.PushNotification
> org.ofono.MessageManager org.ofono.Phonebook
> org.ofono.NetworkRegistration org.ofono.ConnectionManager
> org.ofono.AllowedAccessPoints org.ofono.SimManager
> Features = sms net gprs sim
> Type = hardware
> [ org.ofono.SmartMessaging ]
> [ org.ofono.PushNotification ]
> [ org.ofono.MessageManager ]
> ServiceCenterAddress = +353868002000
> UseDeliveryReports = 0
> Bearer = cs-preferred
> Alphabet = default
> [ org.ofono.Phonebook ]
> [ org.ofono.NetworkRegistration ]
> Status = registered
> Mode = auto
> LocationAreaCode = 32500
> CellId = 47189919
> Technology = umts
> MobileCountryCode = 272
> MobileNetworkCode = 02
> Name = 3
> Strength = 40
> [ org.ofono.ConnectionManager ]
> Attached = 1
> Bearer = hsdpa
> RoamingAllowed = 0
> Powered = 1
> Suspended = 0
> [ org.ofono.AllowedAccessPoints ]
> [ org.ofono.SimManager ]
> Present = 1
> CardIdentifier = 8935302173240104694
> SubscriberIdentity = 272023119202599
> FixedDialing = 0
> BarredDialing = 0
> MobileCountryCode = 272
> MobileNetworkCode = 02
> SubscriberNumbers = +353864633764
> LockedPins =
> PinRequired = none
> Retries = [pin = 3] [pin2 = 3] [puk = 10] [puk2 = 10]
> CardSlotCount = 1
> ActiveCardSlot = 1
>
> root@bumblebee-21c24c:/usr/lib/ofono/test# ./list-contexts
> [ /telit_0 ]
> [ /telit_0/context1 ]
> Name = Internet
> Active = 0
> Type = internet
> Protocol = ip
> AccessPointName =
> Username =
> Password =
> AuthenticationMethod = chap
> Settings = { }
> IPv6.Settings = { }
>
> root@bumblebee-21c24c:/usr/lib/ofono/test# ./remove-contexts
> Removed: [ /telit_0/context1 ]
> root@bumblebee-21c24c:/usr/lib/ofono/test# ./create-internet-context
> Created new context /telit_0/context1
> root@bumblebee-21c24c:/usr/lib/ofono/test# ./online-modem
> Setting modem /telit_0 online...
> root@bumblebee-21c24c:/usr/lib/ofono/test# ./activate-context
> root@bumblebee-21c24c:/usr/lib/ofono/test# ./list-modems
> [ /telit_0 ]
> Online = 1
> Powered = 1
> Lockdown = 0
> Emergency = 0
> Manufacturer = Telit
> Model = HE910-D
> Revision = 12.00.024
> Serial = 351579052975024
> SystemPath =
> /sys/devices/soc0/soc/30800000.aips-bus/30b30000.usb/ci_hdrc.1/usb2/2-1/2-1.1
> Interfaces = org.ofono.SmartMessaging org.ofono.PushNotification
> org.ofono.MessageManager org.ofono.Phonebook
> org.ofono.NetworkRegistration org.ofono.ConnectionManager
> org.ofono.AllowedAccessPoints org.ofono.SimManager
> Features = sms net gprs sim
> Type = hardware
> [ org.ofono.SmartMessaging ]
> [ org.ofono.PushNotification ]
> [ org.ofono.MessageManager ]
> ServiceCenterAddress = +353868002000
> UseDeliveryReports = 0
> Bearer = cs-preferred
> Alphabet = default
> [ org.ofono.Phonebook ]
> [ org.ofono.NetworkRegistration ]
> Status = registered
> Mode = auto
> LocationAreaCode = 32500
> CellId = 47192005
> Technology = umts
> MobileCountryCode = 272
> MobileNetworkCode = 02
> Name = 3
> Strength = 40
> [ org.ofono.ConnectionManager ]
> Attached = 1
> Bearer = hsdpa
> RoamingAllowed = 0
> Powered = 1
> Suspended = 0
> [ org.ofono.AllowedAccessPoints ]
> [ org.ofono.SimManager ]
> Present = 1
> CardIdentifier = 8935302173240104694
> SubscriberIdentity = 272023119202599
> FixedDialing = 0
> BarredDialing = 0
> MobileCountryCode = 272
> MobileNetworkCode = 02
> SubscriberNumbers = +353864633764
> LockedPins =
> PinRequired = none
> Retries = [pin = 3] [pin2 = 3] [puk = 10] [puk2 = 10]
> CardSlotCount = 1
> ActiveCardSlot = 1
>
>
> root@bumblebee-21c24c:/usr/lib/ofono/test# ip a
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> inet 127.0.0.1/8 scope host lo
> valid_lft forever preferred_lft forever
> inet6 ::1/128 scope host
> valid_lft forever preferred_lft forever
> 2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state
> DOWN qlen 1000
> link/ether 00:01:c0:21:c2:4c brd ff:ff:ff:ff:ff:ff
> 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen
1000
> link/ether 00:01:c0:21:c2:53 brd ff:ff:ff:ff:ff:ff
> inet 10.32.234.43/24 brd 10.32.234.255 scope global dynamic eth1
> valid_lft 6899sec preferred_lft 6899sec
> inet6 fe80::201:c0ff:fe21:c253/64 scope link
> valid_lft forever preferred_lft forever
> 4: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN qlen 1000
> link/sit 0.0.0.0 brd 0.0.0.0
> 5: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc
> pfifo_fast state UNKNOWN qlen 500
> link/[65534]
> inet6 fe80::cfa:2a85:a32a:9967/64 scope link
> valid_lft forever preferred_lft forever
>
>
> The problem is that the ppp0 interface doesn't get an ip while on te
> log I can clearly see it
>
> Oct 16 14:24:46 bumblebee-21c24c ofonod[551]: ofonod[551]: PPP:
> ../../../../../../workspace/sources/ofono/gatchat/gatppp.c:ppp_enter_phase()
> 4
> Oct 16 14:24:46 bumblebee-21c24c ofonod[551]: ofonod[551]:
>
../../../../../../workspace/sources/ofono/drivers/atmodem/gprs-context.c:ppp_connect()
> Oct 16 14:24:46 bumblebee-21c24c ofonod[551]: ofonod[551]: IP: 100.88.174.61
> Oct 16 14:24:46 bumblebee-21c24c ofonod[551]: ofonod[551]: DNS:
> 83.136.46.138, 62.40.32.33
> Oct 16 14:24:46 bumblebee-21c24c ofonod[551]: ofonod[551]:
> ../../../../../../workspace/sources/ofono/src/gprs.c:pri_activate_callback()
> 0x2201620
> Oct 16 14:24:46 bumblebee-21c24c ofonod[551]: ofonod[551]:
> ../../../../../../workspace/sources/ofono/plugins/udevng.c:add_serial_device()
> Device is missing required OFONO_DRIVER property
> Oct 16 14:24:47 bumblebee-21c24c ofonod[551]: ofonod[551]:
> ../../../../../../workspace/sources/ofono/plugins/udevng.c:check_modem_list()
> Oct 16 14:24:50 bumblebee-21c24c ofonod[551]: ofonod[551]:
> ../../../../../../workspace/sources/ofono/src/modem.c:get_modem_property()
> modem 0x76c5f530 property SystemPath
>
> Can you help me to debug this?
>
> Thanks
> Nicola Lunghi