Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nknown_domain
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
blueribbon
n00b
n00b


Joined: 21 Aug 2003
Posts: 65

PostPosted: Fri Aug 29, 2003 8:00 pm    Post subject: nknown_domain Reply with quote

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
View user's profile Send private message
Janne Pikkarainen
Veteran
Veteran


Joined: 29 Jul 2003
Posts: 1143
Location: Helsinki, Finland

PostPosted: Fri Aug 29, 2003 9:52 pm    Post subject: Reply with quote

If you are using DHCP, change this line from /etc/conf.d/net:

dhcpcd_eth0=""

to be

dhcpcd_eth0="-D"
Back to top
View user's profile Send private message
blueribbon
n00b
n00b


Joined: 21 Aug 2003
Posts: 65

PostPosted: Sat Aug 30, 2003 12:41 am    Post subject: Reply with quote

I'm not using DHCP :( But i'll try it with DHCP to see if it solves the issue.

Thanx!
Back to top
View user's profile Send private message
illc0mm
n00b
n00b


Joined: 13 Sep 2003
Posts: 6

PostPosted: Sat Sep 13, 2003 3:32 am    Post subject: Reply with quote

See:

https://forums.gentoo.org/viewtopic.php?p=519288#519288

For a possible solution to this.

-illc0mm
Back to top
View user's profile Send private message
b0fh
Guru
Guru


Joined: 16 Jun 2003
Posts: 426

PostPosted: Mon Sep 15, 2003 7:24 pm    Post subject: Reply with quote

Did you solve it? I'm having the same problem here... None of the howtos fixed it :(
Back to top
View user's profile Send private message
blueribbon
n00b
n00b


Joined: 21 Aug 2003
Posts: 65

PostPosted: Mon Sep 15, 2003 7:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
KruzeS
n00b
n00b


Joined: 10 Jul 2003
Posts: 60
Location: Portugal

PostPosted: Fri Sep 19, 2003 10:07 pm    Post subject: Reply with quote

Has anybody got a fix of this?

I know it doesn't really mater nor anything but...

Thanks!!
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9559
Location: beyond the rim

PostPosted: Sat Sep 20, 2003 12:52 am    Post subject: Reply with quote

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
View user's profile Send private message
mutex
Tux's lil' helper
Tux's lil' helper


Joined: 04 Sep 2003
Posts: 146

PostPosted: Sat Sep 20, 2003 6:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9559
Location: beyond the rim

PostPosted: Sat Sep 20, 2003 6:38 pm    Post subject: Reply with quote

does the dnsdomainname command return anything ?
Back to top
View user's profile Send private message
mutex
Tux's lil' helper
Tux's lil' helper


Joined: 04 Sep 2003
Posts: 146

PostPosted: Sun Sep 21, 2003 12:58 am    Post subject: Reply with quote

Here's the output of dnsdomainname:
bash-2.05b# dnsdomainname
dnsdomainname: Unknown host
Back to top
View user's profile Send private message
pluto
n00b
n00b


Joined: 06 Feb 2003
Posts: 22
Location: Cracow, PL

PostPosted: Sun Sep 21, 2003 2:14 am    Post subject: Reply with quote

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
View user's profile Send private message
mutex
Tux's lil' helper
Tux's lil' helper


Joined: 04 Sep 2003
Posts: 146

PostPosted: Sun Sep 21, 2003 8:43 am    Post subject: Reply with quote

did the above... still same problem.
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9559
Location: beyond the rim

PostPosted: Sun Sep 21, 2003 9:25 am    Post subject: Reply with quote

What's the content of your /etc/resolv.conf ?
Back to top
View user's profile Send private message
mutex
Tux's lil' helper
Tux's lil' helper


Joined: 04 Sep 2003
Posts: 146

PostPosted: Sun Sep 21, 2003 11:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9559
Location: beyond the rim

PostPosted: Mon Sep 22, 2003 12:46 am    Post subject: Reply with quote

weird, AFAIK it should work with this config :?
Back to top
View user's profile Send private message
mutex
Tux's lil' helper
Tux's lil' helper


Joined: 04 Sep 2003
Posts: 146

PostPosted: Mon Sep 22, 2003 3:29 am    Post subject: Reply with quote

hmm, should I submit a bug report?
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9559
Location: beyond the rim

PostPosted: Mon Sep 22, 2003 4:56 am    Post subject: Reply with quote

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
View user's profile Send private message
mutex
Tux's lil' helper
Tux's lil' helper


Joined: 04 Sep 2003
Posts: 146

PostPosted: Mon Sep 22, 2003 7:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
b0fh
Guru
Guru


Joined: 16 Jun 2003
Posts: 426

PostPosted: Mon Sep 22, 2003 7:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9559
Location: beyond the rim

PostPosted: Mon Sep 22, 2003 7:25 pm    Post subject: Reply with quote

Looks ok too, so go ahead and file a bug (but only if there is none).
Back to top
View user's profile Send private message
mutex
Tux's lil' helper
Tux's lil' helper


Joined: 04 Sep 2003
Posts: 146

PostPosted: Tue Sep 23, 2003 8:30 am    Post subject: Reply with quote

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
View user's profile Send private message
b0fh
Guru
Guru


Joined: 16 Jun 2003
Posts: 426

PostPosted: Tue Sep 23, 2003 9:06 am    Post subject: Reply with quote

No, I don't know how to describe this exactly. If you have an idea how developers easy understand, please do so :)
Back to top
View user's profile Send private message
jlowell
Guru
Guru


Joined: 08 Jan 2003
Posts: 389

PostPosted: Tue Sep 23, 2003 5:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
mutex
Tux's lil' helper
Tux's lil' helper


Joined: 04 Sep 2003
Posts: 146

PostPosted: Tue Sep 23, 2003 8:37 pm    Post subject: Reply with quote

I'll give it a try tonight when I get home.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum