Replies: 2 comments
-
You need to enable more logs, try socket and ppp dbg log level to see what is going on. |
Beta Was this translation helpful? Give feedback.
0 replies
-
It works. There was a problem how I tested. Thank you for help. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm trying to use cellular connectivity on zephyr 4.2. I'm using Quectel EG915 via BG95 modem_cellular driver.
But there is no connection possible. Socket connect is returning -116 (ETIMEDOUT).
l2 ppp log:
[00:01:10.822,000] <dbg> net_l2_ppp: ppp_change_phase_debug: (0x20005c70): [0x20005f90] phase NETWORK (3) => RUNNING (4) (ppp_network_up():22) [00:01:10.823,000] <dbg> net_l2_ppp: ppp_network_up: (0x20005c70): [0x20005f90] Proto IPv4 (0x0021) up (1) [00:01:10.823,000] <dbg> net_l2_ppp: ipcp_up: (0x20005c70): [IPCP/0x200060a0] Current state OPENED (9)
This looks like that auth goes thru and IP is obtained via IPCP.
Output from shell command
net iface
:Maybe the problem is in gateway that is 0.0.0.0?
In ppp log, I can see that data goes to modem, but nothing comes back. same with dhcp (shcp client gets no response).
Configuration:
CONFIG_MODEM_LOG_LEVEL_ERR=y
CONFIG_MODEM_CONTEXT=y
CONFIG_MODEM_CONTEXT_VERBOSE_DEBUG=y
CONFIG_MODEM_IFACE_UART=y
CONFIG_MODEM_SOCKET=y
CONFIG_MODEM_CELL_INFO=y
CONFIG_MODEM_CELLULAR=y
CONFIG_MODEM_AT_SHELL=y
CONFIG_MODEM_STATS=y
CONFIG_MODEM_MODULES_LOG_LEVEL_ERR=y
CONFIG_NETWORKING=y
CONFIG_NET_L2_PPP=y
CONFIG_NET_L2_PPP_TIMEOUT=10000
CONFIG_NET_L2_PPP_LOG_LEVEL_DBG=y
CONFIG_NET_IPV4_LOG_LEVEL_DBG=y
CONFIG_NET_SHELL=y
CONFIG_NET_TCP=y
CONFIG_NET_TCP_LOG_LEVEL_DBG=y
CONFIG_NET_MAX_CONN=8
CONFIG_NET_CONTEXT_RCVTIMEO=y
CONFIG_NET_LOG=y
CONFIG_NET_CORE_LOG_LEVEL_DBG=y
CONFIG_NET_CONFIG_LOG_LEVEL_DBG=y
CONFIG_NET_CONFIG_SETTINGS=y
CONFIG_NET_CONFIG_NEED_IPV4=y
CONFIG_NET_CONFIG_INIT_TIMEOUT=60
CONFIG_NET_SOCKETS_CONNECT_TIMEOUT=5000
CONFIG_NET_SOCKETS_LOG_LEVEL_DBG=y
CONFIG_NET_DHCPV4=y
CONFIG_NET_DHCPV4_LOG_LEVEL_DBG=y
CONFIG_NET_CONNECTION_MANAGER=y
CONFIG_NET_CONNECTION_MANAGER_LOG_LEVEL_DBG=y
Any hints what to check or try.
Best regards
Beta Was this translation helpful? Give feedback.
All reactions