Still need help with changing hostname on Solaris 10

Hello.
I have some difficulties with changing host name of my computer.
It is DHCP Client.
AS I understand there are the following steps that I have to do:
1. Edit the /etc/default/dhcpagent file and change the line that reads the following:
#REQUEST_HOSTNAME=no
to
REQUEST_HOSTNAME=no
2. There are two empty /etc/hostname files: hostname and hostname6.
Do I have just to put there hostname?
3. /etc/hosts has what I need to change.
4. I was unable to find /etc/nodename. Do I have to create it? What properties should contain this file?
5. hostname <new hostname>
In previous time when I tried to change host name with Management Console my system crashed, I changed: /etc/hosts, but it didn't work.
Thank you.

Hello.
Using DHCP you may really have problems changing the hostname.
The fact is: The DNS server may assign your machine a host name which has nothing to do with the host name you sent to the DHCP server. Depending on the server (typically DHCP and DNS server are the same machine) nothing will really work. (This is the case with my configuration where the servers are located on a DSL router.)
I solved the problem the following way:
* I created two host names (MyMachine and MyMachineNet) in the /etc/hosts file (Solaris 10 and newer: /etc/inet/ipnodes must be changed, too.)
* "MyMachine" is 127.0.0.1 (localhost):
127.0.0.1 localhost MyMachine
192.168.178.100 MyMachineNet* I assigned the name "MyMachineNet" to the network interface in /etc/hostname.networkcard.
* I use DHCP
The computer name (in /etc/nodename) is "MyMachine". Some programs (e.g. Gnome !) establish a TCP/IP connection to "MyMachine" instead of "localhost" (I do not understand why). These programs are now satisfied because the host name "MyMachine" represents 127.0.0.1 (localhost).
I know that there is a switch that tells Solaris to take the machine name from DHCP/DNS instead of /etc/nodename. Unfortunately I forgot where it is.
Martin

Similar Messages

  • Still need help with flash player download

    I'm still having a problem with the flash player, please read my last post below:
    "I've tried everything here & still can't download the flash player. Anytime I try to download it asks me to install ADM add-on and then when I click on that, my computer freezes. How do I enable this add-on without my computer freezing? Can anyone help pls?"

    Thanks a lot for your help, it is truly appreciated.
    Date: Thu, 29 Oct 2009 18:52:38 -0600
    From: [email protected]
    To: [email protected]
    Subject: Still need help with flash player download
    You can set Flash Player to check for updates on the Global Settings Manager panel:
    http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager05.htm l
    >

  • I need to need help with changing my app store to canada to us but i have 49cents balance can you remove it please

    I need to need help with changing my app store to canada to us but i have 49cents balance can you remove it please

    Contact iTunes Support - http://apple.com/emea/support/itunes/contact.html - and ask them to clear your balance.

  • I need help with changing my verizon vm to the system voicemail

    I need help with changing my verizon vm to the system voicemail

    Deleting the iTunes account is not the solution as you will very likely lose any and all purchases ever made with the account.
    If you cannot find the option on the site, contact iTunes support.

  • I still need help with the Dictionary for my Nokia...

    I still need help with the Dictionary for my Nokia 6680...
    Here's the error message I get when trying to open dictionary...
    "Dictionary word information missing. Install word database."
    Can someone please provide me a link the where I could download this dictionary for free?
    Thanks!
    DON'T HIT KIDS... THEY HAVE GUNS NOW.

    oops, im sorry, i didnt realised i've already submitted it
    DON'T HIT KIDS... THEY HAVE GUNS NOW.

  • Still need help with case sensitive strings

    Hello guy! Sorry to trouble you with the same problem again,
    but i still need help!
    "I am trying to create a scrypt that will compare a String
    with an editable text that the user should type to match that
    String. I was able to do that, but the problem is that is not case
    sensitive, even with the adobe help telling me that strings are
    case sensitive. Do you guys know how to make that comparison match
    only if all the field has the right upper and lower case letters?
    on exitframe
    if field "t:texto1" = "Residencial Serra Verde"then
    go to next
    end if
    end
    |----> thats the one Im using!"
    There were 2 replys but both of them didnt work, and the
    second one even made the director crash, corrupting even previously
    files that had nothing to do with the initial problem..
    first solution given --
    If you put each item that you are comparing into a list, it
    magically
    makes it case sensitive. Just put list brackets around each
    item.
    on exitframe
    if [field "t:texto1"] = ["Residencial Serra Verde"] then
    go to next
    end if
    end
    Second solution given--
    The = operator is not case-sensitive when used on strings,
    but the < and > operators are case-sensitive.
    So another way to do this is to check if the string is
    neither greater than nor less than the target string:
    vExpected = "Residencial Serra Verde"
    vInput = field "t:texto 1"
    if vExpected < vInput then
    -- ignore
    else if vExpected > vInput then
    -- ignore
    else
    -- vExpected is a case-sensitive match for vInput
    go next
    end if
    So any new solutions??
    Thanks in advance!!
    joao rsm

    The first solution does in fact work and is probably the most
    efficient way
    of doing it. You can verify that it works by starting with a
    new director
    movie and adding a field named "t:texto1" into the cast with
    the text
    "Residencial Serra Verde" in the field. Next type the
    following command in
    the message window and press Enter
    put [field "t:texto1"] = ["Residencial Serra Verde"]
    You will see it return 1 which means True. Next, make the R
    in the field
    lower case and execute the command in the message window, it
    will return 0
    (true).
    Now that you know this works, you need to dig deeper in your
    code to find
    what the problem is. Any more info you can supply?

  • Need help with changing my security questions

    I need to know how I can buy songs but I forgot my security questions so how do I change them?

    Alternatives for Help Resetting Security Questions and Rescue Mail
         1. Apple ID- All about Apple ID security questions.
         2. Rescue email address and how to reset Apple ID security questions
         3. Apple ID- Contacting Apple for help with Apple ID account security.
         4. Fill out and submit this form. Select the topic, Account Security.
         5.  Call Apple Customer Service: Contacting Apple for support in your
              country and ask to speak to Account Security.
    How to Manage your Apple ID: Manage My Apple ID

  • I need help with changing my payment info and I have to accounts I want to delete one can u please help

    I need help trying to change my payment info I can't but I have to accounts and I want to delete one please help me

    We can't help.  We're not Apple.  Contact the iTunes store support.  There's a link on the bottom of every page of the iTunes store

  • I need help with Changing my Security Questions, I have forgotten them.

    Its simple, I tried buying a Gym Buddy Application and I had to answer my security questions... Which I have forgotten I made this a while ago so I probably entered something stupid and fast to make I really regert it now. When i'm coming to this...

    Hello Adrian,
    The steps in the articles below will guide you in setting up your rescue email address and resetting your security questions:
    Rescue email address and how to reset Apple ID security questions
    http://support.apple.com/kb/HT5312
    Apple ID: All about Apple ID security questions
    http://support.apple.com/kb/HT5665
    If you continue to have issues, please contact our Account Security Team as outlined in this article for assistance with resetting the security questions:
    Apple ID: Contacting Apple for help with Apple ID account security
    http://support.apple.com/kb/HT5699
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • HT1918 i need help with changing my billing information

    hi iv followed the instruction on how to change my billing details and a message on my iphone 5c saying, your payment method was declined. please enter another payment method, i dont understand whats going on im not sure if i owe the apple app store money but i carnt see how i could when iv always had enough money in my account to pay for the product iv purchesed, this is causeing me alot of problems as i can not download important app that i need to proform my job.
    please help
    ashley

    What are you trying to use as your payment method ? If it's a debit card then I don't think that they are still accepted as a valid payment method in all countries - from this page :
    You may be able to use other payment types in your country, like debit and Maestro cards.
    which implies that they are not accepted in all countries, and there have been a number of posts about them being declined.
    If it's a credit card then is it registered to exactly the same name and address (including format and spacing etc) that you have on your iTunes account, it was issued by a bank in your country and you are currently in that country ? If it is then you could check with the card issuer to see if it's them that are declining it, and if not then try contacting iTunes support and see if they know why it's being declined : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Account Management

  • Still need help with iChat

    Hello
    I have tried everything sugested in these posts to get iChat to work through my wireless router Dlink DI-524. I have even contacted apple care (waste of time as far as I am concerned)
    I have filled out the folowing and pasted it here with as much info as I could answer.
    Please take a look at the following and let me know if there is something I am missing to get this D* program working.
    There are lots of things you can do to help the regular posters in this Discussion area help you.
    First of all the current Discussions were designed on a One Person/Problem to one Thread basis. This was to try and stop several people jumping on what looked like a similar problem and the thread ending up with 5 or more different answer to what in fact were different problems.
    Now linked to this is the need to have all the info you have in one go, up front so that we can answer as succinctly and as quickly as we can without repeating questions over and over to get to a start point.
    As a Start go here and enter your computer and OS details so they appear on every Post you make.
    After that you need to list these things:
    1) Have you done the Quicktime Streaming setting ?
    Go to System Preferences > Quicktime > Streaming tab. In the drop down set the speed to match your download or to a max of 1.5meg
    YES
    2) Are you running your Mac with the Firewall On ?
    NO
    If so have you set up ports for iChat ?
    3) Did you upgrade from Panther ? NO
    Do any of these things effect you ?
    If they did and you have done them please state so.
    4) How are you connected to the internet ? THROUGH WIRELESS
    a) We need to know device make and Model ?
    DLINK DI-524 ROUTER
    b) We need how you have opened the ports for iChat ?
    * UPnP ? ENABLED
    * Port Forwarding BUMP – Thought you only need to use this if firewall is on
    * Port Triggering BUMP
    * DMZ BUMP
    c) We need to know if you know if the device is in Bridge Mode ? BUMP
    (sends your Public IP through to your computer or router).
    d) Do you have a router as well ?
    * Is it doing DHCP ? Do you only set this up if using built in Ethernet?
    * Is it an Airport device ? YES
    * Have you opened the ports there ? BUMP
    * By which method ? (see above list) NOT SURE
    5) Do you have any iChat Add-Ons ? NO
    List them if you have.
    Also state if you downloaded them when you were running Panther and if you have updated them.
    1. iChatUSBCam
    2. iGlasses
    3. Showmacster
    4. ChatFX
    6) Does anything in this FAQ effect you and the Add-ons in addition to 5) ? NO. At least I don’t think so.
    7) Does it have anything to do with connecting to a PC ? NO
    See Here and here
    8) List your Connection speed
    http://www.adslguide.org.uk/tools/speedtest.asp
    http://www.auditmypc.com/internet-speed-test.asp
    http://www.dslreports.com/stest
    http://www.bplspeedtest.com/broadband-speed-test.php

    Hi Kaisoboy,
    This page has the instructions on how to access your device and pics to help and
    It does not show UPnP in the menu.
    It could be that you have newer firmware than the pics.
    However it should still help.
    DO NOT set the ports shown as they are wrong.
    Set the ones I gave you.
    8:52 PM Saturday; July 8, 2006

  • Need help with changing the name.

    I got my palm pre from an uncle who lives in the states. The problem is I can't call tech support to ask them because I live in belize. The proble I have with my pre is that I have added my email account to the phone, but when I send an email, they receive it in my uncles name, my name is lanny and they receive an email form cesar, I think you can see where the problem lies. Is there anyway I can change it to my name? Please help!
    Post relates to: Pre p100eww (Sprint)

    Hello and thank you for using the Palm Help Forums!
    I would create a new Palm Profile. To do this you will need to go to the Device Info app, Reset Options, then select Full Erase. All pictures, videos, and anything else stored in the USB side of the device will be erased. I recommend that if you want to keep any of that to connect your device to a computer then click and drag everything you want to keep off of the device and onto your computer.
    After you perform the Full Erase the device is going to reboot. It is going to come up with a screen to sign in to a Palm Profile or Create a New Palm Profile. NOTE*** You will need a data connection to do this. Select Create a New Palm Profile and fill in the blanks. Once you are back into the device you can set up your email accounts again and it should display the name you created the Palm Profile with.
    I hope this helps,
    -Pat

  • Half-way there, but still need help with synching individual libraries

    Okay, I got my music xferred to new computer, but I'm still having problems synching individual libraries. When I did my daughter's library, I xferred purchased songs, then did the synch, so it wiped everything else out and just left me with the purchased songs (yeah, I know, big duh on my part). That's not such a big deal on her ipod because she only had about 350 songs, so I've replaced the majority of them already. However, my son and I have about 1000 songs each and I don't want to wipe out our libraries.
    So, when I plug in my ipod and pull up my library, what do I need to do to keep the songs already on my ipod and synch it?
    TIA

    Katrina you've been very helpful, I'm just having a hard time explaining myself, I guess.
    I now have all of my backed up music on my current computer, so that's all good. And I've set up individual libraries for each of us with ipods. Now I'm trying to figure out how to synch (for instance) my ipod with nearly 1000 songs with my own personal library on itunes (which is currently empty) w/o losing the songs currently on my ipod and having to drag them to my itunes library from scratch. The same applies for my son's ipod and itunes library.
    My daughter's ipod only had about 350 songs, which I wound up wiping out, so I had to start from scratch putting songs in her (itunes) library, which I can now synch with her ipod. However, that would be really time consuming to do with mine and my son's ipods, so I'm hoping to figure out a way to get the songs already on our ipods into our individual itunes libraries now.

  • Need help with changing letter cases : (

    Hey everyone, I have an assignment that needs to
    1) allow the user to enter a sentence
    2) count the number of upper case, lower case, spaces, and other characters in the sentence,
    3) convert each first letter of a word into upper case if not already in upper case,
    4) convert non first letters to lower case if not already in lower case
    So, I have been successfull counting all characters, but I can't seem to find a way to convert the letter cases.
    I understand I have to distinguish first letters and non first letters, and I did this by using a boolean.
    Also, I tried to use a for loop and convert the letter cases accordingly by += 32 and -= 32.
    This is what I have for now :
    import javax.swing.JOptionPane;
    public class Asg3 {
         public static void main(String [] args)     {
              String sentence = JOptionPane.showInputDialog("Enter a Sentence!");
              int length = sentence.length();
              int counter = 0;
              int uppercase = 0;
              int lowercase = 0;
              int space = 0;          
              int other = 0;
              int total = 0;
              boolean firstletter = true;
              char thischarac;
              for (counter = 0; counter < sentence.length(); counter++)
                        thischarac = sentence.charAt(counter);
                        if ( thischarac >= 65 && thischarac <= 90 ) {
                             ++ uppercase;
                   else if ( thischarac >= 97 && thischarac <= 122 ) {
                             ++ lowercase;
                   else if ( thischarac == 32) {
                             ++ space;
                   else {
                             ++ other;
                             ++ total;
              for (counter = 0; counter < sentence.length(); counter++) {
                   thischarac = sentence.charAt(counter);
                   if (firstletter == true) {
                             if (thischarac >= 97 && thischarac <= 122) {
                                  thischarac -= 32;
                   else
                        if (firstletter == false)
                             if (thischarac >= 65 && thischarac <= 90) {
                                  thischarac += 32;
    System.out.println("You have entered: " + sentence);
              System.out.println("Upper case Letters: " + uppercase);
              System.out.println("Lower case Letters: " + lowercase);
              System.out.println("The number of blank spaces: " + space);
              System.out.println("The number of other characters: " + other);
              System.out.println("Grand total: " + total);
              System.exit( 0 );               
    I am stuck on this for hours now, and all googling, asking friends, going over lectures have failed, and this is my last resort.
    I understand it is frustrating when students come here for homework, but I would really appreciate any hints or help.
    Thank you!

    Oh, sorry I'm new and didn't realize the code button. Anyways, here it is
    import javax.swing.JOptionPane;
    public class Asg3 {
         public static void main(String [] args)     {
              String sentence = JOptionPane.showInputDialog("Enter a Sentence!");
              int length = sentence.length();
              int counter = 0;
              int uppercase = 0;
              int lowercase = 0;
              int space = 0;          
              int other = 0;
              int total = 0;
              boolean firstletter = true;
              char thischarac;
              for (counter = 0; counter < sentence.length(); counter++)
                        thischarac = sentence.charAt(counter);
                        if ( thischarac >= 65 && thischarac <= 90 ) {
                             ++ uppercase;
                   else if ( thischarac >= 97 && thischarac <= 122 ) {
                             ++ lowercase;
                   else if ( thischarac == 32) {
                             ++ space;
                   else {
                             ++ other;
                             ++ total;
              for (counter = 0; counter < sentence.length(); counter++) {
                   thischarac = sentence.charAt(counter);
                   if (firstletter == true) {
                             if (thischarac >= 97 && thischarac <= 122) {
                                  thischarac -= 32;
                   else
                        if (firstletter == false)
                             if (thischarac >= 65 && thischarac <= 90) {
                                  thischarac += 32;
                                    System.out.println("You have entered: " + sentence);
              System.out.println("Upper case Letters: " + uppercase);
              System.out.println("Lower case Letters: " + lowercase);
              System.out.println("The number of blank spaces: " + space);
              System.out.println("The number of other characters: " + other);
              System.out.println("Grand total: " + total);
              System.exit( 0 );               
    }The problem I'm having is converting letters to their right cases. I need to change the first letters of a word to upper cases, and non first letters to lower cases. For example, if the sentence the user entered is
    "tHIS AssigNMent IS harD!" , I would have to convert it to : "This Assignment Is Hard!"
    What I tried to do is use a for loop and a boolean.
    If firstletter == true, and if the character was lower case, I would subtract 32 from that character.
    If firstletter == false, and if the character was upper case, I would add 32.
    The problem here is that, what do I have to do to make it print the converted sentence? I have tried System.out.println( "The new sentence is :" + sentence); which gives me only the original sentence,
    and System.out.println("The new sentence is :" + thiscarac); which gives me all capital letters.
    So there are two main problems:
    1) Is my forloop and boolean correct in converting the cases? Am I using the right method?
    2) If so, how do I get the system to printout the new converted sentence?
    Edited by: ShaRpy on Oct 28, 2008 4:51 PM

  • Need help with changing my region to accept EU ink cartridges on Photostat 2610

     I have permanently moved to Poland (Europe)from Canada. I have brought with me HP printer Photo-smart 2610 All in one Ink cartridges do not work . I found out ,that I have to change a region for my printer to accept different inks. In Canada I was using nr 94 and 97 inks In Poland they offered me 339 and 344 (xl version) HP original. I have found out ,that it is possible to change those settings contacting HP technical support. I am available under my E-mail {Personal Information Removed}. If it is necessary session could be arrange.
    Thank You and Best Regards,
     Rafał Kasperek.

    Hello Kasperraf,
    That is very strange. When you contacted the support in Poland, was it on this number: (22) 583 43 73? They have all the tools necessary to change the region of your printer.
    The printer you have is almost certainly out of warranty but that should not matter for when you need to change the region of your printer. You should refer them to this document:
    "Finding and Installing Cartridges after Moving to Another Country"
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02558798&cc=us&dlc=en&lc=en&jumpid=reg_R1002_US...

Maybe you are looking for

  • Bracket are not displaying in an arabic environment

    HI, I am doing some testing in arabic environment where NLS_LANG set it to ARABIC and during that i found an strange issue in arabic environment using oracle forms. I am trying to display a string 'SSS(MH)(HI)' using message procedure. I have written

  • Trying to add Kanaka server in directory utility

    When I try to add a Kanaka servier ip adress in directory utility on Mac osx 10.6.8 I click the plus sign it puts host1.com and you can not edit it just add or delete it. Any thoughts?

  • Aperture 3 Trial download

    Can anyone help with my problem? I have just downloaded Aperture 3 and started to work with it. Many of the features work very well but the touch up brush for spot removal causes the photo to corrupt every time I try to use it. One touch with the bru

  • ALE Developer Role

    Hi, I will be configuring ALE to trigger Master data, change pointers and may be some custom development. What Authorization I must have to do the job?. Our basis team is new, Please help me what Roles I must have to do my job. Please note I dont nee

  • My touchscreen isn't responding and I haven't gotten my ipod wet or dropped it...it just stopped working randomly. Please help?

    my touchscreen stopped working and i haven't gotten it wet or dropped it.  Ive already restored it to factory settings and it still doesn't work...what can i do?