I've noticed the same behavior but I did not have the time to look at it.
This only happens when you ping a host with an alias in the hosts file.
When ping from dns server it works ok.

Harry

cpu memhd wrote:
> ...when I ping anything in /etc/hosts
>
> I've been using 3.1 for a while but just noticed this:
>
> ping localhost
>
> PING localhost (7f00:1:60ea:ffbf::): 56 data bytes
> ping: can't create raw socket: Address family not supported by protocol
>
> (ping something-else-in-/etc/hosts ... same as above)
>
> This is the same behaviour as ping6. Why is this happening?
>
> Also, I cannot send mail either:
>
> echo "test"| mail -s "Test Mail" -d mydomain.net -h smtp.inmyhostsfile.net
> to [EMAIL PROTECTED]
>
> nc: socket: Address family not supported by protocol
> Error: Unknown response.
>   RSET
>   0:
> Aborting due to connection error
>   Killing child processes: 8309 8310
>
> I have ping from a mandrake installation, which I renamed to ping4. No
> problems pinging anything in the hosts file.
>
> I have a bread & butter bering-uclibc 3.1 floppy installation and
> host-file ping/name resolution is messed up there too.
>
>
> -cpu
>
>
>
>  
> ____________________________________________________________________________________
> We won't tell. Get more on shows you hate to love 
> (and love to hate): Yahoo! TV's Guilty Pleasures list.
> http://tv.yahoo.com/collections/265 
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ------------------------------------------------------------------------
> leaf-user mailing list: leaf-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/leaf-user
> Support Request -- http://leaf-project.org/
>
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to