LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Network Manager Display messages before login (init 3) (https://www.linuxquestions.org/questions/slackware-14/network-manager-display-messages-before-login-init-3-a-4175617644/)

Rhadamanthysan 11-15-2017 01:33 AM

Network Manager Display messages before login (init 3)
 
I have configured my network to be handled by networkmanager. After the boot before i can type anything at the login prompt a couple of messages about nm-dispatcher scripts and eth0 state are displayed, so the only way to enter my username is to press enter to dismiss the message and return to login. Nothing serious but is ruining my init 3 configuration. Behavior started after a clean install (switched from hd to a ssd). Thank you all for your inputs.

abga 11-15-2017 02:04 AM

@Rhadamanthysan

Can you please be more specific about those several messages that you see during the boot?
Alternatively, check /var/log/syslog for related messages.

bassmadrigal 11-15-2017 06:48 AM

In addition to abga's request, can you post the following, just to make sure there's no errant scripts in your Network Manager config directories?

Code:

find /etc/NetworkManager

Rhadamanthysan 11-16-2017 12:51 AM

thank you
 
1 Attachment(s)
thank you both for the replies and interest. As for the messages i've attached a picture (very hard to copy from console before starting X)
For the requested output from the given command
Code:

$ find /etc/NetworkManager
/etc/NetworkManager
/etc/NetworkManager/dispatcher.d
/etc/NetworkManager/dispatcher.d/pre-up.d
/etc/NetworkManager/dispatcher.d/pre-down.d
/etc/NetworkManager/dispatcher.d/no-wait.d
/etc/NetworkManager/dnsmasq-shared.d
/etc/NetworkManager/conf.d
/etc/NetworkManager/conf.d/00-dhcp-client.conf.orig
/etc/NetworkManager/conf.d/00-rc-manager.conf
/etc/NetworkManager/conf.d/00-dhcp-client.conf
/etc/NetworkManager/dnsmasq.d
/etc/NetworkManager/system-connections
/etc/NetworkManager/system-connections/Slayer
/etc/NetworkManager/system-connections/NFS
/etc/NetworkManager/NetworkManager.conf

Sorry about the delay getting back to you.

abga 11-16-2017 02:21 AM

@Rhadamanthysan

I'm wondering if your eth0 interface is really up and running properly, as it looks like you are using the r8169 driver, which is buggy.
See this thread for more info & workaround for r8169:
https://www.linuxquestions.org/quest...1/#post5778317

From your screenshot I see that the NetworkManager messages are getting over your login prompt, effect that could be caused by the fact that NetworkManager hangs (is getting delayed) on the dhcp process for the eth0 interface. Your pressing of the Enter key should give you an Authentication Failure and restart the login procedure again. Please check again the /var/log/syslog after NetworkManager related messages (if any).

Try first to disable - unconfigure the eth0 card, restart and see if you still have the issue. If all works well, then in order to use the eth0 card follow the workaround for the r8169 driver from the post I've referenced above.

brobr 11-16-2017 06:39 AM

I wonder whether the network settings for nm-manager are causing this trouble; nm is called from /etc/rc.d/rc.M during boot and when some connections (which couild be set to "automatically started when available"; see 'general' tab for each network in your nm-settings) need user-input (password or so) it might stop there. That eth0 appears to be problematic could just be a result from being trumped by wifi (if available).

Also check whether there is no clash with /etc.rc.inet1.conf (all options should be empty in that one); an rc.inet1.conf with settings could be left over from your previous set-up without nm-manager.

HTH

rob

bassmadrigal 11-16-2017 07:42 AM

Can you try stopping Network Manager and then restarting it to see if it dumps the same messages outside of startup?

Code:

/etc/rc.d/rc.networkmanager stop
/etc/rc.d/rc.networkmanager start


heyjann 11-16-2017 08:24 AM

Networkmanager will dump a lot of info on tty1 if there is no logger running.
A fix may be as simple as running (as root) :

Code:

chmod +x /etc/rc.d/rc.syslog


All times are GMT -5. The time now is 08:51 PM.