View previous topic :: View next topic |
Author |
Message |
blueribbon n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 21 Aug 2003 Posts: 65
|
Posted: Fri Aug 29, 2003 8:00 pm Post subject: nknown_domain |
|
|
When I start up Gentoo, I get this:
gentoo14.nknown_domain
gentoo14 is my hostaname, but nknown_domain is nothing, how can I get rid of it? My /etc/dnsdomainname is totally empty...
Thanx dudes |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Janne Pikkarainen Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/10433783463f526aba4144d.jpg)
Joined: 29 Jul 2003 Posts: 1143 Location: Helsinki, Finland
|
Posted: Fri Aug 29, 2003 9:52 pm Post subject: |
|
|
If you are using DHCP, change this line from /etc/conf.d/net:
dhcpcd_eth0=""
to be
dhcpcd_eth0="-D" |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
blueribbon n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 21 Aug 2003 Posts: 65
|
Posted: Sat Aug 30, 2003 12:41 am Post subject: |
|
|
I'm not using DHCP But i'll try it with DHCP to see if it solves the issue.
Thanx! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
illc0mm n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 13 Sep 2003 Posts: 6
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
b0fh Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/764851073415e70bdd3345.jpg)
Joined: 16 Jun 2003 Posts: 426
|
Posted: Mon Sep 15, 2003 7:24 pm Post subject: |
|
|
Did you solve it? I'm having the same problem here... None of the howtos fixed it ![Sad :(](images/smiles/icon_sad.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
blueribbon n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 21 Aug 2003 Posts: 65
|
Posted: Mon Sep 15, 2003 7:37 pm Post subject: |
|
|
I thank illc0mm, but I haven't had time to test this solution... i'm on the middle of an important task!
I'll tell you once I try to solve it that way. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
KruzeS n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Jul 2003 Posts: 60 Location: Portugal
|
Posted: Fri Sep 19, 2003 10:07 pm Post subject: |
|
|
Has anybody got a fix of this?
I know it doesn't really mater nor anything but...
Thanks!! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Genone Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/21004157514287ab2b29021.jpg)
Joined: 14 Mar 2003 Posts: 9626 Location: beyond the rim
|
Posted: Sat Sep 20, 2003 12:52 am Post subject: |
|
|
Can you post the contents of /etc/dnsdomainname and /etc/resolv.conf and have you added the domainname initscript to your default or boot runlevels ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mutex Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 04 Sep 2003 Posts: 146
|
Posted: Sat Sep 20, 2003 6:24 pm Post subject: |
|
|
I'm having this same problem and I've done all of the above. Here's my /etc/dnsdomainname:
tc.ph.cox.net
What gives? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Genone Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/21004157514287ab2b29021.jpg)
Joined: 14 Mar 2003 Posts: 9626 Location: beyond the rim
|
Posted: Sat Sep 20, 2003 6:38 pm Post subject: |
|
|
does the dnsdomainname command return anything ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mutex Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 04 Sep 2003 Posts: 146
|
Posted: Sun Sep 21, 2003 12:58 am Post subject: |
|
|
Here's the output of dnsdomainname:
bash-2.05b# dnsdomainname
dnsdomainname: Unknown host |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pluto n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 06 Feb 2003 Posts: 22 Location: Cracow, PL
|
Posted: Sun Sep 21, 2003 2:14 am Post subject: |
|
|
mutex wrote: | Here's the output of dnsdomainname:
bash-2.05b# dnsdomainname
dnsdomainname: Unknown host |
# echo "YourHost" > /etc/hostname
# echo "YourDomain" > /etc/dnsdomainname
# rc-update add domainname boot
# /etc/init.d/domainname start
# sed -i "s:\\o:\\O:" /etc/issue
# logout & login |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mutex Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 04 Sep 2003 Posts: 146
|
Posted: Sun Sep 21, 2003 8:43 am Post subject: |
|
|
did the above... still same problem. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Genone Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/21004157514287ab2b29021.jpg)
Joined: 14 Mar 2003 Posts: 9626 Location: beyond the rim
|
Posted: Sun Sep 21, 2003 9:25 am Post subject: |
|
|
What's the content of your /etc/resolv.conf ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mutex Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 04 Sep 2003 Posts: 146
|
Posted: Sun Sep 21, 2003 11:36 pm Post subject: |
|
|
bash-2.05b$ cat /etc/resolv.conf
domain tc.ph.cox.net
nameserver 68.2.16.245
nameserver 68.2.16.30
nameserver 68.6.16.30 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Genone Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/21004157514287ab2b29021.jpg)
Joined: 14 Mar 2003 Posts: 9626 Location: beyond the rim
|
Posted: Mon Sep 22, 2003 12:46 am Post subject: |
|
|
weird, AFAIK it should work with this config ![Confused :?](images/smiles/icon_confused.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mutex Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 04 Sep 2003 Posts: 146
|
Posted: Mon Sep 22, 2003 3:29 am Post subject: |
|
|
hmm, should I submit a bug report? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Genone Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/21004157514287ab2b29021.jpg)
Joined: 14 Mar 2003 Posts: 9626 Location: beyond the rim
|
Posted: Mon Sep 22, 2003 4:56 am Post subject: |
|
|
Hmm, one last idea: maybe your resolver library is configure wrong, could you post the output of the following command:
Code: | grep hosts /etc/nssswitch.* /etc/nscd.conf |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mutex Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 04 Sep 2003 Posts: 146
|
Posted: Mon Sep 22, 2003 7:04 pm Post subject: |
|
|
Well, I just bought a new hd today and am rebuilding gentoo on the new hd (more space, yummy). So if it happens again I'll do the above. Thanks,
--
mutex |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
b0fh Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/764851073415e70bdd3345.jpg)
Joined: 16 Jun 2003 Posts: 426
|
Posted: Mon Sep 22, 2003 7:17 pm Post subject: |
|
|
I still have the same problems here:
Code: | bash-2.05b$ grep hosts /etc/nsswitch.* /etc/nscd.conf
/etc/nsswitch.conf:hosts: files dns
/etc/nsswitch.conf-winbind:hosts: files dns
/etc/nsswitch.conf-wins:hosts: files dns wins
/etc/nscd.conf:# Currently supported cache names (services): passwd, group, hosts
/etc/nscd.conf: enable-cache hosts yes
/etc/nscd.conf: positive-time-to-live hosts 3600
/etc/nscd.conf: negative-time-to-live hosts 20
/etc/nscd.conf: suggested-size hosts 211
/etc/nscd.conf: check-files hosts yes
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Genone Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/21004157514287ab2b29021.jpg)
Joined: 14 Mar 2003 Posts: 9626 Location: beyond the rim
|
Posted: Mon Sep 22, 2003 7:25 pm Post subject: |
|
|
Looks ok too, so go ahead and file a bug (but only if there is none). |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mutex Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 04 Sep 2003 Posts: 146
|
Posted: Tue Sep 23, 2003 8:30 am Post subject: |
|
|
Even with a fresh and complete rebuild of gentoo I get the same thing.
b0fh, did you already submit the bug report? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
b0fh Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/764851073415e70bdd3345.jpg)
Joined: 16 Jun 2003 Posts: 426
|
Posted: Tue Sep 23, 2003 9:06 am Post subject: |
|
|
No, I don't know how to describe this exactly. If you have an idea how developers easy understand, please do so ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jlowell Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/412a310d3e1d02393c8b4.gif)
Joined: 08 Jan 2003 Posts: 389
|
Posted: Tue Sep 23, 2003 5:19 pm Post subject: |
|
|
I found a solution to this problem by editing /etc/issue to replace the entry \O with \o
This would almost certainly appear to be bug.
jlowell |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mutex Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 04 Sep 2003 Posts: 146
|
Posted: Tue Sep 23, 2003 8:37 pm Post subject: |
|
|
I'll give it a try tonight when I get home. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|