/etc/hosts not created

Joel Sherrill joel.sherrill at OARcorp.com
Mon Apr 22 15:28:59 UTC 2013


On 4/22/2013 10:14 AM, Ahmed Patel wrote:
> hi,
> i see that the gethostbyname() function fails . it tries to open the /etc/hosts file but there is none. is this file not created by default by the initialize network call? do i hv to create this file manually before calling the bsdnet network initialize? i hv the rtems4.10.2
Did you look at the httpd sample in the network-demos?

It includes a root filesystem image.
> ahmed.
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985




More information about the users mailing list