Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Not able to get DHCP IP on AT91SAM9G45-EKES
PostPosted: Thu Feb 17, 2011 8:25 pm 
Offline

Joined: Thu Dec 30, 2010 6:49 pm
Posts: 38
Hi,

I have written a small program which will change the network interface to either set to Static or DHCP. Program changes the following file /etc/network/interfaces with the below content

auto lo
iface lo inet loopback


auto eth0
iface eth0 inet dhcp

When i flash the image and boot the system, i see no DHCP ip being assigned to board. Do we need to have dhcp client running? If so, how do we intergate/enable it in the kernel?

Apart from setting to DHCP, i also change it to static, it still fails to populate this value on boot up.

Thanks
Prashanth


Top
 Profile  
 
 Post subject: Re: Not able to get DHCP IP on AT91SAM9G45-EKES
PostPosted: Fri Feb 18, 2011 3:51 pm 
Offline

Joined: Thu Dec 30, 2010 6:49 pm
Posts: 38
I was able to get dhcp client onto the baord and when i execute it, i get an ip but it is not refelcting it when i do ifconfig or in /etc/network/interface and is not pingable. Is their any other place where this updates happen where ifconfig reads it?

-Prashanth


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: