Home · Compatibility Lists · Support Forums · FAQ · News Archive · Articles · Submit News/Upcoming News
Linux Compatible
advertisement


Forum overview » General Linux » setting domain name (1/1)

Reply New Poll

setting domain name
Author Message
mblanco2000
Member


Posts: 5
Joined: 2003-12-04
Member No.: 24146
Icon 2003-12-06 20:28:20

I am running RH9 and am very new. I am trying to set the domain name on the machine so that it has the same domain name for the interface eth1.

I know I can just type domainname <name> when it starts up but how would I set the domain name and the hostname everytime it boots up.

Thanks for the help.

MB

Post #3622
Edit Quote Print Solution Plonk Delete
chrispope
Member


Posts: 29
Joined: 2003-12-09
Member No.: 24315
Icon 2004-01-22 11:07:46

I run SuSE 9.0 and I know for a fact that it can run, at boot time, a custom script that is very hassle free to edit and execute.
Go, as root user, and find /etc/init.d/boot.local if it's there; if that file is there then go to the end of it with your favorite text editor and add your command that sets your domain name as if you were at the console.
If all goes well, save the file, reboot, and the instant before your computer switches to your preselected runlevel, your command will run.

Post #4861
Edit Quote Print Solution Plonk Delete

Related Threads RSS

- Setting up GUI interface in Debian (03/07/2006 09:19 pm)
- Setting Up Damn Small Linux On USB Pen Drive (05/21/2006 03:03 pm)
- setting cm8837 sound (12/06/2004 04:04 am)
- Setting up Linux as SSH server (05/16/2004 08:47 am)
- HELP NEEDED - NEW TO LINUX - Need Help setting up!!! (02/09/2004 04:36 pm)
- Setting $PATH environment variable in Bash (11/22/2004 02:44 pm)
- how to setting up lan in mandrake 9.1? (07/22/2003 01:08 am)

Reply New Poll

Forum overview » General Linux » setting domain name

Legend
View   View profile
Solved   Mark this post as solution (topic starter only)
Quote   Reply with quote to post
Edit   Edit post
Delete   Delete post (admin only)

Moderator: Open / Close / Bump / Delete / Move / Merge

All products mentioned are registered trademarks or trademarks of their respective owners.
© 2002-2009 Esselbach Internet Solutions - All Rights Reserved. Terms and privacy policy
Website powered by Esselbach Storyteller CMS System