Date: Mon, 29 Jan 1996 20:20:41 +0100 From: se@zpr.uni-koeln.de (Stefan Esser) To: Donald Burr <d_burr@ix.netcom.com> Cc: freebsd-questions@freebsd.org Subject: Re: Linux-emu, Netscape, and DNS: how to get them to cooperate? Message-ID: <199601291920.AA02553@Sysiphos> In-Reply-To: Donald Burr <d_burr@ix.netcom.com> "Linux-emu, Netscape, and DNS: how to get them to cooperate?" (Jan 27, 2:06)
next in thread | previous in thread | raw e-mail | index | archive | help
On Jan 27, 2:06, Donald Burr wrote: } Subject: Linux-emu, Netscape, and DNS: how to get them to cooperate? } I'm running FreeBSD 2.1 with the Linux-emu. I just installed Netscape } for Linux, because I want to play around with Java stuff. BUT, Netscape } CANNOT access the DNS server, ergo it's always returning errors like } "home.netscape.com host unknown", etc. } } I have a proper host.conf and resolv.conf file in /compat/linux/etc. I } EVEN HAVE TRIED MOVING THESE INTO /etc. But no success. } } What's going wrong here? can someone help me out with getting this } running? I'm losing my mind!!! } } On a side note, according to the available doc's on the Linux-emu, } whenever a Linux [program or library tries to access a file, the } Linux-emu is supposed to add "/compat/linux" to it, i.e. if the program } asks for "/etc/hosts", the it actually accesses } "/compat/linux/etc/hosts". This DOES NOT seem to be the case, though, } because even though I put a Linux-style host.conf in } /compat/linux/etc/host.conf, the Linux resolv+ library always says } "invalid keyword hosts" (meaning it's referring to the FreeBSD } /etc/host.conf file!). What gives here? Add the following line to /etc/profile: RESOLV_HOST_CONF=/compat/linux/etc/host.conf; export RESOLV_HOST_CONF This will make the Linux resolver library use Linux version of the config file ... Regards, STefan -- Stefan Esser, Zentrum fuer Paralleles Rechnen Tel: +49 221 4706021 Universitaet zu Koeln, Weyertal 80, 50931 Koeln FAX: +49 221 4705160 ============================================================================== http://www.zpr.uni-koeln.de/~se <se@ZPR.Uni-Koeln.DE>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601291920.AA02553>