• a new wired ethernet feature

    From faeychild@2:250/1 to All on Tue Oct 22 22:28:49 2019


    I have noticed that launching either Firefox or Thunderbird will
    activate the wired ethernet if it is down.
    A new feature perhaps


    --
    faeychild
    Running plasmashell 5.15.4 on 5.3.6-desktop-2.mga7 kernel.
    Mageia release 7 (Official) for x86_64 installed via Mageia-7-x86_64-DVD.iso


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Wed Oct 23 01:36:47 2019
    On Wed, 23 Oct 2019 08:28:49 +1100, faeychild wrote:


    I have noticed that launching either Firefox or Thunderbird will
    activate the wired ethernet if it is down.
    A new feature perhaps

    I would have to agree with your guess. I have a hourly cron job to
    test my internet connection. Helps reduce my stress level when something
    does not work and greatly reduces my debugging time to localize a problem.

    I am using systemd-networkd to manage nics, and the great majority of
    my network problems are upstream.

    Also kind of nice to know that the internet connection died during off
    hours. My lan is up 24/7


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From faeychild@2:250/1 to All on Wed Oct 23 12:15:43 2019
    On 23/10/19 11:36 am, Bit Twister wrote:
    On Wed, 23 Oct 2019 08:28:49 +1100, faeychild wrote:


    I have noticed that launching either Firefox or Thunderbird will
    activate the wired ethernet if it is down.
    A new feature perhaps

    I would have to agree with your guess. I have a hourly cron job to
    test my internet connection. Helps reduce my stress level when something
    does not work and greatly reduces my debugging time to localize a problem.


    No I am wrong. I noticed tonight when I turned the network off, it
    restarts in about 15 seconds.

    Apparently the network must be up!

    I am at a loss to understand why provide an option to take down the
    network only to have it automatically restart it again?


    Never a dull moment, Bits





    --
    faeychild
    Running plasmashell 5.15.4 on 5.3.6-desktop-2.mga7 kernel.
    Mageia release 7 (Official) for x86_64 installed via Mageia-7-x86_64-DVD.iso


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From William Unruh@2:250/1 to All on Wed Oct 23 13:49:54 2019
    On 2019-10-23, faeychild <faeychild@nomail.afraid.org> wrote:
    On 23/10/19 11:36 am, Bit Twister wrote:
    On Wed, 23 Oct 2019 08:28:49 +1100, faeychild wrote:


    I have noticed that launching either Firefox or Thunderbird will
    activate the wired ethernet if it is down.
    A new feature perhaps

    I would have to agree with your guess. I have a hourly cron job to
    test my internet connection. Helps reduce my stress level when something
    does not work and greatly reduces my debugging time to localize a problem.


    No I am wrong. I noticed tonight when I turned the network off, it
    restarts in about 15 seconds.

    Apparently the network must be up!

    I am at a loss to understand why provide an option to take down the
    network only to have it automatically restart it again?

    I do not have Mga7 so cannot check my suspicion, but I suspect that
    there is an option in the setup of the ethernet which tells it to
    restart if it goes down. EG, the "start connection at boot" option in
    Network Control.




    Never a dull moment, Bits






    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From faeychild@2:250/1 to All on Wed Oct 23 20:10:02 2019
    On 23/10/19 11:49 pm, William Unruh wrote:


    I do not have Mga7 so cannot check my suspicion, but I suspect that
    there is an option in the setup of the ethernet which tells it to
    restart if it goes down. EG, the "start connection at boot" option in
    Network Control.


    I think you are on the right page William

    The "right click" menu includes watched interface and launch at start up. After trying them all I unchecked "launch at start up" which disabled
    the network applet on the task bar.

    There is no option to return it to the task bar
    It's not in "system tray > entries" either

    It has got to be there somewhere


    Regards


    --
    faeychild
    Running plasmashell 5.15.4 on 5.3.6-desktop-2.mga7 kernel.
    Mageia release 7 (Official) for x86_64 installed via Mageia-7-x86_64-DVD.iso


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From William Unruh@2:250/1 to All on Wed Oct 23 20:15:42 2019
    On 2019-10-23, faeychild <faeychild@nomail.afraid.org> wrote:
    On 23/10/19 11:49 pm, William Unruh wrote:


    I do not have Mga7 so cannot check my suspicion, but I suspect that
    there is an option in the setup of the ethernet which tells it to
    restart if it goes down. EG, the "start connection at boot" option in
    Network Control.


    I think you are on the right page William

    The "right click" menu includes watched interface and launch at start up. After trying them all I unchecked "launch at start up" which disabled
    the network applet on the task bar.

    What are you running? Network Center? Network Manager?
    systemd-networking?
    Mageia's default is (usually) Network Center.

    There is no option to return it to the task bar
    It's not in "system tray > entries" either

    It has got to be there somewhere


    Regards



    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bobbie Sellers@2:250/1 to All on Wed Oct 23 20:19:19 2019
    On 10/23/19 12:10 PM, faeychild wrote:
    On 23/10/19 11:49 pm, William Unruh wrote:


    I do not have Mga7 so cannot check my suspicion, but I suspect that
    there is an option in the setup of the ethernet which tells it to
    restart if it goes down. EG, the "start connection at boot" option in
    Network Control.


     I think you are on the right page William

    The  "right click" menu includes watched interface and launch at start up. After trying them all I unchecked "launch at start up" which disabled
    the network applet on the task bar.

    There is no option to return it to the task bar
    It's not in "system tray > entries" either

    It has got to be there somewhere


    Regards


    Have you tried "Add widgets"?
    bliss

    --
    bliss dash SF 4 ever at dslextreme dot com

    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: dis-organization (2:250/1@fidonet)
  • From faeychild@2:250/1 to All on Wed Oct 23 20:36:20 2019
    On 24/10/19 6:15 am, William Unruh wrote:
    On 2019-10-23, faeychild <faeychild@nomail.afraid.org> wrote:
    On 23/10/19 11:49 pm, William Unruh wrote:


    I do not have Mga7 so cannot check my suspicion, but I suspect that
    there is an option in the setup of the ethernet which tells it to
    restart if it goes down. EG, the "start connection at boot" option in
    Network Control.


    I think you are on the right page William

    The "right click" menu includes watched interface and launch at start up. >> After trying them all I unchecked "launch at start up" which disabled
    the network applet on the task bar.

    What are you running? Network Center? Network Manager?
    systemd-networking?
    Mageia's default is (usually) Network Center.

    I am running what ever the net-applet in the task bar controls. I think
    it's "Manager"
    SOLVED I have the icon back in the task bar
    it's in $HOME .net_applet > AUTOSTART=TRUE

    And with the netapplet icon it's "right click > settings > watched
    interface > auto detect.
    Which is how it was originally, only now it is NOT auto restarting


    Coffee time I think

    I'll test it during the day.

    Regards

    --
    faeychild
    Running plasmashell 5.15.4 on 5.3.6-desktop-2.mga7 kernel.
    Mageia release 7 (Official) for x86_64 installed via Mageia-7-x86_64-DVD.iso


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From faeychild@2:250/1 to All on Wed Oct 23 20:39:49 2019
    On 24/10/19 6:19 am, Bobbie Sellers wrote:


        Have you tried "Add widgets"?
        bliss

    I tried that - desperation! :-)
    The only currently available widget is a traffic monitor
    Which is a widget to consider in the future

    regards
    --
    faeychild
    Running plasmashell 5.15.4 on 5.3.6-desktop-2.mga7 kernel.
    Mageia release 7 (Official) for x86_64 installed via Mageia-7-x86_64-DVD.iso


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From faeychild@2:250/1 to All on Wed Oct 23 21:30:34 2019
    On 24/10/19 6:36 am, faeychild wrote:

    And with the netapplet icon it's "right click > settings > watched
    interface >  auto detect.
    Which is how it was originally, only now it is NOT auto restarting


    Nope It's still restarting
    "settings > watched interface" has no effect.

    I prefer the option of controlling my interface. Having it auto restart
    is a bit too Windows for me.


    --
    faeychild
    Running plasmashell 5.15.4 on 5.3.6-desktop-2.mga7 kernel.
    Mageia release 7 (Official) for x86_64 installed via Mageia-7-x86_64-DVD.iso


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From William Unruh@2:250/1 to All on Wed Oct 23 22:31:34 2019
    On 2019-10-23, faeychild <faeychild@nomail.afraid.org> wrote:
    On 24/10/19 6:15 am, William Unruh wrote:
    On 2019-10-23, faeychild <faeychild@nomail.afraid.org> wrote:
    On 23/10/19 11:49 pm, William Unruh wrote:


    I do not have Mga7 so cannot check my suspicion, but I suspect that
    there is an option in the setup of the ethernet which tells it to
    restart if it goes down. EG, the "start connection at boot" option in
    Network Control.


    I think you are on the right page William

    The "right click" menu includes watched interface and launch at start up. >>> After trying them all I unchecked "launch at start up" which disabled
    the network applet on the task bar.

    What are you running? Network Center? Network Manager?
    systemd-networking?
    Mageia's default is (usually) Network Center.

    I am running what ever the net-applet in the task bar controls. I think
    it's "Manager"

    Click on the applet, and look at the title bar of the resultant window.
    If it says Network Center, you are using the Mandrake/Mandriva/Mageia
    Network Center. If you are using Network Manager, it will say Network
    Manager instead
    They are very different programs.

    rpm -qf /usr/bin/net_applet
    rpm -qf /usr/bin/nm_applet

    are the two applets for Network Center and Network Manager.



    SOLVED I have the icon back in the task bar
    it's in $HOME .net_applet > AUTOSTART=TRUE

    Not sure what that is, but I suspect you are using Network Center.


    And with the netapplet icon it's "right click > settings > watched
    interface > auto detect.
    Which is how it was originally, only now it is NOT auto restarting

    That makes me much more certain.

    Network Manager when I tried to use it I found it far more cluncky than
    Netwrok Center. The latter is more confgurable. However it does have
    some looooooong standing bugs. The worst is that if you get somewhere
    where there are something like more than 200 Access points available, it
    ceases to find any of them and does not work at all. (Eg, major airports
    like DeGaulle, Frankfurt,) and some hopitals (eg Radcliffe in Oxford)
    and at my University sometimes.

    This is a problem with iwlist (which NC uses) whose buffer is too small
    (16 bit rather than 32 bit address length in the buffer) Instead of
    showing what could fit, it refuses to put out anything.
    iwlist is deprecated in favour of iw, but Mageia has hot fixed that yet.



    Coffee time I think

    I'll test it during the day.

    Regards


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From faeychild@2:250/1 to All on Thu Oct 24 08:26:59 2019
    On 24/10/19 7:30 am, faeychild wrote:

    Yes it's Network Centre!

    It has no new options neither does MCC > setup network

    A new feature perhaps

    If I leave the computer rendering and untended I prefer to shutdown the ethernet. I'm maybe a bit paranoid but I like it off.

    --
    faeychild
    Running plasmashell 5.15.4 on 5.3.6-desktop-2.mga7 kernel.
    Mageia release 7 (Official) for x86_64 installed via Mageia-7-x86_64-DVD.iso


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From faeychild@2:250/1 to All on Thu Oct 24 20:31:53 2019
    On 23/10/19 10:15 pm, faeychild wrote:


    No I am wrong. I noticed tonight when I turned the network off, it
    restarts in about 15 seconds.

    Apparently the network must be up!

    I am at a loss to understand why provide an option to take down the
    network only to have it automatically restart it again?


    [SOLVED] Give up and unplug it!!

    --
    faeychild
    Running plasmashell 5.15.4 on 5.3.6-desktop-2.mga7 kernel.
    Mageia release 7 (Official) for x86_64 installed via Mageia-7-x86_64-DVD.iso


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bobbie Sellers@2:250/1 to All on Thu Oct 24 21:00:41 2019
    On 10/24/19 12:31 PM, faeychild wrote:
    On 23/10/19 10:15 pm, faeychild wrote:


    No I am wrong. I noticed tonight when I turned the network off, it
    restarts in about 15 seconds.

    Apparently the network must be up!

    I am at a loss to understand why provide an option to take down the
    network only to have it automatically restart it again?


    [SOLVED]   Give up and unplug it!!


    The sort of solution I would applaud, but have
    you set the User Control of the Network in MCC?

    bliss

    --
    bliss dash SF 4 ever at dslextreme dot com

    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: dis-organization (2:250/1@fidonet)
  • From faeychild@2:250/1 to All on Fri Oct 25 01:54:04 2019
    On 25/10/19 7:00 am, Bobbie Sellers wrote:

        The sort of solution I would applaud, but have
    you set the User Control of the Network in MCC?

        bliss


    If you mean allow user to control the network - yes.

    I have an update pending - so you never know


    --
    faeychild
    Running plasmashell 5.15.4 on 5.3.6-desktop-2.mga7 kernel.
    Mageia release 7 (Official) for x86_64 installed via Mageia-7-x86_64-DVD.iso


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From faeychild@2:250/1 to All on Fri Oct 25 02:47:12 2019
    On 25/10/19 11:54 am, faeychild wrote:
    On 25/10/19 7:00 am, Bobbie Sellers wrote:

         The sort of solution I would applaud, but have
    you set the User Control of the Network in MCC?

         bliss


    If you mean allow user to control the network - yes.

    I have an update pending - so you never know


    I removed the Ethernet connection.
    I rebooted the computer and the Ethernet connection was re-established.

    There is definitely some very controlling interference going with
    Mageia. Why am I am reminded of Windows.


    --
    faeychild
    Running plasmashell 5.15.4 on 5.3.6-desktop-2.mga7 kernel.
    Mageia release 7 (Official) for x86_64 installed via Mageia-7-x86_64-DVD.iso


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bobbie Sellers@2:250/1 to All on Fri Oct 25 05:31:51 2019
    On 10/24/19 6:47 PM, faeychild wrote:
    On 25/10/19 11:54 am, faeychild wrote:
    On 25/10/19 7:00 am, Bobbie Sellers wrote:

         The sort of solution I would applaud, but have
    you set the User Control of the Network in MCC?

         bliss


    If you mean allow user to control the network - yes.

    I have an update pending - so you never know


      I removed the Ethernet connection.
    I rebooted the computer and the Ethernet connection was re-established.

    There is definitely some very controlling interference going with
    Mageia.  Why am I am reminded of Windows.


    Controlling or maybe the initial interface looking like XP.
    Unless you are being forced to download updates on the Mageia schedule?..

    bliss

    --
    bliss dash SF 4 ever at dslextreme dot com

    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: dis-organization (2:250/1@fidonet)
  • From faeychild@2:250/1 to All on Fri Oct 25 08:36:01 2019
    On 24/10/19 7:30 am, faeychild wrote:
    On 24/10/19 6:36 am, faeychild wrote:

    And with the netapplet icon it's "right click > settings > watched
    interface >  auto detect.
    Which is how it was originally, only now it is NOT auto restarting


    Nope It's still restarting
    "settings > watched interface" has no effect.

    I prefer the option of controlling my interface. Having it auto restart
    is a bit too Windows for me.


    Since today's update, the network requires root password to shut down.
    It still re spawns about 15 second after

    Oddly no one else experiences this


    --
    faeychild
    Running plasmashell 5.15.4 on 5.3.6-desktop-2.mga7 kernel.
    Mageia release 7 (Official) for x86_64 installed via Mageia-7-x86_64-DVD.iso


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Fri Oct 25 10:17:43 2019
    On Fri, 25 Oct 2019 18:36:01 +1100, faeychild wrote:

    Since today's update, the network requires root password to shut down.
    It still re spawns about 15 second after

    Oddly no one else experiences this

    Personally, I need the network up, and no, my nic stays down if I shut
    it down.

    Command used,
    ip link set $_net_nic down

    Then again, I am not running plasma, nor am I using Network or NetworkManager for nic management. I am using systemd-netowrkd for network management.

    If you were to
    grep NM_CONTROLLED /etc/sysconfig/network-scripts/ifcfg-*
    and see yes, then I suggest you are using NetworkManager for control
    of that device.

    A quick glance through /usr/share/doc/initscripts/sysconfig.txt indicates ONBOOT=xxx only controls whether to bring the device up during boot.

    First thing I would try would be to set/add
    HOTPLUG=no
    NM_CONTROLLED=no

    Then bring it up/down and see if it comes back up.

    If it comes back up, then I suggest the next person of interest is
    systemd service/trigger or some app you have set to run in your DE
    (Desktop Environment) autostart directory.

    If so, next thing for you to research would be results from
    systemctl --all | grep -i network

    and remove anything having to do with network from your DE autostart directory.




    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From TJ@2:250/1 to All on Fri Oct 25 13:18:02 2019
    On 10/24/19 9:47 PM, faeychild wrote:
    On 25/10/19 11:54 am, faeychild wrote:
    On 25/10/19 7:00 am, Bobbie Sellers wrote:

         The sort of solution I would applaud, but have
    you set the User Control of the Network in MCC?

         bliss


    If you mean allow user to control the network - yes.

    I have an update pending - so you never know


      I removed the Ethernet connection.
    I rebooted the computer and the Ethernet connection was re-established.

    There is definitely some very controlling interference going with
    Mageia.  Why am I am reminded of Windows.


    On my desktops with an Ethernet connection, I've always found that a
    generic Internet connection is established on the first boot after an
    install, whether I personally created and configured it or not. On those machines that can use either wifi or Ethernet, wifi is not automatic.

    I've always thought that was expected behavior, something to handhold
    the inexperienced. I never tried to remove it, because I never wanted to.

    TJ

    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From William Unruh@2:250/1 to All on Fri Oct 25 20:22:37 2019
    On 2019-10-25, faeychild <faeychild@nomail.afraid.org> wrote:
    On 24/10/19 7:30 am, faeychild wrote:
    On 24/10/19 6:36 am, faeychild wrote:

    And with the netapplet icon it's "right click > settings > watched
    interface >  auto detect.
    Which is how it was originally, only now it is NOT auto restarting


    Nope It's still restarting
    "settings > watched interface" has no effect.

    I prefer the option of controlling my interface. Having it auto restart
    is a bit too Windows for me.


    Since today's update, the network requires root password to shut down.
    It still re spawns about 15 second after

    Oddly no one else experiences this



    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From William Unruh@2:250/1 to All on Fri Oct 25 20:25:07 2019
    On 2019-10-25, Bit Twister <BitTwister@mouse-potato.com> wrote:
    On Fri, 25 Oct 2019 18:36:01 +1100, faeychild wrote:

    Since today's update, the network requires root password to shut down.
    It still re spawns about 15 second after

    Oddly no one else experiences this

    Personally, I need the network up, and no, my nic stays down if I shut
    it down.

    Command used,
    ip link set $_net_nic down

    Then again, I am not running plasma, nor am I using Network or
    NetworkManager
    for nic management. I am using systemd-netowrkd for network management.

    If you were to
    grep NM_CONTROLLED /etc/sysconfig/network-scripts/ifcfg-*
    and see yes, then I suggest you are using NetworkManager for control
    of that device

    He has decided that he is using Network Center, the Mageia scripts for
    network control.


    A quick glance through /usr/share/doc/initscripts/sysconfig.txt indicates ONBOOT=xxx only controls whether to bring the device up during boot.

    First thing I would try would be to set/add
    HOTPLUG=no
    NM_CONTROLLED=no

    Then bring it up/down and see if it comes back up.

    If it comes back up, then I suggest the next person of interest is
    systemd service/trigger or some app you have set to run in your DE
    (Desktop Environment) autostart directory.

    If so, next thing for you to research would be results from
    systemctl --all | grep -i network

    and remove anything having to do with network from your DE autostart
    directory.




    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Fri Oct 25 21:09:03 2019
    On Fri, 25 Oct 2019 19:25:07 -0000 (UTC), William Unruh wrote:
    On 2019-10-25, Bit Twister <BitTwister@mouse-potato.com> wrote:
    On Fri, 25 Oct 2019 18:36:01 +1100, faeychild wrote:

    Since today's update, the network requires root password to shut down.
    It still re spawns about 15 second after

    Oddly no one else experiences this

    Personally, I need the network up, and no, my nic stays down if I shut
    it down.

    Command used,
    ip link set $_net_nic down

    Then again, I am not running plasma, nor am I using Network or NetworkManager
    for nic management. I am using systemd-netowrkd for network management.

    If you were to
    grep NM_CONTROLLED /etc/sysconfig/network-scripts/ifcfg-*
    and see yes, then I suggest you are using NetworkManager for control
    of that device

    He has decided that he is using Network Center, the Mageia scripts for network control.

    Yes I have been following the thread.
    At this point, I do not care what he is using to control the network.

    I am more interested in finding out what is in control of the network
    devices.

    Default is Network Manager unless you select No to Allow interface to
    be controlled by the Network Manager.

    I that case you should see NM_CONTROLLED=no in the device configuration file.


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From faeychild@2:250/1 to All on Fri Oct 25 21:55:21 2019
    On 25/10/19 8:17 pm, Bit Twister wrote:


    Morning Bits




    Personally, I need the network up, and no, my nic stays down if I shut
    it down.

    Command used,
    ip link set $_net_nic down

    ~]# /usr/sbin/ip link set $_net_nic down
    Not enough information: "dev" argument is required.

    I assume "$_net_nic down" is one of your scripts ?



    Then again, I am not running plasma, nor am I using Network or
    NetworkManager
    for nic management. I am using systemd-netowrkd for network management.

    If you were to
    grep NM_CONTROLLED /etc/sysconfig/network-scripts/ifcfg-*
    and see yes, then I suggest you are using NetworkManager for control
    of that device.

    ~]$ grep NM_CONTROLLED /etc/sysconfig/network-scripts/ifcfg-* /etc/sysconfig/network-scripts/ifcfg-enp0s31f6:NM_CONTROLLED=no



    A quick glance through /usr/share/doc/initscripts/sysconfig.txt indicates ONBOOT=xxx only controls whether to bring the device up during boot.

    First thing I would try would be to set/add
    HOTPLUG=no
    NM_CONTROLLED=no

    DEVICE=enp0s31f6
    BOOTPROTO=dhcp
    ONBOOT=yes
    METRIC=5
    MII_NOT_SUPPORTED=no
    USERCTL=yes
    RESOLV_MODS=no
    LINK_DETECTION_DELAY=6
    IPV6INIT=no
    IPV6TO4INIT=no
    ACCOUNTING=no
    DHCP_CLIENT=dhclient
    NEEDHOSTNAME=no
    PEERDNS=yes
    PEERYP=yes
    PEERNTPD=no
    HOTPLUG=no
    NM_CONTROLLED=no



    Ut is still restarting :-(



    Then bring it up/down and see if it comes back up.

    If it comes back up, then I suggest the next person of interest is
    systemd service/trigger or some app you have set to run in your DE
    (Desktop Environment) autostart directory.

    If so, next thing for you to research would be results from
    systemctl --all | grep -i network


    ~]# systemctl --all | grep -i network
    fedora-import-state.service
    loaded inactive dead
    Import network configuration from initramfs

    network-up.service
    loaded active exited LSB:
    Wait for the hotplugged network to be up

    network.service
    loaded active running LSB:
    Bring up/down networking

    ● NetworkManager-wait-online.service
    not-found inactive dead NetworkManager-wait-online.service

    ● NetworkManager.service
    not-found inactive dead NetworkManager.service

    systemd-timesyncd.service
    loaded active running
    Network Time Synchronization

    vnstat.service
    loaded active running
    vnStat - a lightweight network traffic monitor

    network-online.target
    loaded active active
    Network is Online

    network-pre.target
    loaded inactive dead
    Network (Pre)

    network.target
    loaded active active
    Network

    nss-lookup.target
    loaded active active Host
    and Network Name Lookups



    regards


    --
    faeychild
    Running plasmashell 5.15.4 on 5.3.6-desktop-2.mga7 kernel.
    Mageia release 7 (Official) for x86_64 installed via Mageia-7-x86_64-DVD.iso


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From faeychild@2:250/1 to All on Fri Oct 25 22:05:50 2019
    On 26/10/19 6:22 am, William Unruh wrote:


    Since today's update, the network requires root password to shut down.
    It still re spawns about 15 second after

    Oddly no one else experiences this



    The root password was easily fixed
    with MCC I "removed the connection"

    and "set up a new interface."

    It still restarts though


    --
    faeychild
    Running plasmashell 5.15.4 on 5.3.6-desktop-2.mga7 kernel.
    Mageia release 7 (Official) for x86_64 installed via Mageia-7-x86_64-DVD.iso


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From faeychild@2:250/1 to All on Fri Oct 25 22:08:05 2019
    On 25/10/19 11:18 pm, TJ wrote:
    On 10/24/19 9:47 PM, faeychild wrote:
    On 25/10/19 11:54 am, faeychild wrote:
    On 25/10/19 7:00 am, Bobbie Sellers wrote:

         The sort of solution I would applaud, but have
    you set the User Control of the Network in MCC?

         bliss


    If you mean allow user to control the network - yes.

    I have an update pending - so you never know


       I removed the Ethernet connection.
    I rebooted the computer and the Ethernet connection was re-established.

    There is definitely some very controlling interference going with
    Mageia.  Why am I am reminded of Windows.


    On my desktops with an Ethernet connection, I've always found that a
    generic Internet connection is established on the first boot after an install, whether I personally created and configured it or not. On those machines that can use either wifi or Ethernet, wifi is not automatic.

    I've always thought that was expected behavior, something to handhold
    the inexperienced. I never tried to remove it, because I never wanted to.

    TJ


    Until the last update I could "Disconnect Wired Ethernet" and it would
    stay down.
    Now it restarts - something is monitoring the connection

    --
    faeychild
    Running plasmashell 5.15.4 on 5.3.6-desktop-2.mga7 kernel.
    Mageia release 7 (Official) for x86_64 installed via Mageia-7-x86_64-DVD.iso


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From William Unruh@2:250/1 to All on Fri Oct 25 22:54:03 2019
    On 2019-10-25, Bit Twister <BitTwister@mouse-potato.com> wrote:
    On Fri, 25 Oct 2019 19:25:07 -0000 (UTC), William Unruh wrote:
    On 2019-10-25, Bit Twister <BitTwister@mouse-potato.com> wrote:
    On Fri, 25 Oct 2019 18:36:01 +1100, faeychild wrote:

    Since today's update, the network requires root password to shut down. >>>> It still re spawns about 15 second after

    Oddly no one else experiences this

    Personally, I need the network up, and no, my nic stays down if I shut
    it down.

    Command used,
    ip link set $_net_nic down

    Then again, I am not running plasma, nor am I using Network or NetworkManager
    for nic management. I am using systemd-netowrkd for network management.

    If you were to
    grep NM_CONTROLLED /etc/sysconfig/network-scripts/ifcfg-*
    and see yes, then I suggest you are using NetworkManager for control
    of that device

    He has decided that he is using Network Center, the Mageia scripts for
    network control.

    Yes I have been following the thread.
    At this point, I do not care what he is using to control the network.

    I do not know what "control of the network" means, as opposed to
    "control of the network devices".
    Both Network Center and Network Manager send commands to the network
    devices to make connections (via wpa_supplicant for wireless devices,
    not sure via what for wired devices).

    NM seems to set up a bunch of dbus stuff, which does who know what.

    My suspicion now might be that systemd is getting involved.


    I am more interested in finding out what is in control of the network devices.

    Default is Network Manager unless you select No to Allow interface to
    be controlled by the Network Manager.

    I that case you should see NM_CONTROLLED=no in the device configuration
    file.




    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Fri Oct 25 22:55:45 2019
    On Sat, 26 Oct 2019 07:55:21 +1100, faeychild wrote:
    On 25/10/19 8:17 pm, Bit Twister wrote:


    Morning Bits

    And a afternoon to you. :)



    Personally, I need the network up, and no, my nic stays down if I shut
    it down.

    Command used,
    ip link set $_net_nic down

    ~]# /usr/sbin/ip link set $_net_nic down
    Not enough information: "dev" argument is required.

    Anytime an application fails that you are unfamiliar with, I suggest
    at least looking at the man page before posting.


    I assume "$_net_nic down"

    You can make a general rule which says any word starting with $ can
    be assumed to be a variable in a bash/shell environment. If followed
    by a parenthesis, it would be another command/script.

    is one of your scripts ?

    Yes, and no. I have 3 desktops on my lan and support my neighbor's desktop.
    All of which have two nics.

    During install I create environment files to provide details about the installation. One of which define the network cards. That way I can use
    the $_net_nic variable without having to lookup what is the actual
    device name. In this case, on this node, it is
    echo $_net_nic
    enp3s0


    ~]$ grep NM_CONTROLLED /etc/sysconfig/network-scripts/ifcfg-* /etc/sysconfig/network-scripts/ifcfg-enp0s31f6:NM_CONTROLLED=no

    I would like to see the results from the following:
    ls -1 /etc/sysconfig/network-scripts/ifcfg-*



    ~]# systemctl --all | grep -i network
    fedora-import-state.service loaded inactive dead Import network
    configuration from initramfs

    network-up.service loaded active exited Wait for the hotplugged
    network to be up

    network.service loaded active running Bring up/down networking

    systemd-timesyncd.service loaded active running Network Time
    Synchronization

    vnstat.service loaded active running vnStat - a lightweight
    network traffic monitor

    network-online.target loaded active active Network is Online

    network-pre.target loaded inactive dead Network (Pre)

    network.target loaded active active Network

    nss-lookup.target loaded active active Host and Network Name
    Lookups


    I would stop some of those services to rule out one or more of them
    causing the device to go back into service.

    Homework, man watch

    Paste all these in a root terminal as one big paste

    systemctl stop vnstat.service
    systemctl stop nss-lookup.target
    systemctl stop systemd-timesyncd.service

    export _net_nic=enp0s31f6
    /usr/sbin/ip link set $_net_nic down
    /usr/sbin/ifconfig $_net_nic | grep flag
    watch --interval 5 "/usr/sbin/ifconfig $_net_nic | grep flag"

    To get out of the watch command, hit Ctl c

    If nic stays down, you would use another root terminal to start each of
    the stopped units. I suggest starting in the order stopped.


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From faeychild@2:250/1 to All on Sat Oct 26 05:48:04 2019
    On 26/10/19 8:55 am, Bit Twister wrote:
    On Sat, 26 Oct 2019 07:55:21 +1100, faeychild wrote:
    On 25/10/19 8:17 pm, Bit Twister wrote:


    Morning Bits

    And a afternoon to you. :)



    Personally, I need the network up, and no, my nic stays down if I shut
    it down.

    It I leave the computer untended recording streams TV,etc I take the
    network down - paranoia !!




    I would like to see the results from the following:
    ls -1 /etc/sysconfig/network-scripts/ifcfg-*


    ~]$ ls -1 /etc/sysconfig/network-scripts/ifcfg-* /etc/sysconfig/network-scripts/ifcfg-enp0s31f6* /etc/sysconfig/network-scripts/ifcfg-lo


    Homework, man watch

    Paste all these in a root terminal as one big paste

    systemctl stop vnstat.service
    systemctl stop nss-lookup.target
    systemctl stop systemd-timesyncd.service

    export _net_nic=enp0s31f6
    /usr/sbin/ip link set $_net_nic down
    /usr/sbin/ifconfig $_net_nic | grep flag
    watch --interval 5 "/usr/sbin/ifconfig $_net_nic | grep flag"

    To get out of the watch command, hit Ctl c

    If nic stays down, you would use another root terminal to start each of
    the stopped units. I suggest starting in the order stopped.





    When the nic is stopped the entry "RUNNING" disappears. It returns
    when the nic re-starts.

    But now, with no discernible pattern, sometimes the nic stays down

    This is not at all helpful :-(



    regards


    --
    faeychild
    Running plasmashell 5.15.4 on 5.3.6-desktop-2.mga7 kernel.
    Mageia release 7 (Official) for x86_64 installed via Mageia-7-x86_64-DVD.iso


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From faeychild@2:250/1 to All on Sat Oct 26 06:01:47 2019
    On 26/10/19 3:48 pm, faeychild wrote:

    To get out of the watch command, hit Ctl c

    If nic stays down, you would use another root terminal to start each of
    the stopped units. I suggest starting in the order stopped.





     When the nic is stopped the entry "RUNNING" disappears. It returns
    when the nic re-starts.

    But now, with no discernible pattern, sometimes the nic stays down

    This is not at all helpful :-(



    regards


    [root@unimatrix ~]# systemctl stop vnstat.service
    [root@unimatrix ~]# systemctl stop nss-lookup.target
    [root@unimatrix ~]# systemctl stop systemd-timesyncd.service [root@unimatrix ~]#
    [root@unimatrix ~]# export _net_nic=enp0s31f6
    [root@unimatrix ~]# /usr/sbin/ip link set $_net_nic down [root@unimatrix ~]# /usr/sbin/ifconfig $_net_nic | grep flag enp0s31f6: flags=4098<BROADCAST,MULTICAST> mtu 1500
    [root@unimatrix ~]# watch --interval 5 "/usr/sbin/ifconfig
    $_net_nic | grep flag"^C




    After this command "/usr/sbin/ip link set $_net_nic down" the nic
    goes down.. then comes back up again
    --


    faeychild
    Running plasmashell 5.15.4 on 5.3.6-desktop-2.mga7 kernel.
    Mageia release 7 (Official) for x86_64 installed via Mageia-7-x86_64-DVD.iso


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Sat Oct 26 07:53:13 2019
    On Sat, 26 Oct 2019 16:01:47 +1100, faeychild wrote:
    On 26/10/19 3:48 pm, faeychild wrote:

    To get out of the watch command, hit Ctl c

    If nic stays down, you would use another root terminal to start each of
    the stopped units. I suggest starting in the order stopped.





     When the nic is stopped the entry "RUNNING" disappears. It returns
    when the nic re-starts.

    But now, with no discernible pattern, sometimes the nic stays down

    This is not at all helpful :-(



    regards


    [root@unimatrix ~]# systemctl stop vnstat.service
    [root@unimatrix ~]# systemctl stop nss-lookup.target
    [root@unimatrix ~]# systemctl stop systemd-timesyncd.service [root@unimatrix ~]#
    [root@unimatrix ~]# export _net_nic=enp0s31f6
    [root@unimatrix ~]# /usr/sbin/ip link set $_net_nic down [root@unimatrix ~]# /usr/sbin/ifconfig $_net_nic | grep flag enp0s31f6: flags=4098<BROADCAST,MULTICAST> mtu 1500
    [root@unimatrix ~]# watch --interval 5 "/usr/sbin/ifconfig
    $_net_nic | grep flag"^C

    After this command "/usr/sbin/ip link set $_net_nic down" the nic
    goes down.. then comes back up again

    The object of the watch command was to check the nic every 5 seconds
    to allow you to see if the nic came up.

    If you are telling us, you stopped the indicated services, and watch
    showed you the nic came back up without doing something. then that
    means some other app/process did the restart and and the stopped units
    were not involved.

    My guess any service requiring the network to be up, is triggering the
    network code to bring up the nic.

    As root you can try
    grep -R network /usr/lib/systemd/system/* | grep -i requi
    That gets you a list of units which might require/cause the network to be started.

    You stop those services, shutdown the nic, and watch for it to come up
    or not.

    I have yet to see if you have anything running in your DE autostart directory.

    That might be eliminated by setting USERCTL=no in the /etc/sysconfig/network-scripts/ifcfg-enp file.

    Just not sure. I would install the xfce task rpm, create another user,
    Pick xfce Desktop Environment for the user, then log in. That would
    eliminate your DE as a person of interest in this who done it.


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From faeychild@2:250/1 to All on Sun Oct 27 05:19:53 2019
    On 26/10/19 5:53 pm, Bit Twister wrote:




    The object of the watch command was to check the nic every 5 seconds
    to allow you to see if the nic came up.

    In deed it did

    First
    enp0s31f6: flags=4163<UP,BROADCAST,MULTICAST> mtu 1500

    and then the nic came back up

    enp0s31f6: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500



    As root you can try
    grep -R network /usr/lib/systemd/system/* | grep -i requi
    That gets you a list of units which might require/cause the network to be
    started.

    You stop those services, shutdown the nic, and watch for it to come up


    [root@unimatrix ~]# grep -R network /usr/lib/systemd/system/* | grep -i
    requi /usr/lib/systemd/system/systemd-networkd-wait-online.service:Requires=systemd-n etworkd.service

    [root@unimatrix ~]# systemctl stop systemd-networkd-wait-online.service [root@unimatrix ~]# systemctl stop systemd-networkd.service
    [root@unimatrix ~]#


    The nic came back up

    or not.

    I have yet to see if you have anything running in your DE autostart
    directory.

    I've found many autostarts. I am surprised I remember only .kde/Autostart

    I hope these are the pertinent ones

    ~]# locate autostart
    /home/faeychild/.config/autostart
    /home/faeychild/.config/autostart-scripts
    /usr/share/autostart

    ls /usr/share/autostart
    user-dirs-update-gtk.desktop
    ~]# ls /home/faeychild/.config/autostart
    ~]# ls /home/faeychild/.config/autostart-scripts
    ~]#


    except for the gtk.desktop entry the others are empty


    That might be eliminated by setting USERCTL=no in the /etc/sysconfig/network-scripts/ifcfg-enp file.


    cat /etc/sysconfig/network-scripts/ifcfg-enp*
    DEVICE=enp0s31f6
    BOOTPROTO=dhcp
    ONBOOT=yes
    METRIC=5
    MII_NOT_SUPPORTED=no
    USERCTL=no
    RESOLV_MODS=no
    LINK_DETECTION_DELAY=6
    IPV6INIT=no
    IPV6TO4INIT=no
    ACCOUNTING=no
    DHCP_CLIENT=dhclient
    NEEDHOSTNAME=no
    PEERDNS=yes
    PEERYP=yes
    PEERNTPD=no
    HOTPLUG=no
    NM_CONTROLLED=no
    [root@unimatrix ~]#


    It still restarts



    Just not sure. I would install the xfce task rpm, create another user,
    Pick xfce Desktop Environment for the user, then log in. That would
    eliminate your DE as a person of interest in this who done it.
    \


    Would that be task-xfce 4.12 6.mga7
    or task-xfce 4.14 1.mga7


    Using "junk" account the nic comes back up

    using syatemrescuecd the nic comes back up


    does udev have any influence on ethernet?


    regards

    --
    faeychild
    Running plasmashell 5.15.4 on 5.3.6-desktop-2.mga7 kernel.
    Mageia release 7 (Official) for x86_64 installed via Mageia-7-x86_64-DVD.iso


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Sun Oct 27 05:59:02 2019
    On Sun, 27 Oct 2019 16:19:53 +1100, faeychild wrote:
    On 26/10/19 5:53 pm, Bit Twister wrote:

    [root@unimatrix ~]# grep -R network /usr/lib/systemd/system/* | grep -i
    requi

    /usr/lib/systemd/system/systemd-networkd-wait-online.service:Requires=systemd-n etworkd.service

    [root@unimatrix ~]# systemctl stop systemd-networkd-wait-online.service [root@unimatrix ~]# systemctl stop systemd-networkd.service

    That bites, pretty sure neither of those are configured to control your nic.


    ~]# locate autostart
    /home/faeychild/.config/autostart
    /home/faeychild/.config/autostart-scripts
    /usr/share/autostart

    Looking good, the .config dir is a good place to start with newer releases.



    cat /etc/sysconfig/network-scripts/ifcfg-enp*


    USERCTL=no


    It still restarts

    starting to rule out user stuff with that result.


    Would that be task-xfce 4.12 6.mga7
    or task-xfce 4.14 1.mga7

    When in doubt, always pick the latest/higher release.

    Using "junk" account the nic comes back up

    That tends to indicate something at system level.

    using syatemrescuecd the nic comes back up

    Waste of time changing the whole process.
    systemrescue is going to help by getting the network up.


    does udev have any influence on ethernet?

    usual directories to look in are
    /usr/lib/udev/rules.d /etc/udev/rules.d/ /lib/udev/rules.d/

    You my try grep -R enp0s31f6 /dir/of/choice/here

    I am pretty much out of ideas.

    Only other player difference between you and I is I have set my nic as
    static and you have your set dynamic (dhcp).

    If you have not also done so, you could post in the Mageia forum.


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Sun Oct 27 07:23:54 2019
    On Sun, 27 Oct 2019 16:19:53 +1100, faeychild wrote:
    On 26/10/19 5:53 pm, Bit Twister wrote:




    The object of the watch command was to check the nic every 5 seconds
    to allow you to see if the nic came up.

    In deed it did

    One other thing to try is watch the journal to see if anything else besides network makes an entry.

    If your id is not in the systemd-journal group, "id grep systemd", click up
    a root terminal and run
    journalctl --no-hostname -fa --no-pager
    then shutdown the nic and watch the journal output for when the nic comes
    back up.

    as for the udev grep, entirely possible you would not find the nic name
    because the mac address or uuid would be used.

    You can get the mac addy from the ifconfig command, any other info might
    be seen in the journal, with journalctl | grep enp0

    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From faeychild@2:250/1 to All on Sun Oct 27 20:52:10 2019
    On 27/10/19 6:23 pm, Bit Twister wrote:


    I'm dinking around with hot cold starts here because I find some
    instances where the right click menu doesn't appear.

    So after the box has been up some hours I'll do it again



    One other thing to try is watch the journal to see if anything else besides network makes an entry.

    If your id is not in the systemd-journal group, "id grep systemd", click up
    a root terminal and run
    journalctl --no-hostname -fa --no-pager
    then shutdown the nic and watch the journal output for when the nic comes back up.



    Oct 28 07:45:32 net_applet[6605]: running: /usr/sbin/ifdown enp0s31f6 daemon Oct 28 07:45:32 avahi-daemon[1044]: Withdrawing address record for
    192.168.1.1 on enp0s31f6.
    Oct 28 07:45:32 avahi-daemon[1044]: Leaving mDNS multicast group on
    interface enp0s31f6.IPv4 with address 192.168.1.1.
    Oct 28 07:45:32 avahi-daemon[1044]: Interface enp0s31f6.IPv4 no longer relevant for mDNS.
    Oct 28 07:45:32 kernel: e1000e: enp0s31f6 NIC Link is Down
    Oct 28 07:45:32 avahi-daemon[1044]: Interface enp0s31f6.IPv6 no longer relevant for mDNS.
    Oct 28 07:45:32 avahi-daemon[1044]: Leaving mDNS multicast group on
    interface enp0s31f6.IPv6 with address fe80::1e1b:dff:fea4:b28f.
    Oct 28 07:45:32 avahi-daemon[1044]: Withdrawing address record for fe80::1e1b:dff:fea4:b28f on enp0s31f6.
    Oct 28 07:45:32 plasmashell[6561]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/Not ificationDelegate.qml:114:13:
    Unable to assign QJSValue to QImage
    Oct 28 07:45:33 ifplugd(enp0s31f6)[3689]: Link beat lost.
    Oct 28 07:45:33 mgaapplet[6603]: Checking Network: seems disabled
    Oct 28 07:45:39 ifplugd(enp0s31f6)[3689]: Executing '/etc/ifplugd/ifplugd.action enp0s31f6 down'.
    Oct 28 07:45:39 kernel: e1000e: enp0s31f6 NIC Link is Down
    Oct 28 07:45:39 ifplugd(enp0s31f6)[3689]: Program executed successfully.
    Oct 28 07:45:39 kernel: e1000e: enp0s31f6 NIC Link is Up 1000 Mbps Half Duplex, Flow Control: None
    Oct 28 07:45:39 kernel: e1000e: enp0s31f6 NIC Link is Down
    Oct 28 07:45:45 kernel: e1000e: enp0s31f6 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
    Oct 28 07:45:45 kernel: IPv6: ADDRCONF(NETDEV_CHANGE): enp0s31f6: link
    becomes ready
    Oct 28 07:45:46 ifplugd(enp0s31f6)[3689]: Link beat detected.
    Oct 28 07:45:47 avahi-daemon[1044]: Joining mDNS multicast group on
    interface enp0s31f6.IPv6 with address fe80::1e1b:dff:fea4:b28f.
    Oct 28 07:45:47 avahi-daemon[1044]: New relevant interface
    enp0s31f6.IPv6 for mDNS.
    Oct 28 07:45:47 avahi-daemon[1044]: Registering new address record for fe80::1e1b:dff:fea4:b28f on enp0s31f6.*.
    Oct 28 07:45:47 ifplugd(enp0s31f6)[3689]: Executing '/etc/ifplugd/ifplugd.action enp0s31f6 up'.
    Oct 28 07:45:47 dhclient[8813]: DHCPREQUEST for 192.168.1.1 on enp0s31f6
    to 255.255.255.255 port 67
    Oct 28 07:45:47 dhclient[8813]: DHCPACK of 192.168.1.1 from 192.168.1.254
    Oct 28 07:45:47 avahi-daemon[1044]: Joining mDNS multicast group on
    interface enp0s31f6.IPv4 with address 192.168.1.1.
    Oct 28 07:45:47 avahi-daemon[1044]: New relevant interface
    enp0s31f6.IPv4 for mDNS.
    Oct 28 07:45:47 avahi-daemon[1044]: Registering new address record for 192.168.1.1 on enp0s31f6.IPv4.
    Oct 28 07:45:47 mgaapplet[6603]: Computing new updates...
    Oct 28 07:45:47 mgaapplet[6603]: running: mgaapplet-update-checker
    Oct 28 07:45:47 dhclient[8813]: bound to 192.168.1.1 -- renewal in 36174 seconds.
    Oct 28 07:45:47 ifplugd(enp0s31f6)[3689]: client: Determining IP
    information for enp0s31f6... done.
    Oct 28 07:45:47 mgaapplet-update-checker[8850]: ### Program is starting ###




    --
    faeychild
    Running plasmashell 5.15.4 on 5.3.6-desktop-2.mga7 kernel.
    Mageia release 7 (Official) for x86_64 installed via Mageia-7-x86_64-DVD.iso


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From David W. Hodgins@2:250/1 to All on Sun Oct 27 22:02:44 2019
    On Sun, 27 Oct 2019 16:52:10 -0400, faeychild <faeychild@nomail.afraid.org> wrote:

    Oct 28 07:45:47 avahi-daemon[1044]: Joining mDNS multicast group on
    interface enp0s31f6.IPv6 with address fe80::1e1b:dff:fea4:b28f.
    Oct 28 07:45:47 avahi-daemon[1044]: New relevant interface
    enp0s31f6.IPv6 for mDNS.
    Oct 28 07:45:47 avahi-daemon[1044]: Registering new address record for fe80::1e1b:dff:fea4:b28f on enp0s31f6.*.

    Try (as root) "systemctl mask avahi-daemon.service".

    Regards, Dave Hodgins

    --
    Change dwhodgins@nomail.afraid.org to davidwhodgins@teksavvy.com for
    email replies.

    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Sun Oct 27 22:04:10 2019
    On Mon, 28 Oct 2019 07:52:10 +1100, faeychild wrote:
    On 27/10/19 6:23 pm, Bit Twister wrote:


    I'm dinking around with hot cold starts here because I find some
    instances where the right click menu doesn't appear.

    So after the box has been up some hours I'll do it again



    One other thing to try is watch the journal to see if anything else besides >> network makes an entry.

    If your id is not in the systemd-journal group, "id grep systemd", click up >> a root terminal and run
    journalctl --no-hostname -fa --no-pager
    then shutdown the nic and watch the journal output for when the nic comes
    back up.



    Oct 28 07:45:32 net_applet[6605]: running: /usr/sbin/ifdown enp0s31f6 daemon

    Oct 28 07:45:32 avahi-daemon[1044]: Withdrawing address record for 192.168.1.1 on enp0s31f6.
    Oct 28 07:45:32 avahi-daemon[1044]: Leaving mDNS multicast group on
    interface enp0s31f6.IPv4 with address 192.168.1.1.


    Well there is one difference between you an I. I see no reason to be
    running something that implements Apple's Zeroconf architecture
    (also known as "Rendezvous" or "Bonjour").

    Easy test to just systemctl stop avahi-daemon, shut down nic and
    see I nic comes back up.

    When you get application updates and/or systemd unit file updates,
    their install script enables the unit or units.
    I find it handy to have a script to stop undesired services/triggers,
    for instance cups, and httpd. If I print something cups service is started.
    If I need to run phpadmin or cups configuration, I do a systemctl start httpd.

    Other undesired units are disabled, and some I mask out, to prevent them
    from ever starting. Since I have a install_updates script, I can call my disable_services script to turn off any installed rpm which may have
    started a service.


    Oct 28 07:45:32 avahi-daemon[1044]: Leaving mDNS multicast group on
    interface enp0s31f6.IPv6 with address fe80::1e1b:dff:fea4:b28f.

    I have seen articles of ipv6 apps with security problems. My ISP only
    assigns ipv4 addresses, so I see no reason to be running ipv6 code.

    How you ask? Hint:
    $ grep ipv6 /etc/default/grub
    GRUB_CMDLINE_LINUX="ipv6.disable=1 audit=0 splash=off noresume"

    Note, anytime you change /etc/default/grub, you need to run update-grub


    Oct 28 07:45:33 ifplugd(enp0s31f6)[3689]: Link beat lost.
    Oct 28 07:45:33 mgaapplet[6603]: Checking Network: seems disabled

    Seems kinda funny that you want to keep the network down when you are
    not using it, yet you have apps/services running needing network access.
    I do not have mgaapplet installed so I can not tell what it does.


    Oct 28 07:45:39 ifplugd(enp0s31f6)[3689]: Executing '/etc/ifplugd/ifplugd.action enp0s31f6 down'.
    Oct 28 07:45:39 kernel: e1000e: enp0s31f6 NIC Link is Down
    Oct 28 07:45:39 ifplugd(enp0s31f6)[3689]: Program executed successfully.
    Oct 28 07:45:39 kernel: e1000e: enp0s31f6 NIC Link is Up

    So, my guess is mgaapplet triggered the code to bring up the nic.

    Link is Up 1000 Mbps Half Duplex, Flow Control: None

    Well that bites.
    Half Duplex means you are not getting full speed from your setup.

    $ ethtool $_net_nic | egrep "Speed|Duplex|detected"
    Cannot get wake-on-lan settings: Operation not permitted
    Speed: 1000Mb/s
    Duplex: Full
    Link detected: yes

    Oct 28 07:45:39 kernel: e1000e: enp0s31f6 NIC Link is Down
    Oct 28 07:45:45 kernel: e1000e: enp0s31f6 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx


    Weird, now it is Full Duplex.


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From faeychild@2:250/1 to All on Mon Oct 28 08:28:55 2019
    On 28/10/19 9:04 am, Bit Twister wrote:



    Weird, now it is Full Duplex.


    There is a lot of weird here Bits

    I tried Dave's suggestion

    It did stop avahi but the nic still came back up

    but it makes sense that if mga update is going to run all the time then
    it will bring up the network

    This is obviously a protocol change because the network used to stay
    down when it was taken down
    I can live with it, knowing what it is. It is annoying that things are
    changed constantly.

    I have disabled the avahi daemon though


    ~]# systemctl list-units | grep -i avahi
    [root@unimatrix ~]#


    I noticed this

    Oct 28 18:56:47 mgaapplet-update-checker[645]: updating inactive
    backport media Core Backports (distrib7), Nonfree Backports (distrib17), Tainted Backports (distrib27), Core 32bit Backports (distrib34), Nonfree
    32bit Backports (distrib39), Tainted 32bit Backports (distrib44)
    Oct 28 18:56:47 mgaapplet-update-checker[645]: running: urpmi.update
    Core Backports (distrib7)
    Oct 28 18:56:47 pkexec[678]: pam_unix(polkit-1:session): session opened
    for user root by (uid=1000)


    The very busy mgaaplet is updating inactive backport data.
    Is this not somewhat pointless - I don't have backports checked either



    this is interesting

    Oct 28 19:19:35 net_applet[4543]: running: /usr/sbin/ifdown enp0s31f6 daemon Oct 28 19:19:35 kernel: e1000e: enp0s31f6 NIC Link is Down
    Oct 28 19:19:35 ifplugd(enp0s31f6)[3672]: Link beat lost.
    Oct 28 19:19:36 mgaapplet[4541]: Checking Network: seems disabled
    Oct 28 19:19:36 plasmashell[4499]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/Not ificationDelegate.qml:114:13:
    Unable to assign QJSValue to QImage
    Oct 28 19:19:41 ifplugd(enp0s31f6)[3672]: Executing '/etc/ifplugd/ifplugd.action enp0s31f6 down'.
    Oct 28 19:19:41 kernel: e1000e: enp0s31f6 NIC Link is Down
    Oct 28 19:19:41 kernel: e1000e: enp0s31f6 NIC Link is Up 1000 Mbps Half Duplex, Flow Control: None
    Oct 28 19:19:41 ifplugd(enp0s31f6)[3672]: Program executed successfully.
    Oct 28 19:19:48 kernel: e1000e: enp0s31f6 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
    Oct 28 19:19:48 kernel: IPv6: ADDRCONF(NETDEV_CHANGE): enp0s31f6: link
    becomes ready
    Oct 28 19:19:49 ifplugd(enp0s31f6)[3672]: Link beat detected.
    Oct 28 19:19:50 ifplugd(enp0s31f6)[3672]: Executing '/etc/ifplugd/ifplugd.action enp0s31f6 up'.
    Oct 28 19:19:50 dhclient[28250]: DHCPREQUEST for 192.168.1.1 on
    enp0s31f6 to 255.255.255.255 port 67
    Oct 28 19:19:50 dhclient[28250]: DHCPACK of 192.168.1.1 from 192.168.1.254
    Oct 28 19:19:50 mgaapplet[4541]: Computing new updates...
    Oct 28 19:19:50 mgaapplet[4541]: running: mgaapplet-update-checker
    Oct 28 19:19:50 dhclient[28250]: bound to 192.168.1.1 -- renewal in
    36336 seconds.
    Oct 28 19:19:50 ifplugd(enp0s31f6)[3672]: client: Determining IP
    information for enp0s31f6... done.
    Oct 28 19:19:50 mgaapplet-update-checker[28312]: ### Program is starting ### Oct 28 19:19:50 plasmashell[4499]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/Not ificationDelegate.qml:114:13:
    Unable to assign QJSValue to QImage
    Oct 28 19:19:50 ifplugd(enp0s31f6)[3672]: Program executed successfully.
    Oct 28 19:19:50 mgaapplet-update-checker[28312]: running: urpmi.update --update
    Oct 28 19:19:50 pkexec[28388]: pam_unix(polkit-1:session): session
    opened for user root by (uid=1000)
    Oct 28 19:19:50 pkexec[28388]: nykysle: Executing command [USER=root] [TTY=unknown] [CWD=/] [COMMAND=/usr/libexec/urpmi.update --update]
    Oct 28 19:19:51 mgaapplet-update-checker[28312]: updating inactive
    backport media Core Backports (distrib7), Nonfree Backports (distrib17), Tainted Backports (distrib27), Core 32bit Backports (distrib34), Nonfree
    32bit Backports (distrib39), Tainted 32bit Backports (distrib44)



    It looks like the nic is brought up each time I take it down and then
    update runs


    I will have to look into temp / perm disable updates


    Regards


    --
    faeychild
    Running plasmashell 5.15.4 on 5.3.6-desktop-2.mga7 kernel.
    Mageia release 7 (Official) for x86_64 installed via Mageia-7-x86_64-DVD.iso


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Mon Oct 28 10:13:20 2019
    On Mon, 28 Oct 2019 19:28:55 +1100, faeychild wrote:
    On 28/10/19 9:04 am, Bit Twister wrote:



    Weird, now it is Full Duplex.


    There is a lot of weird here Bits

    I tried Dave's suggestion

    It did stop avahi but the nic still came back up

    but it makes sense that if mga update is going to run all the time then
    it will bring up the network

    It has been years, but in the mcc software section there was a setting
    as to how often the check for software updates was to be made.

    I would have thought it would stay with the selected time and not
    bother with bringing up the network.

    You could do a urpme mgaonline, and see if nic still comes backup.
    If so reinstall mgaonline.

    I noticed this

    Oct 28 18:56:47 mgaapplet-update-checker[645]: updating inactive
    backport media Core Backports (distrib7), Nonfree Backports (distrib17), Tainted Backports (distrib27), Core 32bit Backports (distrib34), Nonfree 32bit Backports (distrib39), Tainted 32bit Backports (distrib44)
    Oct 28 18:56:47 mgaapplet-update-checker[645]: running: urpmi.update
    Core Backports (distrib7)
    Oct 28 18:56:47 pkexec[678]: pam_unix(polkit-1:session): session opened
    for user root by (uid=1000)


    The very busy mgaaplet is updating inactive backport data.
    Is this not somewhat pointless - I don't have backports checked either

    I figured it pointless to have a media entry if I am not going to use it,
    so I remove all those kinds of entries.
    urpmi.removemedia -y Debug Backport Testing







    this is interesting

    Oct 28 19:19:36 mgaapplet[4541]: Checking Network: seems disabled
    Oct 28 19:19:36 plasmashell[4499]:

    file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/Not ificationDelegate.qml:114:13:
    Unable to assign QJSValue to QImage

    Yeah, I saw those in your previous post, But i have not used plasma in awhile so it was a tossup in my mind as to which of the above two might be causing
    the network to come back up.


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From faeychild@2:250/1 to All on Mon Oct 28 11:50:37 2019
    On 28/10/19 9:13 pm, Bit Twister wrote:


    It has been years, but in the mcc software section there was a setting
    as to how often the check for software updates was to be made.

    There is! and I've never paid it any attention until now.

    "Configure Updates Frequency" and there is also

    /etc/sysconfig/mgaapplet



    I would have thought it would stay with the selected time and not
    bother with bringing up the network.

    I believe, that until the last few updates, that is what it did do.

    You could do a urpme mgaonline, and see if nic still comes backup.
    If so reinstall mgaonline.

    ~]# urpme mgaonline
    removing mgaonline-3.30-1.mga7.noarch
    removing package mgaonline-3.30-1.mga7.noarch
    1/1: removing mgaonline-3.30-1.mga7.noarch

    #####################################################################warning: /etc/sysconfig/mgaapplet saved as /etc/sysconfig/mgaapplet.rpmsave
    ##
    writing /var/lib/rpm/installed-through-deps.list



    nic still comes up

    So my belief is in error. It is not mgaonline and it's not avahi




    The very busy mgaaplet is updating inactive backport data.
    Is this not somewhat pointless - I don't have backports checked either

    I figured it pointless to have a media entry if I am not going to use it,
    so I remove all those kinds of entries.
    urpmi.removemedia -y Debug Backport Testing

    Also pointless is not having Backport entries checked in
    "Configure Media"

    It checks on it regardless. I could uncheck everything and see what the mgaonline does with it then.

    But that's another side track chasing shadows


    Oct 28 19:19:36 mgaapplet[4541]: Checking Network: seems disabled
    Oct 28 19:19:36 plasmashell[4499]:
    file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/Not ificationDelegate.qml:114:13:
    Unable to assign QJSValue to QImage

    Yeah, I saw those in your previous post, But i have not used plasma in
    awhile
    so it was a tossup in my mind as to which of the above two might be causing the network to come back up.


    Both of them or evil spirits

    I am chasing ghosts, Bits.

    I'll live with the nic up, it's not really a security risk. It's just a comfort/control option I became accustomed too


    Thanks for all your help, Bits.
    As always we seem to take the scenic route and I learn something new
    each time and more stuff for the Brain File. Good fun :-)

    regards

    --
    faeychild
    Running plasmashell 5.15.4 on 5.3.6-desktop-2.mga7 kernel.
    Mageia release 7 (Official) for x86_64 installed via Mageia-7-x86_64-DVD.iso


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Mon Oct 28 12:13:44 2019
    On Mon, 28 Oct 2019 22:50:37 +1100, faeychild wrote:

    ~]# urpme mgaonline
    removing mgaonline-3.30-1.mga7.noarch
    removing package mgaonline-3.30-1.mga7.noarch
    1/1: removing mgaonline-3.30-1.mga7.noarch


    #####################################################################warning:
    /etc/sysconfig/mgaapplet saved as /etc/sysconfig/mgaapplet.rpmsave
    ##
    writing /var/lib/rpm/installed-through-deps.list



    nic still comes up

    Ok, you can put mgaonline back if you like.


    So my belief is in error. It is not mgaonline and it's not avahi

    Yeah, I was starting to think mgaonline package.

    This leaves me guessing dhcp*. You could configure the nic as static ip
    address and see if nic comes back up. You can look around in the lease
    file to get gateway and whatnot to use during static configuration.

    locate enp0s31f6

    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From David W. Hodgins@2:250/1 to All on Mon Oct 28 15:36:36 2019
    On Mon, 28 Oct 2019 04:28:55 -0400, faeychild <faeychild@nomail.afraid.org> wrote:

    Finally, it's clear what's doing the change.

    Oct 28 19:19:35 ifplugd(enp0s31f6)[3672]: Link beat lost.
    Oct 28 19:19:41 ifplugd(enp0s31f6)[3672]: Executing '/etc/ifplugd/ifplugd.action enp0s31f6 down'.
    Oct 28 19:19:41 kernel: e1000e: enp0s31f6 NIC Link is Down
    Oct 28 19:19:41 kernel: e1000e: enp0s31f6 NIC Link is Up 1000 Mbps Half Duplex, Flow Control: None
    Oct 28 19:19:41 ifplugd(enp0s31f6)[3672]: Program executed successfully.

    In /etc/sysconfig/network-scripts/ifup-eth ...
    # exec ifplugd daemon at boot if supported
    if [ -n "${daemon}" -a "$MII_NOT_SUPPORTED" != "yes" ]; then
    IFPLUGD_ARGS="${IFPLUGD_ARGS=-I -b}"
    exec /sbin/ifplugd $IFPLUGD_ARGS -i $DEVICE
    fi

    # rpm -q -i ifplugd|grep ^Summary
    Summary : Detect and perform actions when an ethernet cable is (un)plugged

    To avoid this, change the value for MII_NOT_SUPPORTED to yes in the ifcfg-enp0s31f6
    file.

    I suspect there is a poor connection for the network causing it to appear to be
    plugged in and unplugged frequently. Try reseating the network interface card, and the network cable going to the router as a better fix.

    Regards, Dave Hodgins

    --
    Change dwhodgins@nomail.afraid.org to davidwhodgins@teksavvy.com for
    email replies.

    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Mon Oct 28 18:30:10 2019
    On Mon, 28 Oct 2019 11:36:36 -0400, David W. Hodgins wrote:
    On Mon, 28 Oct 2019 04:28:55 -0400, faeychild <faeychild@nomail.afraid.org>
    wrote:

    Finally, it's clear what's doing the change.

    Oct 28 19:19:35 ifplugd(enp0s31f6)[3672]: Link beat lost.
    Oct 28 19:19:41 ifplugd(enp0s31f6)[3672]: Executing
    '/etc/ifplugd/ifplugd.action enp0s31f6 down'.
    Oct 28 19:19:41 kernel: e1000e: enp0s31f6 NIC Link is Down
    Oct 28 19:19:41 kernel: e1000e: enp0s31f6 NIC Link is Up 1000 Mbps Half
    Duplex, Flow Control: None
    Oct 28 19:19:41 ifplugd(enp0s31f6)[3672]: Program executed successfully.

    In /etc/sysconfig/network-scripts/ifup-eth ...
    # exec ifplugd daemon at boot if supported
    if [ -n "${daemon}" -a "$MII_NOT_SUPPORTED" != "yes" ]; then
    IFPLUGD_ARGS="${IFPLUGD_ARGS=-I -b}"
    exec /sbin/ifplugd $IFPLUGD_ARGS -i $DEVICE
    fi

    # rpm -q -i ifplugd|grep ^Summary
    Summary : Detect and perform actions when an ethernet cable is
    (un)plugged

    To avoid this, change the value for MII_NOT_SUPPORTED to yes in the
    ifcfg-enp0s31f6
    file.

    I suspect there is a poor connection for the network causing it to appear to
    be
    plugged in and unplugged frequently.

    If so I would expect to see hits/errors on the TX/RX or other items.
    For example:

    ifconfig $_net_nic | grep error
    RX errors 0 dropped 0 overruns 0 frame 0
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    Since the OP is taking the nic down manually, I would expect some of the
    values to not be 0.

    It would be better to check the stats, gently move the cable around
    in a small circle, on both ends and verify counts are the same as
    before the cable moves.

    Not sure but the only way to clear the counters is a re-boot.


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Mon Oct 28 18:46:06 2019
    On Mon, 28 Oct 2019 11:36:36 -0400, David W. Hodgins wrote:
    On Mon, 28 Oct 2019 04:28:55 -0400, faeychild <faeychild@nomail.afraid.org>
    wrote:

    Finally, it's clear what's doing the change.

    Oct 28 19:19:35 ifplugd(enp0s31f6)[3672]: Link beat lost.
    Oct 28 19:19:41 ifplugd(enp0s31f6)[3672]: Executing
    '/etc/ifplugd/ifplugd.action enp0s31f6 down'.

    You might want to take your nic down/up a few times. I would guess
    you will still see the same kind of messages since ifplugd is
    the script used for up/down control.

    Keep in mind, the OP's problem is after taking down the nic manually,
    it comes back up automagically every time.

    Since this happens every time, I would expect to see the nic repeatedly bouncing up and down with no user interaction if it is a loose connection
    or bad hardware.


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From faeychild@2:250/1 to All on Mon Oct 28 20:26:01 2019
    On 28/10/19 11:13 pm, Bit Twister wrote:
    On Mon, 28 Oct 2019 22:50:37 +1100, faeychild wrote:

    ~]# urpme mgaonline
    removing mgaonline-3.30-1.mga7.noarch
    removing package mgaonline-3.30-1.mga7.noarch
    1/1: removing mgaonline-3.30-1.mga7.noarch

    #####################################################################warning: >> /etc/sysconfig/mgaapplet saved as /etc/sysconfig/mgaapplet.rpmsave
    ##
    writing /var/lib/rpm/installed-through-deps.list



    nic still comes up

    Ok, you can put mgaonline back if you like.

    Or just leave the helpful nonsense disabled and periodically check
    manually.




    This leaves me guessing dhcp*. You could configure the nic as static ip address and see if nic comes back up. You can look around in the lease
    file to get gateway and whatnot to use during static configuration.

    locate enp0s31f6


    ~]$ locate enp0s31f6
    /etc/sysconfig/network-scripts/ifcfg-enp0s31f6 /var/lib/dhclient/dhclient--enp0s31f6.lease



    This could raise a slew of new problems.
    The nic is set for DHCP.
    If I set it static does the router need to be reconfigured ?

    Is this a another adventure?

    If I ever get that Ethernet cable for the "printer > router" how much
    drama will that generate??


    I'll lick my wounds for while, Bits.

    Regards

    --
    faeychildiF
    Running plasmashell 5.15.4 on 5.3.6-desktop-2.mga7 kernel.
    Mageia release 7 (Official) for x86_64 installed via Mageia-7-x86_64-DVD.iso


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Mon Oct 28 21:43:45 2019
    On Tue, 29 Oct 2019 07:26:01 +1100, faeychild wrote:
    On 28/10/19 11:13 pm, Bit Twister wrote:

    Ok, you can put mgaonline back if you like.

    Or just leave the helpful nonsense disabled and periodically check
    manually.

    Very true. It would be dead easy to have a script to pull down any updates
    and if any, you would do the install.


    This leaves me guessing dhcp*. You could configure the nic as static ip
    address and see if nic comes back up. You can look around in the lease
    file to get gateway and whatnot to use during static configuration.

    locate enp0s31f6


    ~]$ locate enp0s31f6
    /etc/sysconfig/network-scripts/ifcfg-enp0s31f6 /var/lib/dhclient/dhclient--enp0s31f6.lease

    That /var/lib/ file is the one which should have some of the answers needed
    to do static configuration. I would like to see the last stanza of that file.

    This could raise a slew of new problems.

    Hmmmm, hopefully not if done carefully, without typos.


    The nic is set for DHCP.
    If I set it static does the router need to be reconfigured ?

    Easy enough to figure out. Go ahead configure the nic
    with static ip 192.168.1.100 and bring the nic down/up, check the ip
    address with ifconfig, and
    ping -c1 -w3 72.30.35.10
    If that passes, so does
    ping -c1 -w3 yahoo.com
    you know it works.

    To really do it correctly, you would get into the router dhcp screen
    and reserve/assign an ip address to a mac address. I would assign
    static ip addresses at a high number and leave any guest/dynamic
    assignments to the first 98 low numbers

    nic address and mac address can be found in ifconfig enp0s31f6
    Example snippet.

    $ ifconfig $_net_nic
    enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
    inet 192.168.11.132 netmask 255.255.255.0 broadcast 192.168.11.255
    ether a0:f3:c1:00:3c:1e txqueuelen 1000 (Ethernet)

    192.168.11.132 is nic ip address.
    a0:f3:c1:00:3c:1e is nic mac address


    Is this a another adventure?

    I would hate to attempt a guess and I am assuming you disabled ipv6
    on your node/system.

    It is always easy when you know how. You provide required information,
    ip addy, netmask, gateway, dns servers. I expect the lease file to have
    the data, or you can get the information from ifconfig, route -n, and
    cat /etc/resolv.conf

    If I ever get that Ethernet cable for the "printer > router" how much
    drama will that generate??

    In my stupid opinion, there should be no drama if you configure it
    static, add an entry in /etc/hosts, Example:

    $ grep ptr /etc/hosts
    192.168.11.190 ptr.home.test ptr

    $ ping -c1 ptr
    PING ptr.home.test (192.168.11.190) 56(84) bytes of data.
    - --- ptr.home.test ping statistics ---
    1 packets transmitted, 1 received, 0% packet loss, time 0ms
    rtt min/avg/max/mdev = 0.151/0.151/0.151/0.000 ms

    I'll lick my wounds for while, Bits.


    I understand.

    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Mon Oct 28 22:21:40 2019
    On Tue, 29 Oct 2019 07:26:01 +1100, faeychild wrote:

    This could raise a slew of new problems.

    Oh yeah, before I forget it, again, you disabled avahi-daemon so you
    might want to consider optimizing/removing unwanted lookup methods/types.

    snippet from /etc/nsswitch.conf
    # Changed by /local/bin/nsswitch_changes Sat 29 Jun 08:40 2019
    # hosts: mdns4_minimal files nis dns mdns4 myhostname
    hosts: files dns myhostname


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Jim Beard@2:250/1 to All on Mon Oct 28 23:17:12 2019
    On Tue, 29 Oct 2019 07:26:01 +1100, faeychild wrote:

    On 28/10/19 11:13 pm, Bit Twister wrote:
    On Mon, 28 Oct 2019 22:50:37 +1100, faeychild wrote:

    ~]# urpme mgaonline removing mgaonline-3.30-1.mga7.noarch removing
    package mgaonline-3.30-1.mga7.noarch
    1/1: removing mgaonline-3.30-1.mga7.noarch

    #####################################################################warning: >>> /etc/sysconfig/mgaapplet saved as /etc/sysconfig/mgaapplet.rpmsave ##
    writing /var/lib/rpm/installed-through-deps.list



    nic still comes up

    Ok, you can put mgaonline back if you like.

    Or just leave the helpful nonsense disabled and periodically check
    manually.




    This leaves me guessing dhcp*. You could configure the nic as static ip
    address and see if nic comes back up. You can look around in the lease
    file to get gateway and whatnot to use during static configuration.

    locate enp0s31f6


    ~]$ locate enp0s31f6 /etc/sysconfig/network-scripts/ifcfg-enp0s31f6 /var/lib/dhclient/dhclient--enp0s31f6.lease



    This could raise a slew of new problems.
    The nic is set for DHCP.
    If I set it static does the router need to be reconfigured ?

    For my actiontec router, I had to log into the router, click on Advanced, click on IP Address Distribution, and there set the connection to Static.

    This assumes you already have a DHCP connection, of the dynamic variety,
    so the ip address and nic physical address will already be set for each connection.

    Cheers!

    jim b.

    --
    UNIX is not user-unfriendly, it merely expects users to be computer-
    friendly.

    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Tue Oct 29 01:01:02 2019
    On Mon, 28 Oct 2019 23:17:12 -0000 (UTC), Jim Beard wrote:

    For my actiontec router, I had to log into the router, click on Advanced, click on IP Address Distribution, and there set the connection to Static.

    Hmmm, sounds like you may have set the router to have a static ISP ip,
    Not assigning a static ip to a specific nic on the lan.

    run " wget -qO - http://icanhazip.com" and if the returned ip address
    is the same as set in your static setup, then that will work until
    your is assigns you a new ip address.

    I know I was able to just pick an ip in my actiontech router and was
    always able to get a connection. I just had to make sure no other
    device was using the same ip address.


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Jim Beard@2:250/1 to All on Tue Oct 29 02:43:56 2019
    On Mon, 28 Oct 2019 20:01:02 -0500, Bit Twister wrote:

    On Mon, 28 Oct 2019 23:17:12 -0000 (UTC), Jim Beard wrote:

    For my actiontec router, I had to log into the router, click on
    Advanced,
    click on IP Address Distribution, and there set the connection to
    Static.

    Hmmm, sounds like you may have set the router to have a static ISP ip,
    Not assigning a static ip to a specific nic on the lan.

    Not so. For example, one entry is
    ip 192.168.1.9 nic 70:8b:cd:ac:1d:a8 host Sorrel.
    A 192.168.* ip is definitely on the lan.

    run " wget -qO - http://icanhazip.com" and if the returned ip address
    is the same as set in your static setup, then that will work until your
    is assigns you a new ip address.

    $ wget -qO - http://icanhazip.com
    96.241.126.102

    I know I was able to just pick an ip in my actiontech router and was
    always able to get a connection. I just had to make sure no other device
    was using the same ip address.

    Cheers!

    jim b.

    --
    UNIX is not user-unfriendly, it merely expects users to be computer-
    friendly.

    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Tue Oct 29 03:01:41 2019
    On Tue, 29 Oct 2019 02:43:56 -0000 (UTC), Jim Beard wrote:
    On Mon, 28 Oct 2019 20:01:02 -0500, Bit Twister wrote:

    On Mon, 28 Oct 2019 23:17:12 -0000 (UTC), Jim Beard wrote:

    For my actiontec router, I had to log into the router, click on
    Advanced,
    click on IP Address Distribution, and there set the connection to
    Static.

    Hmmm, sounds like you may have set the router to have a static ISP ip,
    Not assigning a static ip to a specific nic on the lan.

    Not so. For example, one entry is
    ip 192.168.1.9 nic 70:8b:cd:ac:1d:a8 host Sorrel.
    A 192.168.* ip is definitely on the lan.

    run " wget -qO - http://icanhazip.com" and if the returned ip address
    is the same as set in your static setup, then that will work until your
    is assigns you a new ip address.

    $ wget -qO - http://icanhazip.com
    96.241.126.102

    Ok, I stand corrected. It has been a few years since I had an actiontech
    router and playing in other routers since then has not helped my memory.

    Sorry.

    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From faeychild@2:250/1 to All on Tue Oct 29 21:05:25 2019
    On 29/10/19 8:43 am, Bit Twister wrote:

    Or just leave the helpful nonsense disabled and periodically check
    manually.


    Very true. It would be dead easy to have a script to pull down any updates and if any, you would do the install.M

    One which have posted occasionally.



    This leaves me guessing dhcp*. You could configure the nic as static ip
    address and see if nic comes back up. You can look around in the lease
    file to get gateway and whatnot to use during static configuration.

    locate enp0s31f6


    ~]$ locate enp0s31f6
    /etc/sysconfig/network-scripts/ifcfg-enp0s31f6
    /var/lib/dhclient/dhclient--enp0s31f6.lease

    That /var/lib/ file is the one which should have some of the answers needed to do static configuration. I would like to see the last stanza of that
    file.

    lease {
    interface "enp0s31f6";
    fixed-address 192.168.1.1;
    option subnet-mask 255.255.255.0;
    option dhcp-lease-time 86400;
    option routers 192.168.1.254;
    option dhcp-message-type 5;
    option dhcp-server-identifier 192.168.1.254;
    option domain-name-servers 192.168.1.254;
    option domain-name "home.gateway";
    renew 2 2019/10/29 22:05:14;
    rebind 3 2019/10/30 07:28:55;
    expire 3 2019/10/30 10:28:55;
    }
    lease {
    interface "enp0s31f6";
    fixed-address 192.168.1.1;
    option subnet-mask 255.255.255.0;
    option routers 192.168.1.254;
    option dhcp-lease-time 86400;
    option dhcp-message-type 5;
    option domain-name-servers 192.168.1.254;
    option dhcp-server-identifier 192.168.1.254;
    option domain-name "home.gateway";
    renew 3 2019/10/30 07:15:11;
    rebind 3 2019/10/30 17:34:59;
    expire 3 2019/10/30 20:34:59;
    }


    This could raise a slew of new problems.

    Hmmmm, hopefully not if done carefully, without typos.

    HOPEFULLY!! Yes magic word




    It is always easy when you know how. You provide required information,
    ip addy, netmask, gateway, dns servers. I expect the lease file to have
    the data, or you can get the information from ifconfig, route -n, and
    cat /etc/resolv.conf

    Wisdom of hindsight also!!

    I'll lick my wounds for while, Bits.


    I understand.


    I have cut and pasted your reply to the brain file.
    The day will come. :-)

    regards
    --
    faeychild
    Running plasmashell 5.15.4 on 5.3.6-desktop-2.mga7 kernel.
    Mageia release 7 (Official) for x86_64 installed via Mageia-7-x86_64-DVD.iso


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From faeychild@2:250/1 to All on Tue Oct 29 21:11:42 2019
    On 29/10/19 9:21 am, Bit Twister wrote:
    On Tue, 29 Oct 2019 07:26:01 +1100, faeychild wrote:

    This could raise a slew of new problems.

    Oh yeah, before I forget it, again, you disabled avahi-daemon so you
    might want to consider optimizing/removing unwanted lookup methods/types.

    snippet from /etc/nsswitch.conf
    # Changed by /local/bin/nsswitch_changes Sat 29 Jun 08:40 2019
    # hosts: mdns4_minimal files nis dns mdns4 myhostname
    hosts: files dns myhostname


    cat /etc/nsswitch.conf

    passwd: files
    shadow: files
    group: files

    hosts: mdns4_minimal files nis dns mdns4 myhostname
    networks: files

    services: files
    protocols: files
    rpc: files
    ethers: files
    netmasks: files
    netgroup: files
    publickey: files

    bootparams: files
    automount: files
    aliases: files



    It's already another adventure, Bits :-)


    --
    faeychild
    Running plasmashell 5.15.4 on 5.3.6-desktop-2.mga7 kernel.
    Mageia release 7 (Official) for x86_64 installed via Mageia-7-x86_64-DVD.iso


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From faeychild@2:250/1 to All on Tue Oct 29 21:16:51 2019
    On 29/10/19 10:17 am, Jim Beard wrote:
    On Tue, 29 Oct 2019 07:26:01 +1100, faeychild wrote:

    On 28/10/19 11:13 pm, Bit Twister wrote:
    On Mon, 28 Oct 2019 22:50:37 +1100, faeychild wrote:

    ~]# urpme mgaonline removing mgaonline-3.30-1.mga7.noarch removing
    package mgaonline-3.30-1.mga7.noarch
    1/1: removing mgaonline-3.30-1.mga7.noarch



    #####################################################################warning: >>>> /etc/sysconfig/mgaapplet saved as /etc/sysconfig/mgaapplet.rpmsave ##
    writing /var/lib/rpm/installed-through-deps.list



    nic still comes up

    Ok, you can put mgaonline back if you like.

    Or just leave the helpful nonsense disabled and periodically check
    manually.




    This leaves me guessing dhcp*. You could configure the nic as static ip
    address and see if nic comes back up. You can look around in the lease
    file to get gateway and whatnot to use during static configuration.

    locate enp0s31f6


    ~]$ locate enp0s31f6 /etc/sysconfig/network-scripts/ifcfg-enp0s31f6
    /var/lib/dhclient/dhclient--enp0s31f6.lease



    This could raise a slew of new problems.
    The nic is set for DHCP.
    If I set it static does the router need to be reconfigured ?

    For my actiontec router, I had to log into the router, click on Advanced, click on IP Address Distribution, and there set the connection to Static.

    This assumes you already have a DHCP connection, of the dynamic variety,
    so the ip address and nic physical address will already be set for each connection.

    Ah That's a clue for something to look for.
    Thanks Jim


    I have a Billion modem router with a fairly large manual. Writing that
    would have been monstrous task.
    I should put aside a week and read it


    --
    faeychild
    Running plasmashell 5.15.4 on 5.3.6-desktop-2.mga7 kernel.
    Mageia release 7 (Official) for x86_64 installed via Mageia-7-x86_64-DVD.iso


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From faeychild@2:250/1 to All on Tue Oct 29 21:29:02 2019
    On 29/10/19 8:43 am, Bit Twister wrote:


    $ ifconfig $_net_nic

    That is a good idea, Bits.

    Do you declare it in "bash_profile"

    _net_nic=enp3s0

    How do you make it global?





    --
    faeychild
    Running plasmashell 5.15.4 on 5.3.6-desktop-2.mga7 kernel.
    Mageia release 7 (Official) for x86_64 installed via Mageia-7-x86_64-DVD.iso


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Tue Oct 29 22:40:41 2019
    On Wed, 30 Oct 2019 08:29:02 +1100, faeychild wrote:
    On 29/10/19 8:43 am, Bit Twister wrote:


    $ ifconfig $_net_nic

    That is a good idea, Bits.

    Do you declare it in "bash_profile"

    _net_nic=enp3s0

    Almost, and depends on shell using it.
    If I were to use your method it would be
    export _net_nic=enp3s0

    Other wise it would be
    _net_nic=enp3s0
    export _net_nic

    How do you make it global?

    If you do a "man some_app_here" and it talks about a .d directory,
    that means you can drop in/link a file that will be read/sourced/executed during app initialization/operation.

    The file will be used in the order found. I prefix all those files
    I create with a string that causes them to be processed last, and make
    it easier to find all of my drop in files. Some examples:

    /etc/exports.d/xx__local.exports
    /etc/dovecot/conf.d/xx__dovecot.conf
    /etc/grub.d/10a_label_xx__grub
    /usr/lib/systemd/network/10_xx__enp3s0.network

    To answer your question, you would put/link your script in /etc/profile.d
    I found about /etc/profile.d by reading /etc/profile

    In my case
    $ ls -al /etc/profile.d | tail -1
    lrwxrwxrwx 1 root root 23 Jun 29 07:16 xx__local.sh -> /local/bin/xx__local.sh

    My /local/bin/xx__local.sh sources /var/local/local.env. actual code snippet
    . /var/local/local.env
    where the different variables are used in different scripts. Contents are

    $ cat /var/local/local.env
    # Created by /local/bin/create_local_env Sun 15 Sep 20:49 2019
    # using /etc/product.id
    _mb_uuid="2ef807eb-95d3-5f12-53d6-311996d267d4"
    _mb_name="2AB1 "
    _arch=x86_64
    _dist_vendor=Mageia
    _dist_branch=Official # Devel, Official
    _dist_release=7 # x
    _dist_media_version=7 # cauldron, x, x.x
    _dist_iso_phase=dev0 # devx, stax, rcx o
    _dist_rpv=7_d0 # x_(d,s,r)x
    _dist_phase_ver=0
    _dist_phase=dev0
    _install_loc=mga7
    _ker_type=desktop
    _net_nic=enp3s0
    _tuner_nic=enp4s0
    _wireless_nic=wlp2s0
    _lan_domain_ip=192.168.11
    _sys_owner=bittwister
    _net_admin=bittwister@wb.home.test
    #****** end /var/local/local.env **********************


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Tue Oct 29 22:50:06 2019
    On Wed, 30 Oct 2019 08:05:25 +1100, faeychild wrote:

    lease {
    interface "enp0s31f6";
    fixed-address 192.168.1.1;
    option subnet-mask 255.255.255.0;
    option routers 192.168.1.254;
    option dhcp-lease-time 86400;
    option dhcp-message-type 5;
    option domain-name-servers 192.168.1.254;
    option dhcp-server-identifier 192.168.1.254;
    option domain-name "home.gateway";
    renew 3 2019/10/30 07:15:11;
    rebind 3 2019/10/30 17:34:59;
    expire 3 2019/10/30 20:34:59;
    }

    Ok, With that information, I would set my
    static ip address as 192.168.1.100
    net mask as 255.255.255.0
    gateway as 192.168.1.254
    for dns servers, I use my own dns server (named) address.
    domain-name-servers 192.168.1.254 tell your system to use the
    dns server in the router. This is what criminals change when they
    can compromise the router.

    If not running named, I suggest using some public dns servers,


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Tue Oct 29 23:06:14 2019
    On Wed, 30 Oct 2019 08:05:25 +1100, faeychild wrote:

    option domain-name "home.gateway";


    Unless you own the home.gateway domain, I suggest that you not use it.
    At the moment there is a gateway.com.

    In fact, a general rule is you should not use any domain name that you
    do not own. Even a made up domain may be created at a later date.

    You do not want LAN packets destined to lan nodes to go outside the LAN
    onto the WAN/Internet.

    After reading http://www.ietf.org/rfc/rfc2606.txt I can suggest using a
    FQDN with the top domain as .invalid or .test.

    Examples:

    $ grep $(cat /etc/hostname) /etc/hosts
    192.168.11.132 wb.home.test wb

    $ cat /etc/resolv.conf
    # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
    domain home.test
    nameserver 127.0.0.1
    nameserver 8.8.4.4
    search home.test tuners.test


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Wed Oct 30 08:42:27 2019
    On Wed, 30 Oct 2019 08:11:42 +1100, faeychild wrote:
    On 29/10/19 9:21 am, Bit Twister wrote:
    On Tue, 29 Oct 2019 07:26:01 +1100, faeychild wrote:

    This could raise a slew of new problems.

    Oh yeah, before I forget it, again, you disabled avahi-daemon so you
    might want to consider optimizing/removing unwanted lookup methods/types.

    snippet from /etc/nsswitch.conf
    # Changed by /local/bin/nsswitch_changes Sat 29 Jun 08:40 2019
    # hosts: mdns4_minimal files nis dns mdns4 myhostname
    hosts: files dns myhostname


    cat /etc/nsswitch.conf

    <snip>

    hosts: mdns4_minimal files nis dns mdns4 myhostname

    <snip>

    It's already another adventure, Bits :-)

    It shouldn't be. Duplicate the hosts: line, comment out the first line
    and make the second line look like mine given in my snippet.

    If curious, there is always the "man nsswitch.conf" command.


    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)