Hi
I have a problem with using a RH 6.2 client running Gnome environment,
and Enlightenment window manager and communicating with a Windows NT
DHCP server. On every login I get a Gnome warning panel saying:
Could not lookup Internet address for <my host>. This will prevent
gnome from operating correctly. It may be possible to correct the
problem by adding <my host> to the file: </etc/hosts>
[Try again] [Continue]
However, all network services seems to work as the NIC/eth0 retrieves correct IP.
(print, news, smtp, http etc).
How can I avoid this annoying message without changing the hosts file?
FYI, I have replaced the pump call in the ifup/ifdown network-scripts
for the network service by
1. </etc/sysconfig/network-scripts/ifup>:
# if /sbin/pump $PUMPARGS -i $DEVICE ; then
#changed sverre above to below
if /sbin/dhcpcd -D -H $DEVICE ; then
2. </etc/sysconfig/network-scripts/ifdown>:
# pump -r -i ${DEVICE}
/sbin/dhcpcd -k ${DEVICE}
Hence, the dynamically allocated IP address is stored in:
</etc/dhcpc/dhcpcd-eth0.info>
I have tried to update the auth calls in the </usr/bin/X11/startx>
script without any success.
IP_ADDR=`ifconfig eth0|grep "inet addr"|awk '{print $2}'|cut -d : -f 2`
xauth add ${IP_ADDR}${display} . $mcookie
# xauth add `hostname -f`$display . $mcookie
#xauth add `hostname`$display . $mcookie
xinit $clientargs -- $server $display $serverargs
No other documentation or news articles seem to address how to solve
this problem.
%wmosl1wi0305:~ {120} $ hostname -f
hostname: No address associated with name
%wmosl1wi0305:~ {121} $ lpq
Warning: unable to get official name for local machine wmosl1wi0305
no entries
Finally, a couple of other gnome configuration issues:
1) Can the default startup applications that respawns be turned off
(gmc, gmc file manager)
2) Is the verification/confirmation action of the "Log out" action
on the Start menu configurable? (would like to change built-in
action "Quit-Verify" to "QUIT").
Alternatively, can built-in actions be defined as either new main menu
entries or/and as an ICON on the menu bar?
Cheers Sverre
--------------------------------------
Sverre Torjussen, senior consultant
Internet: www.wmdata.no