<?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>Re-enabling DHCP and NetBios</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/27641/re-enabling-dhcp-and-netbios</link><description> 
Hi all, 

 
In my system, I am using a static IP address, but also searching
for a DHCP server every 10 seconds or so by re-enabling the DHCP
client for a bout half a second. This works a treat, but it seems
that once the ARM reconfigures its IP address</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Re-enabling DHCP and NetBios</title><link>https://community.arm.com/thread/136623?ContentTypeID=1</link><pubDate>Tue, 27 Sep 2011 06:20:16 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:62f795d5-ee1f-47ae-b1d3-dad645715005</guid><dc:creator>Garry Blair</dc:creator><description>&lt;p&gt;&lt;p&gt;
The device is only accessed using our dedicated software or web
page, in which case it would stop searching for a DHCP server and
stick with the link local address.&lt;/p&gt;

&lt;p&gt;
The problem is that ,we cant just use DHCP as if there isnt one
available you could never talk to the device, we cant do what the
examples do and wait a few second on startup for one and then use
another static address because these devices are in the environment
where there could be a power cut, and if a DHCP server is used it
could startup quite a bit after our devices.&lt;/p&gt;

&lt;p&gt;
Is there a better solution you can think of to this problem?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Re-enabling DHCP and NetBios</title><link>https://community.arm.com/thread/127120?ContentTypeID=1</link><pubDate>Tue, 27 Sep 2011 06:11:46 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:3d9780a8-81e4-46ae-8a15-b8616cfdb4c0</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
But do you try to access such a PC using that link-local IP and
then again after it have received a DHCP-assigned IP? That would most
definitely not be a normal usage case for a PC. So why should it be a
normal usage case for your device?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Re-enabling DHCP and NetBios</title><link>https://community.arm.com/thread/116512?ContentTypeID=1</link><pubDate>Tue, 27 Sep 2011 05:32:40 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:0454c91d-2727-4872-bde3-e058e288f8ab</guid><dc:creator>Garry Blair</dc:creator><description>&lt;p&gt;&lt;p&gt;
I want to make the device act the same as a PC - if I plug my PC
into a switch without a DHCP server it will give itself a link local
address. If I then plug my DHCP router into the switch, the PC can
still talk to the DHCP server and get an IP address.&lt;/p&gt;

&lt;p&gt;
So I get the device to give itself a static link local address,
but still search for a DHCP server - is this a bad way of doing
it?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Re-enabling DHCP and NetBios</title><link>https://community.arm.com/thread/105324?ContentTypeID=1</link><pubDate>Tue, 27 Sep 2011 05:26:51 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:b4b4db83-6bcc-4cb0-8113-afb1622edb2d</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
Why is this a problem? Why have a device that will be seen by the
PC with two IP addresses? In real-life, it would normally not be
using a DHCP server, in which case the PC would find it using the
fixed IP. Or it would directly find a DHCP server and the PC wouldn&amp;#39;t
have a reason to cache the fixed IP.&lt;/p&gt;

&lt;p&gt;
Another thing - most DHCP servers supports serving of fixed IP
numbers to known MAC addresses, in which case you can make sure that
the DHCP server sends out the same IP number that you had already
statically configured your device with.&lt;/p&gt;

&lt;p&gt;
It really is not normal for equipment to change their IP address
after other devices have started to access them.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Re-enabling DHCP and NetBios</title><link>https://community.arm.com/thread/79614?ContentTypeID=1</link><pubDate>Tue, 27 Sep 2011 05:12:21 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:7f161a6b-751e-4816-b582-df699aaa2e10</guid><dc:creator>Garry Blair</dc:creator><description>&lt;p&gt;&lt;p&gt;
Hi,&lt;/p&gt;

&lt;p&gt;
Thanks for your suggestion. Unfortunately setting that option in
net_config.c didn&amp;#39;t work in either XP or Win7. Repairing the
connection did however. I guess there isn&amp;#39;t much that can be done!
Thanks for your suggestion!&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Re-enabling DHCP and NetBios</title><link>https://community.arm.com/thread/59877?ContentTypeID=1</link><pubDate>Tue, 27 Sep 2011 04:27:28 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:05b19972-41b3-4596-88f8-dc9035e611ac</guid><dc:creator>Franc  Urbanc</dc:creator><description>&lt;p&gt;&lt;p&gt;
Try enabling the &lt;b&gt;Send Notification on Address changes&lt;/b&gt; in
the Net_Config.c file. When your TCPnet system changes the IP
address, it sends a Gratuitous ARP notification. This might help the
PC to register the new IP address.&lt;/p&gt;

&lt;p&gt;
However Win-XP seems to ignore it and still caches the old IP
address. So if you want to access the board after the IP address of
the board has changed, you need to flush the ARP/IP cache on your PC.
For the Win-XP, click on &lt;i&gt;Repair&lt;/i&gt; for the &lt;i&gt;Local Area
Connection&lt;/i&gt;.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>