Re: [lwip-users] [EXTERNAL] SLAAC

2022-10-05 Thread Zayzay, Edman G via lwip-users
LWIP 2.1.3 already provide a way for you to do SLAAC. Enable CONFIG_LWIP_IPV6_AUTOCONFIG and Look at the following functions netif_create_ip6_linklocal_address() and eui64_copy(). You will need to send router solicitation to get the network prefix on the interface also. Edman Edman G. H Zay

Re: [lwip-users] [EXTERNAL] IPv6 support and mDNS

2022-09-02 Thread Zayzay, Edman G via lwip-users
Hi Johnathan, You don't really need to deactivate any of the flags mentioned below. I had the same problem and was able to get around it by modifying the function icmp6_input () in icmp6.c. There is a case statement, ICMP6_TYPE_EREQ, you can simply add a check to see if ping is enabled before

Re: [lwip-users] [EXTERNAL] Re: Finding our Hostname/Domain name?

2022-01-06 Thread Zayzay, Edman G
Have you looked at the gethostbyname() function? From: lwip-users On Behalf Of Thompson, Jeff Sent: Thursday, January 6, 2022 2:07 PM To: Mailing list for lwIP users Subject: [EXTERNAL] Re: [lwip-users] Finding our Hostname/Domain name? Your device address is always 127.0.0.1, also known as lo

Re: [lwip-users] [EXTERNAL] lwip IPV6 PPP only get link local address and cannot connect to server

2021-11-15 Thread Zayzay, Edman G
**Router Advertisement new 0 On Sat, 13 Nov 2021 at 08:28, Zayzay, Edman G mailto:edmangzay...@eaton.com>> wrote: Seems strange though. Because I am using LWIP 2.1.2 and everything is working. Did you register a callback function as follows during your initiali

Re: [lwip-users] [EXTERNAL] lwip IPV6 PPP only get link local address and cannot connect to server

2021-11-12 Thread Zayzay, Edman G
anything missing? Thanks a lot for your help Ivan On Sat., 13 Nov. 2021, 1:08 am Zayzay, Edman G, mailto:edmangzay...@eaton.com>> wrote: Hi Ivan, When you get your callback indicating that the connection is up, that is when you need to send the router solicitation. See the example code

Re: [lwip-users] [EXTERNAL] lwip IPV6 PPP only get link local address and cannot connect to server

2021-11-12 Thread Zayzay, Edman G
add it in wrong place(I call it in ppposif.c). Could you please shed some light on how to send this rs? Upgrading to 2.1.3 may not be an option for me for now. thanks a lot Ivan On Fri, 12 Nov 2021 at 01:08, Zayzay, Edman G mailto:edmangzay...@eaton.com>> wrote: Hi Ivan, You need to explicit

Re: [lwip-users] [EXTERNAL] lwip IPV6 PPP only get link local address and cannot connect to server

2021-11-11 Thread Zayzay, Edman G
Hi Ivan, You need to explicitly send a router solicitation to the network in other to get the full IPv6 Address. The function to call is nd6_send_rs() in n6.c . However, this is a static function and you may have to create a wrapper to call it. As of yesterday, LWIP 2.1.3 was released and the

Re: [lwip-users] [EXTERNAL] Problem Running LwIp Simulation on OMNET++

2021-07-20 Thread Zayzay, Edman G
Hi Benjamin, You first need to verify that your datatypes are properly defined. Look to ensure …/src/include/lwIP/arch.h is properly included in you project as it should hold the definition of u32_t. Meanwhile, verify that your cc.h file is also setup properly. It also appears like you are also

Re: [lwip-users] [EXTERNAL] Re: LWIP Dual Stack - IPv4 and IPv6

2021-07-19 Thread Zayzay, Edman G
Subject: Re: [lwip-users] [EXTERNAL] Re: LWIP Dual Stack - IPv4 and IPv6 Hi Edman, On Fri, Jul 16, 2021 at 01:46:34PM +, Zayzay, Edman G wrote: > Hi Sylvain, > > I did increase MEMP_NUM_SYS_TIMEOUT to 20 and call > sys_check_timeouts() periodically in since I am running without

Re: [lwip-users] [EXTERNAL] Re: LWIP Dual Stack - IPv4 and IPv6

2021-07-16 Thread Zayzay, Edman G
Of Sylvain Rochet Sent: Friday, July 16, 2021 7:39 AM To: Mailing list for lwIP users Subject: [EXTERNAL] Re: [lwip-users] LWIP Dual Stack - IPv4 and IPv6 Hi Edman, On Thu, Jul 15, 2021 at 04:24:29PM +, Zayzay, Edman G wrote: > Hi, > > I am running LwiP 2.1.2 and have been

[lwip-users] LWIP Dual Stack - IPv4 and IPv6

2021-07-15 Thread Zayzay, Edman G
Hi, I am running LwiP 2.1.2 and have been able to successfully run IPv4 and IPv6 individually with PPPoS. However, whenever I enable both IPv4 and IPv6 on PPPoS, I am seeing only the IPV6CP ConfigReq is being responded to. I do not see one IPCP ConfigReq goes out and nothing is sent. I tested o

Re: [lwip-users] [EXTERNAL] Release Notes

2021-06-21 Thread Zayzay, Edman G
.org>> On Behalf Of Zayzay, Edman G Sent: Monday, June 21, 2021 13:21 To: Mailing list for lwIP users mailto:lwip-users@nongnu.org>> Subject: Re: [lwip-users] [EXTERNAL] Release Notes Have you tried looking at http://download.savannah.nongnu.org/releases/lwip/ or the Lwip git page?

Re: [lwip-users] [EXTERNAL] Release Notes

2021-06-21 Thread Zayzay, Edman G
Have you tried looking at http://download.savannah.nongnu.org/releases/lwip/ or the Lwip git page? From: lwip-users On Behalf Of Thompson, Jeff Sent: Monday, June 21, 2021 12:02 PM To: Mailing list for lwIP users Subject: [EXTERNAL] [lwip-users] Release Notes Where can I find the release n

Re: [lwip-users] [EXTERNAL] Understanding callback options for link/DHCP status.

2021-04-16 Thread Zayzay, Edman G
-Original Message- From: lwip-users On Behalf Of goldsi...@gmx.de Sent: Friday, April 16, 2021 2:34 AM To: Mailing list for lwIP users Subject: Re: [lwip-users] [EXTERNAL] Understanding callback options for link/DHCP status. Am 15.04.2021 um 22:55 schrieb Zayzay, Edman G: > In y

Re: [lwip-users] [EXTERNAL] Understanding callback options for link/DHCP status.

2021-04-15 Thread Zayzay, Edman G
In your lwipopts.h file, define the following… #define LWIP_NETIF_STATUS_CALLBACK 1 #define LWIP_NETIF_LINK_CALLBACK1 Then in during your setup. Call these functions netif_set_status_callback(ppp->netif, status_cb); netif_set_link_callback(ppp->netif, link_cb); the status callback

[lwip-users] LwIP IPv6 with PPP over Serial

2021-04-13 Thread Zayzay, Edman G
Hello, I am running into some issue here determining the network prefix. I have an LTE modem ( QBG95-M3 ) that I am using to with LwiP PPPoS with IPv6. I have been able to successfully establish connection with the network and I see that the network is sending the interface ID portion of the IPv