If that helps, you can disable individual interfaces from being managed.

In /etc/NetworkManager/NetworkManager.conf

add the lines:

[keyfile]
unmanaged-devices=interface-name:sfp0

Ron

On 9/3/20 12:41, Venkatesh Sathyanarayanan via USRP-users wrote:
Thanks a lot Michael and cedric for taking time to answer my questions.. I will try to stop the network manager and see if that helps.

Regards
Venkatesh

On Thursday, September 3, 2020, Michael Dickens <michael.dick...@ettus.com <mailto:michael.dick...@ettus.com>> wrote:

    In my experience, this happens when the networking isn't stable,
    which can be for all sorts of reasons:

    * connectors / cables are flaky;

    * host SW configuration isn't quite correct;

    * actual NIC has issues, HW or FW / configuration;

    * USRP NIC has issues ... very rare, but it can happen;

    * USRP FPGA has issues ... again rare, but it can happen;

    * USRP filesystem has issues ... could be the FS itself, or
    configuration ... this happens sometimes & is usually resolved by
    overwriting the whole SDcard filesystem & starting from "go" there.

    If you're Linux has the network manager, that doesn't help things
    since it thinks it knows better than you what to be doing.

    There is no "one size fits all" answer unfortunately; just
    investigate the networking & make sure all of the parts are
    functional.

    Hope this is useful! - MLD

    On Thu, Sep 3, 2020 at 3:30 AM Cedric Roux via USRP-users
    <usrp-users@lists.ettus.com <mailto:usrp-users@lists.ettus.com>>
    wrote:

        maybe network manager (if you have that thing running) on the
        computer doing funny things with the interface? I had this
        issue with some 4g dongles in the past.

        On 2020-09-03 01:01, Venkatesh Sathyanarayanan via USRP-users
        wrote:
        > Hi,
        >
        > Small correction:
        >
        > *Questions:*
        > I notice that the test stops when the link goes down every
        45 seconds.
        > This happens for all types of tests(with and without GUI).
        > Kindly let me know how to debug this - i.e. why the link
        goes down every
        > 45 seconds?
        >
        > Regards
        > Venkatesh
        >
        > On Wed, Sep 2, 2020 at 3:10 PM Venkatesh Sathyanarayanan
        > <vesat...@eng.ucsd.edu <mailto:vesat...@eng.ucsd.edu>
        <mailto:vesat...@eng.ucsd.edu <mailto:vesat...@eng.ucsd.edu>>>
        wrote:
        >
        >     Hi,
        >
        >
        >     *Setup details:*
        >     I am using an USRP N310 and I have the host computer
        connected to
        >     the USRP via SFP cable. I additionally have a serial
        connection
        >     between the two and have a screen session running.
        >
        >     *Observation:*
        >     On the screen session, I noticed the following messages:
        >     [ 2151.041079] nixge 40000000.ethernet sfp0: Link is Up -
        >     10Gbps/Full - flow control off
        >     [ 2195.841088] nixge 40000000.ethernet sfp0: Link is Down
        >     [ 2196.961090] nixge 40000000.ethernet sfp0: Link is Up -
        >     10Gbps/Full - flow control off
        >     [ 2241.761098] nixge 40000000.ethernet sfp0: Link is Down
        >     [ 2242.881106] nixge 40000000.ethernet sfp0: Link is Up -
        >     10Gbps/Full - flow control off
        >     [ 2287.681109] nixge 40000000.ethernet sfp0: Link is Down
        >     [ 2288.801114] nixge 40000000.ethernet sfp0: Link is Up -
        >     10Gbps/Full - flow control off
        >     [ 2333.601129] nixge 40000000.ethernet sfp0: Link is Down
        >     [ 2334.721127] nixge 40000000.ethernet sfp0: Link is Up -
        >     10Gbps/Full - flow control off
        >     [ 2379.521132] nixge 40000000.ethernet sfp0: Link is Down
        >     [ 2380.641137] nixge 40000000.ethernet sfp0: Link is Up -
        >     10Gbps/Full - flow control off
        >     [ 2425.441143] nixge 40000000.ethernet sfp0: Link is Down
        >     [ 2426.561149] nixge 40000000.ethernet sfp0: Link is Up -
        >     10Gbps/Full - flow control off
        >     [ 2471.361159] nixge 40000000.ethernet sfp0: Link is Down
        >     [ 2472.481166] nixge 40000000.ethernet sfp0: Link is Up -
        >     10Gbps/Full - flow control off
        >     [ 2517.281166] nixge 40000000.ethernet sfp0: Link is Down
        >     [ 2518.401171] nixge 40000000.ethernet sfp0: Link is Up -
        >     10Gbps/Full - flow control off
        >   
         
..........................................................................................................................................................................
        >   
         
..........................................................................................................................................................................
        >
        >   
         
..........................................................................................................................................................................
        >   
         
..........................................................................................................................................................................
        >
        >     *Questions:*
        >     When I have a GNU radio GRC running with an active GUI
        displaying
        >     the spectrum, I see that it halts at the time when the
        link goes down.
        >     When I run a file with no GUI active - say IQ samples
        saved to a
        >     file, things running in the background and I do not see any
        >     interruption.
        >
        >      1. Kindly let me know why I am seeing this issue of
        link going down
        >         every 45 seconds and
        >      2. also if this could potentially affect my tests (all
        my tests are
        >         without any GUI.)
        >
        >
        >     Regards
        >     Venkatesh
        >
        >
        > _______________________________________________
        > USRP-users mailing list
        > USRP-users@lists.ettus.com <mailto:USRP-users@lists.ettus.com>
        >
        http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
        <http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com>
        >

        _______________________________________________
        USRP-users mailing list
        USRP-users@lists.ettus.com <mailto:USRP-users@lists.ettus.com>
        http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
        <http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com>


_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to