View previous topic :: View next topic |
Author |
Message |
playahater Guru
Joined: 02 Jul 2005 Posts: 382 Location: Serbia
|
Posted: Tue Sep 12, 2006 9:27 am Post subject: no domainname :( |
|
|
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 |
|
|
pteppic l33t
Joined: 28 Nov 2005 Posts: 781
|
Posted: Tue Sep 12, 2006 10:21 am Post subject: |
|
|
Set 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 |
|
|
playahater Guru
Joined: 02 Jul 2005 Posts: 382 Location: Serbia
|
Posted: Tue Sep 12, 2006 11:14 am Post subject: |
|
|
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 |
|
|
Princess Nell l33t
Joined: 15 Apr 2005 Posts: 927
|
Posted: Tue Sep 12, 2006 4:15 pm Post subject: |
|
|
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 |
|
|
playahater Guru
Joined: 02 Jul 2005 Posts: 382 Location: Serbia
|
Posted: Tue Sep 12, 2006 4:53 pm Post subject: |
|
|
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 |
|
|
Princess Nell l33t
Joined: 15 Apr 2005 Posts: 927
|
Posted: Tue Sep 12, 2006 11:13 pm Post subject: |
|
|
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 |
|
|
|