Re: Carrier detection for network interfaces

From: Ben Greear (greearb_at_candelatech.com)
Date: 11/16/03

  • Next message: Andrey Borzenkov: "How to run programs off initramfs during boot?"
    Date:	Sun, 16 Nov 2003 02:20:55 -0800
    To: Jeff Garzik <jgarzik@pobox.com>
    
    

    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.

    One thing to watch for, lots of drivers will not detect link
    if the interface itself is not configured to be running (UP).
    You can configure it up without an IP address of course...

    Ben

    -- 
    Ben Greear <greearb@candelatech.com>
    Candela Technologies Inc  http://www.candelatech.com
    -
    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/
    

  • Next message: Andrey Borzenkov: "How to run programs off initramfs during boot?"

    Relevant Pages

    • Carrier detection for network interfaces
      ... Is there any proper way to detect a carrier signal with network ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Carrier detection for network interfaces
      ... > Is there any proper way to detect a carrier signal with network ... as well as mii-tool that fails in some cases. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Carrier detection for network interfaces
      ... >> Is there any proper way to detect a carrier signal with network ... Martin Schlemmer ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: How to save the Firewall Zone setup for wireless Interface setting
      ... Run YaST2 again, and setup the card to managed, start on boot, no usercontrol, ... no network manager, and save. ... # setting up a lot of interfaces. ... # Switch on/off debug messages for all network configuration stuff. ...
      (alt.os.linux.suse)
    • Re: load balancing with a failover
      ... The tunnel interfaces have addresses ... from other network though ... Enter configuration commands, one per line. ... 1w0d: RT: delete subnet route to 192.168.128.20/30 ...
      (comp.dcom.sys.cisco)