Re: Auto Ethernet



On 24.06.2015 14:29, Thomas Haller wrote:
On Mon, 2015-06-22 at 18:36 +0200, poma wrote:
NetworkManager-1.0.4-0.1.git20150618.8cffaf3bf5
This does not work:
"By default, NetworkManager creates a temporary wired connection for 
any Ethernet device
that is managed and doesn't have a connection configured."



There is a configuration option:

[main]
no-auto-default=*

(see `man NetworkManger.conf`)

Do you have that?


$ ls -R /etc/NetworkManager/
/etc/NetworkManager/:
conf.d  dispatcher.d  dnsmasq.d  NetworkManager.conf  system-connections  VPN

/etc/NetworkManager/conf.d:
10-ibft-plugin.conf

/etc/NetworkManager/dispatcher.d:
00-netreport  04-iscsi  10-ifcfg-rh-routes.sh  11-dhclient  20-chrony  pre-down.d  pre-up.d

/etc/NetworkManager/dispatcher.d/pre-down.d:

/etc/NetworkManager/dispatcher.d/pre-up.d:
10-ifcfg-rh-routes.sh

/etc/NetworkManager/dnsmasq.d:

/etc/NetworkManager/system-connections:

/etc/NetworkManager/VPN:
$ 



Note that the package "NetworkManager-config-server" installs this
configuration option.



$ rpm -qa NetworkManager*
NetworkManager-team-1.0.4-0.1.git20150618.8cffaf3bf5.fc23.x86_64
NetworkManager-libnm-1.0.4-0.1.git20150618.8cffaf3bf5.fc23.x86_64
NetworkManager-1.0.4-0.1.git20150618.8cffaf3bf5.fc23.x86_64
NetworkManager-wwan-1.0.4-0.1.git20150618.8cffaf3bf5.fc23.x86_64
NetworkManager-tui-1.0.4-0.1.git20150618.8cffaf3bf5.fc23.x86_64
NetworkManager-wifi-1.0.4-0.1.git20150618.8cffaf3bf5.fc23.x86_64
NetworkManager-glib-1.0.4-0.1.git20150618.8cffaf3bf5.fc23.x86_64



Otherwise, do you have the MAC address blacklisted in
  /var/lib/NetworkManager/no-auto-default.state
?


$ file /var/lib/NetworkManager/no-auto-default.state
/var/lib/NetworkManager/no-auto-default.state: cannot open `/var/lib/NetworkManager/no-auto-default.state' 
(No such file or directory)



Thomas


As you can see yourself, this is NetworkManager from Rawhide stock.
Moreover it is part of LiveCD test compilation, so what you see in DEBUG log comes from pristine boot.

The only thing that I added via kickstart config is:

$ cat /etc/systemd/system/NetworkManager.service.d/debug.conf 
[Service]
ExecStart=
ExecStart=/usr/sbin/NetworkManager --no-daemon --debug --log-level=DEBUG


BTW NetworkManager-1.0.2-1 works OK in this respect.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]