Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
no domainname :(
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
playahater
Guru
Guru


Joined: 02 Jul 2005
Posts: 382
Location: Serbia

PostPosted: Tue Sep 12, 2006 9:27 am    Post subject: no domainname :( Reply with quote

i`m trying to setup domainname but no luck :(

Code:

playahater@crib ~ $ cat /etc/conf.d/net
config_eth0=( "dhcp" )
dhcp_eth0="nondns nontp nonis"
dns_domain_lo="gentoo"
#dns_search_lo="gentoo"

i tried with "_eth0" and "_lo"

Code:

playahater@crib ~ $ cat /etc/hosts
127.0.0.1       localhost crib.gentoo


Code:

playahater@crib ~ $ cat /etc/conf.d/hostname
# /etc/conf.d/hostname

# Set to the hostname of this machine
HOSTNAME="crib"


BUT uppon boot .. I get "crib.unkonown_domain" and when i type domainname in terminal, i get
Code:
playahater@crib ~ $ domainname
(none)
playahater@crib ~ $   


so simple, and yet i can`t get it to work :(

10x in dvance

Cheers
_________________
http://droopia.net
Back to top
View user's profile Send private message
pteppic
l33t
l33t


Joined: 28 Nov 2005
Posts: 781

PostPosted: Tue Sep 12, 2006 10:21 am    Post subject: Reply with quote

Set
Code:
DNSDOMAIN="gentoo"
in /etc/conf.d/domainname, and change /etc/hosts so it reads
Code:
127.0.0.1       crib.gentoo crib localhost
and reboot
Back to top
View user's profile Send private message
playahater
Guru
Guru


Joined: 02 Jul 2005
Posts: 382
Location: Serbia

PostPosted: Tue Sep 12, 2006 11:14 am    Post subject: Reply with quote

as far as I know .. domainname script in /etc/conf.d/ is dead and burried with new baselayout .. and is defined in /etc/conf.d/net

here is the thread with explanation .. but .. that`s not working in my case :(
_________________
http://droopia.net
Back to top
View user's profile Send private message
Princess Nell
l33t
l33t


Joined: 15 Apr 2005
Posts: 927

PostPosted: Tue Sep 12, 2006 4:15 pm    Post subject: Reply with quote

What exactly are you trying to achieve? What do you need a domain name for, and why don't you let dhcp handle it?

domainname lists/sets the NIS domain. NIS != DNS.
Back to top
View user's profile Send private message
playahater
Guru
Guru


Joined: 02 Jul 2005
Posts: 382
Location: Serbia

PostPosted: Tue Sep 12, 2006 4:53 pm    Post subject: Reply with quote

ahm .. i have a small lan .. and i need domain name cuz i have to be domain master in that workgroup ..
_________________
http://droopia.net
Back to top
View user's profile Send private message
Princess Nell
l33t
l33t


Joined: 15 Apr 2005
Posts: 927

PostPosted: Tue Sep 12, 2006 11:13 pm    Post subject: Reply with quote

Is this about a samba PDC? The domain is configured in smb.conf, this has nothing to do with "domainname".

I suggest you take a look at the samba documentation.
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
Page 1 of 1

 
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