DHCP Option Code Utility - the return

A long time ago I wrote a utility to make it easy for mere humans to generate the encoded values needed to define DHCP Option Codes for use with Apple's DHCP Server.
This utility was remarkably bug free and even as a 1.0 version worked with PowerPC and Intel Macs all the way from Mac OS X 10.4 to OS X 10.7.5 with zero reported bugs. It did however hit a problem with Mountain Lion 10.8 which I have finally got round to investigating and resolving. It turns out Apple made a change that broke the way my utility was using a standard routine.
I have also taken the opportunity to add built-in support for generating null-terminated strings since it has emerged that some uses of DHCP Option Codes requires this type of string, for example PXE boot servers using DHCP Option Code 67.
The new 1.1 version can be downloaded free from http://jelockwood.blogspot.co.uk/2013/06/dhcp-server-on-os-x-server.html

Nice work John. Thanks for sharing this with the world.
I was pretty shocked when 10.6 server didn't include the facility to do this without going through this...
http://discussions.apple.com/thread.jspa?messageID=9027746
Your GUI looks to be a giant step forward.
Cheers,
Lyle

Similar Messages

  • DHCP option 66

    I would love to just post in this thread:
    http://discussions.apple.com/thread.jspa?threadID=2347065
    But Apple likes to lock old threads and force you to start over...
    The indication in that thread is people did get this to work, but there is no final note of exactly how. So far we are finding it does not function properly. We're trying to set up a Fog server, but using the Mac server for DHCP. Unfortunately it fails to actually forward the client to the Fog server as needed. Here is what we have done:
    on the Mac server (10.6.4) edit the /etc/bootpd.plist
    below the array for dhcpdomainsearch and above the dhcp_router key, we insert the following:
    <key>dhcpoption66</key>
    <data>
    krp+CQ==
    </data>
    <key>dhcpoption67</key>
    <data>
    cHhlbGludXguMA==
    </data>
    These values are obtained using the DHCP Option Code Utility posted in the above thread with these inputs:
    Option Code Number: 66
    Option Code Type: IP
    Option Code Value: 146.186.126.9
    Option Code Number: 67
    Option Code Type: String
    Option Code Value: pxelinux.0
    When those didn't work, because the info in the noted thread was not clear, we also tried:
    Option Code Number: 66
    Option Code Type: String
    Option Code Value: 146.186.126.9
    Which gave us:
    <key>dhcpoption66</key>
    <data>
    MTQ2LjE4Ni4xMjYuOQ==
    </data>
    This also did not work. In every case the TFTP times out indicating option 66 is not defined or is not being followed correctly. It's a shame that unlike Microsoft, Apple has not included these common option controls in their server interface. We're hoping someone who has actually gotten this to work will see this and be able to clear up what Apple needs for input to make it actually work right.
    Thanks for any help!

    Hi, I am the author of the DHCP Option Code Utility and therefore the unofficial worldwide expert on Apple's DHCP Server
    If you go to http://www.sustworks.com/site/prodipmxoverview.html you can download a copy of IPNetMonitorX which includes a feature to test DHCP option codes. For example, you could test option 66 on a different make of DHCP Server (one that works) to see what exactly it returns, and then do the same test against Apple's DHCP Server and see if it is returning exactly the same result. Obviously if it returns a different result there is a problem.
    Note: IPNetmonitorX shows all DHCP option code results as decimal numbers (you need verbose logging turned on), you may therefore need to translate these to hex or ASCII values. One decimal number equals one hex number or one ASCII character.
    I can tell you that using DHCP Option Code Utility to generate the values, Apple's DHCP server works fine for many users needing to do this to support VoIP phone systems which also need to advertise a TFTP server.
    I have looked at your message and as far as I can see, your entry for Option67 is what I would believe to be correct. Obviously this field is not an Integer, nor is it an IP address, so using the String option is the only logical choice. For Option66, like your post, two choices spring to mind, the first being to use the IP address choice and the second the string choice. Again your examples are what I would use with my first choice being the IP address one.
    However there is one thing I can mention that may (or may not) help. An IP address for humans is written as 146.186.126.9 that is four decimal integers between 0 and 255 each separated by a full stop, if we break this down we have the following decimal integers
    146
    186
    126
    9
    in hexadecimal the above translates to
    92
    BA
    7E
    9
    Now the way Apple's DHCP Server actually stores IP addresses (ignoring the encoding you see) is actually as four hexadecimal bytes so if you use my utility to encode
    92 BA 7E 09
    as hexadecimal, you will find it results in the identical krp+CQ== result. Now apart from giving you some background which may help if/when you use IPNetMonitorX to test DHCP server option codes, what this also allows you to consider is that it maybe that some systems want these bytes in a different order. This relates to 'little endian' vs. 'big endian' see http://www.cs.umass.edu/~verts/cs32/endian.html
    I am somewhat doubtful of this, as all the VoIP systems I have dealt with use the same order equivalent to 146 186 126 9
    If your able to use IPNetMonitorX to query FOG's own DHCP server and give me the result, I can see what difference it is doing.
    Note: You should only have one DHCP server on a network at a time, so you should do this test on a standalone network or when you will not interfere with your live network.
    Note: You need to stop and start the Apple DHCP server in Server Admin to get it to re-read /etc/bootpd.plist and use your new settings. You should therefore stop the DHCP server while editing the file.
    UPDATE - NEWSFLASH
    Just retested my own Mac OS X 10.6.4 DHCP Server which has four DHCP option codes defined which were previously working. When I tried adding a copy of your option66, even with supposedly my DHCP Server 'stopped' it kept overwriting the changes I made. It maybe your server is also almost immediately overwriting and losing your option codes. Try doing it in single user mode or even booting from another disk and of course double check your bootpd.plist still lists your option codes.

  • How to query a DHCP option field?

    I am able to successfully define various DHCP Option codes for use with Apple's DHCP server and indeed I am the person who wrote a GUI utility to make it much easier to generate the data values needed to do this. The following is a typical example of what you need to (manually) add to /etc/bootpd.plist
    <key>dhcpoption66</key>
    <data>
    CgBklg==
    </data>
    I am also able to query specific DHCP option codes (as provided by Apple's DHCP server as above) using IPNetMonitorX from Sustainable Softworks. However it should I believe be possible to do the same tests via the command line in Terminal using the ipconfig getoption command, please see the "man ipconfig" page.
    While as an example "ipconfig getoption en0 router" works fine, I cannot seem to get the right syntax for querying a specific DHCP option code, despite the man page suggesting this should be possible. Unfortunately like nearly all man pages, the information is very skimpy and the examples practically non-existant.
    Could anyone reply with the correct syntax to query as an example DHCP option code 66?
    I suppose (gasp!) Apple could have a bug in ipconfig preventing the ability to query option codes. (Shock, horror!)

    MrHoffman wrote:
    When in doubt, use the source.
    The DHCP [client.c source code|http://www.opensource.apple.com/source/bootp/bootp-198.2/ipconfig.tproj/client.c] might be interesting here.
    The core of the option-related code looks to be over in the [dhcp_options.c source code|http://www.opensource.apple.com/source/bootp/bootp-198.2/bootplib/dhcp_options.c ?txt] and what looks to be the option tag table mapping is over in the [gendhcp_parsetable.h source code|http://www.opensource.apple.com/source/bootp/bootp-198.2/bootplib/gendhcp_parsetable.h].
    A quick read of the source files and particularly the routines command_info and Sgetoption and the tag table implies that the +ipconfig getoption en0 66+ command might work. Or maybe +ipconfig getoption en0 tftpservername+ will work.
    When I test this syntax, I get +ipconfiggetoption failed, (os/kern) failure+ and which obviously doesn't bode well for this syntax, but then I likely don't have any of the related stuff enabled on this test network. (And I'm only very quickly reading the C code here...)
    I have not found and viewed the source but I had tried that exact syntax (as per your example) and got the exact same error hence my comment that maybe (gasp!) there is a bug here.
    I have submitted a bugreporter entry and will have to wait and see if Apple reply.
    Thanks for the apparent confirmation.

  • MDT/WDS PXE Deployment - DHCP Options for both x64 and x86

    Alright, I've found out the option 66 & 67 information, as what to set for each. The problem I'm trying to figure out is what to use for the boot file for option 67. So far all the info I've found says this:
    Configure DHCP option 67 with the right boot image file.
    For 32-bits systems \boot\x86\wdsnbp.com
    For 64-bits systems \boot\x64\wdsnbp.com
    I want to be able to use this for both 32 and 64 bit Windows clients, but cannot find anywhere that specifies how I would be able to do both.

    DHCP Options (specifically 067) can have a significant impact on which NBP your client can access.  If you specify \Boot\x86\Wdsnbp.com you are forcing the client to the 32bit NBP.
    If you specify \Boot\x64\Wdsnbp.com you are forcing the client to the 64bit NBP.
    Niether option is an ideal solution, especially if you have a varied environment.
    I would take a look at the following article and see if it sheds some light on your question:
    PXE booting with WDS – DHCP Scope vs IP Helpers

  • RV320: DHCP Option 82 + DHCP relay at Ethernet switch

    We purchased a RV320 router and want to use the DHCP Option 82 IP Assignment in combination with a ZyXEL GS1910-24 Smart Managed Switch.
    The switch is able to insert Option 82 Circuit-IDs into DHCP requests, if they are relayed to a specific DHCP server. So there must be configured exactly one IP address of the DHCP server in the switch configuration (eg 192.168.1.1). The problem is, that the RV320 creates different IP subnets for different Circuit-IDs. So the RV320-router has multiple IPs, one unique IP per subnet (192.168.1.1, 192.168.2.1, 192.168.3.1, ...).
    How can I use the Option 82 IP assignment with this configuration?
    Is a routing/firewall rule at the RV320 a solution (to forward DHCP requests from subnet specific IP - eg 192.168.3.1 - to exactly one IP, eg 192.168.1.1)?

    mpyhala,
    seems not to work as the RV320 is restricted to 6 custom VLANs (+ 1 Management VLAN with ID 1).
    Maybe I should describe the whole scenario, which should be implemented:
    The configuration is like for a small hotel: each room should be logically seperated from each other (no inter-room traffic for security) and each rooms bandwidth should be managed.
    Bandwidth management at the RV320 relies on IP addresses. So I need to achieve somehow, that a room (= port number on switch) is always assigned a specific IP address.
    14 rooms should be covered in that way.
    The problem is currently the link IP<->Switch Port. I thought DHCP option 82 is the way to go, but VLANs (one VLAN for each room) may be also a solution. Unfortunately none of the two ways work.
    What can be a solution? Was the RV320 the wrong decision (not enough flexibility)?
    Thanks.

  • Windows 8.1 w/Update 1 ignores WPAD DHCP Option 252

    Hi!
    We try to roll out Windows 8.1 w/Update 1 and Internet Explorer 11 with the lastest updates installed. The clients are configured to autodetect proxy settings in IE with WPAD DHCP-Option 252. The clients are not allowed to query
    WPAD in DNS.
    No problems with Windows 7.
    In NetMon I can see the DHCP Request with the following result
      - WPAD: http://wpad.server.name/wpad.dat - Type 252
         OpCode: Web Proxy Auto Detection (WPAD), 252(0xFC)
         Length: 30 (0x1E)
         URL: http://wpad.server.name/wpad.dat
      + End:
    But the Windows 8.1 client still tries to use name resolution
    NbtNs:Query Request for WPAD   <0x00> Workstation Service
    The same issues with WindowsToGo with Windows 8.1 w/Update 1.
    Any ideas? We tried a lot with Troubleshooting Automatic Detection on
    http://technet.microsoft.com/en-us/library/cc302643.aspx but nothing helps. Thanks!

    Hi,
    Have you checked those articles?
    How to configure proxy server settings in Windows 8
    Windows 8 – Supporting proxy services with Static Configurations,
    Web Hosted PAC files and Domain Policy Configured Proxy
    Insight WPAD proxy settings on IE
    Please take a look to see if they could help here.
    Best regards
    Michael Shao
    TechNet Community Support

  • What is the -k option for of the Ping utility in OS X?

      Hi,
    May I know what is the -k option for of the Ping utility in OS X? It doesn't seem to be a ICMP protocol standards-relates.
    Below is the description of this option copied from Yosemite.
    -k trafficlass
                 Specifies the traffic class to use for sending ICMP packets.  The
                 supported traffic classes are BK_SYS, BK, BE, RD, OAM, AV, RV,
                 VI, VO and CTL.  By default ping uses the control traffic class
                 (CTL).
    Thank you!

    These are low-level bits defined in the kernel's IPv6 support code.
    Here is the first reference I could find that actually says what some of them are: https://github.com/darwin-on-arm/xnu/blob/master/bsd/sys/kpi_mbuf.h
    Search for "MBUF_TC_BE"

  • Error code 28773 was returned by the Audio driver.

    After the Mountain Lion update on my mac, whenever I launch the GarageBand'09, I experience this Error Message : Error code 28773 was returned by the Audio driver.
    It only has Continue as an option, so, I click on this "Continue" option, click on "Loop" option, click on any sound, for example Bass then click anything under the Bass option, this same error message pops up.
    Please, someone help me out.
    This is my email : [email protected] if you want to reach me via email.

    Do you have any device drivers installed, for example Digi Design Audio Interface?
    Make sure you have the latest versions of all audio drivers; you need sandboxed, 64-bit versions to run with Mountain Lion. Look at the web site of the manufacturer of your interface if there are newer drivers.
    Regards
    Léonie

  • Do we have the option to unwrap the code(PL/SQL)

    Hi All,
    Do we have any option to upwrap the wraped PL/SQL Code.
    Regards
    Bond.

    user2481227 wrote:
    I thought the main purpose of wrapping code was to "secure intellectual property written in pl/sql". And in my opinion there should be a way to do that.That is a true statement, but your definition of "secure" may differ from others.
    If you deliver intellectual property to a customer that gets installed on a customer's servers, there is realistically no (technical) way to prevent the customer from reverse-engineering the code. Every language can be decompiled-- if the operating system or the database or some other piece of software can run the code, some other piece of software must necessarily be able to translate it back into source code. Doesn't matter whether it is C, PL/SQL, Java, or anything else-- you're always going to be able to decompile the code. Wrapping the code creates additional hoops that the customer has to jump through in order to view the source, which acts as a barrier against casual snooping, but a moderately determined person will always be able to get back to your source (or at least something functionally identical to your source).
    That said, how useful is code without comments going to be (and what version of Oracle are we talking about, since the wrap utility's algorithm was substantially strengthened in 10g)? If you really have intellectual property worth protecting, it probably isn't going to be hugely beneficial to someone to see tens of thousands of lines of code without comments. 9 times out of 10, in my experience primarily working for clients that purchase large, specialized applications, code obfuscation ends up annoying good customers (i.e. those that want to play by the rules) by making it harder to interoperate with the product they've purchased while providing little barrier to moderately determined hackers, so you may want to reconsider the requirement.
    If you're really concerned about protecting the code, one alternative option might be to play around with native compilation. I haven't looked, but I strongly suspect that variable names at least are going to be changed when Oracle generates the C code or the C compiler compiles it. Of course, there are plenty of C decompilers floating around, but then you'd be in basically the same situation that you'd be if you shipped an executable to the client.
    Justin

  • Option code 66 and 67 in DHCP

    Hi Everybody,
    I am configuring DHCP for the option codes 66(TFTP server) and 67(Boot file), But when I snoop the DHCP requests, I am not sure if DHCP client is getting these options are not. Below is the snoop ouput. Can you please tell me whether client is getting these options or not.
    DHCP: ----- (Options) field options -----
    DHCP:
    DHCP: Message type = DHCPREQUEST
    DHCP: Requested IP Address = 10.0.6.70
    DHCP: IP Address Lease Time = -1 seconds
    DHCP: Maximum DHCP Message Size = 1472 bytes
    DHCP: Client Class Identifier = "SUNW.Sun-Fire-V240"
    DHCP: Requested Options:
    DHCP: 1 (Subnet Mask)
    DHCP: 3 (Router)
    DHCP: 6 (DNS Servers)
    DHCP: 12 (Client Hostname)
    DHCP: 15 (DNS Domain Name)
    DHCP: 28 (Broadcast Address)
    DHCP: 43 (Vendor Specific Options)
    DHCP: 66 (TFTP Server Name)
    DHCP: 67 (Option BootFile Name)
    DHCP: ----- (Options) field options -----
    DHCP:
    DHCP: Message type = DHCPACK
    DHCP: DHCP Server Identifier = 10.0.6.2
    DHCP: NIS Domainname = atrcus588.athtem.eei.ericsson.se
    DHCP: NIS Servers at = 10.0.6.2
    DHCP: DNS Domain Name = athtem.eei.ericsson.se
    DHCP: Broadcast Address = 10.0.6.127
    DHCP: Subnet Mask = 255.255.255.192
    DHCP: Router at = 10.0.6.65
    DHCP: IP Address Lease Time = -1 seconds
    DHCP: Client Hostname = atrcus629
    DHCP: Vendor-specific Options (157 total octets):
    DHCP: (07) 35 octets "/platform/sun4u/kernel/sparcv9/unix"
    DHCP: (12) 26 octets "/jumpstart/solaris10_image"
    DHCP: (11) 13 octets "masterservice"
    DHCP: (10) 04 octets 0x0A 0x00 0x06 0x02 (unprintable)
    DHCP: (04) 48 octets "/jumpstart/solaris10_image/Solaris_10/Tools/Boot"
    DHCP: (03) 13 octets "masterservice"
    DHCP: (02) 04 octets 0x0A 0x00 0x06 0x02 (unprintable)
    DHCP: Boot File Name = 010003BA875A61
    0: 0010 dbdd e3b5 0014 4f71 2d92 0800 4500 ........Oq-...E.
    16: 0218 d8eb 4000 ff11 0000 0a00 0602 0a00 ..\330.@...........
    32: 0641 0043 0043 0204 0000 0201 0600 46bd .A.C.C........F.
    48: 589f 0000 0000 0000 0000 0a00 0646 0a00 X............F..
    64: 0602 0a00 0641 0003 ba87 5a61 0000 0000 .....A....Za....
    80: 0000 0000 0000 0000 0000 0000 0000 0000 ................
    96: 0000 0000 0000 0000 0000 0000 0000 0000 ................
    112: 0000 0000 0000 0000 0000 0000 0000 0000 ................
    128: 0000 0000 0000 0000 0000 0000 0000 0000 ................
    144: 0000 0000 0000 3031 3030 3033 4241 3837 ......010003BA87
    160: 3541 3631 0000 0000 0000 0000 0000 0000 5A61............
    176: 0000 0000 0000 0000 0000 0000 0000 0000 ................
    192: 0000 0000 0000 0000 0000 0000 0000 0000 ................
    208: 0000 0000 0000 0000 0000 0000 0000 0000 ................
    224: 0000 0000 0000 0000 0000 0000 0000 0000 ................
    240: 0000 0000 0000 0000 0000 0000 0000 0000 ................
    256: 0000 0000 0000 0000 0000 0000 0000 0000 ................
    272: 0000 0000 0000 6382 5363 3501 0536 040a ......c.Sc5..6..
    288: 0006 0228 2061 7472 6375 7335 3838 2e61 ...( atrcus588.a
    304: 7468 7465 6d2e 6565 692e 6572 6963 7373 thtem.eei.ericss
    320: 6f6e 2e73 6529 040a 0006 020f 1661 7468 on.se).......ath
    336: 7465 6d2e 6565 692e 6572 6963 7373 6f6e tem.eei.ericsson
    352: 2e73 651c 040a 0006 7f01 04ff ffff c003 .se.............
    368: 040a 0006 4133 04ff ffff ff0c 0961 7472 ....A3.......atr
    384: 6375 7336 3239 2b9d 0723 2f70 6c61 7466 cus629+\235.#/platf
    400: 6f72 6d2f 7375 6e34 752f 6b65 726e 656c orm/sun4u/kernel
    416: 2f73 7061 7263 7639 2f75 6e69 780c 1a2f /sparcv9/unix../
    432: 6a75 6d70 7374 6172 742f 736f 6c61 7269 jumpstart/solari
    448: 7331 305f 696d 6167 650b 0d6d 6173 7465 s10_image..maste
    464: 7273 6572 7669 6365 0a04 0a00 0602 0430 rservice.......0
    480: 2f6a 756d 7073 7461 7274 2f73 6f6c 6172 /jumpstart/solar
    496: 6973 3130 5f69 6d61 6765 2f53 6f6c 6172 is10_image/Solar
    512: 6973 5f31 302f 546f 6f6c 732f 426f 6f74 is_10/Tools/Boot
    528: 030d 6d61 7374 6572 7365 7276 6963 6502 ..masterservice.
    544: 040a 0006 02ff ......
    Thanks Inadvance,
    Yogendra.

    Hi Everybody,
    I am configuring DHCP for the option codes 66(TFTP server) and 67(Boot file), But when I snoop the DHCP requests, I am not sure if DHCP client is getting these options are not. Below is the snoop ouput. Can you please tell me whether client is getting these options or not.
    DHCP: ----- (Options) field options -----
    DHCP:
    DHCP: Message type = DHCPREQUEST
    DHCP: Requested IP Address = 10.0.6.70
    DHCP: IP Address Lease Time = -1 seconds
    DHCP: Maximum DHCP Message Size = 1472 bytes
    DHCP: Client Class Identifier = "SUNW.Sun-Fire-V240"
    DHCP: Requested Options:
    DHCP: 1 (Subnet Mask)
    DHCP: 3 (Router)
    DHCP: 6 (DNS Servers)
    DHCP: 12 (Client Hostname)
    DHCP: 15 (DNS Domain Name)
    DHCP: 28 (Broadcast Address)
    DHCP: 43 (Vendor Specific Options)
    DHCP: 66 (TFTP Server Name)
    DHCP: 67 (Option BootFile Name)
    DHCP: ----- (Options) field options -----
    DHCP:
    DHCP: Message type = DHCPACK
    DHCP: DHCP Server Identifier = 10.0.6.2
    DHCP: NIS Domainname = atrcus588.athtem.eei.ericsson.se
    DHCP: NIS Servers at = 10.0.6.2
    DHCP: DNS Domain Name = athtem.eei.ericsson.se
    DHCP: Broadcast Address = 10.0.6.127
    DHCP: Subnet Mask = 255.255.255.192
    DHCP: Router at = 10.0.6.65
    DHCP: IP Address Lease Time = -1 seconds
    DHCP: Client Hostname = atrcus629
    DHCP: Vendor-specific Options (157 total octets):
    DHCP: (07) 35 octets "/platform/sun4u/kernel/sparcv9/unix"
    DHCP: (12) 26 octets "/jumpstart/solaris10_image"
    DHCP: (11) 13 octets "masterservice"
    DHCP: (10) 04 octets 0x0A 0x00 0x06 0x02 (unprintable)
    DHCP: (04) 48 octets "/jumpstart/solaris10_image/Solaris_10/Tools/Boot"
    DHCP: (03) 13 octets "masterservice"
    DHCP: (02) 04 octets 0x0A 0x00 0x06 0x02 (unprintable)
    DHCP: Boot File Name = 010003BA875A61
    0: 0010 dbdd e3b5 0014 4f71 2d92 0800 4500 ........Oq-...E.
    16: 0218 d8eb 4000 ff11 0000 0a00 0602 0a00 ..\330.@...........
    32: 0641 0043 0043 0204 0000 0201 0600 46bd .A.C.C........F.
    48: 589f 0000 0000 0000 0000 0a00 0646 0a00 X............F..
    64: 0602 0a00 0641 0003 ba87 5a61 0000 0000 .....A....Za....
    80: 0000 0000 0000 0000 0000 0000 0000 0000 ................
    96: 0000 0000 0000 0000 0000 0000 0000 0000 ................
    112: 0000 0000 0000 0000 0000 0000 0000 0000 ................
    128: 0000 0000 0000 0000 0000 0000 0000 0000 ................
    144: 0000 0000 0000 3031 3030 3033 4241 3837 ......010003BA87
    160: 3541 3631 0000 0000 0000 0000 0000 0000 5A61............
    176: 0000 0000 0000 0000 0000 0000 0000 0000 ................
    192: 0000 0000 0000 0000 0000 0000 0000 0000 ................
    208: 0000 0000 0000 0000 0000 0000 0000 0000 ................
    224: 0000 0000 0000 0000 0000 0000 0000 0000 ................
    240: 0000 0000 0000 0000 0000 0000 0000 0000 ................
    256: 0000 0000 0000 0000 0000 0000 0000 0000 ................
    272: 0000 0000 0000 6382 5363 3501 0536 040a ......c.Sc5..6..
    288: 0006 0228 2061 7472 6375 7335 3838 2e61 ...( atrcus588.a
    304: 7468 7465 6d2e 6565 692e 6572 6963 7373 thtem.eei.ericss
    320: 6f6e 2e73 6529 040a 0006 020f 1661 7468 on.se).......ath
    336: 7465 6d2e 6565 692e 6572 6963 7373 6f6e tem.eei.ericsson
    352: 2e73 651c 040a 0006 7f01 04ff ffff c003 .se.............
    368: 040a 0006 4133 04ff ffff ff0c 0961 7472 ....A3.......atr
    384: 6375 7336 3239 2b9d 0723 2f70 6c61 7466 cus629+\235.#/platf
    400: 6f72 6d2f 7375 6e34 752f 6b65 726e 656c orm/sun4u/kernel
    416: 2f73 7061 7263 7639 2f75 6e69 780c 1a2f /sparcv9/unix../
    432: 6a75 6d70 7374 6172 742f 736f 6c61 7269 jumpstart/solari
    448: 7331 305f 696d 6167 650b 0d6d 6173 7465 s10_image..maste
    464: 7273 6572 7669 6365 0a04 0a00 0602 0430 rservice.......0
    480: 2f6a 756d 7073 7461 7274 2f73 6f6c 6172 /jumpstart/solar
    496: 6973 3130 5f69 6d61 6765 2f53 6f6c 6172 is10_image/Solar
    512: 6973 5f31 302f 546f 6f6c 732f 426f 6f74 is_10/Tools/Boot
    528: 030d 6d61 7374 6572 7365 7276 6963 6502 ..masterservice.
    544: 040a 0006 02ff ......
    Thanks Inadvance,
    Yogendra.

  • Return Code of the Tag applet /applet

    Does someone has deal with return code in the applet tag
    <applet codebase="http://10.15.1.26/printcndconjunta/"
         code="AppletHTMLPrint.class" width=710 height=500 id=Applet1 VIEWASTEXT>
    <param name="ConectionLink" value=<%=ConnectionString%>>
    </applet>
    Example : AppletHTMLPrint.class return 1 with someone used exit options.
    In resume , I want to close my HTML page (ASP one) after finished using my Applet, the way is going now it does not close the page
    where the applet was running after applet exit.

    If you Google for "applet javascript communications" you will be able to find out how to make the applet call a Javascript function which could in turn close the window.

  • In the previous version, the menu table in table options, there is an option that gives me the option: the Return key moves to next cell. I do not see this option in the new number. can you help me please?

    in the previous version  of Number, the menu table in table options, there is an option that gives me the option: the Return key moves to next cell. I do not see this option in the new number. can you help me please?

    Hi silvano,
    If you use a regular pattern when entering values, press enter (return) after entering the last value in a row. That will take you to the first Body Cell of the next row.
    Start in Cell B2
    1 Tab 2 Tab 3 Enter
    4 Tab 5 Tab 6 Enter
    7 Tab 8 Tab 9 Enter
    Now you are ready to type into B5 .
    Another way that some people find easier is to enter one column at a time
    Start at B2
    1 enter
    4 enter
    7 enter
    etc.
    Now start with C2.
    Use whatever suits your work flow.
    Regards,
    Ian.

  • Job scheduling error : The return value was unknown. The process exit code was -1073741819. The step failed.

    I am working in Sqlserver 2008 R2, SSIS 64 bit version
    I am getting the below  error while scheduling the job in the development server  Database. 
    The return value was unknown.  The process exit code was -1073741819.  The step failed.
    The SSIS front end execution runs fine.
    Have anyone  faced this issue before?

    Hi Venkat,
    If you already changed to 64bit and still doesn't work then create proxy account.. 
    To create a proxy account
    In Object Explorer, expand a server.
    Expand SQL Server Agent.
    Right-click Proxies and select New Proxy.
    On the General page of the New Proxy Account dialog, specify the proxy name, credential name, and
    description for the new proxy. Note that you must create a credential first before you create a proxy if one is not already available. For more information about creating a credential, see How
    to: Create a Credential (SQL Server Management Studio) or CREATE CREDENTIAL (Transact-SQL).
    Check the appropriate subsystem for this proxy.
    On the Principals page, add or remove logins or roles to grant or remove access to the proxy account.
    Thanks

  • How can we know the return code of BDC Program ?

    Hi All,
    Please tell me : How can we know the return code of BDC Program when being exceuted in Session or in Transaction mode.
    In my program, we are uploading data from Excel sheet to SAP via BDC
    The records that are not updated we want to create a log file.
    Now to know whether a record is updated ot not, wat syst field shloud be used?
    Its urgent....
    <b>Reward Point will be there ....</b>
    Thanks,
    Harish

    Hi harish,
    try the logic in this code ...
    i had attached input file in the end.
    TYPES: begin of errmess,
            msgnr type t100-msgnr,
            text type t100-text,
           end of errmess.
    TABLES : t100.
    DATA: BEGIN OF DD_VA01,
           AUART TYPE VBAK-AUART,
           KUNNR TYPE RV45A-KUNNR,
           BSTKD TYPE VBKD-BSTKD,
           MABNR TYPE RV45A-MABNR,
           KWMENG(2) type C,
           KBETR(2) type C,
          END OF DD_VA01.
    DATA:IT_VA01     Like TABLE OF DD_VA01,
         WA_VA01     Like LINE  OF IT_VA01,
         WA_VA01_F   Like LINE  OF IT_VA01,
         IT_BDCDATA  TYPE TABLE OF BDCDATA,
         WA_BDCDATA  Like Line  OF IT_BDCDATA,
         W_FNAME     TYPE STRING,
         messtab like bdcmsgcoll occurs 0 with header line,
         it_errmess type table of errmess,
         wa_errmess like line of it_errmess,
         err_message type string.
    data: zf1 type i,
          zc1 type c value '2',
          fn(20) type c.
    Main Code ************************************************************
    PERFORM get_input using 'C:\Documents and Settings\ic881592\Desktop\Daran_bdc_VA01-e.txt'.
    SORT IT_VA01 BY AUART KUNNR BSTKD.
    LOOP AT IT_VA01 INTO WA_VA01.
      if WA_VA01_F-AUART <> WA_VA01-AUART OR
         WA_VA01_F-KUNNR <> WA_VA01-KUNNR OR
         WA_VA01_F-BSTKD <> WA_VA01-BSTKD.
           PERFORM set_header_flag.
           PERFORM create_bdc_header_data.
      endif.
      PERFORM create_bdc_item_data.
    ENDLOOP.
    PERFORM call_transaction.
    PERFORM errorlog.
    Procedures ***********************************************************
    form get_input using w_fname.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          FILENAME            = W_FNAME
          HAS_FIELD_SEPARATOR = '#'
        TABLES
          DATA_TAB            = IT_VA01.
    endform.
    form call_transaction.
        PERFORM bdc_field       using 'BDC_OKCODE' '/11'.
        CALL TRANSACTION 'VA01' USING IT_BDCDATA MODE 'A' messages into messtab.
        refresh it_bdcdata.
    endform.
    FORM set_header_flag.
           WA_VA01_F-AUART = WA_VA01-AUART.
           WA_VA01_F-KUNNR = WA_VA01-KUNNR.
           WA_VA01_F-BSTKD = WA_VA01-BSTKD.
           if zf1 = 1.
               PERFORM call_transaction.
           endif.
           zf1 = 1.
    endform.   "set_header_flag.
    form create_bdc_header_data.
         perform bdc_dynpro      using 'SAPMV45A' '0101'.
         perform bdc_field       using 'VBAK-AUART' WA_VA01-AUART.
         perform bdc_field       using 'BDC_OKCODE' '/00'.
         perform bdc_dynpro      using 'SAPMV45A' '4001'.
         perform bdc_field       using 'KUAGV-KUNNR' WA_VA01-KUNNR.
         perform bdc_field       using 'VBKD-BSTKD' WA_VA01-BSTKD.
         perform bdc_field       using 'BDC_OKCODE' '/00'.
         perform bdc_dynpro      using 'SAPMSSY0' '0120'.
         perform bdc_field       using 'BDC_CURSOR' '04/06'.
         perform bdc_field       using 'BDC_OKCODE' '=CHOO'.
         perform bdc_dynpro      using 'SAPMV45A' '4001'.
         PERFORM bdc_field       USING 'BDC_OKCODE' '=POAN'.
    endform. "create_bdcdata
    FORM create_bdc_item_data.
         CONCATENATE 'RV45A-KWMENG(' zc1 ')' INTO FN.
         perform bdc_field       using 'BDC_CURSOR' FN.
         perform bdc_field       using FN WA_VA01-KWMENG.
         CONCATENATE 'KOMV-KBETR(' zc1 ')' INTO FN.
         perform bdc_field       using FN WA_VA01-KBETR.
         CONCATENATE 'RV45A-MABNR(' zc1 ')' INTO FN.
         perform bdc_field       using FN WA_VA01-MABNR.
         perform bdc_dynpro      using 'SAPMV45A' '4001'.
         PERFORM bdc_field       USING 'BDC_OKCODE' '=POAN'.
    ENDFORM.
    form errorlog.
      LOOP AT MESSTAB .
        if MESSTAB-MSGNR = '311' or MESSTAB-MSGTYP = 'E'.
            SELECT SINGLE msgnr text FROM T100
                            into wa_errmess
                            WHERE SPRSL = MESSTAB-MSGSPRA
                              AND ARBGB = MESSTAB-MSGID
                              AND MSGNR = MESSTAB-MSGNR.
            IF SY-SUBRC = 0.
              err_message = wa_errmess-TEXT.
              IF err_message CS '&1'.
                REPLACE '&1' WITH MESSTAB-MSGV1 INTO err_message.
                REPLACE '&2' WITH MESSTAB-MSGV2 INTO err_message.
                REPLACE '&3' WITH MESSTAB-MSGV3 INTO err_message.
                REPLACE '&4' WITH MESSTAB-MSGV4 INTO err_message.
              ELSE.
                REPLACE '&' WITH MESSTAB-MSGV1 INTO err_message.
                REPLACE '&' WITH MESSTAB-MSGV2 INTO err_message.
                REPLACE '&' WITH MESSTAB-MSGV3 INTO err_message.
                REPLACE '&' WITH MESSTAB-MSGV4 INTO err_message.
              ENDIF.
              CONDENSE err_message.
              WRITE: / MESSTAB-MSGTYP, err_message .
            ELSE.
              WRITE: / MESSTAB.
            ENDIF.
        endif.
      ENDLOOP.
    endform. "errorlog
    FORM BDC_DYNPRO USING PROGRAM DYNPRO.
      WA_BDCDATA-PROGRAM  = PROGRAM.
      WA_BDCDATA-DYNPRO   = DYNPRO.
      WA_BDCDATA-DYNBEGIN = 'X'.
      APPEND WA_BDCDATA TO IT_BDCDATA.
      CLEAR  WA_BDCDATA.
    ENDFORM.
    FORM BDC_FIELD USING FNAM FVAL.
      WA_BDCDATA-FNAM = FNAM.
      WA_BDCDATA-FVAL = FVAL.
      APPEND WA_BDCDATA TO IT_BDCDATA.
      CLEAR  WA_BDCDATA.
    ENDFORM.
    input file :
    OR     2148     0001235     R-1162     8     17
    OR     2148     0001235     R-1161     2     30
    OR     2148     0001235     100-400     6     25
    OR     2148     0001235     R-1162     4     12
    OR     2148     0001236     R-1162     3     12
    OR     2148     0001236     R-1161     2     30
    OR     2148     0001236     100-400     1     25
    OR     2148     0001236     R-1162     7     12
    OR     2148     0001236     R-1161     8     30
    OR     2148     0001236     100-400     10     25
    OR     2148     0001235     R-1161     5     30
    OR     2148     0001235     100-400     2     25
    OR     2148     0001235     R-11621     3     12
    OR     2148     0001235     R-1161     2     30
    OR     2148     0001235     100-400     1     25
    OR     2148     0001235     R-1162     7     12
    OR     2148     0001235     R-1161     8     30
    OR     2148     0001235     100-400     10     25
    OR     2148     0001236     R-1162     8     17
    OR     2148     0001236     R-1161     2     30
    OR     2148     0001236     100-400     6     25
    OR     2148     0001236     R-1162     4     12
    OR     2148     0001236     R-1161     5     30
    OR     2148     0001236     100-400     2     25

  • Hey. I have received an iTunes gift card, so I was all excited, punching the code into the "redeem" option on iTunes on my iPad2; however, I kept on getting the alert, "This is not recognised as a valid code". It is very legible, though. How come?

    Hey. I have received an iTunes gift card, so I was all excited, punching the code into the "redeem" option on iTunes on my iPad2; however, I kept on getting the alert, "This is not recognised as a valid code". It is very legible, though. How come?

    The obvious answer I think is that maybe you are not entering the letters and numbers correctly. I almost never get it right the first time when I use a gift card.
    Try entering the code again - slowly and methodically. If it still doesn't work - look here for help.
    http://support.apple.com/kb/TS1292
    One final thought - if you are using a gift card that was purchased in another country - say like you have a Canada gift card and you live in the U.S. - that card will not work in the U.S. iTunes store.

Maybe you are looking for