[SOLVED] NetworkManager issues

Kernels & Hardware, configuring network, installing services

Re: [SOLVED] NetworkManager issues

Postby bw123 » 2018-10-09 20:13

Mike wrote:
L_V wrote:I cannot believe one second that creating a null link on a file unused by Stretch can be a solution or even a workaround.
The problem is not NetworkManager, but udev, /lib/systemd/network/99-default.link being provided by udev.

<snip>
Just out of curiosity even though the system is pretty clean now, I'll install a minimal stretch with no backports to confirm. I have loads of drive space so its not that big of a job to have another installation.


Thanks Mike, I found the same thing to be true when using several older devices, ralink, realtek, also the b43.
Disabling predictable names either thru the null link for 99-default.link or net.ifnames=0 kernel parameter, fixes the issue.

Turning off (or tweaking the mask) in MAC randomization while scanning also fixes my issues, BTW> the two things seem related.
https://blogs.gnome.org/thaller/2016/08 ... ger-1-4-0/

EDIT: sorry for the double post, just ignore the noise, ty.
Last edited by bw123 on 2018-10-09 20:53, edited 1 time in total.
User avatar
bw123
 
Posts: 3414
Joined: 2011-05-09 06:02
Location: TN_USA

Re: [SOLVED] NetworkManager issues

Postby L_V » 2018-10-09 20:21

@Mike
Debian is not Archi, Freedesktop gives general guidelines, Debian is Debian, and Jessie is not Stretch, and you can check that you will never find any /etc/systemd/network/99-default.link in Stretch.
Try this:
Code: Select all
dpkg -L udev | grep 99-default.link

You could have provided what I was requiring for investigation (see the commands form my previous post).
There is no logic at all with what you have done, but other identified solutions have some logic behind.
Well I can live with this absolute mystery, don't worry.
L_V
 
Posts: 799
Joined: 2007-03-19 09:04

Re: [SOLVED] NetworkManager issues

Postby Mike » 2018-10-09 21:02

Reproduced with absolutely pure stretch. With predicable names enabled Network-Manager fails to connect with them disabled it works fine. This is with an installation with only the base gnome installed, and no updates or anything else installed yet.

It also makes no difference how you disable predicatable nameing, using the udev link or ifnames=0 both produce the same result.
Mike
 
Posts: 57
Joined: 2005-11-16 19:12
Location: Sunshine Coast, BC

Re: [SOLVED] NetworkManager issues

Postby Mike » 2018-10-09 21:06

L_V wrote:@Mike
Debian is not Archi, Freedesktop gives general guidelines, Debian is Debian, and Jessie is not Stretch, and you can check that you will never find any /etc/systemd/network/99-default.link in Stretch.
Try this:
Code: Select all
dpkg -L udev | grep 99-default.link

You could have provided what I was requiring for investigation (see the commands form my previous post).
There is no logic at all with what you have done, but other identified solutions have some logic behind.
Well I can live with this absolute mystery, don't worry.


Code: Select all
/lib/systemd/network/99-default.link


What does jessie have to do with anything. Its not installed. The behavior is happening in absolutely pure stretch.
Mike
 
Posts: 57
Joined: 2005-11-16 19:12
Location: Sunshine Coast, BC

Re: [SOLVED] NetworkManager issues

Postby L_V » 2018-10-09 21:17

Mike wrote:
Code: Select all
/lib/systemd/network/99-default.link

What does Jessie have to do with anything. Its not installed.
Exactly what I said !!
Jessie bug you reported refers to /etc/systemd/network/99-default.link (or Archi & Freedesktop)
How can you explain what you have done in Stretch ?? (and not Jessie or Archi)
Code: Select all
ln -s /dev/null /etc/systemd/network/99-default.link

Stretch does not care of what you have done: this is what I wanted to clarify.
The fact it works now can be a coincidence with networking.service disabling, and/or plug/unplug your usb device, or rebooting.
/etc/systemd/network/99-default.link is not same as /lib/systemd/network/99-default.link : not the same path !!
The commands I was requiring were to clarify.
Yes your problem is related with network naming, but your mix of Jessie+Archi+Freedestktop has nothing to do with Stretch.
I understand the most important for you is that "it works", even with something crazy with no logic at all.
L_V
 
Posts: 799
Joined: 2007-03-19 09:04

Re: [SOLVED] NetworkManager issues

Postby Dai_trying » 2018-10-09 21:37

@Mike
Did you try the random mac address fix that was mentioned at the end of bw123's last post? I have had to use that on a few occasions to get wifi working correctly.
Dai_trying
 
Posts: 548
Joined: 2016-01-07 12:25

Re: [SOLVED] NetworkManager issues

Postby Mike » 2018-10-09 21:38

L_V wrote:How can you explain what you have done in Stretch ?? (and not Jessie or Archi)
Code: Select all
ln -s /dev/null /etc/systemd/network/99-default.link

Stretch does care of what you have done: this is what I wanted to clarify.
The fact it works now can be a coincidence with network.service disabling, and/or plug/unplug your usb device, or rebooting.
/etc/systemd/network/99-default.link is not same as /lib/systemd/network/99-default.link : not the same path !!
The commands I was requiring were to clarify.
Yes your problem is related with network naming, but your mix of Jessie+Archi+Freedestktop has nothing to do with Stretch.
I understand the most important for you is that "it works", even with something crazy with no logic at all.


We can eliminate network.services disabling done earlier, and actually anything done up until the new fresh stable installation that was done today. The problem behavior is reproducible immediately after installing stretch, as soon as you log into gnome for the very first time you get the failure. Disable predictable interface names and reboot, and the problem is solved. Thats the first reboot after installing with no additional packages installed other than what was installed during the installation process.

That /lib/systemd/network/99-default.link is the result of the command you wanted. "dpkg -L udev | grep 99-default.link"

The networking service is running after a fresh install. So that is getting enabled during the installation. I have now disabled it but the bad behaviour is still reproducible with predicable names enabled. This really has more to do with the kernel than jessie, arch, freedesktop or even debian. Using the old unpredictable kernel naming for whatever reason works with this particular dongle / driver combination.

This installation was also done over wireless which works until the os installed. Not sure why this is but probably has to do with how the wireless is configured during the installation.

All that matters at this point is that the network is working. I don't think its worth going and buying a new dongle just so that I can use predicable naming, and not having to use any work around.
Mike
 
Posts: 57
Joined: 2005-11-16 19:12
Location: Sunshine Coast, BC

Re: [SOLVED] NetworkManager issues

Postby Mike » 2018-10-09 21:45

Dai_trying wrote:@Mike
Did you try the random mac address fix that was mentioned at the end of bw123's last post? I have had to use that on a few occasions to get wifi working correctly.


No I have not tried that yet, but I will. I am interested in that one, who knows I may be able to remove the work around of using the old network interface naming scheme. I wanted to get to the end of testing with predicable names disabled first. I am trying to only make one change at a time.
Mike
 
Posts: 57
Joined: 2005-11-16 19:12
Location: Sunshine Coast, BC

Re: [SOLVED] NetworkManager issues

Postby L_V » 2018-10-09 21:46

Mike wrote:[ Disable predictable interface names and reboot, and the problem is solved..

Yes sir.
BUT... you definitively don't understand what I try to explain with your /lib/ /etc/ path mismatch by mixing different distributions, and this is even not the way to do it (until next update).
Still don't understand the difficulty to report just 4 commands I was requesting.
Well, in summary, "it works" ! Great.
L_V
 
Posts: 799
Joined: 2007-03-19 09:04

Re: [SOLVED] NetworkManager issues

Postby Mike » 2018-10-09 22:02

L_V wrote:Sorry but I don't think you can call this a "solution", but more a really weird unclear workaround.

"/etc/systemd/network/99-default.link" should not exist.
The systemd’s predictable network names are defined by /lib/systemd/network/99-default.link

Code: Select all
[Link]
NamePolicy=kernel database onboard slot path
MACAddressPolicy=persistent

I would have investigated differently by digging into the udev rules.
Then keep in mind that you can have new surprises later on.

Just to see:
Code: Select all
lsmod |grep ^rt
nmcli d
apt-cache policy network-manager | head -n2
cat /etc/NetworkManager/NetworkManager.conf
lsinitramfs /boot/initrd.img-$(uname -r) | grep net


lsmod |grep ^rt
Code: Select all
rt2800usb              28672  0
rt2x00usb              24576  1 rt2800usb
rt2800lib              94208  1 rt2800usb
rt2x00lib              53248  3 rt2800lib,rt2800usb,rt2x00usb


nmcli d
Code: Select all
enp3s0  ethernet  unavailable  --           
lo      loopback  unmanaged


apt-cache policy network-manager | head -n2
Code: Select all
network-manager:
  Installed: 1.6.2-3


cat /etc/NetworkManager/NetworkManager.conf
Code: Select all
[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false


lsinitramfs /boot/initrd.img-$(uname -r) | grep net
Code: Select all
lib/modules/4.9.0-7-amd64/kernel/drivers/ata/pata_netcell.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/usb/storage/ums-onetouch.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net
lib/modules/4.9.0-7-amd64/kernel/drivers/net/gtp.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ieee802154
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ieee802154/at86rf230.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ieee802154/fakelb.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ieee802154/cc2520.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ieee802154/adf7242.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ieee802154/atusb.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ieee802154/mrf24j40.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/fjes
lib/modules/4.9.0-7-amd64/kernel/drivers/net/fjes/fjes.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/virtio_net.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ipvlan
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ipvlan/ipvlan.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/netconsole.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/hyperv
lib/modules/4.9.0-7-amd64/kernel/drivers/net/hyperv/hv_netvsc.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/nlmon.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/phy
lib/modules/4.9.0-7-amd64/kernel/drivers/net/phy/et1011c.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/phy/dp83848.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/phy/bcm-phy-lib.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/phy/national.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/phy/dp83867.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/phy/micrel.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/phy/qsemi.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/phy/lxt.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/phy/mscc.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/phy/smsc.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/phy/icplus.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/phy/ste10Xp.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/phy/microchip.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/phy/vitesse.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/phy/libphy.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/phy/davicom.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/phy/at803x.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/phy/broadcom.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/phy/realtek.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/phy/bcm87xx.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/phy/teranetics.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/phy/amd.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/phy/aquantia.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/phy/cicada.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/phy/marvell.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/sungem_phy.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/vrf.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/vxlan.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/xen-netfront.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/vmxnet3
lib/modules/4.9.0-7-amd64/kernel/drivers/net/vmxnet3/vmxnet3.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/mii.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ppp
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ppp/ppp_async.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ppp/bsd_comp.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ppp/pppox.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ppp/pptp.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ppp/ppp_synctty.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ppp/ppp_generic.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ppp/ppp_deflate.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ppp/ppp_mppe.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ppp/pppoe.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/agere
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/agere/et131x.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/rdc
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/rdc/r6040.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/qlogic
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/qlogic/qed
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/qlogic/qed/qed.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/qlogic/qlge
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/qlogic/qlge/qlge.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/qlogic/qede
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/qlogic/qede/qede.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/qlogic/netxen
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/qlogic/netxen/netxen_nic.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/qlogic/qlcnic
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/qlogic/qlcnic/qlcnic.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/qlogic/qla3xxx.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/chelsio
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/chelsio/cxgb4vf
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/chelsio/cxgb3
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/chelsio/cxgb3/cxgb3.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/chelsio/libcxgb
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/chelsio/libcxgb/libcxgb.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/chelsio/cxgb4
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/chelsio/cxgb4/cxgb4.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/chelsio/cxgb
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/chelsio/cxgb/cxgb.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/alteon
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/alteon/acenic.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/natsemi
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/natsemi/natsemi.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/natsemi/ns83820.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/fujitsu
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/fujitsu/fmvj18x_cs.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/amd
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/amd/amd8111e.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/amd/pcnet32.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/amd/nmclan_cs.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/realtek
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/realtek/8139too.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/realtek/r8169.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/realtek/8139cp.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/netronome
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/netronome/nfp
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/netronome/nfp/nfp_netvf.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/tehuti
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/tehuti/tehuti.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/hp
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/hp/hp100.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/silan
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/silan/sc92031.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/amazon
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/amazon/ena
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/amazon/ena/ena.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/mellanox
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/mellanox/mlx5
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/mellanox/mlx5/core
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/mellanox/mlx4
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/mellanox/mlx4/mlx4_core.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/mellanox/mlx4/mlx4_en.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/via
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/via/via-velocity.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/via/via-rhine.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/smsc
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/smsc/smsc9420.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/smsc/smc91c92_cs.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/smsc/epic100.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/packetengines
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/packetengines/hamachi.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/packetengines/yellowfin.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/dec
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/dec/tulip
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/dec/tulip/xircom_cb.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/dec/tulip/de2104x.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/dec/tulip/dmfe.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/dec/tulip/winbond-840.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/dec/tulip/uli526x.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/dec/tulip/tulip.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/intel
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/intel/ixgb
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/intel/ixgb/ixgb.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/intel/e1000
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/intel/e1000/e1000.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/intel/e100.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/intel/ixgbe
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/intel/ixgbe/ixgbe.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/intel/ixgbevf
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/intel/ixgbevf/ixgbevf.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/intel/i40evf
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/intel/i40evf/i40evf.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/intel/igbvf
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/intel/igbvf/igbvf.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/intel/i40e
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/intel/i40e/i40e.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/intel/igb
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/intel/igb/igb.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/intel/e1000e
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/intel/e1000e/e1000e.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/ti
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/ti/tlan.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/sis
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/sis/sis900.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/sis/sis190.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/atheros
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/atheros/atlx
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/atheros/atlx/atl2.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/atheros/atlx/atl1.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/atheros/atl1c
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/atheros/atl1c/atl1c.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/atheros/atl1e
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/atheros/atl1e/atl1e.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/atheros/alx
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/atheros/alx/alx.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/jme.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/nvidia
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/nvidia/forcedeth.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/micrel
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/micrel/ksz884x.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/brocade
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/brocade/bna
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/brocade/bna/bna.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/myricom
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/myricom/myri10ge
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/myricom/myri10ge/myri10ge.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/8390
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/8390/ne2k-pci.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/8390/pcnet_cs.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/8390/8390.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/8390/axnet_cs.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/dlink
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/dlink/sundance.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/dlink/dl2k.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/marvell
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/marvell/skge.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/marvell/sky2.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/cavium
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/cavium/liquidio
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/cavium/liquidio/liquidio.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/xircom
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/xircom/xirc2ps_cs.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/sfc
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/sfc/sfc.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/sun
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/sun/cassini.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/sun/sunhme.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/sun/sungem.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/sun/niu.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/broadcom
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/broadcom/tg3.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/broadcom/b44.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/broadcom/cnic.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/broadcom/bnxt
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/broadcom/bnxt/bnxt_en.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/broadcom/bnx2x
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/broadcom/bnx2x/bnx2x.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/broadcom/bnx2.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/cisco
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/cisco/enic
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/cisco/enic/enic.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/adaptec
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/adaptec/starfire.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/fealnx.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/emulex
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/emulex/benet
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/emulex/benet/be2net.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/3com
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/3com/3c589_cs.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/3com/3c574_cs.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/3com/typhoon.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/3com/3c59x.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/neterion
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/neterion/s2io.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/neterion/vxge
lib/modules/4.9.0-7-amd64/kernel/drivers/net/ethernet/neterion/vxge/vxge.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/slip
lib/modules/4.9.0-7-amd64/kernel/drivers/net/slip/slip.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/slip/slhc.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/geneve.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/mdio.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/fddi
lib/modules/4.9.0-7-amd64/kernel/drivers/net/fddi/defxx.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/fddi/skfp
lib/modules/4.9.0-7-amd64/kernel/drivers/net/fddi/skfp/skfp.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/macsec.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/plip
lib/modules/4.9.0-7-amd64/kernel/drivers/net/plip/plip.ko
lib/modules/4.9.0-7-amd64/kernel/drivers/net/eql.ko
lib/modules/4.9.0-7-amd64/kernel/net
lib/modules/4.9.0-7-amd64/kernel/net/ieee802154
lib/modules/4.9.0-7-amd64/kernel/net/ieee802154/ieee802154.ko
lib/modules/4.9.0-7-amd64/kernel/net/sunrpc
lib/modules/4.9.0-7-amd64/kernel/net/sunrpc/sunrpc.ko
lib/modules/4.9.0-7-amd64/kernel/net/dns_resolver
lib/modules/4.9.0-7-amd64/kernel/net/dns_resolver/dns_resolver.ko
lib/modules/4.9.0-7-amd64/kernel/net/ipv6
lib/modules/4.9.0-7-amd64/kernel/net/ipv6/ip6_udp_tunnel.ko
lib/modules/4.9.0-7-amd64/kernel/net/mac802154
lib/modules/4.9.0-7-amd64/kernel/net/mac802154/mac802154.ko
lib/modules/4.9.0-7-amd64/kernel/net/ipv4
lib/modules/4.9.0-7-amd64/kernel/net/ipv4/udp_tunnel.ko
lib/modules/4.9.0-7-amd64/kernel/net/ipv4/gre.ko
lib/modules/4.9.0-7-amd64/kernel/net/core
lib/modules/4.9.0-7-amd64/kernel/net/core/devlink.ko
lib/modules/4.9.0-7-amd64/kernel/net/ceph
lib/modules/4.9.0-7-amd64/kernel/net/ceph/libceph.ko
lib/systemd/network
lib/systemd/network/99-default.link
lib/udev/rules.d/80-net-setup-link.rules
lib/udev/rules.d/73-special-net-names.rules
lib/udev/rules.d/73-usb-net-by-mac.rules
lib/udev/rules.d/75-net-description.rules
bin/netstat
bin/telnet
Mike
 
Posts: 57
Joined: 2005-11-16 19:12
Location: Sunshine Coast, BC

Re: [SOLVED] NetworkManager issues

Postby Mike » 2018-10-09 22:07

L_V wrote:
Mike wrote:[ Disable predictable interface names and reboot, and the problem is solved..

Yes sir.
BUT... you definitively don't understand what I try to explain with your /lib/ /etc/ path mismatch by mixing different distributions, and this is even not the way to do it (until next update).
Still don't understand the difficulty to report just 4 commands I was requesting.
Well, in summary, "it works" ! Great.


Sorry somehow I missed those 4 commands, I even tried to find the commands and missed it again. But I have now posted the results.

If this is not the way to disable predicable names until the next update why does adding that link do exactly that in this current release (9.5)?


[Edit]
Never mind this I just figured out the answer to this question. From the man page, it states that link files from the /etc/ directory have the highest priority. Which may explain why it works.

Code: Select all
The link files are read from the files located in the system network directory /lib/systemd/network, the volatile runtime
network directory /run/systemd/network, and the local administration network directory /etc/systemd/network. Link files
must have the extension .link; other extensions are ignored. All link files are collectively sorted and processed in
lexical order, regardless of the directories in which they live. However, files with identical filenames replace each
other. Files in /etc have the highest priority, files in /run take precedence over files with the same name in /lib. This
can be used to override a system-supplied link file with a local file if needed. As a special case, an empty file (file
size 0) or symlink with the same name pointing to /dev/null disables the configuration file entirely (it is "masked").
Last edited by Mike on 2018-10-09 22:28, edited 2 times in total.
Mike
 
Posts: 57
Joined: 2005-11-16 19:12
Location: Sunshine Coast, BC

Re: [SOLVED] NetworkManager issues

Postby bw123 » 2018-10-09 22:17

Mike wrote:
L_V wrote:
Mike wrote:[ Disable predictable interface names and reboot, and the problem is solved..

Yes sir.
BUT... you definitively don't understand what I try to explain with your /lib/ /etc/ path mismatch by mixing different distributions, and this is even not the way to do it (until next update).
Still don't understand the difficulty to report just 4 commands I was requesting.
Well, in summary, "it works" ! Great.


Sorry somehow I missed those 4 commands, I even tried to find the commands and missed it again. But I have now posted the results.

If this is not the way to disable predicable names until the next update why does adding that link do exactly that in this current release (9.5)?


Don't worry about it. It's even documented in man systemd.link for stretch but some people are stubborn,


Files in /etc have the highest priority, files in /run take precedence over files
with the same name in /lib. This can be used to override a system-supplied link
file with a local file if needed. As a special case, an empty file (file size 0)
or symlink with the same name pointing to /dev/null disables the configuration
file entirely (it is "masked").
User avatar
bw123
 
Posts: 3414
Joined: 2011-05-09 06:02
Location: TN_USA

Re: [SOLVED] NetworkManager issues

Postby L_V » 2018-10-09 22:18

Then your kernel is correctly reading /lib/systemd/network/99-default.link (by default), (and not /etc/...)
enp3s0 is correctly automatically created by udev.

Then, I confirm that your /dev/null link on /etc/... remains a total mystery, until somebody finds some logic behind.
Code: Select all
# your system modification #
ln -s /dev/null /etc/systemd/network/99-default.link

In case you get new troubles with this, keep in mind there are 2 "clean" identified solutions to solve this kind of potential problem with udev network.
L_V
 
Posts: 799
Joined: 2007-03-19 09:04

Re: [SOLVED] NetworkManager issues

Postby Mike » 2018-10-09 22:34

bw123 wrote:Don't worry about it. It's even documented in man systemd.link for stretch but some people are stubborn,

Files in /etc have the highest priority, files in /run take precedence over files
with the same name in /lib. This can be used to override a system-supplied link
file with a local file if needed. As a special case, an empty file (file size 0)
or symlink with the same name pointing to /dev/null disables the configuration
file entirely (it is "masked").


Haha, you just beat me too it, I was just reading that same man page. Since when in a rabbit hole I may as well follow it to the bottom. :)
Mike
 
Posts: 57
Joined: 2005-11-16 19:12
Location: Sunshine Coast, BC

Re: [SOLVED] NetworkManager issues

Postby bw123 » 2018-10-09 22:46

Mike wrote:Haha, you just beat me too it, I was just reading that same man page. Since when in a rabbit hole I may as well follow it to the bottom. :)


Well, the deeper hole will be figuring out whether or not you can actually use network-manager's MAC randomization, which is a pretty cool feature, or you have to just totally disable it for the device. I got my b43 to work random by creating a mask that keeps the MAC beginning with 78:xx:xx:xx:xx:xx

Code: Select all
#/etc/NetworkManager/conf.d/10-b43-rand.conf
[wifi-b43]
match-device=mac:78:yo:ur:ma:ca:ad
#match-device=interface-name:wlan0
wifi.cloned-mac-address=random
wifi.generate-mac-address-mask=FE:00:00:00:00:00
wifi.scan-generate-mac-address-mask=FE:00:00:00:00:00



I believe this does require that predictable names is enabled, but I haven't really tested that. I have predictable names enabled, even though this pcie device is still named wlan0 for some reason,
User avatar
bw123
 
Posts: 3414
Joined: 2011-05-09 06:02
Location: TN_USA

PreviousNext

Return to System configuration

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable