Re: [gentoo-user] Domain Question

2003-12-12 Thread Kathy Wills
Joshua Banks wrote:

--- Peter Ruskin <[EMAIL PROTECTED]> wrote:

 

Only now that genone explained (thanks genone) that \o is for NIS 
domainname and \O for DNS domainname am I getting the right result.
   

So Peter you simply removed the "\o" and replaced this with "\O" or
added 
"\O" to the existing /etc/issue file?

Thanks,
JBanks
 

I edited /etc/issue and replaced the \o with \O and returned to using 
the /etc/dnsdomainname and it worked. The (none) is no longer there when 
I go to the console.

--
Kathy Wills
+
+ Genealogy Web Site: http://www.kathywillsfamily.com   +
+   +
+ Summit Group Web Site: http://www.tsginfo.com/index.php?rc=VW4374 +
+
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Domain Question

2003-12-12 Thread Redeeman
On Fri, 2003-12-12 at 18:33, Joshua Banks wrote:
> --- Redeeman <[EMAIL PROTECTED]> wrote:
> > i had these problems too, and the problems is that you have
> > configured
> > /etc/hosts wrong, i will show mine here, where it works, and i get:
> 
> When or how (what command) do you use to get the below line to present
> its self?
> 
> > This is redeeman.linux.dk (Linux i686 2.6.0-test11) 16:21:13
> 
> How does one know when to use nisdomainname versus dnsdomainname?? Just
> curious. Right now I will probably end up answering my own question.
> I've found some good info regarding NIS here..
> 
actually i dont know :)) but if you are a person that uses it, im sure
you know :) i just used dnsdomainname :)

> http://www.tldp.org/LDP/nag/node131.html
> 
> Thanks,
> JBanks
> 
> 

> __
> Do you Yahoo!?
> New Yahoo! Photos - easier uploading and sharing.
> http://photos.yahoo.com/
-- 
Regards, Redeeman
()  ascii ribbon campaign - against html e-mail 
/\- against microsoft attachments



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Domain Question

2003-12-12 Thread Peter Ruskin
On Friday 12 December 2003 20:57, Joshua Banks wrote:
> So Peter you simply removed the "\o" and replaced this with "\O" or

Yes
-- 
==
Gentoo Linux:   Portage 2.0.49-r18 (default-x86-1.4, gcc-3.2.3, 
glibc-2.3.2-r3, 2.6.0-test11-gentoo-r1-win4lin) i686 AMD Athlon(tm) XP 
3200+
==

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Domain Question

2003-12-12 Thread Joshua Banks

--- Peter Ruskin <[EMAIL PROTECTED]> wrote:

> Only now that genone explained (thanks genone) that \o is for NIS 
> domainname and \O for DNS domainname am I getting the right result.

So Peter you simply removed the "\o" and replaced this with "\O" or
added 
"\O" to the existing /etc/issue file?

Thanks,
JBanks

__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Domain Question

2003-12-12 Thread Joshua Banks

--- Kathy Wills <[EMAIL PROTECTED]> wrote:
> Marius Mauch wrote:
> 
> > Does your /etc/issue have a \O or \o ?
> >
> >Marius
> >
> >  
> >
> It has \o.


Mine has the following line and I have an upper case "O" instead of a
lower case "o".
$ less /etc/issue
This is \n.\O (\s \m \r) \t

What does this file have to do with Kathy's original problem? Just
curious. Even more curious as to why using NIS domainname solved the
problem. (if there actually was a problem with see'ing "(none)".) I
don't have an /etc/nisdomainname file. 

Thanks,
JBanks

__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Domain Question

2003-12-12 Thread Peter Ruskin
On Friday 12 December 2003 19:15, Glenn English wrote:
> Why is setting the hostname/domainname so convoluted? It's a
> different secret process on every distro I've encountered.
>
> And Gentoo has a place for a hostname, a dnsdomainname, and a
> nisdomainname. That I know of. The more (seemingly) similar info
> stored, the more things to try at random until I got something that
> (seems to) work.

Very true.  This strange behaviour for setting /etc/issue was introduced 
fairly recently with a baselayout upgrade.  This entry was put 
in /etc/conf.d/local.start:
echo "This is \n.\o (\s \m \r)" > /etc/issue

I did `man {issue,getty,motd,login}` for help (No manual entry for 
getty) and didn't find any explanation for the above command.

Only now that genone explained (thanks genone) that \o is for NIS 
domainname and \O for DNS domainname am I getting the right result.

Peter
-- 
==
Gentoo Linux:   Portage 2.0.49-r18 (default-x86-1.4, gcc-3.2.3, 
glibc-2.3.2-r3, 2.6.0-test11-gentoo-r1-win4lin) i686 AMD Athlon(tm) XP 
3200+
==

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Domain Question

2003-12-12 Thread Kathy Wills
Marius Mauch wrote:

On 12/12/03  Kathy Wills wrote:

 

It has \o.
   

\o is for NIS domainname, use \O to get the DNS domainname.

Marius

 

OK, that explains why it wasn't working for me when I was using 
/etc/dnsdomainname. I'll change it and go back to using that and not the 
/etc/nisdomainname. I hadn't made any changes to /etc/issue. It was as 
installed.

--
Kathy Wills
+
+ Genealogy Web Site: http://www.kathywillsfamily.com   +
+   +
+ Summit Group Web Site: http://www.tsginfo.com/index.php?rc=VW4374 +
+
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Domain Question

2003-12-12 Thread Marius Mauch
On 12/12/03  Kathy Wills wrote:

> It has \o.

\o is for NIS domainname, use \O to get the DNS domainname.

Marius

-- 
Public Key at http://www.genone.de/info/gpg-key.pub

In the beginning, there was nothing. And God said, 'Let there be
Light.' And there was still nothing, but you could see a bit better.


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] Domain Question

2003-12-12 Thread Glenn English

> On 12/11/03  Kathy Wills wrote:
> 
> > When I reboot my computer to the console before typing startx, I see:

And there have been several suggestions, all different, and none of
which solved Ms. Wills' problem..

Why is setting the hostname/domainname so convoluted? It's a different
secret process on every distro I've encountered. 

And Gentoo has a place for a hostname, a dnsdomainname, and a
nisdomainname. That I know of. The more (seemingly) similar info stored,
the more things to try at random until I got something that (seems to)
work.

I am a bit of a newbie, but is there some rationale(s) for all this? Is
there a POSIX or Linux standard way(s) for storing this information? Is
there documentation(s) of how this is to be done?

If someone can point me at TFM to R, I'd be happy to do that - and even
write a little script that would ask intelligent questions and set
relevant values.

-- 
Glenn English
[EMAIL PROTECTED]


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Domain Question

2003-12-12 Thread Kathy Wills
Marius Mauch wrote:

Does your /etc/issue have a \O or \o ?

Marius

 

It has \o.

--
Kathy Wills
+
+ Genealogy Web Site: http://www.kathywillsfamily.com   +
+   +
+ Summit Group Web Site: http://www.tsginfo.com/index.php?rc=VW4374 +
+
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Domain Question

2003-12-12 Thread Kathy Wills
Redeeman wrote:

i had these problems too, and the problems is that you have configured
/etc/hosts wrong, i will show mine here, where it works, and i get:
This is redeeman.linux.dk (Linux i686 2.6.0-test11) 16:21:13
/etc/hosts:
127.0.0.1 localhost
192.168.1.8 redeeman.linux.dk redeeman
192.168.1.8 redeeman
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
 

No my /etc/hosts was correct. It was just like yours without the ipv6 
stuff and using my information of course. When I was just using the 
/etc/dnsdomainname was with the /etc/hostname was when I was getting the 
(none) after the other in the console. Doing what I said got rid of the 
(none).

--
Kathy Wills
+
+ Genealogy Web Site: http://www.kathywillsfamily.com   +
+   +
+ Summit Group Web Site: http://www.tsginfo.com/index.php?rc=VW4374 +
+
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Domain Question

2003-12-12 Thread Ciortea Cristian
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday 12 December 2003 20:24, Marius Mauch wrote:
> On 12/11/03  Kathy Wills wrote:
> > When I reboot my computer to the console before typing startx, I see:
> >
> > machinename.privatedomain (none) Gentoo version number.
> >
> > Of course all of the above has the correct information, I just changed
> >
> > from the true for this example. My question is, why the (none)? I have
> >
> > the correct information in hostname and dnsdomainname files. The
> > /etc/init.d/domainname is started when I boot. Is this possibly
> > because I only have eth0 and no eth1 or did I miss something when I
> > did the network configuration?
>
> Does your /etc/issue have a \O or \o ?
>
> Marius
This is \n.\O (\s \m \r) \t
This is what i have. I have the following files :
/etc/dnsdomainname xxx.yy.zz
and /etc/hostname .bb
And i get This is xxx.yy.zz.yy.zz
I have no clue what's happening either
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iQIVAwUBP9oJLL4Dc84tIPwxAQJ2xBAAlKBcsA+uew0uDRvAx4G6LyGGBtSR9inQ
US35Ol2uvnFpk2kNYOOCXLC5Szm8hxgbn6JVe9jVmxE082Y6cnO7VBn+pPGn/u3w
c9+mDO7o6GLJJ4AIRIclxHhepnDalaNiAqd+YrQnw/XQ5gXxCoCJjJCDRjNjjJ/4
xEFAL8MdMXZ9mT7BAgxu7I37neMv5vZeu4PKIc8Wya66vRmnxGd3qFVu/D+ftQst
IZIcDWP1oi25aKI04PO2177QT8hbVePgxUXyw5IfZub+hM/SpTGTSyuC7nipFOtY
F9Z7IcuxHjqLa8YlyGcM++Wh/sTSS2kzZj5m+p67UR21FRdztdKPHrFrU1AouAjN
PfZzuLdUCf07s1ibUS/NhLO2CizbgMs4kJQuxwBZM/3LI/wQonEGyngvibUQn2ZD
x2R1+ns5b23J3r6O5JqujzAhafPS4hEvVoQb6giw1DWHUEvJSclRetq6ISd60Vxo
514quMmhcY31V2GRpEGW3aJ+Buo3AqgOectDgGZUwqxPhjx7DSoet6o7q37+Yfvl
xgOgKFPWZ+UhrP2AkjN4WKSEsW6TeToV8VHOpNFtyPxrHJ5xIjUGWZQQpxd0Ho38
6F79qEfUBtfX2bnKyGYkX28eFsLLhEp5Wr8/1KdCz0KEpVJZne4IuOSOZuSXm3TU
xiOc8kJZ3cc=
=zkui
-END PGP SIGNATURE-


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Domain Question

2003-12-12 Thread Marius Mauch
On 12/11/03  Kathy Wills wrote:

> When I reboot my computer to the console before typing startx, I see:
> 
> machinename.privatedomain (none) Gentoo version number.
> 
> Of course all of the above has the correct information, I just changed
> 
> from the true for this example. My question is, why the (none)? I have
> 
> the correct information in hostname and dnsdomainname files. The 
> /etc/init.d/domainname is started when I boot. Is this possibly
> because I only have eth0 and no eth1 or did I miss something when I
> did the network configuration?

Does your /etc/issue have a \O or \o ?

Marius

-- 
Public Key at http://www.genone.de/info/gpg-key.pub

In the beginning, there was nothing. And God said, 'Let there be
Light.' And there was still nothing, but you could see a bit better.


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] Domain Question

2003-12-12 Thread Joshua Banks

--- Redeeman <[EMAIL PROTECTED]> wrote:
> i had these problems too, and the problems is that you have
> configured
> /etc/hosts wrong, i will show mine here, where it works, and i get:

When or how (what command) do you use to get the below line to present
its self?

> This is redeeman.linux.dk (Linux i686 2.6.0-test11) 16:21:13

How does one know when to use nisdomainname versus dnsdomainname?? Just
curious. Right now I will probably end up answering my own question.
I've found some good info regarding NIS here..

http://www.tldp.org/LDP/nag/node131.html

Thanks,
JBanks


__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Domain Question

2003-12-12 Thread Redeeman
i had these problems too, and the problems is that you have configured
/etc/hosts wrong, i will show mine here, where it works, and i get:
This is redeeman.linux.dk (Linux i686 2.6.0-test11) 16:21:13

/etc/hosts:
127.0.0.1 localhost
192.168.1.8 redeeman.linux.dk redeeman
192.168.1.8 redeeman
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

/etc/hostname
redeeman

/etc/dnsdomainname
linux.dk


you only need the ipv6 stuff if you actually use ipv6.

On Fri, 2003-12-12 at 17:14, Kathy Wills wrote:
> Peter Ruskin wrote:
> 
> > I put this in /etc/conf.d/local.start:
> >
> ># Set domainname so that virtual console prompts look OK.
> >echo
> >echo "Setting domainname to ruskin"
> >/bin/domainname ruskin
> >
> >It works but it's ugly and shouldn't be necessary.
> >
> >Peter
> >  
> >
> Ok, based on what I found from the link to /bin/domainname, if you use 
> /etc/nisdomainname instead of /etc/dnsdomainname the (none) goes away 
> and the name shows up correctly if you have just the machine name in 
> /etc/hostname and the domain name in /etc/nisdomainname. In my case, it 
> shows up as machinename.domainname.
-- 
Regards, Redeeman
()  ascii ribbon campaign - against html e-mail 
/\- against microsoft attachments



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Domain Question

2003-12-12 Thread Kathy Wills
Peter Ruskin wrote:

I put this in /etc/conf.d/local.start:

# Set domainname so that virtual console prompts look OK.
echo
echo "Setting domainname to ruskin"
/bin/domainname ruskin
It works but it's ugly and shouldn't be necessary.

Peter
 

Ok, based on what I found from the link to /bin/domainname, if you use 
/etc/nisdomainname instead of /etc/dnsdomainname the (none) goes away 
and the name shows up correctly if you have just the machine name in 
/etc/hostname and the domain name in /etc/nisdomainname. In my case, it 
shows up as machinename.domainname.

--
Kathy Wills
+
+ Genealogy Web Site: http://www.kathywillsfamily.com   +
+   +
+ Summit Group Web Site: http://www.tsginfo.com/index.php?rc=VW4374 +
+
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Domain Question

2003-12-12 Thread Kathy Wills
Peter Ruskin wrote:

I put this in /etc/conf.d/local.start:

# Set domainname so that virtual console prompts look OK.
echo
echo "Setting domainname to ruskin"
/bin/domainname ruskin
It works but it's ugly and shouldn't be necessary.

Peter
 

I took a look at /bin/domainname. It is a link to /bin/hostname. It 
opened /bin/hostname in an editor and scrolled down to the wording it 
looks like maybe (none) should refer to nisdomainname or ypdomainname. 
I'm going to try it when I reboot again and see it that resolves it 
without having to do the script.

--
Kathy Wills
+
+ Genealogy Web Site: http://www.kathywillsfamily.com   +
+   +
+ Summit Group Web Site: http://www.tsginfo.com/index.php?rc=VW4374 +
+
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Domain Question

2003-12-12 Thread Peter Ruskin
On Friday 12 Dec 2003 02:05, Kathy Wills wrote:
> When I reboot my computer to the console before typing startx, I see:
>
> machinename.privatedomain (none) Gentoo version number.
>
> Of course all of the above has the correct information, I just
> changed from the true for this example. My question is, why the
> (none)? I have the correct information in hostname and dnsdomainname
> files. The /etc/init.d/domainname is started when I boot. Is this
> possibly because I only have eth0 and no eth1 or did I miss something
> when I did the network configuration?

I put this in /etc/conf.d/local.start:

# Set domainname so that virtual console prompts look OK.
echo
echo "Setting domainname to ruskin"
/bin/domainname ruskin

It works but it's ugly and shouldn't be necessary.

Peter
-- 
==
Gentoo Linux:   Portage 2.0.49-r18 (default-x86-1.4, gcc-3.2.3, 
glibc-2.3.2-r3, 2.6.0-test11-gentoo-r1-win4lin) i686 AMD Athlon(tm) XP 
3200+
==


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Domain Question

2003-12-12 Thread Kathy Wills
Joshua Banks wrote:

--- Kathy Wills <[EMAIL PROTECTED]> wrote:

 

Yes, the /etc/host file is and has been correct so that is not the
answer.
   

Is "/etc/resolv.conf" empty?

JBanks

 

No, /etc/resolv.conf is correct so is /etc/hostname and /etc/dnsdomainname.

--
Kathy Wills
+
+ Genealogy Web Site: http://www.kathywillsfamily.com   +
+   +
+ Summit Group Web Site: http://www.tsginfo.com/index.php?rc=VW4374 +
+
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Domain Question

2003-12-11 Thread Joshua Banks

--- Kathy Wills <[EMAIL PROTECTED]> wrote:

> Yes, the /etc/host file is and has been correct so that is not the
> answer.

Is "/etc/resolv.conf" empty?

JBanks

__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Domain Question

2003-12-11 Thread Kathy Wills
Joshua Banks wrote:

--- Christopher Robison <[EMAIL PROTECTED]> wrote:

 

What do we need to set to get the (none) to go away?
   

I believe that you didn't setup your "etc/hosts" file correctly. I
could be wrong but this looks like the logical mistake.
I believe your missing your machine name. Here's a copy of mine.

127.0.0.1   localhost
192.168.1.1 deadmeat.deadmeat.com   deadmeat
  ^   ^^
   machinename  FQDN machinename again
I probably shouldn't of used the same machinename as the domainname but
it works fine, so I left it alone.
Hope that helps.
Sections 19 and 20 of the install guide show examples.
 

Yes, the /etc/host file is and has been correct so that is not the answer.

--
Kathy Wills
+
+ Genealogy Web Site: http://www.kathywillsfamily.com   +
+   +
+ Summit Group Web Site: http://www.tsginfo.com/index.php?rc=VW4374 +
+
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Domain Question

2003-12-11 Thread Joshua Banks

--- Christopher Robison <[EMAIL PROTECTED]> wrote:

> What do we need to set to get the (none) to go away?

I believe that you didn't setup your "etc/hosts" file correctly. I
could be wrong but this looks like the logical mistake.

I believe your missing your machine name. Here's a copy of mine.

127.0.0.1   localhost
192.168.1.1 deadmeat.deadmeat.com   deadmeat
   ^   ^^
machinename  FQDN machinename again

I probably shouldn't of used the same machinename as the domainname but
it works fine, so I left it alone.

Hope that helps.
Sections 19 and 20 of the install guide show examples.

Joshua Banks

__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Domain Question

2003-12-11 Thread Christopher Robison
I know it's kinda annoying when someone responds with a "me too" instead of
answering the question, but I've wondered about this for a while too. I was
about to post this question to the list the other day.

In response to the question, this happens on my machine with eth0 and eth1, for
whatever that's worth  =)

What do we need to set to get the (none) to go away?

  --c.r.



Quoting Kathy Wills <[EMAIL PROTECTED]>:

> When I reboot my computer to the console before typing startx, I see:
> 
> machinename.privatedomain (none) Gentoo version number.
> 
> Of course all of the above has the correct information, I just changed 
> from the true for this example. My question is, why the (none)? I have 
> the correct information in hostname and dnsdomainname files. The 
> /etc/init.d/domainname is started when I boot. Is this possibly because 
> I only have eth0 and no eth1 or did I miss something when I did the 
> network configuration?
> 
> -- 
> Kathy Wills
> 
> +
> + Genealogy Web Site: http://www.kathywillsfamily.com   +
> +   +
> + Summit Group Web Site: http://www.tsginfo.com/index.php?rc=VW4374 +
> +
> 
> 
> --
> [EMAIL PROTECTED] mailing list
> 
> 



--
[EMAIL PROTECTED] mailing list



[gentoo-user] Domain Question

2003-12-11 Thread Kathy Wills
When I reboot my computer to the console before typing startx, I see:

machinename.privatedomain (none) Gentoo version number.

Of course all of the above has the correct information, I just changed 
from the true for this example. My question is, why the (none)? I have 
the correct information in hostname and dnsdomainname files. The 
/etc/init.d/domainname is started when I boot. Is this possibly because 
I only have eth0 and no eth1 or did I miss something when I did the 
network configuration?

--
Kathy Wills
+
+ Genealogy Web Site: http://www.kathywillsfamily.com   +
+   +
+ Summit Group Web Site: http://www.tsginfo.com/index.php?rc=VW4374 +
+
--
[EMAIL PROTECTED] mailing list