Re[2]: hostname and domainname from redhat list
It's the old version of mailstudio, we bought this license about two years ago, it's been working fine. I initially installed it on 6.2. From 6.2 to 7.2, it seemed that when I would set the hostname and domainname by using hostname name and domainname name, the settings would stay that way. But now under 7.3, each time I reboot, it changes... It doesn't tell me why it needs it, but it won't let me configure it without these settings.. Thanks, Jake At 07:26 PM 5/15/2002 -0400, you wrote: Hello Jake, Wednesday, May 15, 2002, 6:37:20 PM, you textually orated: JM No, my machine works fine, dns works fine, I'm trying to get a web based JM mail program working and it's telling me that I need to set domainname to JM something other than (none) JM I guess I can either find another package or just put this in a script.. Which package are you trying to get working? Is it telling you that it needs this for incoming or outgoing? Have fun, -- _ Brian Ashe CTO [EMAIL PROTECTED] Dee-Web Software Services, LLC. http://www.dee-web.com/ - ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: hostname and domainname from redhat list
nope, not in the config file, it's the system hostname and domainname. If I set hostname to just the name, without the domain, the installer fails, also, if domainname is set to none, it fails. There is no config file to edit, it's a shell script you run that prompts you for this info, if it doesn't match what hostname and domainname return, then it craps out. Jake At 11:29 PM 5/15/2002 -0500, you wrote: On Wed, 2002-05-15 at 17:37, Jake McHenry wrote: No, my machine works fine, dns works fine, I'm trying to get a web based mail program working and it's telling me that I need to set domainname to something other than (none) WAG needs to be set in the package config file?/WAG HTH Bret ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: hostname and domainname from redhat list
On 16-May-2002/15:11 -0400, Jake McHenry [EMAIL PROTECTED] wrote: nope, not in the config file, it's the system hostname and domainname. If I set hostname to just the name, without the domain, the installer fails, also, if domainname is set to none, it fails. There is no config file to edit, it's a shell script you run that prompts you for this info, if it doesn't match what hostname and domainname return, then it craps out. Did you try setting DOMAINNAME=mydomain.tld in /etc/sysconfig/network? Tony -- Anthony E. Greene mailto:[EMAIL PROTECTED] OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D AOL/Yahoo Chat: TonyG05 HomePage: http://www.pobox.com/~agreene/ Linux: the choice of a GNU Generation. http://www.linux.org/ ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: hostname and domainname from redhat list
What is mydomain.tld? I tried setting DOMAINNAME=ministang.com , and that didn't seem to do anything. Thanks, Jake At 04:54 PM 5/16/2002 -0400, you wrote: On 16-May-2002/15:11 -0400, Jake McHenry [EMAIL PROTECTED] wrote: nope, not in the config file, it's the system hostname and domainname. If I set hostname to just the name, without the domain, the installer fails, also, if domainname is set to none, it fails. There is no config file to edit, it's a shell script you run that prompts you for this info, if it doesn't match what hostname and domainname return, then it craps out. Did you try setting DOMAINNAME=mydomain.tld in /etc/sysconfig/network? Tony -- Anthony E. Greene mailto:[EMAIL PROTECTED] OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D AOL/Yahoo Chat: TonyG05 HomePage: http://www.pobox.com/~agreene/ Linux: the choice of a GNU Generation. http://www.linux.org/ ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re[3]: hostname and domainname from redhat list
Hello Jake, Thursday, May 16, 2002, 3:08:36 PM, you textually orated: JM It's the old version of mailstudio, we bought this license about two years JM ago, it's been working fine. I initially installed it on 6.2. From 6.2 to JM 7.2, it seemed that when I would set the hostname and domainname by using JM hostname name and domainname name, the settings would stay that way. But JM now under 7.3, each time I reboot, it changes... JM It doesn't tell me why it needs it, but it won't let me configure it JM without these settings.. Does the hostname, domainname and IP Address match the last machine you did? It seems that it needs this info to confirm that the license key you have is legitimate. Other things to try... Try setting NISDOMAIN=your-domain in the /etc/sysconfig/network file. (Note: you need to restart the network service afterwards with a service network restart command. Ensure that your HOSTNAME is is an FQDN. Else a call to domainname _may_ fail. (See man domainname) For more info on setting all this up in a Red Hat system (it is still mostly accurate and may help more because it is older and you have an older program) you can go to http://www.redhat.com/support/resources/howto/sysconfig.html Hope it helps. Have fun, -- _ Brian Ashe CTO [EMAIL PROTECTED] Dee-Web Software Services, LLC. http://www.dee-web.com/ - ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re[3]: hostname and domainname from redhat list
Yes, everything with my machine is the same, except I upgraded to RH 7.3 Thanks, Jake At 07:13 PM 5/16/2002 -0400, you wrote: Hello Jake, Thursday, May 16, 2002, 3:08:36 PM, you textually orated: JM It's the old version of mailstudio, we bought this license about two years JM ago, it's been working fine. I initially installed it on 6.2. From 6.2 to JM 7.2, it seemed that when I would set the hostname and domainname by using JM hostname name and domainname name, the settings would stay that way. But JM now under 7.3, each time I reboot, it changes... JM It doesn't tell me why it needs it, but it won't let me configure it JM without these settings.. Does the hostname, domainname and IP Address match the last machine you did? It seems that it needs this info to confirm that the license key you have is legitimate. Other things to try... Try setting NISDOMAIN=your-domain in the /etc/sysconfig/network file. (Note: you need to restart the network service afterwards with a service network restart command. Ensure that your HOSTNAME is is an FQDN. Else a call to domainname _may_ fail. (See man domainname) For more info on setting all this up in a Red Hat system (it is still mostly accurate and may help more because it is older and you have an older program) you can go to http://www.redhat.com/support/resources/howto/sysconfig.html Hope it helps. Have fun, -- _ Brian Ashe CTO [EMAIL PROTECTED] Dee-Web Software Services, LLC. http://www.dee-web.com/ - ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: hostname and domainname from redhat list
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 16-May-2002/18:21 -0400, Jake McHenry [EMAIL PROTECTED] wrote: What is mydomain.tld? An example. tld == Top Level Domain (com, net, org, etc). I tried setting DOMAINNAME=ministang.com , and that didn't seem to do anything. It should have. Tony - -- Anthony E. Greene mailto:[EMAIL PROTECTED] OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D AOL/Yahoo Chat: TonyG05 HomePage: http://www.pobox.com/~agreene/ Linux. The choice of a GNU generation http://www.linux.org/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Anthony E. Greene mailto:[EMAIL PROTECTED] 0x6C94239D iD8DBQE85Fi8pCpg3WyUI50RAnJyAJ9a8lH0CfCLJJk9gSPoub65luQ94gCfT++S J49XbUrDKAfcNpm22RjgSIQ= =ERBQ -END PGP SIGNATURE- ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: hostname and domainname from redhat list
On Thu, 2002-05-16 at 18:11, Anthony E. Greene wrote: On 16-May-2002/18:21 -0400, Jake McHenry [EMAIL PROTECTED] wrote: I tried setting DOMAINNAME=ministang.com , and that didn't seem to do anything. It should have. No, it shouldn't. Look in /etc/init.d/*. No script gets DOMAINNAME from the config file. signature.asc Description: This is a digitally signed message part
Re: Re[3]: hostname and domainname from redhat list
On Thu, 2002-05-16 at 16:13, Brian Ashe wrote: Try setting NISDOMAIN=your-domain in the /etc/sysconfig/network file. (Note: you need to restart the network service afterwards with a service network restart command. The network script doesn't set the 'domainname'. It will be set by the ypbind or ypserv script. Ensure that your HOSTNAME is is an FQDN. Else a call to domainname _may_ fail. (See man domainname) 'domainname' returns the NIS domain, and doens't concern the DNS domain at all. You mean 'dnsdomainname' :) signature.asc Description: This is a digitally signed message part
hostname and domainname
Hi, everytime I reboot my machine, I have to reset my hostname and domainname. When I reboot, my hostname get's set back to what it was when I installed redhat, and the domainname goes to empty. I set them back by hostname and domainname and it's fine then, but as soon as I reboot or go init1, it goes back to the wrong settings. Where are the files that I can manually change these entries? Thanks, Jake ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: hostname and domainname
On Wed, May 15, 2002 at 12:28:16PM -0500, [EMAIL PROTECTED] wrote: What are you using to change these? Or what files are you actually changing? Try running redhat-config-network and changing it there, that keeps it for me. Take a look at /etc/sysconfig/network. I think the HOSTNAME variable is where it is stored. Best Regards, Keith -- LPIC-2, MCSE, N+ Will we all fight for the right to be free? Got spam? Get spastic http://spastic.sourceforge.net ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: hostname and domainname
I use hostname (name) and domainname (name) and it sets it, but after I reboot, they both change back to what they were before. I don't have redhat-config-network on my machine. Thanks, Jake At 12:28 PM 5/15/2002 -0500, you wrote: What are you using to change these? Or what files are you actually changing? Try running redhat-config-network and changing it there, that keeps it for me. Eric -Original Message- From: Jake McHenry [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002 12:22 PM To: [EMAIL PROTECTED] Subject: hostname and domainname Hi, everytime I reboot my machine, I have to reset my hostname and domainname. When I reboot, my hostname get's set back to what it was when I installed redhat, and the domainname goes to empty. I set them back by hostname and domainname and it's fine then, but as soon as I reboot or go init1, it goes back to the wrong settings. Where are the files that I can manually change these entries? Thanks, Jake ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: hostname and domainname
From what i've heard, 7.3 acts more like Solaris, in that you have to change multiple files not just one anymore. I'm not sure if there is truth behind that. Do you use any X Environment or just terminal? If your in an X Environment there should be some gui tools somewhere under settings. There are a few different ones for the network settings. Eric -Original Message- From: Keith Winston [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002 12:47 PM To: [EMAIL PROTECTED] Subject: Re: hostname and domainname On Wed, May 15, 2002 at 12:28:16PM -0500, [EMAIL PROTECTED] wrote: What are you using to change these? Or what files are you actually changing? Try running redhat-config-network and changing it there, that keeps it for me. Take a look at /etc/sysconfig/network. I think the HOSTNAME variable is where it is stored. Best Regards, Keith -- LPIC-2, MCSE, N+ Will we all fight for the right to be free? Got spam? Get spastic http://spastic.sourceforge.net ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: hostname and domainname
I'm not using any type of X windows. Ok, I changed the HOSTNAME in /etc/sysconfig/network, but the domainname still sets to empty when I reboot the machine. At least apache isn't yelling at me anymore about my fully qualified domain name. Will not having domainname set to anything be a problem? Thanks, Jake At 12:53 PM 5/15/2002 -0500, you wrote: From what i've heard, 7.3 acts more like Solaris, in that you have to change multiple files not just one anymore. I'm not sure if there is truth behind that. Do you use any X Environment or just terminal? If your in an X Environment there should be some gui tools somewhere under settings. There are a few different ones for the network settings. Eric -Original Message- From: Keith Winston [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002 12:47 PM To: [EMAIL PROTECTED] Subject: Re: hostname and domainname On Wed, May 15, 2002 at 12:28:16PM -0500, [EMAIL PROTECTED] wrote: What are you using to change these? Or what files are you actually changing? Try running redhat-config-network and changing it there, that keeps it for me. Take a look at /etc/sysconfig/network. I think the HOSTNAME variable is where it is stored. Best Regards, Keith -- LPIC-2, MCSE, N+ Will we all fight for the right to be free? Got spam? Get spastic http://spastic.sourceforge.net ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: hostname and domainname
Here is what you need to do. 1. log on as root 2. vi /etc/sysconfig/network 3. add/modify HOSTNAME=your host NISDOMAIN=your domain. I assume you have a static ip and not using DHCP. -Original Message- From: Jake McHenry [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002 10:49 AM To: [EMAIL PROTECTED] Subject: RE: hostname and domainname I use hostname (name) and domainname (name) and it sets it, but after I reboot, they both change back to what they were before. I don't have redhat-config-network on my machine. Thanks, Jake At 12:28 PM 5/15/2002 -0500, you wrote: What are you using to change these? Or what files are you actually changing? Try running redhat-config-network and changing it there, that keeps it for me. Eric -Original Message- From: Jake McHenry [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002 12:22 PM To: [EMAIL PROTECTED] Subject: hostname and domainname Hi, everytime I reboot my machine, I have to reset my hostname and domainname. When I reboot, my hostname get's set back to what it was when I installed redhat, and the domainname goes to empty. I set them back by hostname and domainname and it's fine then, but as soon as I reboot or go init1, it goes back to the wrong settings. Where are the files that I can manually change these entries? Thanks, Jake ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: hostname and domainname
On Wed, May 15, 2002 at 01:57:53PM -0400, Jake McHenry wrote: I'm not using any type of X windows. Ok, I changed the HOSTNAME in /etc/sysconfig/network, but the domainname still sets to empty when I reboot the machine. At least apache isn't yelling at me anymore about my fully qualified domain name. Will not having domainname set to anything be a problem? You can include your domain name with the hostname: HOSTNAME='foo.com' At least, it seems to work on my 7.3 box. Best Regards, Keith -- LPIC-2, MCSE, N+ Will we all fight for the right to be free? Got spam? Get spastic http://spastic.sourceforge.net ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: hostname and domainname
Ok, the hostname I got in an earlier email, that part worked, but the NISDOMAIN, still does nothing. When I look at the setting by typing domainname, it still says (none). And I am rebooting after I make these changes... Thanks, Jake At 10:57 AM 5/15/2002 -0700, you wrote: Here is what you need to do. 1. log on as root 2. vi /etc/sysconfig/network 3. add/modify HOSTNAME=your host NISDOMAIN=your domain. I assume you have a static ip and not using DHCP. -Original Message- From: Jake McHenry [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002 10:49 AM To: [EMAIL PROTECTED] Subject: RE: hostname and domainname I use hostname (name) and domainname (name) and it sets it, but after I reboot, they both change back to what they were before. I don't have redhat-config-network on my machine. Thanks, Jake At 12:28 PM 5/15/2002 -0500, you wrote: What are you using to change these? Or what files are you actually changing? Try running redhat-config-network and changing it there, that keeps it for me. Eric -Original Message- From: Jake McHenry [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002 12:22 PM To: [EMAIL PROTECTED] Subject: hostname and domainname Hi, everytime I reboot my machine, I have to reset my hostname and domainname. When I reboot, my hostname get's set back to what it was when I installed redhat, and the domainname goes to empty. I set them back by hostname and domainname and it's fine then, but as soon as I reboot or go init1, it goes back to the wrong settings. Where are the files that I can manually change these entries? Thanks, Jake ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: hostname and domainname
Oh, and yes, it's a static private ip. Thanks, Jake At 10:57 AM 5/15/2002 -0700, you wrote: Here is what you need to do. 1. log on as root 2. vi /etc/sysconfig/network 3. add/modify HOSTNAME=your host NISDOMAIN=your domain. I assume you have a static ip and not using DHCP. -Original Message- From: Jake McHenry [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002 10:49 AM To: [EMAIL PROTECTED] Subject: RE: hostname and domainname I use hostname (name) and domainname (name) and it sets it, but after I reboot, they both change back to what they were before. I don't have redhat-config-network on my machine. Thanks, Jake At 12:28 PM 5/15/2002 -0500, you wrote: What are you using to change these? Or what files are you actually changing? Try running redhat-config-network and changing it there, that keeps it for me. Eric -Original Message- From: Jake McHenry [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002 12:22 PM To: [EMAIL PROTECTED] Subject: hostname and domainname Hi, everytime I reboot my machine, I have to reset my hostname and domainname. When I reboot, my hostname get's set back to what it was when I installed redhat, and the domainname goes to empty. I set them back by hostname and domainname and it's fine then, but as soon as I reboot or go init1, it goes back to the wrong settings. Where are the files that I can manually change these entries? Thanks, Jake ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: hostname and domainname
On Wed, May 15, 2002 at 01:21:50PM -0400, Jake McHenry wrote: Hi, everytime I reboot my machine, I have to reset my hostname and domainname. When I reboot, my hostname get's set back to what it was when I installed redhat, and the domainname goes to empty. I set them back by hostname and domainname and it's fine then, but as soon as I reboot or go init1, it goes back to the wrong settings. Where are the files that I can manually change these entries? Set the variable HOSTNAME to your fully qualified hostname in /etc/sysconfig/network. -- Anand Buddhdev Personal site: http://anand.org ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: hostname and domainname
set HOSTNAME in /etc/sysconfig/network set domain in /etc/resolv.conf that is all I have ever needed to change. NISDOMAIN will not effect the name or domain that your machine is on, it is only used (AFAIK) to determine where the machine will authenticate if you are using nis authentication. ryan On Wed, 2002-05-15 at 11:19, Jake McHenry wrote: Ok, the hostname I got in an earlier email, that part worked, but the NISDOMAIN, still does nothing. When I look at the setting by typing domainname, it still says (none). And I am rebooting after I make these changes... Thanks, Jake At 10:57 AM 5/15/2002 -0700, you wrote: Here is what you need to do. 1. log on as root 2. vi /etc/sysconfig/network 3. add/modify HOSTNAME=your host NISDOMAIN=your domain. I assume you have a static ip and not using DHCP. -- -- Ryan Speed - Network Administrator - [EMAIL PROTECTED] -- signature.asc Description: This is a digitally signed message part
Re: hostname and domainname
On Wed, May 15, 2002 at 01:21:50PM -0400, Jake McHenry wrote: Hi, everytime I reboot my machine, I have to reset my hostname and domainname. When I reboot, my hostname get's set back to what it was when I installed redhat, and the domainname goes to empty. I set them back by hostname and domainname and it's fine then, but as soon as I reboot or go init1, it goes back to the wrong settings. Where are the files that I can manually change these entries? If you want to configure the domainname, set `domainname = xxx' in /etc/sysconfig/network. NIS (Network Information Service) is something else althogether. I've never used it, but from what I've read it was developed by Sun to allow system information to be distributed across a network and can be used to override the default domain name. I guess it is used to overcome the fact that network nodes were originally autonomous. It was called yellow pages so everything about `yp' under `man domainname' and `man ypcat' is dealing with NIS. Cameron msg78669/pgp0.pgp Description: PGP signature
RE: hostname and domainname
Ok, I already had domain in /etc/resolv.conf Still, when I reboot, when I type hostname, I get the host + domain name, when I type domainname, still get (none). dnsdomainname get's the domain name. I guess if no one knows where this is stored, I can always put it in a startup file. Thanks, Jake At 12:41 PM 5/15/2002 -0700, you wrote: set HOSTNAME in /etc/sysconfig/network set domain in /etc/resolv.conf that is all I have ever needed to change. NISDOMAIN will not effect the name or domain that your machine is on, it is only used (AFAIK) to determine where the machine will authenticate if you are using nis authentication. ryan On Wed, 2002-05-15 at 11:19, Jake McHenry wrote: Ok, the hostname I got in an earlier email, that part worked, but the NISDOMAIN, still does nothing. When I look at the setting by typing domainname, it still says (none). And I am rebooting after I make these changes... Thanks, Jake At 10:57 AM 5/15/2002 -0700, you wrote: Here is what you need to do. 1. log on as root 2. vi /etc/sysconfig/network 3. add/modify HOSTNAME=your host NISDOMAIN=your domain. I assume you have a static ip and not using DHCP. -- -- Ryan Speed - Network Administrator - [EMAIL PROTECTED] -- ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: hostname and domainname
from man domainame hostname - show or set the system's host name domainname - show or set the system's NIS/YP domain name dnsdomainname - show the system's DNS domain name man pages are your friend _ daniel a. g. quinn starving programmer the hottest places in hell are reserved for those who in times of great moral crises maintain their neutrality. - dante aleghieri (1265-1321) - Original Message - Ok, I already had domain in /etc/resolv.conf Still, when I reboot, when I type hostname, I get the host + domain name, when I type domainname, still get (none). dnsdomainname get's the domain name. I guess if no one knows where this is stored, I can always put it in a startup file. Thanks, Jake At 12:41 PM 5/15/2002 -0700, you wrote: set HOSTNAME in /etc/sysconfig/network set domain in /etc/resolv.conf that is all I have ever needed to change. NISDOMAIN will not effect the name or domain that your machine is on, it is only used (AFAIK) to determine where the machine will authenticate if you are using nis authentication. ryan On Wed, 2002-05-15 at 11:19, Jake McHenry wrote: Ok, the hostname I got in an earlier email, that part worked, but the NISDOMAIN, still does nothing. When I look at the setting by typing domainname, it still says (none). And I am rebooting after I make these changes... Thanks, Jake At 10:57 AM 5/15/2002 -0700, you wrote: Here is what you need to do. 1. log on as root 2. vi /etc/sysconfig/network 3. add/modify HOSTNAME=your host NISDOMAIN=your domain. I assume you have a static ip and not using DHCP. -- -- Ryan Speed - Network Administrator - [EMAIL PROTECTED] -- ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: hostname and domainname
No, this doesn't help, I already looked at this... I can use dnsdomainname to set it, it gives me this when I try... dnsdomainname: You can't change the DNS domain name with this command Unless you are using bind or NIS for host lookups you can change the DNS domain name (which is part of the FQDN) in the /etc/hosts file. If I change anything with hostname and domainname, when I reboot it goes back to the old values. This is what this whole post is about... Jake At 01:38 PM 5/15/2002 -0700, you wrote: from man domainame hostname - show or set the system's host name domainname - show or set the system's NIS/YP domain name dnsdomainname - show the system's DNS domain name man pages are your friend _ daniel a. g. quinn starving programmer the hottest places in hell are reserved for those who in times of great moral crises maintain their neutrality. - dante aleghieri (1265-1321) - Original Message - Ok, I already had domain in /etc/resolv.conf Still, when I reboot, when I type hostname, I get the host + domain name, when I type domainname, still get (none). dnsdomainname get's the domain name. I guess if no one knows where this is stored, I can always put it in a startup file. Thanks, Jake At 12:41 PM 5/15/2002 -0700, you wrote: set HOSTNAME in /etc/sysconfig/network set domain in /etc/resolv.conf that is all I have ever needed to change. NISDOMAIN will not effect the name or domain that your machine is on, it is only used (AFAIK) to determine where the machine will authenticate if you are using nis authentication. ryan On Wed, 2002-05-15 at 11:19, Jake McHenry wrote: Ok, the hostname I got in an earlier email, that part worked, but the NISDOMAIN, still does nothing. When I look at the setting by typing domainname, it still says (none). And I am rebooting after I make these changes... Thanks, Jake At 10:57 AM 5/15/2002 -0700, you wrote: Here is what you need to do. 1. log on as root 2. vi /etc/sysconfig/network 3. add/modify HOSTNAME=your host NISDOMAIN=your domain. I assume you have a static ip and not using DHCP. -- -- Ryan Speed - Network Administrator - [EMAIL PROTECTED] -- ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: hostname and domainname
follow the posts of the others to change your hostname and domain name. i believe the advice was to look in /etc/sysconfig/network and /etc/resolv.conf respectively. i was just pointing out that if you're using domainname to check for something OTHER THAN the NIS domain, you were barking up the wrong tree. it says right in the man page that domainname is for showing or setting NIS/YP and dnsdomainname is just for _showing_ your domain name. _ daniel a. g. quinn starving programmer when the missionaries came to africa they had the bible and we had the land. they said let us pray. we closed our eyes. when we opened them we had the bible and they had the land. - bishop Desmond Tutu - Original Message - No, this doesn't help, I already looked at this... I can use dnsdomainname to set it, it gives me this when I try... dnsdomainname: You can't change the DNS domain name with this command Unless you are using bind or NIS for host lookups you can change the DNS domain name (which is part of the FQDN) in the /etc/hosts file. If I change anything with hostname and domainname, when I reboot it goes back to the old values. This is what this whole post is about... Jake At 01:38 PM 5/15/2002 -0700, you wrote: from man domainame hostname - show or set the system's host name domainname - show or set the system's NIS/YP domain name dnsdomainname - show the system's DNS domain name man pages are your friend _ daniel a. g. quinn starving programmer the hottest places in hell are reserved for those who in times of great moral crises maintain their neutrality. - dante aleghieri (1265-1321) - Original Message - Ok, I already had domain in /etc/resolv.conf Still, when I reboot, when I type hostname, I get the host + domain name, when I type domainname, still get (none). dnsdomainname get's the domain name. I guess if no one knows where this is stored, I can always put it in a startup file. Thanks, Jake At 12:41 PM 5/15/2002 -0700, you wrote: set HOSTNAME in /etc/sysconfig/network set domain in /etc/resolv.conf that is all I have ever needed to change. NISDOMAIN will not effect the name or domain that your machine is on, it is only used (AFAIK) to determine where the machine will authenticate if you are using nis authentication. ryan On Wed, 2002-05-15 at 11:19, Jake McHenry wrote: Ok, the hostname I got in an earlier email, that part worked, but the NISDOMAIN, still does nothing. When I look at the setting by typing domainname, it still says (none). And I am rebooting after I make these changes... Thanks, Jake At 10:57 AM 5/15/2002 -0700, you wrote: Here is what you need to do. 1. log on as root 2. vi /etc/sysconfig/network 3. add/modify HOSTNAME=your host NISDOMAIN=your domain. I assume you have a static ip and not using DHCP. -- -- Ryan Speed - Network Administrator - [EMAIL PROTECTED] -- ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: hostname and domainname
You've been told where the 'domainname' is stored. It's NISDOMAIN in /etc/sysconfig/network, but it only gets set if you're running ypbind (or ypserv). 'domainname' is NIS information, so if you're not *using* NIS, don't worry about it. On Wed, 2002-05-15 at 13:27, Jake McHenry wrote: Ok, I already had domain in /etc/resolv.conf Still, when I reboot, when I type hostname, I get the host + domain name, when I type domainname, still get (none). dnsdomainname get's the domain name. I guess if no one knows where this is stored, I can always put it in a startup file. Thanks, Jake At 12:41 PM 5/15/2002 -0700, you wrote: set HOSTNAME in /etc/sysconfig/network set domain in /etc/resolv.conf that is all I have ever needed to change. NISDOMAIN will not effect the name or domain that your machine is on, it is only used (AFAIK) to determine where the machine will authenticate if you are using nis authentication. ryan On Wed, 2002-05-15 at 11:19, Jake McHenry wrote: Ok, the hostname I got in an earlier email, that part worked, but the NISDOMAIN, still does nothing. When I look at the setting by typing domainname, it still says (none). And I am rebooting after I make these changes... ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: hostname and domainname from redhat list
No, my machine works fine, dns works fine, I'm trying to get a web based mail program working and it's telling me that I need to set domainname to something other than (none) I guess I can either find another package or just put this in a script.. Thanks for the help everyone.. Jake At 05:12 PM 5/15/2002 -0400, you wrote: Hi - I've been reading your posts on the redhat list. I get the list in digest mode, so I can't reply individually, but I thought I would send you a quick note. The domainname command has nothing to do with DNS domain (like yahoo.com or whatever). The domainname command, as stated in the man pages, is for setting the NIS/YP domain name for that machine. The NIS/YP domain name is akin to the Windows NT domain which has nothing to do with an internet/DNS/TCP/IP domain. As long as your hostname is correct, and you have the correct domain entry in /etc/resolv.conf you are good to go. Unless you are running NIS/YP, and I didn't see anywhere in your posts that you are, there is no need to worry about the domainname command. There is no utility to change the domain part of a FQDN. You do that in /etc/resolv.conf. So: 1. make sure output of hostname is correct 2. add domain somedomain.com to /etc/resolv.conf 3. you're done For example, I'm running numerous servers, and the output of domainname on all of them is null, and I can assure you they are all working correctly from an addressing standpoint. I don't run NIS or YP on any of my machines (LDAP is better). Hope this helps. - John John Turner [EMAIL PROTECTED] | 248-488-3466 Advertising Audit Service http://www.aas.com
Re[2]: hostname and domainname from redhat list
Hello Jake, Wednesday, May 15, 2002, 6:37:20 PM, you textually orated: JM No, my machine works fine, dns works fine, I'm trying to get a web based JM mail program working and it's telling me that I need to set domainname to JM something other than (none) JM I guess I can either find another package or just put this in a script.. Which package are you trying to get working? Is it telling you that it needs this for incoming or outgoing? Have fun, -- _ Brian Ashe CTO [EMAIL PROTECTED] Dee-Web Software Services, LLC. http://www.dee-web.com/ - ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: hostname and domainname from redhat list
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 15-May-2002/18:37 -0400, Jake McHenry [EMAIL PROTECTED] wrote: No, my machine works fine, dns works fine, I'm trying to get a web based mail program working and it's telling me that I need to set domainname to something other than (none) I seem to remember the DNS domain being set in /etc/sysconfig/network: DOMAINNAME=mydomain.tld ...not by using the domainname command which affects NIS, but not DNS. Tony - -- Anthony E. Greene mailto:[EMAIL PROTECTED] OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D AOL/Yahoo Chat: TonyG05 HomePage: http://www.pobox.com/~agreene/ Linux. The choice of a GNU generation http://www.linux.org/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Anthony E. Greene mailto:[EMAIL PROTECTED] 0x6C94239D iD8DBQE84voVpCpg3WyUI50RAo3qAJ42ltQQwCJndONPbQTMbr8yiXkDDgCfW6Oh X8Qu2xs+ytwIa+R0Wr1asuo= =qEoi -END PGP SIGNATURE- ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: hostname and domainname from redhat list
On Wed, 2002-05-15 at 17:37, Jake McHenry wrote: No, my machine works fine, dns works fine, I'm trying to get a web based mail program working and it's telling me that I need to set domainname to something other than (none) WAG needs to be set in the package config file?/WAG HTH Bret ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list