If someone pulls out the LAN cable ?

I need to trap this event, and make some software handle the situation. Is there any event or message or interrupt generated when some one pulls out the LAN cable or the interface card is down ? If yes where n how can I trap one?
Ciao...

thanx, I've tried this. and the syslogd does put "hme0: Link down, cable problem?" in case I pull out the cable, but as the god (customer) wants it we need to take care of the situation if the customer gives a command like "ifconfig hme0 down" accidently!! and syslogd doesn't seem to be putting any messeges in this case. so still the problem remains half solved. any ideas.
warm regards,
Kashyap

Similar Messages

  • How do I get a disc out of my super drive when I forgot to eject it from the drive before pulling out the USB cable ?

    how do I get a disc out of my super drive when I forgot to eject it from the drive before pulling out the USB cable ?

    How force eject disc: Apple Support Communities
    Mac Mini: Eject DVD Apple Support Communities

  • Pulling out the end of a song SHIFTS where the song is!

    I'm doing a clip with a song in it..I've spliced the intro together a few times to give extra time for narration that won't conflict with singing, should the presenter want to make comments.
    Now, I get to the final segment, and I'd like to just pull out the end of that segment to the end of the song. I test play it, and everything's fine.
    Then, I render.
    When I test play after rendering, it's like where the song was "shifted" over, when all I did was extend where the clip ends.
    Do I need to start over, or is this just a dumb user mistake?
    thanks!
    r

    I know you think you've made it perfectly clear to us what you're doing.
    I've read your post three times and I have no idea what you're talking about because you're not using the proper lingo.
    a clip with a song in it< </div>
    You probably mean a sequence. Sequences are made of clips.
    I've spliced the intro together a few times to give extra time for narration that won't conflict with singing, should the presenter want to make comments.< </div>
    SPLICED? Presenter?
    the final segment,< </div>
    Segment of what, the sequence or part of clip?
    and I'd like to just pull out the end of that segment to the end of the song. < </div>
    Do you mean move it? Or extend it? Or actually make it longer by stretching the audio?
    I test play it, and everything's fine.< Okay. </div>
    When I test play after rendering, it's like where the song was "shifted" over, when all I did was extend where the clip ends.< </div>
    What did you have to render? You should not have had to render anything.
    bogiesan

  • HOW TO PULL OUT THE PAPER TRAY ON ENVY e4500

     I HAVE JUST BOUGHT  HP ENVY 4500 e ALL IN ONE, I AM HAVING TROUBLE FINDING OUT HOW TO PULL OUT THE PAPER TRAY.
    This question was solved.
    View Solution.

    To pull it out to load paper, you first flip down open the front door (which is connected to the paper tray and serves as the output tray), then grab on the door and pull.
    ======================================================================================
    * I am an HP employee. *
    ** Make it easier for other people to find solutions, by marking my answer with "Accept as Solution" if it solves your issue. **
    ***Click on White “Kudos” STAR to say thanks!***

  • My phone can not find a carrier and just keeps searching even when i pull out the sim card

    my phone can not find a carrier and just keeps searching even when i pull out the sim card. help

    try restoring the device with iTunes (after backing up)

  • HT4995 i lost my iphone 4 last night and its not reachable assuming someone took out the sim.. so can i or my network company track the iphone which is not reachable through assuming location services and find my phone apps are enabled?

    i lost my iphone 4 last night and its not reachable assuming someone took out the sim.. so can i or my network company track the iphone which is not reachable through assuming location services and find my phone apps are enabled?

    No. Find My Phone is the only way to locate any lost iPhone. However, this requires that Find My Phone be turned on/activated before the phone was lost, and the phone must have an Internet connection. If your phone is turned off, does not have an Internet connection, or has been restored, there is no way to locate it.

  • New iphone - when it crashes? pulling out the sim

    Hi,
    Have a new iphone and am delighted (except for the lack of 3 g) however it crashed (only once). It held the sleep wake button, then i tried the reset combination. Eventually it worked after about 40-45 seconds.
    Because there is no option to pull out the battery (like my old Nokia N95 which never stopped crashing), I was wondering whether pulling out the sim might work to force a restart???
    It's not ideal, but the time the pone crashed was ultra mission critical and I needed the phone function real quick.
    thanks
    tom

    It's much quicker to put the phone in Airplane mode, and then turn it off, if all you want to do is to re-establish a connection to the cell tower. Taking the SIM card out and back in again, will effectively do the same thing, but takes longer; it won't reset/reboot the phone though - only pressing on the sleep and home buttons *until the Apple logo appears* will achieve this.
    Message was edited by: jia10

  • HT4623 if you accidentally take out the usb cable without ejecting it

    I accidentally toke out my iphone when it was updating on itunes without ejecting it what do i do ?

    You'll have to force the phone into recovery mode & restore it:
    Leave the USB cable connected to your computer, but NOT your phone, iTunes running, press & hold the home button while connecting the USB cable to your dock connector, continue holding the home button until you see “Connect to iTunes” on the screen. You may now release the home button. iTunes should now display that it has detected your phone in recovery mode, if not quit and reopen iTunes. If you still dont see the recovery message repeat these steps again. iTunes will give you the option to restore from a backup or set up as new.

  • How to pull out the file in IDOC to File scenario

    Hi All,
    I have a scenario where, we are splitting an IDoc into 4 different files thru BPM.
    Those files are being sent to 3rd party file server. Now, is there any way in which i can see those files from my XI box?
    I am able to see only the xml's of those files in sxmb_moni. But, i want to see those exact files in their file formats, which are being sent to the file server.
    How can i get them?
    Many Thanks
    Chandra Sekhar
    Edited by: Chandra Sekhar H on Mar 28, 2008 2:29 PM

    Hi,
    > i want to see those exact files in their file formats, which are being sent to the file server.
      Create  another Communication Channel  FTP /NFS  and get the XML file.
    As Satish mentioned  you can acheive it,
    If you want to look at the File..Create one more File Adapter under the Same Business System   temporaly  point out the File adapter instead  of IDOC Adapter  then Switch to  IDOC Adapter later.
    Regards
    Sangeetha

  • Pull out the SIM card without turn off

    What would happen if I pull out my SIM card without turn off my iPhone? Is it harm my phone?

    Probably not. I've certainly done it on a number of phones, unintentionally. But it's not best practice.

  • How can I pull out the pics out of my iPod?

    The deal is that I accidently deleted the folder where I had my pics. So I wanna get the pics that I have in my iPod to my computer! SOmeone knows how to do this??? Thank's!!

    If you did not check the copy oroginal resolution pictures to the ipod, you cannot.

  • Dock pulled out the Dock connector on my Z2

    This is unacceptable for a $750 phone bought in 05-2014, barely half a year of use.
    Also, please add group messaging function for default messaging app. See WindowsPhone8.1/Apple/HTC for cues.
    Also, please make it so that  you can swap 'pages' on the home screen. Currently you have to move icons manually whereas it should be able to just swatch the order of the entire page of icons.

    HI CitizenKane,
    Welcome to the community! Since you're new please be sure that you have checked out our Discussion guidelines.
    In this situation, I suggest that you contact Sony Mobile Customer Care directly via phone, they should be able to help.
    http://www.sonymobile.com/global-en/support/contact-us/
    I apologize for the inconvenience this may cause.
     - Official Sony Xperia Support Staff
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

  • When restoring accidently pulled out the time machine HD

    Well I got my computer back from apple and it had a new HDD in it luckily I have time machine and had my backup done before I sent it to them. I was setting it up and chose to restore from my time machine and it was less than one minute and i touched the usb wire, not intending to take it out but a thing came up and said you unsafely removed the device dadadada... so I ended up having to make a new account because when i pressed retry it wanted to put the info ontop of what i already did and i would have -39gb left lol... I need to know how to get out of this mess so i can just clear everything and use time machine so i have a clone of what my laptop used to be...

    RDFiorentino wrote:
    I can't find my install disks for that computer... I have the ones for my mac pro but they don't work on my macbook pro... any other ways
    no. you need to find your install disk if you want to get a copy of your old system. you need your install disk anyway for various other things so i recommend you find it.
    Message was edited by: V.K.

  • Please help before I pull out the rest of my hair!!

    Hi,
    I have been trying very hard to understand what the problem I
    have been having is. Basically I am loading an external XML file
    into my FLEX app. I have add/update/delete functions that basically
    alter the existing XML tree. Everything is altered fine, as when I
    use Alert.show() to view the altered XML it is exactly how I wanted
    it. When it is altered I have it sent using http service to a PHP
    script that simply overwrites the existing file with the new
    altered XML. However, it seems that it will not send the XML,
    although it will send other values. I have tried copying the output
    XML and placing it in the PHP file and it works fine. There is
    definately something going wrong when sending the formatted XML to
    the PHP script. I have tried many combinations of .toString() and
    .toXMLString(). It seems complex XML will not work, as I have only
    had problems with this technique using the Rich Text Editor and
    with complex XML , such as the following structure...
    <blogs>
    <blog>
    <date></date>
    <title></title>
    <content></content>
    <comments>
    <comment>
    <name></name>
    <date></date>
    <title />
    <content></content>
    </comment>
    <comment>
    <name></name>
    <date></date>
    <title />
    <content></content>
    </comment>
    </comments>
    </blog>
    </blogs>
    My Flex page looks like this:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Box xmlns:mx="
    http://www.adobe.com/2006/mxml"
    width="100%" height="100%" creationComplete="sendXML()">
    <mx:Script>
    <![CDATA[
    //Import
    import mx.controls.Alert;
    import mx.rpc.events.ResultEvent;
    import mx.rpc.http.HTTPService;
    import mx.collections.XMLListCollection;
    //Objects
    private var sendRequest:HTTPService= new HTTPService();
    private var updateRequest:HTTPService= new HTTPService();
    private var variables:Object= new Object();
    private var requestXML:XML= new XML();
    private var requestList:XMLList= new XMLList();
    [Bindable] private var requestData:XMLListCollection= new
    XMLListCollection();
    //Bindable
    [Bindable] private var blog_date:Date;
    [Bindable] private var blog_title:String;
    [Bindable] private var blog_content:String;
    [Bindable] private var blog_ID:int= 0;
    [Bindable] private var blog_total:int;
    //Accessors
    //Methods
    private function sendXML():void {
    sendRequest.url= "XML/blog.xml";
    sendRequest.resultFormat= "e4x";
    sendRequest.send();
    sendRequest.addEventListener(ResultEvent.RESULT, loadXML);
    private function loadXML(event:ResultEvent):void {
    requestXML= event.result as XML;
    blog_total= requestXML.blog.length();
    display();
    private function display():void {
    blog_title= requestXML.blog[blog_ID].title;
    //blog_date= requestXML.blog[blog_ID].date;
    blog_content= requestXML.blog[blog_ID].content;
    private function next():void {
    if(blog_ID+1== blog_total){
    Alert.show("No more blogs");
    }else{
    blog_ID++;
    display();
    private function previous():void {
    if(blog_ID >0){
    blog_ID--;
    display();
    }else{
    Alert.show("No more blogs");
    private function addBlog():void {
    blog_date= input_date.selectedDate;
    blog_title= input_title.text;
    blog_content= input_blog.text;
    requestXML.prependChild(<blog><date>{blog_date}</date><title>{blog_title}</title><content >{blog_content}</content><comments><comment
    /></comments></blog>);
    updateXML();
    public function editBlog():void {
    requestXML.blog[blog_ID].title= input_title.text;
    requestXML.blog[blog_ID].date= input_date.selectedDate;
    requestXML.blog[blog_ID].content= input_blog.text;
    updateXML();
    public function deleteBlog():void {
    delete requestXML.blog[blog_ID];
    updateXML();
    private function updateXML():void {
    variables.action= "edit_blog";
    variables.xmlString= requestXML;
    updateRequest.url= "PHP/actions.php";
    updateRequest.send(variables);
    updateRequest.addEventListener(ResultEvent.RESULT,
    updateComplete);
    private function updateComplete(event:ResultEvent):void {
    Alert.show("Blog Updated");
    display();
    ]]>
    </mx:Script>
    <mx:Label text="Title:" />
    <mx:TextInput id="input_title" text="{blog_title}"/>
    <mx:Label text="Date:" />
    <mx:DateChooser id="input_date"
    selectedDate="{blog_date}" />
    <mx:Label text="Blog:" />
    <mx:RichTextEditor id="input_blog" width="700"
    height="400" text="{blog_content}" title="Displaying Blog
    {blog_ID+1} of {blog_total}" />
    <mx:ApplicationControlBar width="820">
    <mx:Button label="Previous Blog" click="previous()" />
    <mx:Spacer width="100%" />
    <mx:Button label="Add Blog" click="addBlog()" />
    <mx:Button label="Edit Blog" click="editBlog()" />
    <mx:Button label="Delete Blog" click="deleteBlog()" />
    <mx:Spacer width="100%" />
    <mx:Button label="Next Blog" click="next()" />
    </mx:ApplicationControlBar>
    </mx:Box>
    Please help, I have wasted so much time trying to figure this
    out!! There must be some formatting issue I am unaware of that is
    preventing Complex XML from being passed to the PHP when simpler
    XML works fine...
    Thanks in advance
    Jesse

    How come I always solve my problems write after finally
    posting, when I try for days!!
    The reason all along was because I was using GET instead of
    POST! GET apparently can't handle the amount of characters, and I
    never use GET, yet the one time I decide to it sets me back about
    10 hours!!!

  • I can't pull out the SIM card from my iPhone

    The SIM card in my iPhone is stuck now and I can't change the SIM card, what should I do?

    Make an appointment at the Genius Bar at your local Apple Store.

Maybe you are looking for

  • Song wont play, but says it has downloaded

    I just bought 3 songs.  2 are playing fine, but the other wont start, and says that I have to authorise the computer.  But it IS authorised, otherwise it wouldn't play the 2 that I bought at the same time!  Can anyone help?

  • Why won't my iPod Touch sync before iTunes crashes?

    Last night, I tried to sync my new iPod Touch for the first time. I plugged it in and iTunes recognized it, and the 6 step process began. However, every time it reaches the 2nd step iTunes will shut down all by itself. It is very frustrating since it

  • BitLocker To Go encrypting 128 GB Flash Drive.

    I am trying to help someone encrypt some 128GB flash drives using BitLocker To Go and have had no success.  Is there a problem with using a flash drive that large?  It is a Patriot Memory SuperSonic Magnum 128GB drive formatted as exFAT.  I have ran

  • Monitor christmas mayhem

    I am a macbook pro user getting a little to excited at the prospect of christmas round the corner. Display! I thought, not thinking of the ultimate dilemma that will come of actually choosing the thing. My budget is around 200 - 250 pounds and I woul

  • PSE 8 and Vista: Fonts

    Hi.  I'm extremely new to photoshop.  I'm working on a project and want a different font than what PSE 8 has.  (I am surprised that it only has 20-30 styles).  I went online and found what I wanted and downloaded it to my computer.  It's available in