changing domain name in /etc


 
Thread Tools Search this Thread
Special Forums IP Networking changing domain name in /etc
# 1  
Old 06-29-2011
changing domain name in /etc

Hi, Im trying to change my domain name in my solaris as below:

but it keeps coming back to be "unknown"

Im changing /etc/inet/hosts.e1000g0\and also
i added one line to /etc/nodename

my vm (i have my solaris on VM)ip address is 192.168.1.103 and Im putting solar as a name for it

192.168.1.103 solar

in both files in above. but after reboot it goes back to unknown Smilie

any idea ?
# 2  
Old 06-30-2011
Code:
* echo "mysolaris" > /etc/nodename 
* sed '/^PARAM_REQUEST/s/12,//' /etc/default/dhcpagent>dhcpagent.tmp&& mv -f dhcpagent.tmp /etc/default/dhcpagent
* reboot

regards
ygemici

Last edited by Scott; 06-30-2011 at 06:21 PM.. Reason: Code tags
# 3  
Old 07-04-2011
Thanks, i will give a try!
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Changing hosting company for one domain, how to deal with DNS?

Hello, Our organization is planning to move one domain from Dreamhost to Hubspot. Lets say, it is gem.xyxyxyxyx.com. Please note, website is not being migrated from one server to another, it is just hosting company. Here is from our internal DNS master server - # cat... (6 Replies)
Discussion started by: solaris_1977
6 Replies

2. IP Networking

Can't get work a domain

Hello, I'm unable to load my site domain2.com, I don't know what I've done wrong. 1) I set up hostname in the server, ns1.domain.com 2) I created a ns1.domain.com A record in CloudFlare domain.com account and pointed it to the server IP 3) I pointed the domain (domain2.com) to... (0 Replies)
Discussion started by: cloferba
0 Replies

3. Cybersecurity

IP Domain registrant

Sorry for not beeing absolutely sure if this is the right forum to put my request, but as it deals about fraud, and the physical person behind a domain or IP I just take this one. It comes like this. hm may someone can help me to find out, who the hell registered a domain, a very specific one,... (0 Replies)
Discussion started by: 1in10
0 Replies

4. Windows & DOS: Issues & Discussions

How to: Linux BOX in Windows Domain (w/out joining the domain)

Dear Expert, i have linux box that is running in the windows domain, BUT did not being a member of the domain. as I am not the System Administrator so I have no control on the server in the network, such as modify dns entry , add the linux box in AD and domain record and so on that relevant. ... (2 Replies)
Discussion started by: regmaster
2 Replies

5. Solaris

Domain name

Hi, How to set domain name in solaris 5.10 ? Also what is the command to see the domain name ? (2 Replies)
Discussion started by: bang_dba
2 Replies

6. UNIX for Advanced & Expert Users

logging into domain

I cannot log into domain. domain name is "mshome", i set up Samba domain server PDS, and i try to log in from Win xp but is when I put in mycomputer, domain name for xp - mshome, which is domain name, it automaticly asks for username and pass. i enter username and pass and it says - "The following... (0 Replies)
Discussion started by: salvor_hardin
0 Replies

7. Shell Programming and Scripting

Changing userID and Changing group and GID

Hello, I want to write a ksh script about changing UID and changing group with GID. There are multiple servers i want to perform that job. linux1 linux2 linux3 linux4 linux5 ...... . . . . . 1.) How can i enter "password" in script rather asking me? I was trying this... ssh... (2 Replies)
Discussion started by: deal732
2 Replies

8. UNIX for Dummies Questions & Answers

Domain

I am a web programmer and am fluent in site construction and etc. I am planning to register and use a domian name on a server hosted by another company. Is it necessary for me to learn Unix (I have no Unix experience) to operate with another server? Thanks (1 Reply)
Discussion started by: wcc9968
1 Replies
Login or Register to Ask a Question