Hi list, I've installed C8 on my workstation. I configured my network devices (two bridges, two nics) using nmcli. Now that NM is the default I tried it. On C7 I always disabled it. I noticed some problem: 1) During the boot, also if NetworkManager-wait-online.service status is OK, I noticed that opening a terminal and ping some address it needs some time to perform ping and any operation on a network connection. So seems that in the first 30sec/1min there isn't an available network connection. After this time if I run a ping or whatever network is available. 2) Due to the problem 1, It cannot mount samba shares on boot saying "Not suitable address found". After the network is available I can mount samba shares. 3) I noticed that with NetworkManager a bridge must have an address. If I don't specify an address for the bridge, NM will try to assign some address, enable the connection? forever (reporting errors in messages and on notification bar). 4) NetworkManager-wait-online slow down? boot time and network availability. To solve this problem I installed network-scripts and disabled NetworkManager but I don't understand why NetworkManager need so much time to enable a connection. Can someone point me in the right direction? Thanks in advance.
--On Wednesday, November 20, 2019 10:37 AM +0100 Alessandro Baggi <alessandro.baggi at gmail.com> wrote:> 2) Due to the problem 1, It cannot mount samba shares on boot saying "Not > suitable address found". After the network is available I can mount samba > shares.Are the shares mounted as systemd mount or automount units that wait for networking? <https://www.freedesktop.org/software/systemd/man/systemd.automount.html>
Il 20/11/19 12:29, Kenneth Porter ha scritto:> --On Wednesday, November 20, 2019 10:37 AM +0100 Alessandro Baggi > <alessandro.baggi at gmail.com> wrote: > >> 2) Due to the problem 1, It cannot mount samba shares on boot saying >> "Not >> suitable address found". After the network is available I can mount >> samba >> shares. > > Are the shares mounted as systemd mount or automount units that wait > for networking? > > <https://www.freedesktop.org/software/systemd/man/systemd.automount.html>Really I don't know,? I can say that they have an entry in fstab and I have several mnt-share.mount unit as generated.
Once upon a time, Alessandro Baggi <alessandro.baggi at gmail.com> said:> 3) I noticed that with NetworkManager a bridge must have an address. > If I don't specify an address for the bridge, NM will try to assign > some address, enable the connection? forever (reporting errors in > messages and on notification bar).Do you have the device configured to not configure IP? From the CLI, do "nmcli con mod <device> ipv4.method disabled ipv6.method ignore". -- Chris Adams <linux at cmadams.net>
Il 20/11/19 14:46, Chris Adams ha scritto:> Once upon a time, Alessandro Baggi <alessandro.baggi at gmail.com> said: >> 3) I noticed that with NetworkManager a bridge must have an address. >> If I don't specify an address for the bridge, NM will try to assign >> some address, enable the connection? forever (reporting errors in >> messages and on notification bar). > Do you have the device configured to not configure IP? From the CLI, > do "nmcli con mod <device> ipv4.method disabled ipv6.method ignore". >I have only configured br1 to have a manual method for ipv4.address. This is different from having method disabled?
> Hi list, > > I've installed C8 on my workstation. I configured my network devices > (two bridges, two nics) using nmcli. Now that NM is the default I tried > it. On C7 I always disabled it. > > I noticed some problem: > > 1) During the boot, also if NetworkManager-wait-online.service status is > OK, I noticed that opening a terminal and ping some address it needs > some time to perform ping and any operation on a network connection. So > seems that in the first 30sec/1min there isn't an available network > connection. After this time if I run a ping or whatever network is > available. > > 2) Due to the problem 1, It cannot mount samba shares on boot saying > "Not suitable address found". After the network is available I can mount > samba shares. > > 3) I noticed that with NetworkManager a bridge must have an address. If > I don't specify an address for the bridge, NM will try to assign some > address, enable the connection? forever (reporting errors in messages > and on notification bar). > > 4) NetworkManager-wait-online slow down? boot time and network > availability. > > To solve this problem I installed network-scripts and disabled > NetworkManager but I don't understand why NetworkManager need so much > time to enable a connection. > > Can someone point me in the right direction?I don't know C8 or smbmount but on C7 with nfs, I had to add this to the fstab options to make it works as expected: x-systemd.requires=network-online.target Maybe something similar is needed in your situation. Regards, Simon