<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>PPP connection dinamically configured</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/22011/ppp-connection-dinamically-configured</link><description> 
With RL-TCPnet library my PPP situation is: 
1) setting PPP Local IP address = 0.0.0.0 in Net_Config.c, I
successfully establish a PPP connection with my isp using ppp_connect
(i get a public PPP IP address): everything works fine. 
2) with identical</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: PPP connection dinamically configured</title><link>https://community.arm.com/thread/75285?ContentTypeID=1</link><pubDate>Thu, 19 Jul 2007 09:20:51 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:56aaafa1-3d98-4cc0-891d-8fffdbf14415</guid><dc:creator>roberto conti</dc:creator><description>&lt;p&gt;&lt;p&gt;
Many thanks for your reply, Franc.&lt;br /&gt;
I have enabled &lt;b&gt;Obtain Client IP address automatically&lt;/b&gt; in the
Net_Config.c, but the result has been the same. I have now tried this
workaround, and it seems to work: i have commented &amp;quot;const&amp;quot; near
nlocalm[] declaration in Net_Config.c; than, before calling the
init_TcpNet, i set to 0.0.0.0 the nlocalm[NETIF_PPP].IpAdr[] field if
i am configured for ppp_connect; and set this field to 10.0.0.1 if i
am configured for ppp_listen.&lt;br /&gt;
Do you think it is correct ?&lt;br /&gt;
P.S. i have done another test, with a result that i don&amp;#39;t understand:
with 10.0.0.1 in Net_Config.c, obtain ip address ... enabled,
ppp_connect works if the baudrate vs. modem is 9600 baud. If baudrate
vs. modem is 38400, ppp_connect does not work. Please note, in both
cases modem answers correctly to my driver (i see it with
ppp_monitor). Furthermore, if with the setting of 38400 i change the
PPP ip address in Net_Config.c with 0.0.0.0, ppp_connect again works
fine...&lt;br /&gt;
Thanks again and best regards.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PPP connection dinamically configured</title><link>https://community.arm.com/thread/48329?ContentTypeID=1</link><pubDate>Thu, 19 Jul 2007 01:26:31 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:f4bcde27-be4c-4304-9b84-ee6b7e0a06e8</guid><dc:creator>Franc  Urbanc</dc:creator><description>&lt;p&gt;&lt;p&gt;
Please enable &lt;b&gt;Obtain Client IP address automatically&lt;/b&gt; in the
Net_Config.c&lt;/p&gt;

&lt;p&gt;
This will ignore the default PPP IP address for the PPP Client for
&lt;b&gt;ppp_connect&lt;/b&gt;. In other words, if you set PPP IP address in
Net_Config.c to 10.0.0.1 and you have the above option enabled, the
PPP module treats it as if it is set to 0.0.0.0&lt;/p&gt;

&lt;p&gt;
When you use &lt;b&gt;ppp_listen&lt;/b&gt; then a default IP address from
Net_Config.c is used.&lt;/p&gt;

&lt;p&gt;
In this way your application should work for both PPP Server and
PPP client mode without any modifications to Net_Config.c
configuration.&lt;/p&gt;

&lt;p&gt;
Franc&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>