Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[resolved]Help: where is /etc/init.d/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
dmorab
Apprentice
Apprentice


Joined: 29 Aug 2003
Posts: 210

PostPosted: Mon Aug 14, 2006 4:22 pm    Post subject: [resolved]Help: where is /etc/init.d/domainname? Reply with quote

Because of some error I do not have more the script /etc/init.d/domainname. How can I riemerging it?

Last edited by dmorab on Mon Aug 14, 2006 4:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Mon Aug 14, 2006 4:30 pm    Post subject: Reply with quote

baselayout-1.12 removed it

To set domain manually, do this in conf.d/net

Code:
dns_domain_lo="foo.com"

_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Mon Aug 14, 2006 4:36 pm    Post subject: Reply with quote

It may not be an error. If you have emerged baselayout-1.12.4-r2/3 then there is no longer an /etc/init.d/domainname.

If you want to set up a domain name you do it in /etc/conf.d/net: from /etc/conf.d/net.example
Code:
# System
# For configuring system specifics such as domain, dns, ntp and nis servers
# It's rare that you would need todo this, but you can anyway.
# This is most benefit to wireless users who don't use DHCP so they can change
# their configs based on ESSID. See wireless.example for more details

# To use dns settings such as these, dns_servers_eth0 must be set!
# If you omit the _eth0 suffix, then it applies to all interfaces unless
# overridden by the interface suffix.
#dns_domain_eth0="your.domain"
#dns_servers_eth0="192.168.0.2 192.168.0.3"
#dns_search_eth0="this.domain that.domain"
#dns_options_eth0=( "timeout 1" "rotate" )
#dns_sortlist_eth0="130.155.160.0/255.255.240.0 130.155.0.0"
# See the man page for resolv.conf for details about the options and sortlist
# directives

_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
dmorab
Apprentice
Apprentice


Joined: 29 Aug 2003
Posts: 210

PostPosted: Mon Aug 14, 2006 4:43 pm    Post subject: Reply with quote

Thank you!
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