Using networksetup to change IP info

Greetings,
Due to some network changes at work, all the Macs will soon require static IP addresses. After looking into it, using networksetup seems like the most efficient option (and sadly, 3rd party apps are not an option).
I am having an issue, however, when entering the command to make the change, I'm getting error.
*The command I'm sending:*
*sudo networksetup -setmanual Ethernet 10.x.x.x 255.x.x.x 10.x.x.x*
*The error I receive is:*
*Ethernet is not a recognized network service.*
* Error: The parameters were not valid.*
I have tried everything I can think of to get this to work. Since it was a Mac Pro I was working on, I ran this to get the appropriate port name:
sudo networksetup -listnetworkserviceorder
An asterisk (*) denotes that a network service is disabled.
(1) Ethernet 1
(Hardware Port: Ethernet 1, Device: en0)
(2) Ethernet 2
(Hardware Port: Ethernet 2, Device: en1)
(3) Bluetooth DUN
(Hardware Port: Bluetooth DUN, Device: Bluetooth-Modem)
(4) FireWire
(Hardware Port: FireWire, Device: fw0)
I am unable to get it to recognize the Ethernet 1 port, and as I said I have tried everything I can think of to get it to work. If anyone has any ideas, or sees something I missed, I'd greatly appreciate the help.

As I said something (very simple) I missed! I guess I was staring at the screen far too long yesterday.
Thanks very much xnav! Now this won't be quite as painful of a process in the coming months.

Similar Messages

  • Deleted e-mail account used for Icloud--now I cannot change my info without having that e-mail but it's gone! What do I do?

    Deleted e-mail account used for Icloud--now I cannot change my info without having that e-mail but it's gone! What do I do?

    Please answer me .
    Now I created iCloud Mail Alias on iCloud which name [email protected] Then I want to switch iCloud Mail Alias to be iCloud IMAP.
    My problem is I don't want that old mail which my boyfriend used to created - [email protected] and [email protected] - .
    How can I do?
    Please.

  • BAPI_CUSTOMERQUOTATION_CHANGE for changing VC info

    Hello ABAPers:
    I am using BAPI_CUSTOMERQUOTATION_CHANGE for changing Variant Configuration information on quotes. I am filling the table quotation_item_inx with quotation_item_inx-UPDATEFLAG = 'U'  quotation_item_inx-CONFIG_ID = 'X' and other VC tables QUOTATION_CFGS_REF, QUOTATION_CFGS_INST, and QUOTATION_CFGS_VALUE. It updates other header and item fields except the config info. Has anybody tried updating Variant Configuration info on quotes?
    Thanks for your time.

    Hello Andrew,
    Yes I am filling in quotation_item_in table with the following info.
      sd_item_it-itm_number = '000030'.
      sd_item_it-hg_lv_item = '000000'.
      sd_item_it-material=  '10435-5562'.
      sd_item_it-alt_to_itm = '000000'.
      sd_item_it-dlv_group  = '000'.
      sd_item_it-target_qty = '1'.
      sd_item_it-target_qu = 'EA'.
      sd_item_it-t_unit_iso = 'EA'.
      sd_item_it-po_itm_no  = '000030'.
      sd_item_it-PMNTTRMS = 'NT45'.
      sd_item_it-CONFIG_ID = '000001'.
    sd_item_it-inst_id = '00000001'.
      append sd_item_IT.
    quotation_item_inx is filled with
      sd_item_x_it-itm_number = '000030'.
      sd_item_x_it-updateflag = 'U'.
      sd_item_x_it-PMNTTRMS = 'X'.
      APPEND sd_item_x_it.
    QUOTATION_CFGS_REF is filled with
      q_cfgs_ref-posex = '000030'.
      q_cfgs_ref-config_id = '000001'.
      q_cfgs_ref-root_id = '00000001'.
      q_cfgs_ref-complete = 'T'.
      q_cfgs_ref-consistent = 'T'.
      append q_cfgs_ref.
    QUOTATION_CFGS_INST is filled with
      q_cfgs_inst-config_id = '000001'.
      q_cfgs_inst-inst_id   = '00000001'.
      q_cfgs_inst-obj_type = 'MARA'.
      q_cfgs_inst-class_type = '300'.
      q_cfgs_inst-OBJ_KEY = '10435-5562'.
      q_cfgs_inst-quantity = '1'.
      q_cfgs_inst-quantity_unit = 'EA'.
      q_cfgs_inst-complete = 'T'.
      q_cfgs_inst-consistent = 'T'.
      append q_cfgs_inst.
    QUOTATION_CFGS_VALUE is filled with
      q_cfgs_value-config_id = '000001'.
      q_cfgs_value-inst_id   = '00000001'.
      q_cfgs_value-charc   = 'ART_REFERENCE'.
      q_cfgs_value-charc_txt   = 'Art Reference'.
      q_cfgs_value-value   = 'B'.
      append q_cfgs_value.
    As you can see config_id id matching. I am filling in the quote number in salesdocument and the update_flag in quotation_header_inx is set to 'U'.
    In the above situation, I am able Payment terms on the item but not config info.

  • ITunes denies me the ability to change the info of my media. Anyone have the same problem?

    Whenever you desire to change the information on a certain music file or movie you've saved to your apple device (In my case, an iPhone 4S), the only things that pop up on screen are the "Play (Insert name of media here)" or below that: "Get info". And even if you do click on "Get Info", you can only LOOK at the info already there and you can't change it! Before this problem arose, there used to be a long list of options you could select from for that specific media file you chose. Things like ratings, copy, delete, consolidate files, get artwork, etc. were at my fingertips, and now iTunes has refused me these luxeries! The thing I miss the most is being able to click on the "Get Info" option and actually CHANGING THE INFO of the media file instead of just looking at it with the color of the font being gray and not allowing you to change it! If I wanted to rename a video I got from the internet or give proper credit to the person who uploaded said video, I could do so in the past, but not now! Also, I cannot drag a music track or video file from my Video files of my computer's hard drive and place them into my Movies of iTunes or my iPhone 4S! It used to be so quick and easy to click and drag what you wanted into your device, But now it's just such a pain! I ask if anyone has this same problem and better yet, if anyone has a solution to this? All considerate thoughts and actions are appreciated. Thank you.

    When you click Write and open the new message editor, press Alt to show the Menu Bar, then enable all the toolbars under View/Toolbars. Plus, press F9 to show the Contacts sidebar.

  • Finished script: Use grep find/change to fill in a supplied table of contents

    This script is now complete, and has been the subject of most of my previous posts. Just in case anyone wanted to know what the finished script ended as, here it is.
    Thanks so much to all. A lot of really helpful folks on this board are very responsible for the success of this task. This script is to be one of hopefully many in the creation of our records. But it's a huge leap forward. Thanks again to everyone that helped.
    Cheers,
    ~Nate
    Task:
    Automatically find town names in listings, and fill in table of contents template on page 2 accordingly.
    Example of page 2 toc, initially:
    Example of a page of content. The town names are what need to be referenced on the TOC:
    Example of page 2 toc once script is finished:
    Because of the need to include the transaction dates on the TOC (comes as a provided, tagged-text file), a simple Indesign-generated TOC can't be used alone.
    This script uses an Indesign-generated TOC that's on a master page called "T-tocGen" ... It then uses grep search and replaces to grab the needed information, and insert it into the page 2 TOC.
    The script will update a generated TOC and then search for an instance of a page number, and town name. The generated toc lists all included towns in the following format:
    (line start)## tab townName(line end)
    In Grep, this would be (please note, extra \ for \d and \t ... javascript needs that for some reason):
    ^\\d+\\t(.*)$
    After the script gets the info it needs from a found instance of the above, it replaces that line with "---", to prevent that line from being picked up once again.
    The script with then place the needed page number in it's rightful place on page 2, replacing the XX.
    A while loop is used to repeat the above process until there are no longer any instances of "^\\d+\\t(.*)$" present.
    Not every town runs every issue, so once the script is done, it removes all remaining instance of "XX" on the page 2 TOC.
    FINAL CODE:
    TOC replace
    This script will use grep find/change methods to apply page numbers in
    tocGen to the XX's on page2TOC.
    // define the text frame of generated TOC
        var tocGenFrame  = document.masterSpreads.item("T-tocGen").pages.item(0).textFrames.item(0);
    // udpate generated TOC ... store contents in tocGenStuff
        var tocGenStuff = updateTOCGen();
    // set variable for while loop
    var okGo = "1";
    // while okGo isn't 0
    while(okGo.length!=0)
    // get town info from tocGen
    getCurrentTown();
    // replace XX's with tocGen info
    replaceTown();
    // grep find ... any remaining towns with page numbers in tocGen?
    app.findGrepPreferences = app.changeGrepPreferences = null;
    app.findGrepPreferences.findWhat = "^\\d+\\t(.*)$";
    // set current value of okGo ... with any instances of above grep find in tocGen
    okGo = tocGenFrame.findGrep();   
    // grep find/change all leftover XXs in page2TOC
    app.findGrepPreferences = app.changeGrepPreferences = null;       
    app.findGrepPreferences.findWhat = "^XX\\t";
    app.changeGrepPreferences.changeTo = "\\t";
    app.activeDocument.changeGrep();  
    // clear grep prefs
    app.findGrepPreferences = app.changeGrepPreferences = null;
    //  functions                  //
    function getCurrentTown()
    // grep options   
    app.findChangeGrepOptions.includeLockedLayersForFind = true;
    app.findChangeGrepOptions.includeLockedStoriesForFind = true;
    app.findChangeGrepOptions.includeHiddenLayers = true;
    app.findChangeGrepOptions.includeMasterPages = true;
    app.findChangeGrepOptions.includeFootnotes = true;
    // grep find:  startLine anyDigits tab anyCharacters endLine
          app.findGrepPreferences = app.changeGrepPreferences = null;
          app.findGrepPreferences.findWhat = "^\\d+\\t(.*)$";
    // get grep find results      
    currentGen = tocGenFrame.findGrep();  
    // store grep results content into currentLine
    currentLine = currentGen[0].contents;
    // match to get array of grep found items
    currentMatch = currentGen[0].contents.match("^\\d+\\t(.*)$");
    // second found item is town name, store as currentTown
    currentTown = currentMatch[1];
    // change current line to --- now that data has been grabbed
    // this is because loop will continue as long as the above grep find yields a result
           app.findGrepPreferences.findWhat = "^\\d+\\t"+currentTown+"$";
                  app.changeGrepPreferences.changeTo = "---";
                tocGenFrame.changeGrep(); 
    function replaceTown()
    app.findChangeGrepOptions.includeLockedLayersForFind = true;
    app.findChangeGrepOptions.includeLockedStoriesForFind = true;
    app.findChangeGrepOptions.includeHiddenLayers = true;
    app.findChangeGrepOptions.includeMasterPages = true;
    app.findChangeGrepOptions.includeFootnotes = true;
    // find: XX currentTown .... replace with: currentLine
        app.findGrepPreferences = app.changeGrepPreferences = null;
        app.findGrepPreferences.findWhat = "^XX\\t"+currentTown+" \\(";
        app.changeGrepPreferences.changeTo = currentLine+" \(";
    app.activeDocument.changeGrep();   
    function updateTOCGen()
    //set vars ... toc text frame, toc master pag
        var tocGen  = document.masterSpreads.item("T-tocGen").pages.item(0).textFrames.item(0);
        var tocGenPage  = document.masterSpreads.item("T-tocGen").pages.item(0);
    //SELECT the text frame generatedTOC on the master TOC
        tocGen.select();
    //Update Table of Contents by script menu action:
        app.scriptMenuActions.itemByID(71442).invoke();
    //Deselect selection of text frame holding your TOC:
        app.select(null);
    //store contents of toc text frame in variable
        var tocGenText = tocGen.contents;
    //return contents of tocGen
        return tocGenText;

    Thanks for the reply.
    You are correct but the problem is there are three rows, One row is 100% black, the second is 60% black and the third is 40% black. I want to change the black to blue, the 60% black to an orange and the 40% black to a light shaded blue. In the find/change option you can select the tint you want to find and replace but yea.. does work on table cells.. oddly enough.

  • Change the info. in control record?

    hi...
             how 2 change the information in control record?Not in ALE?
    bye.

    you can use the various options in the IDoc adapter and change the info in the control record.
    http://help.sap.com/saphelp_nw04/helpdata/en/96/791c42375d5033e10000000a155106/content.htm
    The options like;
    1. <b>Apply Control Record Values from Payload</b>
    If you set the indicator, the conversion of communication parties to the IDoc partner is only possible for systems that are not logical systems.
    If you do not set the indicator, all combinations of communication parties and services are handled as services without party.
    If the IDoc XML structure contains a control record during outbound processing on the Integration Server, it is rejected and created again by the IDoc adapter. If you want to include additional values in the control record, set the indicator and provide an appropriate mapping for the values.
    <b>Take Sender from Payload</b>
    If you want to take the sender of the message from the payload and not from the configuration information in the Integration Directory, set this indicator.
    If you do not set the indicator, the information is taken from the configuration in the Integration Directory.
    <b>Take Receiver from Payload</b>
    If you want to take the receiver of the message from the payload and not from the configuration information in the Integration Directory, set this indicator.
    If you do not set the indicator, the information is taken from the configuration in the Integration Directory.
    To know more abt the control records, ref: http://help.sap.com/saphelp_nw04/helpdata/en/13/95244269625633e10000000a155106/content.htm

  • I just downloaded an iphoto update and when I tried to share my photos was asked for email and password.  I must have typed in the info wrong because I keep getting an error message.   I don't see how to change the info to the correct mistake..

    I just downloaded an iphoto update and when I tried to share my photos was asked for email and password.  I must have typed in the info wrong because I keep getting an error message.   I don't see how to change the info to the correct mistake..

    I too added 2nd apple ID when I tried to get Free app from apple store just to get to NONE on the credit card needed. It said it sent confirmation email to my new apple ID email that I have to confirm. Problem is I can not get to the new apple ID email account.  On my ipad it logs into my original email account and I see no where to log into another email account.  If I go to my laptop, the new apple ID I created does not let me log into email where apple said it was sent to.  It did not send to back up email account either.
    Can I log into 2 email accounts on my ipad where it says mail at bottom?
    Can I have 2 apple ids?
    If I created a 2nd apple id to get to NONE on credit card needed, can't I log into it also on another laptop in gmail?
    (won't let me)
    If I used my original apple id I created when I got my new ipad, it will not let me get free app without credit card, there is no where it says NONE needed. I am too new to apple to start with credit cards etc until I get use to it.

  • How to make changes to info in iTunes appear on my iPod Classic

    What am I missing? In earlier versions of iTunes I could change the info on an imported CD, for instance, and when synced it would appear on my iPod. For instance, if the database doesn't supply a "composer" for an album I could put one in and then find that album by scrolling through composers on the iPod. Now (with a new 160gig Classic and the latest iTunes) the tags just don't seem to "take", although they continue to appear as changed on my iTunes screen. It seems to be a general problem with revising the tags but I choose this as a simple example. Is there some settings procedure I'm not following on either iTunes or the iPod? Or what?

    Such changes should be mirrored to the device if you automatically sync the device. What happens if you make sure the *Sync only checked items* option is enabled, uncheck the tracks, sync, recheck them and sync again? Any better? If not the only other thing I can think of is that iTunes seems not to manage files with multiple tags terribly well. It may be possible to rebuild the tags as follows. Selecting some affected tracks, right/cmd click and use the option Convert id3 tags > None. Repeat once or twice. Once you have confirmed that no tags are present (look in Explorer/Finder) you can replace the tag information using Convert id3 tags > V2.3 (I believe it is recommended to avoid using V2.4). You will have to manually repair artwork if was embedded.
    tt2

  • Hoy can I change the info in Apple id already created to  not include a crédito card

    How can I modify an Apple tu use it  without a credit card

    If you want to remove your credit card then on your computer's iTunes you should be able to edit your payment info by going into the Store > View Account menu option and logging into your account, and on your account's details page there should be a payment link.  If you are doing it on an iOS device (iPad, iPhone or iPod Touch) then you could try tapping on your id in Settings > Store (Settings > iTunes & App Store on iOS 6+) and selecting 'View Apple ID' on the popup - that should also give you a payments link on your account's page.
    Changing payment info : http://support.apple.com/kb/HT1918

  • Making iTunes automatically change track info of playlists

    Hello all,
    I'd like to know if there is a way to automatically change song info of all the tracks in a specific playlist.
    More specifically, I'd like to know how to make itunes automatically change the Grouping of songs as I add or remove them from any given playlist.
    Ultimately, what I'd like to be able to do is see which songs are set to sync with my iPhone and which aren't when I'm looking through my entire music library.
    Maybe there's a solution using Automator or Applescripts. I tried using smart playlists, but those seem to only be able to populate a playlist based on track info, which is the opposite of what I want to do.
    Thank you all in advance for your help,
    Scott

    I suspect iTunes is revealing "corrections" made by Windows Media Player. If so the damage is done and you'll probably find other tracks have been affected over time.
    See my post on Getting iTunes & Windows Media Player to play nicely. Most importantly uncheck the WMP options as displayed in the final image.
    tt2

  • Cant change song info on new ios update

    ok ever since i updated to iOS5 i cant change the song info on my ipod touch when i change the info on itunes?!?! it syncs but song info dosnt change ie. the song name,album.

    check out does iTunes detect song codec and ID3-tag is v.2.3 or 2.4. If iTunes shows that it's unknow, you can't change tag ..... it's a bug which appeared in 10.5.x 
    I have the same problem when dropping songs into device, but there is a solution, convert songs in mp3 or other format, use, for example, Xilisoft Audio Converter Pro. So, I've lost over 1 Tb music I have underlined a string where you can see name of codec.

  • HT1657 How can I download all purchased content before changing my info account?

    How can I download all purchased content before changing my info account?

    You can always setup your GMail account on your Mac as a POP3 account, and then flag GMail to mark all messages new.  The next mail check would cause your mail app to download all the messages on teh GMail server to your mail client.  Once they are in your mail client, you manage them locally in there, and it won't matter if the GMail host account goes away or not, because POP3 works with the local data once it is downloaded form the server.
    Be advised that doing this can cause you to redownload thousands (or hundreds of thousands) of emails depending upon your email volume and how long you have been using GMail.  If I do this, my GMail wants to re-send close to 6GB of data to me again because I have been using GMail for about as long as it has existed, and I average 100-200 emails a day on that account.

  • I am running iTunes 11.3.1.2 on  my Windows 8.1 laptop and am unable to change any info on any songs in my library. I have had this issue since switching to Windows 8.1

    I am running iTunes 11.3.1.2 on  my Windows 8.1 laptop and am unable to change any info on any songs in my library. I have had this issue since switching to Windows 8.1
    I don't have this same issue on my Windows Vista laptop which is no longer being used fro iTunes

    I am running iTunes 11.3.1.2 on  my Windows 8.1 laptop and am unable to change any info on any songs in my library. I have had this issue since switching to Windows 8.1
    I don't have this same issue on my Windows Vista laptop which is no longer being used fro iTunes

  • IPTC adding information on a photo which line to use? and can this info be used in a batch?

    When using IPTC I want to add information on a photo which line to use?   and can this info be used in a batching of photos?

    Thanks to all who responded. You are all absolutely correct. However, this Ipad was a gift to my wife who was dying of cancer in the hospital and wanted some entertainment. So I started it out with her Apple ID. After she passed away I moved from Sacramento to Austin and eventually proceeded to get the Apple ID changed from my wife's to mine. Meanwhile when she was in the hospital I opened an Itunes account in my name to buy movies for her. That was the first mistake.
    Then during the move to Austin I lost track of the IPAD and later found it and tried to use support but could not remember the proper ID. Later the folks at the Apple store helped me create a new and novel Apple ID that was unfortunately unlike any other.
    The botom line is that I am stuck with three Apple IDs and three passwords. I am told by Apple there is nothing they can do about this as IDs cannot be changed or destroyed. I can quit using them or start a new account but when I try to do that the system keeps remembering too many things from the past and resists.
    Even if I sold this Ipad and bought a new one, the system memory is still there.
    I think the real problem is that destop and laptop computers are totally owned by an individual and that individual can control logins and passwords to his liking. IPADs and similar Apple products are different in that the corporation has built in their own intrusion detection schemes because of the relation to Itunes.
    One thing I thought about is to open a new Itunes account pretendding to be a new customer with my regular Apple ID. Perhaps I could do the same with Apple Support.
    Thanks for your comments.
    RAZ

  • Custom table needs to be updated based on changes in Info type P0000

    Hi All,
       I have a requirement wherein when we make changes to info type P0000 this should be reflected to a custom table.
    If i create a new record, delete an existing record or make changes to a record in INFOTYPE P0000 this should also be reflected in my custom table.
       My custom table has 5 fields from info type p0000 and some custom fieds.
       please can you let me know exactly which user exit to use to acchieve the solution. and where exactly i can put the logic.
    Thanks,
    Mars

    Hi Venkat,
      I tried to code in the method AFTER_INPUT and executed but there are few thing which i have come across.
    1. when ever i create a new record in PA40 and each time i save the screens of PA40 this method is called and based on check it tries to update the table taht many times.
    2. The logic which i have used in the BADI implementations is as below:
      DATA: l_text TYPE string,
                 l_answer TYPE string,
                 lw_split TYPE XXXX.  (custom table)
      IF old_innnn NE new_innnn.
        lw_split-mandt = sy-mandt.
        lw_split-pernr = new_innnn-pernr.
        lw_split-begda = new_innnn-begda.
        lw_split-endda = new_innnn-endda.
        l_text = 'Does this employee need a split STIP?'.
            Display a pop up message to the user.
        CALL FUNCTION 'POPUP_TO_CONFIRM'
          EXPORTING
            titlebar                    = 'Choose'
            text_question               = l_text
            text_button_1               = 'Yes'
            text_button_2               = 'No'
            default_button              = '1'
            display_cancel_button       = space
         IMPORTING
            answer                      = l_answer
         EXCEPTIONS
            text_not_found              = 1
            OTHERS                      = 2.
        IF sy-subrc EQ 0.
          IF l_answer EQ '1'.
            lw_split-stflg = 'Yes'.
          ELSE.
            lw_split-stflg = 'No'.
          ENDIF.
        ENDIF.
        MODIFY TABLE  XXXX FROM lw_split.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
            wait = 'X'.
      ENDIF.
    3. when i try to activate this chunk of code it gives me error  saying "XXXX" is unknown. i tried to declare it under TABLES but in Vain.
    4 I have also tried to use the modify statement in IN_UPDATE instead of updating custom table in same method but its giving me same error "XXXX" is unknown. i tried to declare it under TABLES but in Vain.
    can you let me know your view on this. The above chunk of code is in case of creating a new record in P0000 info type.
    Thanks,
    Mars
    Edited by: Mars878 on Oct 13, 2009 9:18 AM

Maybe you are looking for