how to set the initial value for domainname

2004-10-21 Thread Dan Kenigsberg
Hi,

Somehow I forgot, and cannot find out again, how I should set domainname on
system startup (I have fedora 1). My current value for domainname is (none),
which slows my OpenOffice's startup horrendously.

Editing rc.local is always an option, but I'm looking for the proper way to do
it.

P.S. Setting DOMAINNAME in /etc/sysconfig/network is ignored.

--
Dan Kenigsberghttp://www.cs.technion.ac.il/~dankenICQ 162180901

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: how to set the initial value for domainname

2004-10-21 Thread Noam Meltzer
On Thu, 2004-10-21 at 12:33 +0200, Dan Kenigsberg wrote:
 Hi,
 
 Somehow I forgot, and cannot find out again, how I should set domainname on
 system startup (I have fedora 1). My current value for domainname is (none),
 which slows my OpenOffice's startup horrendously.
 
 Editing rc.local is always an option, but I'm looking for the proper way to do
 it.
 
 P.S. Setting DOMAINNAME in /etc/sysconfig/network is ignored.

I believe that what you are referring to is the nisdomainname (or
ypdomainname). DOMAINNAME is just too general (dns domain? yp domain? ms
domain? etc.)
put a line like this in /etc/sysconfig/network:
NISDOMAIN=your.domain

btw,
i can't understand the connection between openoffice startup and the
availability of a nisdomain. 

Noam


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: how to set the initial value for domainname

2004-10-21 Thread Dan Kenigsberg
 btw,
 i can't understand the connection between openoffice startup and the
 availability of a nisdomain. 

This is a very good question indeed. I consider this an OpenOffice bug: on
startup it queries my DNS for the IP of 'mycomputer.(none)' for some reason.

(FC1, openoffice.org-1.1.0-16)

-- 
Dan Kenigsberghttp://www.cs.technion.ac.il/~dankenICQ 162180901

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



openoffice bug? (was: Re: how to set the initial value for domainname)

2004-10-21 Thread Noam Meltzer
On Thu, 2004-10-21 at 16:27 +0200, Dan Kenigsberg wrote:
  btw,
  i can't understand the connection between openoffice startup and the
  availability of a nisdomain. 
 
 This is a very good question indeed. I consider this an OpenOffice bug: on
 startup it queries my DNS for the IP of 'mycomputer.(none)' for some reason.
 
 (FC1, openoffice.org-1.1.0-16)
 

well,
seems very odd to me.
so i checked in my mdk10.1 (synced to cooker) about it. (and
OpenOffice.org-1.1.3-2mdk installed)
i also don't have a nisdomain defined (so it will be '(none)').

now, i started a sniffer on my ISPs dns' ips. (as defined
in /etc/resolv.conf) and started openoffice.
i saw no dns query at that time at all.

I suggest you try upgrading your openoffice package. (good practice
anyhow, fixes many bugs)

Noam


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: how to set the initial value for domainname

2004-10-21 Thread Guy Teverovsky
[EMAIL PROTECTED] antid0t]$ cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=aristo.antid0t.net
GATEWAY=192.168.0.1

Those variables are picked at boot time.

If you want to set domain name without rebooting:
# echo box.domain.com /proc/sys/kernel/hostname

For the wizard addicted:
$ redhat-config-network


Guy

On Thu, 2004-10-21 at 16:27 +0200, Dan Kenigsberg wrote:
  btw,
  i can't understand the connection between openoffice startup and the
  availability of a nisdomain. 
 
 This is a very good question indeed. I consider this an OpenOffice bug: on
 startup it queries my DNS for the IP of 'mycomputer.(none)' for some reason.
 
 (FC1, openoffice.org-1.1.0-16)
 


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]