Interfacing with Solaris IP/ICMP and ARP

Hi,
I am writing a sample driver that interfaces with Solaris IP, ARP and ICMP.
1. I want to get the routing table information from IP from kernel. Is it possible via some standard interfacing?
2. I want to get the ARP entries from ARP cache or send arp requests .
3. I want the ICMP module to generate some error messages
Can these be achieved from the kernel?
Any info in this topic would be of great help.
Thanks,
Amudha

What was the solution?
I am trying to intercept arp send/replies
on the standard ethernet driver. Is this possible?
Perhaps you can help me with some code.

Similar Messages

  • Interfacing with C API/SDK and other questions

    Please be patient with me, I am new at Java and J2me....
    1. What are the limitations in using J2me v 2 in writing apps (non games for a mobile device?
    2. Can J2me interface with C APIs/SDKs Is there a JNI for J2me?
    3. What Functions are available for J2me. I saw some infor. in the forum about API for SMS.
    Thanks

    Thanks for the reply, I looked at the site, but could not find information with regards to interfacing with C, i.e. for example JNI for J2ME. Can you point me to the specific section or sections. Best regards

  • Dual boot with Solaris 8.0 and Windows 98

    I am interested in Setting up my pc with with a Dual boot of Solaris 8 and Windows 98. I have a 60 GB hard drive that I am going to make two 30 GB primary Partitions on this hard dive. One with Windows 98 and one with Solaris 8 Intel Platform version. The question that I have, Is this particular Setup doable? And if so can you tell me what order they have to be installed and what partition software I should use for this procedure. Also if i missing procedure please be very detailed in explaining this to me. I read the message board was confused.
    If need be please email me at [email protected]

    Hey, goto http://math.uwb.edu.pl/~mariusz/dualboot/ and that will answer all your dual boot questions ?
    i2l2

  • Intel network interface with Solaris 10 x86

    Hi,
    I have been Googling all evening to try and find a solution to this, but here is the problem:
    I have a PC built around an Asus P4C800-E system board, and I have Solaris 10 x86 01/2006 installed. I would like to get the Ethernet interface (Intel adaptor, running on a CSA bus) up and running - but for some reason I can't seem to get the driver to bind to the proper address (pci8086,1019 - from what I have been able to find out): It instead insists on binding to pci1043,80f7. Even though pci8086,1019 is listed in /etc/device_aliases, it won't play nice.
    I know the NIC is working, and have tried it under other OSes (including Linux).
    Although Solaris x86 "sees" something there, and the interface is plumbed (it can even tell when the network link is up or down), I can't get the interface to work - pings do not work, etc.
    Is there a way I can convince the driver to bind to pci8086,1019 instead of pci1043,80f7?
    Any assistance would be greatly appreciated.
    Joovilhar.

    <table border="0" align="center" width="90%" cellpadding="3" cellspacing="1"><tr><td class="SmallText"><b>Joovilhar wrote on Wed, 08 March 2006 02:14</b></td></tr><tr><td class="quote">
    I can't seem to get the driver to bind to the proper address (pci8086,1019 - from what I have been able to find out): It instead insists on binding to pci1043,80f7. Even though pci8086,1019 is listed in /etc/device_aliases, it won't play nice.
    </td></tr></table>
    Is 1043,80f7 the device's pci subsystem vendor and subsystem device id?
    And 8086,1019 is the normal vendor/device id?
    In this case everything would work as expected.
    What is listed by "/usr/X11/bin/scanpci -v" for the ethernet controller?
    <table border="0" align="center" width="90%" cellpadding="3" cellspacing="1"><tr><td class="SmallText"><b>Quote:</b></td></tr><tr><td class="quote">
    I know the NIC is working, and have tried it under other OSes (including Linux).
    Although Solaris x86 "sees" something there, and the interface is plumbed (it can even tell when the network link is up or down), I can't get the interface to work - pings do not work, etc.
    </td></tr></table>
    Try to boot the kernel with various settings of the "acpi-user-options" variable,
    to disable / enable ACPI. In previous Solaris x86 releases, when
    something went wrong configuring an interrupt vector for a nic device,
    the typical end result is a nic that is unable to receive incomming
    packets. Maybe your Asus P4C800-E is still problematic with ACPI, with
    S10 x86 1/2006, and needs the acpi-user-options workaround.
    http://blogs.sun.com/roller/page/danasblog?anchor=configurin g_solaris_acpi_at_boot
    To change the "acpi-user-options" variable, edit the grub boot command
    line and edit the "multiboot" line, e.g. append "-Bacpi-user-options=0x2".

  • Do I need a router to interface with my wireless laptop and printer, or can booth tooth.

    Im having a problem interfacing the HP B210 all in one wireless printer to my ASUS wireless Laptop. Do I need a router or can I some hoe make the wireless connection using my blue tooth on my laptop. Please help.

    Well, the printer does not have bluetooth so that will not work.
    However, you can connect to it directly via wi-fi on your laptop.  From the front of the printer go to: Setup > Network > Restore Network Defaults.
    Now, on your PC, look for a wireless network beginning with "HP".  Join it.  There is no password.
    Now, go to Control Panel > Printers and Add a Printer.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • Monitoring RAID with Solaris 10 x86 and Dell PowerEdge 2650 PERC 3/Di

    Hello,
    I have a PowerEdge 2650 with the PERC 3/Di RAID controller.
    The OS installed is Solaris 10 8/07 U4.
    Currently RAID is configured through the BIOS and it works fine, but I have no way to monitor the status of the drives.
    Is there a command to show me the status of the drives? Drivers I need to install?
    TIA,
    Chris

    I'm just now starting to delve into the X86 servers, and I am not a fan of hardware RAID in general, but on the SPARC side, you would use 'raidctl' to interact with hardware RAID environments.

  • I was recording with a usb mic then i got a audio interface with mic plug ins and i cant get the mic to rec. or even make sound on garageband... help me please

    how can i get my microphone to be detected through my midi device and have garageband be able to pick up the signal so i can record....please help me

    Hi there,
    Perhaps this will help with your problem. I assume that you connected your interface to USB input in your computer. Now, if the connection is correct and this interface is compatible with your computer, your computer will recognize it and accept it so to speak. In my case, when I connected APOGEE duet interface for the first time to my computer, the message window appeared on the screen asking if I want to use this device as input and output. But even though I clicked on "yes", I still had to do necessary adjustment in GarageBand (GB). If after connecting your device there isn't any message on the screen of your computer, go to System Preferences on the dock, open it, click on Speaker (sound) icon and see if the name of your device is there. If everything is OK, it should be there under input and output. Assuming that it's there, open GB, choose any project that you already have, if you don't have anything yet, create a new one. You don't have to record anything at this time. So after you open any project, click on GarageBand on menu bar in upper left corner of your screen, then click on Preferences, then on Audio/MIDI right after General. When you open Audio/MIDI you'll see two "windows", one for audio output, other for audio input. When you click on these little black arrows in both "windows" you should see your interface listed there, if it's there, choose it as input and output. Now you're set and ready to go. If you have MIDI device connected to your computer it'll also show there. For example, 0 MIDI Input(s) detected if you don't have any devices connected, or 1, or 2 MIDI Input(s) detected and so on. Hope this will help.
    Cheers!

  • Thread Problems with Solaris 2.7 and Java 1.3

    Hi,
    we are deploying a Java distributed application, based on JAVA 1.3, on a SOLARIS 2.7 system and we are meeting some problems with threads.
    This application uses a distribuite computing based on ORBIX 2000 environment and creates more than 40 threads.
    Sometimes happens that one or more threads ( consider that all the threads have the same priority) are no more scheduled even tought they have some work to do into the local queue.
    We have tested the application on a NT system and the problem does not appears.
    Do you have some suggestion ?
    PS: Note that all the other threads work well and it seems that the problem is not related to a Orbix method.
    Thanks
    Roberto

    It crashed 3 seconds after it is running. Should be reading some jar file.
    Could be a something corrupted a zip file or something. Can you still do a java -version? You may want to try reinstalling 1.4.2_07

  • Compile errors with Solaris 5.8 and Studio 11 with latest patches

    I asked sa to patch my studio 11, and they applied patches 121023-04, 121015-04, 121017-08, 122142-03, 120761-03, 120760-11 and 122135-02. Then, I compiled my boost_1_33_1 again. It built some, but not all libraries. It stil spit out the following errors. Is this expected?
    "/home/vcheng/boost_1_33_1/libs/filesystem/build/../src/operations_posix_windows.cpp", line 126: Error: readdir_r is not a member of file level.
    ...failed sunpro-C++-action build_sunos/bin/boost/libs/filesystem/build/libboost_filesystem.a/sunpro/debug/operations_posix_windows.o...
    sunpro-C++-action build_sunos/bin/boost/libs/wave/build/libboost_wave.a/sunpro/debug/instantiate_cpp_exprgrammar.o
    "/home/vcheng/boost_1_33_1/boost/spirit/core/composite/epsilon.hpp", line 76: Error: complex expression not allowed in dependent template argument expression.
    "/home/vcheng/boost_1_33_1/boost/iostreams/device/file_descriptor.hpp", line 79: Warning: close_on_exit hides boost::iostreams::file_descriptor::impl::close_on_exit.
    1 Warning(s) detected.
    "/home/vcheng/boost_1_33_1/libs/iostreams/build/../src/bzip2.cpp", line 42: Error: BZ_CONFIG_ERROR is not defined.
    "/home/vcheng/boost_1_33_1/libs/iostreams/build/../src/bzip2.cpp", line 106: Error: The function "BZ2_bzCompressEnd" must have a prototype.
    "/home/vcheng/boost_1_33_1/libs/iostreams/build/../src/bzip2.cpp", line 107: Error: The function "BZ2_bzDecompressEnd" must have a prototype.
    "/home/vcheng/boost_1_33_1/libs/iostreams/build/../src/bzip2.cpp", line 113: Error: The function "BZ2_bzCompress" must have a prototype.
    "/home/vcheng/boost_1_33_1/libs/iostreams/build/../src/bzip2.cpp", line 118: Error: The function "BZ2_bzDecompress" must have a prototype.
    "/home/vcheng/boost_1_33_1/libs/iostreams/build/../src/bzip2.cpp", line 143: Error: The function "BZ2_bzCompressInit" must have a prototype.
    "/home/vcheng/boost_1_33_1/libs/iostreams/build/../src/bzip2.cpp", line 147: Error: The function "BZ2_bzDecompressInit" must have a prototype.
    "/home/vcheng/boost_1_33_1/libs/program_options/build/../src/cmdline.cpp", line 97: Warning: args hides boost::program_options::detail::cmdline::args.
    "/home/vcheng/boost_1_33_1/libs/program_options/build/../src/cmdline.cpp", line 100: Warning: args hides boost::program_options::detail::cmdline::args.
    "/home/vcheng/boost_1_33_1/libs/program_options/build/../src/cmdline.cpp", line 110: Warning: args hides boost::program_options::detail::cmdline::args.
    "/home/vcheng/boost_1_33_1/libs/program_options/build/../src/cmdline.cpp", line 349: Warning: args hides boost::program_options::detail::cmdline::args.
    "/home/vcheng/boost_1_33_1/libs/program_options/build/../src/cmdline.cpp", line 383: Warning: args hides boost::program_options::detail::cmdline::args.
    "/home/vcheng/boost_1_33_1/libs/program_options/build/../src/cmdline.cpp", line 437: Warning: args hides boost::program_options::detail::cmdline::args.
    "/home/vcheng/boost_1_33_1/libs/program_options/build/../src/cmdline.cpp", line 458: Warning: args hides boost::program_options::detail::cmdline::args.
    "/home/vcheng/boost_1_33_1/libs/program_options/build/../src/cmdline.cpp", line 477: Warning: args hides boost::program_options::detail::cmdline::args.
    "/home/vcheng/boost_1_33_1/libs/program_options/build/../src/cmdline.cpp", line 495: Warning: args hides boost::program_options::detail::cmdline::args.
    "/home/vcheng/boost_1_33_1/libs/program_options/build/../src/config_file.cpp", line 35: Warning: allowed_options hides boost::program_options::detail::common_config_file_iterator::allowed_options.
    "/home/vcheng/boost_1_33_1/libs/program_options/build/../src/options_description.cpp", line 311: Error: Could not find a match for std::count<std::InputIterator, std::T, std::Size>(char*, char*, char) needed in::format_paragraph(std::ostream &, std::string, unsigned, unsigned).
    "/home/vcheng/boost_1_33_1/libs/program_options/build/../src/options_description.cpp", line 378: Error: Too few arguments for template std::reverse_iterator.
    "/.automount/opt/Forte/sunstudio11_patch1/SUNWspro/prod/include/CC/Cstd/rw/iterator", line 432: Error: "friend" declaration is incompatible with function template.
    "/home/vcheng/boost_1_33_1/libs/program_options/build/../src/options_description.cpp", line 378: Where: While specializing "std::reverse_iterator<const char*>".
    "/home/vcheng/boost_1_33_1/libs/program_options/build/../src/options_description.cpp", line 378: Where: Specialized in non-template code.
    "/home/vcheng/boost_1_33_1/libs/program_options/build/../src/options_description.cpp", line 379: Error: Too few arguments for template std::reverse_iterator.
    "/home/vcheng/boost_1_33_1/libs/program_options/build/../src/options_description.cpp", line 387: Error: Could not find a match for std::distance<std::ForwardIterator, std::Distance>(const char*, const char*) needed in::format_paragraph(std::ostream &, std::string, unsigned, unsigned).

    You can take Boost 1.34 but you have to use CVS and you have to modify Boost configuration files to use -library=stlport4 option.
    Or you can take Boost 1.32, read this article http://blogs.sun.com/roller/page/sga?entry=boost_mini_howto and apply this patch http://blogs.sun.com/roller/resources/sga/boost_1_32_0.patch.
    As you can see here http://engineering.meta-comm.com/boost-regression/CVS-RC_1_34_0/developer/summary.html Sun C++ is in a good shape.

  • Solaris 10 Sparc and Oracle 11g DB with GG

    Hi,
    I have Solaris system with Solaris 10 Sparc and Oracle 11g DB.
    From the Golden gate download list I downloaded the Golden Gate for Oracle 11g and Solaris 10.
    I tried to Install but I am getting the following error..
    $ ldd ggsci
    ldd: ggsci: ELF machine type: EM_AMD64: is incompatible with system
    Can you please let us know which might be the best golden gate software for us.

    Vinod wrote:
    I have Solaris system with Solaris 10 Sparc and Oracle 11g DB.
    From the Golden gate download list I downloaded the Golden Gate for Oracle 11g and Solaris 10.
    I tried to Install but I am getting the following error..
    $ ldd ggsci
    ldd: ggsci: ELF machine type: EM_AMD64: is incompatible with system
    Can you please let us know which might be the best golden gate software for us.Possibly the solaris x86_64 build was downloaded, instead of the build for solaris sparc? (I think all of our current solaris builds are 64-bit.) It's almost certainly a download / OS mismatch.
    What exact file did you download (what's the file name, before unzipping it), and on your solaris box, what's the result of => "uname -a" and/or "isainfo -v" ...? Just make sure the downloaded file matches what the box is running...
    Btw, not that it matters in this case, but if you were hypothetically running a 32-bit database on a 64-bit OS, you'd need a 32-bit build of GoldenGate. But I don't know why you'd do that. (And that's not the problem here.)

  • Solaris 8, 9, and 10 zones in logical domains

    We are planning to migrate our current environment to T5-2.
    Current application environment is running with Solaris 8, 9 and 10 OS versions in V8* series and M5000.
    Our plan is to install multiple logical domains in T5-2 with Solaris 10 or 11 and migrate the current running Solaris 8, 9 and 10 servers as zones. Plan is to create the flash using flar and restore in the target T5-2.
    Will there be any issue with the said OS versions on migration?
    Please suggest.

    Lars,
    Use ldmp2v to convert existing physical server to VM  and
    Convert Solaris 8 and 9 physical servers to container in Solaris 10 VM?
    Is that what you are saying?
    Major constraint I have is, applications running in the current physical servers have no vendor support, vendor doesn't exist any more. Application has been locked to run only on the same OS version. What I am worried is, while running ldmp2v should not prevent the application coming up in the new virtualized environment. Keeping that in mind, I gave a thought like
    1. Install and configure the CDOM (control domain)
    2. configure and Install LDOMs with Solaris 10 OS
    3. Run flar on the existing Solaris 10 physical server
    4. Transfer the flar created to Solaris 10 LDOM and configure it as a zone
    5. For Solaris 8 and 9, create LDOMs with Solaris 10 OS
    6. Install additional patches and packages needed for supporting Solaris 8 and 9 zones
    6. create flar images on the existing Solaris 8 and 9 physical servers
    7. transfer the images to newly created LDOM and configure the zone.
    8. Current servers sun4u which has to be converted to sun4v.

  • SAP Inventory management interface with Third party Warehouse System

    Hi Experts,
    Need your input for designing the SAP solution with existing Third party warehouse system ( Exacta ):-
    SAP ERP will be implemented for all locations of Client ( SAP MM, FI, PS , HR etc ).The Client has 10 distribution centres which are on Exacta Warehouse systems and will be linked with SAP Inventory management system.
    The way it will work - Goods receipt will always happen in SAP for all locations and then interface needs to Trigger subsequent Putaway activities at Exacta Ware house ( third party warehouse system) for those 10 locations.
    Goods Issue for these locations will happen from Exacta and then update will be posted in SAP via interface.
    All locations will be created as Plant /Storage locations in SAP.
    Need your inputs what special configurations need to happen in SAP for those locations so that goods receipt in SAP can trigger putaway activities in Exacta system .
    Do we need to do configuration for decentralised Warehouse in SAP for handling this?
    Pl. give your inputs based on your past experience where you handled such scenarios via interface with SAP Inventory management and legacy warehouse systems.
    Thanks for quick response on this.
    Regards,
    Krish

    Krish
    This is a std business process where clients have used their existing warehousing systems but implemented SAP forother functions such as Order entry, inventory mgmt and procurement, financials.
    The typical interface that needs to happen is
    1. Sales order ( and or delivery)
    2. Invetory needs to be passed to the WH. Typically people send it when SAP GR takes place.
    3. When WH system does picking, it sends signal to SAP which then does PGI for the sales order delivery and that takes the stock out of the system.
    Material master has to be transferred or mapped between two systems. Also, other elements need to be mapped between two systems.
    The way I have seen this happening is :
    you have an output on the SAP GR process. That creates an idoc to the WH system. Based on the capabilities of the WH system, it then does appropriate actions in the system.
    Many times, middlewares are used to translate/ map the data between SAP and the WH systems.
    So system wise, there is ALE setup that needs to take place for IDOC creations.
    Configuration and coding is required for the output type and the program behind it. There are several std FUnction Modules that can be used for this.
    Hope this helps.
    Mankai

  • SAP inventory management interface with third party warehouse

    Hi Experts,
    Need your input for designing the SAP solution with existing  Third party warehouse  system ( Exacta ):-
      SAP ERP will be implemented for all locations of Client ( SAP MM, FI, PS , HR etc ).The Client has 10 distribution centres which are on Exacta Warehouse systems and will be linked with SAP Inventory management system.
      The way it will work - Goods receipt will  always happen in SAP for all locations and then interface needs to Trigger subsequent Putaway activities at Exacta Ware house ( third party warehouse system) for those 10 locations.
    Goods Issue for these locations will happen from Exacta and then update will be posted in SAP via interface.
      All locations will be created as Plant /Storage locations in SAP.
      Need your inputs what special configurations need to happen  in SAP for those locations so that goods receipt in SAP can trigger putaway activities in Exacta system .
    Do we need to do configuration for decentralised Warehouse in SAP  for handling this?
    Pl. give your inputs based on your past experience where you handled such scenarios via interface with SAP Inventory management and legacy warehouse systems.
    Thanks for quick response on this.
    Regards,
    Krish
    Edited by: krishnendu Bhowmik on Nov 24, 2009 4:22 PM

    Hi experts,
    Any inputs on this .
    Thanks again,
    Krish

  • The E-filling interface with a third party

    This is the E-filling  interface with a third party and we dont require  through FTP server ,for  this interface it includes PI content import onto integration repository.
    May I know how to develop these kind of interfaces..

    E-Filing is contry specific, and the content provided by SAP, may be different for each country and in some cases for each year.
    as an example, for E-Filing GB you can see http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/13616,
    regards,
    BJagdishwar.

  • Cant display the frame title with solaris 2.7

    I am trying to create a simple Frame and display a title with it
    I am working with solaris 2.7 and whatever I tried does not work
    I am also getting the "untitled" title in frame
    I am using the super("My Title") in my constructor and it is the first thing there
    I know that there are some problems with xwindows and window managers they use and AWT but has anyone any idea how to solve that?
    Thanks
    Maria

    Does your code extend frame? If so then having super("title") should work. If it isn't working try putting in a setTitle("title") call after the super.
    If you are just creating a frame:
    Frame f = new Frame("title");
    should create a frame with the title "title". Again you can use the setTitle method to set the title.
    f.setTitle("title");
    How this helps.
    Bruce

Maybe you are looking for