lkml.org 
[lkml]   [2003]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: Carrier detection for network interfaces
    From
    Date
    On Sat, 2003-11-15 at 22:40, Jeff Garzik wrote:
    > Martin Schlemmer wrote:
    > > On Sat, 2003-11-15 at 18:22, Jeff Garzik wrote:
    > >
    > >>Martin Schlemmer wrote:
    > >>
    > >>>Is there any proper way to detect a carrier signal with network
    > >>>interfaces ? I have recently come across a problem where we tried
    > >>>to do with with checking for 'RUNNING', which do not work for all
    > >>>drivers, as well as mii-tool that fails in some cases.
    > >>
    > >>
    > >>What kernel version?
    > >>
    > >>In 2.6 you have linkwatch. In 2.4 and 2.6, you have ETHTOOL_GLINK, and
    > >>mii-tool.
    > >>
    > >
    > >
    > > Anything more shell accessible (sysfs/proc) ?
    >
    >
    > ethtool is shell accessible.
    >

    Yep, thanks. Was just wondering if there was a way
    that did not depend on additional tools beyond cat,
    sed, grep, etc.


    Thanks,

    --
    Martin Schlemmer

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:58    [W:0.021 / U:1.464 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site