Set domainname manually

I've successfully installed Solaris 10 into vmware machine. I am using vmware's NAT and DHCP.
After system boot, the hostname is set to uknown and domainname is blank (or whatever, I don't remember :)).
I want to specify hostname AND domainname manually. I've been successful with setting hostname. This is what I've done so far:
created /etc/nodename with "myhost" entry
edited /etc/default/dhcpagent,
turned off REQUEST_HOSTAME
deleted number 15 from PARAM_REQUEST_LIST
I created /etc/defaultdomain and entered "mydomain.top"
ok, after boot /etc/hosts looks like this
127.0.0.1 localhost
192.168.25.13 myhost #Added by DHCP
ping myhost works, ping myhost.mydomain.top doesn't
# hostname
returns myhost
# domainname
returns mydomain.top
Editing etc/hosts does nothing good, dhcp always rewrites it... So what am I missing? I am Solaris n00b, used Linux for a while, but still lame.

created /etc/nodename with "myhost" entry
edited /etc/default/dhcpagent,
turned off REQUEST_HOSTAME
deleted number 15 from PARAM_REQUEST_LIST
I created /etc/defaultdomain and entered
"mydomain.top"domainname and /etc/defaultdomain is an NIS thing, not DNS.
Specify any DNS domains you want to add to your search path in /etc/resolv.conf.
search mydomain.top
You can also put the "long" name in /etc/hosts if you want.
ok, after boot /etc/hosts looks like this
127.0.0.1 localhost
192.168.25.13 myhost #Added by DHCP
ping myhost works, ping myhost.mydomain.top doesn'tDHCP. Maybe you'd prefer to change your hostname to 'myhost.mydomain.top' so that it would put it in /etc/hosts for you.
# hostname
returns myhost
# domainname
returns mydomain.topIgnore 'domainname'.
Editing etc/hosts does nothing good, dhcp always
rewrites it... So what am I missing? I am Solaris
n00b, used Linux for a while, but still lame.I guess the question is, why do you want to resolve a full name like that if it doesn't actually exist in a DNS server somewhere?
You could rewrite /etc/hosts with a script at boot or in cron... Just add an entry with the full name.
Darren

Similar Messages

  • Music appears grey with a sync symbol on iPhone 4 (iOS 6.0.1) on iTunes (newest version as of 11/20/2012) and will not play on iPhone. It is set to manually manage music.

    So I got a brand new iPhone 4 from a Sprint retailer, and it came with the software that was available at the time of the release. I left it that way for a while and put music on it through iTunes (latest version as of 11/20/2012) with no problems. Then I updated the software on the iPhone to iOS6.0.1 and when i tried to put music on it through iTunes like normal the songs showed up in the library of the iPhone (still on the computer) however they were grey and they had a syncing symbol to the left as if it were still syncing the music. I waited and waited but it would not go away. then I clicked the arrow at the middle top of iTunes where it shows you what song is playing and everything else iTunes is doing, and it did not say that it was syncing the music like normal. Basically the library indicated the music was still syncing but iTunes was not putting it on. I currently have it set to manually manage music. I do not want to switch it to automatically sync or reset my iPhone because I will lose my information. Any immediate help would be greatly appreciated!

    When I went to restore my phone, I may have found the cause of these problems. I never deleted all of my original synced songs before enabling iTunes Match.
    When I just went to do the restore, I figured I'd delete all of my songs, then disable iTunes Match. After deleting about 3.5 GB of music and disabling iTunes Match, I ran the sync to backup my iPhone. It said there was still 2.2 GB of music. I checked my phone just in case and there was 2.2 GB there, probably the original synced songs that I never removed.
    Anyway, I'm doing the restore now just in case and will respond tomorrow with how everything is working.

  • Using a second computer with an ipod set to manual update

    I want to prevent my ipod 60GB video which is set to manual update on my G5 from being updated when I plug it into my powerbook. The powerbook assumes the ipod is available for auto update. How do I mount the iPod without iTunes automatically replacing its contents. I can't "preset" iTunes in its preferences to treat the iPod as a manual drive as it just says: "no iPod connected. As soon as I attach the iPod the auto update starts. Are there keystrokes to interrupt the update so I can set the iPod preferences on my Powerbook?
    Thanks
    Paul
    G5 Dual 2Ghz   Mac OS X (10.4.5)   iPod 60GB

    Hold down the ⌥ and ⌘ keys while connecting your iPod. Keep them down until iTunes has opened and your iPod shows in the Source list.

  • How can I sync a (one) song from my computer to my iPad without syncing the entire library even though i have my iPad set to manually manage music?

    Whenever I try to move just one song from my iTunes library to my iPad, it will start syncing like 300 other songs randomly so I cancel everything. I have my iPad set to manually manage music but it still does that. And what's worse, I never get that one song I chose in the first place. The same thing with photos. I'll sync a photo and it starts syncing music as well. But at least I get the photo just fine.

    Easy solution when on itunes simply go to the music tab and press on music library then browse what file which contains the music you want to be added same with photos

  • Please help! I'm unable to access content on my iPod Classic while it is connected to iTunes. The iPod itself shows up and is set to manual management, but I am unable to view or play any of the content on it (music, movies, podcasts etc.).

    I'm unable to access content on my iPod Classic while it is connected to iTunes.
    The iPod itself shows up and is set to manual management, but I am unable to view or play any of the content on it (music, movies, podcasts etc.).
    I can click the tabs Music, Movies etc. but I can't see anywhere to access the files themselves, no music or movies are listed, I only have the option to 'Sync' with the iTunes, which I don't want to do as there is no content on the iTunes!!! 
    I just downloaded the iTunes program.
    Very confused, pleaseee help ...

    Here is what worked for me:
      My usb hub, being usb2, was too fast. I moved the wire to a usb port directory on my pc. That is a usb1 port which is slow enough to run your snyc.

  • My ipod nano isn't syncing when I try and change the setting in manually, but is however syncing when I launch the itunes by plugging it in. I'm wondering if anyone has had this issue and/or had been able to fix the problem?

    My ipod nano isn't syncing when I try and change the setting in manually, but is however syncing when I launch the itunes by plugging it in. I'm wondering if anyone has had this issue and/or had been able to fix the problem?

    Do you have any better luck with that if you update to iTunes 10.6.1.7?
    From the notes for the release:
    iTunes 10.6.1 provides a number of improvements, including:
    • Fixes several issues that may cause iTunes to unexpectedly quit while playing videos, changing artwork size in Grid view and syncing photos to devices.
    • Addresses an issue where some iTunes interface elements are incorrectly described by VoiceOver and WindowEyes.
    • Fixes a problem where iTunes may become unresponsive while syncing iPod nano or iPod shuffle.
    • Resolves an ordering problem while browsing TV episodes in your iTunes library on Apple TV.
    http://www.apple.com/itunes/download/

  • P1606dn is set to manual, not dhcp.

    I needed to move a laserjet P1606 between buildings and put in another ip-address.
    I restored the factory settings (hold both buttons while its turning on..).  
    now the printer showes IPv4, subnet and gateway is 0.0.0.0  AND "IP counfigured by=manual".
    I have attached the new ip-address to it´s mac address.
    How do I set it to DHCP or how can I log in and manually put in the new ip-address ? 

    It doesn´t get the ip-address because it´s set to "manual" not "ip-auto".  How can I log into the printer and change this?

  • HT1202 My iPod is set to manually manage music. I have tons of different music from different computers on my iPod. Unfortunately my iPod is getting old and I'd like to purchase a new one. Is there any way I can transfer all the music to a new iPod?

    My Ipod touch is set to manually manage music. I have put music from my computer and iTunes account onto it, and music from other people's computer and iTunes accounts on it. Unfortunately I dropped my iPod and the screen cracked. It still plays music and everything just fine, but it has problems with it's battery life so I'd like to just get a completely new iPod nano. Is there any way I can transfer all the music from my iPod touch onto a new iPod nano? From what I can tell it won't let me sync any of the music on my iPod touch that is from other people's computers onto my laptop, and so I wouldn't be able to put it on a new iPod nano. Hopefully that makes sense. I'd just really really like to be able to keep all that music and not lose 2/3 of my iPod touch music library because I want to put it on a newer Ipod.

    Recovering your iTunes library from your iPod or iOS device: Apple Support Communities

  • I just turned on my iPod Touch and all my music has been wiped... (my iTunes was set to manually manage music, and all my apps are still on the iPod...).

    What has happened and how do I get my music back? Obviously I have some of it on iTunes but others I don't have anymore... I can't understand how my music would suddenly disappear when my iPod has been working fine. My iTunes was set to manually manage music (and even if it hadn't been, then my iPod would have been synced to it anyway, so that can't explain why it's gone) and all my apps are there as usual. It's the version of the iPod touch before the camera was introduced. Please help!

    CharlieCharlieCharlieCharlie wrote:
    My iTunes was set to manually manage music...
    That makes it difficult to provide any assistance.  I hate to say this but you chose to manage the music yourself and there's no way that i/we can figure out what you did that caused the problem.

  • How do I create an ACR custom lens profile if camera exposure can't be set to manual?

    How do I create an ACR custom lens profile if camera exposure can't be set to manual?
    I ask this question for the Nokia 808 PureView 41MP camera. It produces stunning image quality but exposure can only be controlled via EV +/- compensation. I need a lens profile to correct for vignetting to get even skies in panorama (which turn out stunningly otherwise). There is no profile for the Nokia 808 PureView I am aware of and I'd like to produce one.
    Is the Adobe profile creator able to correct for varying exposure using EXIF or overlapping parts of the chart or background?
    Or would the Adobe profile creator ignore EXIF if I use studio flash to enforce a constant lightning situation, even if shutter speed would vary (aperture is constant and ISO can be set constant, just not the shutter speed)?
    Or did Adobe produce a profile internally they can share?
    Thanks.

    If you read the first post, this is the camera-app of a 41MP Nokia Pureview 808 camera-phone, so maybe someone could write a new camera app but the phone is Symbian OS which is dead, making that unlikely.
    http://www.digitaltrends.com/mobile/the-skeptics-guide-to-nokias-808-pureview-five-reasons -41-megapixels-are-not-a-gimmick/
    http://www.digitaltrends.com/mobile/the-nokia-lumia-820-and-lumia-920-too-little-too-late/
    It would probably be easier for Adobe to rewrite the LPC to allow vignetting to be computed from a single shot of a blank wall without a target in the shot, than to have someone rewrite a camera app that allows manual exposure.
    Another idea about how to get the phone to keep a constant exposure would be to experiment with putting darker and lighter objects in the field-of-view away from the target area to make the camera metering adjust things so it’s exposure is the same from one shot to the next.  This would take some doing but should work, unless the LPC uses the part of the frame that doesn’t contain the checkboard target in its computations.
    You’re basically varying the scene around the target so the camera takes the same exposure of the target each time.

  • Elements 8 Error 150:30 FlexNet is Set to Manual

    I have the all-too-common Error 150:30 when trying to open Edit in Photoshop Elements 8. I followed instructions posted elsewhere to be sure the FlexNet service was set to manual, but even after a re-boot, the error persists. Any other ideas?

    Actually, by default, the service should be in running state when application launches and the mode should be set as "Automatic".
    The Tech doc which you have referred just says that even when the service is indeed running in Automatic mode and still the application is giving this error, then you set the service in Manual mode and start it manully before launching application.
    But, a better approach will be to make sure that you log in with admin user, check the services.msc to see whether the service is installed on the machine or not and launch the application and see whether the service is changing to running mode or whether it is still in stopped state.
    You can refer the below Tech Doc and follow the solutions sequentially to see of they get you out of this issue:
    http://kb2.adobe.com/cps/405/kb405970.html
    Regards,
    Ankush

  • Bug in OS 3.0: mail accounts set to "Manual" are pushed at bootup

    I keep my iPhone's mail accounts on "Manual" access only, so that I'm not overwhelmed with email during the day. I also use MobileMe, and I have my contacts and calendars set to "Push." This combination is possible in:
    Settings -> Mail, Contacts, Calendars -> Fetch New Data -> Advanced
    In OS 2.2.1 and below, this combination worked as expected: contacts and calendar items are pushed via MobileMe, and mail is retrieved only when entering the Mail app. It also works as expected in OS 3.0, except ...
    ... when the phone is rebooted. At reboot, all mail accounts are pushed, as if the OS is overlooking my "Manual" setting. I've reported the problem to Apple via the iPhone feedback form, but I thought it prudent to mention it here as well, since it's repeatable and others may notice the problem as well and search for it.

    Just wanted to keep this alive. Whenever we restart either my 3GS phone or my wife's 3G they make an immediate mail check and download any emails. Both phones are set to manual for mail checks and we use Me.com for all of our email. With the 3G phone, it was originally mine and before the 3.0 software upgrade it never did this. So I'm going to chalk it up to the 3.0 and believe that some future update will address this.
    John

  • Iphone automatically checks mail even though it's set to "manual" check

    In settings > mail, Auto-check is set to manual, but my phone still vibrates and beeps periodically -- even when it has been asleep and I'm not touching -- announcing that new mail has arrived.
    I'm using it to check a yahoo and a gmail account. Why is it still checking mail automatically?

    Actually I just figured this out myself. You can turn it off by going to
    Settings > Mail
    and then clicking on your yahoo account. At the very top of the screen for your yahoo account settings, there's a button that says "Account ON or OFF"
    Switching it to OFF means it won't show up at all in your mail program but it also won't push. Switching it back on makes it show up immediately in your mail program again.

  • I just received a nano for Christmas. I bought an iwatch wristband but I can't get the face to rotate.  Should this happen on its own or do I need to set it manually?

    I recently received a nano for Christmas but i cant get the face to rotate. Should this happen on its own or do I need to set it manually?

    I guess it helps to read the manual... haha... just figured it out!

  • Updating and iPod that has preferences set for "manually manage songs..."

    I have my iPod set with "manually manage songs and playlists" so that
    (a) it won't try to update every time I connect it; and
    (b) so that I can see all of the songs from my iTunes application, as I don't store my music library on my laptop computer.
    But sometimes I do want to do a full sync of the iPod to my music library. I'm not sure how to do that. If I select "update ipod", it says "iPod update complete", but doesn't really do anything.
    Any ideas?
    thanks

    Hi, Michael, and thanks for your help.
    I realize I can change the options to "automatically update..."
    But the whole point of my inquiry was to find out whether there's a way to NOT have that preference set, as I
    (a) don't want the iPod updating every time I plug it in; and
    (b) want to be able to see its songs on other computers when I'm not seeking to update it.
    What I want is a command that I can initiate that will say "act as though the automatically-update preferences were on and do a full update just this once".
    I suppose I can go in and turn the preference on, do the update, then turn the update off, but it seems like lots of steps. I might have thought that there would be a control+click command that would accomplish this all in one click.

Maybe you are looking for

  • ITunes match not working on ipad

    iTunes match is not working on y iPad, one day all the music was there now I can't get it to work. It shows the iCloud symbol and after 30 seconds or so it disappears and a massage saying now music appears. What's going on???

  • New Subscreen by plant

    Hello, I created a new subscreen in the Material Master. I can do depends on plan Subscreen? Thanks.

  • Switching video source for live video streaming

    Is it possible to switch the video source from a video capture card to a standalone video during live video streaming? We are streaming live TV and we want to skip playing any advertisements. If this is not possible, what is the best way skip playing

  • Testing of IDOC2FILE scenario of XI

    Hi All, I have been with the scenario, FILE2IDOC. I triggered the IDOC from R/3 system by using WE19. Here IDOC is successfully sent and i am sure that there is no stuck in SM58 also. Then i am trying to see the Message in SXMB_MONI, there is no mess

  • What is the error code:1009

    i couldn't get any application ,the system given to me this error: Code:1009 Would u given to me any suggestion!!!