LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-15-2017, 01:33 AM   #1
Rhadamanthysan
LQ Newbie
 
Registered: Nov 2013
Location: Brasil
Distribution: Slackware FreeBSD
Posts: 24

Rep: Reputation: Disabled
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.
 
Old 11-15-2017, 02:04 AM   #2
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634

Rep: Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929
@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.
 
Old 11-15-2017, 06:48 AM   #3
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
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
 
Old 11-16-2017, 12:51 AM   #4
Rhadamanthysan
LQ Newbie
 
Registered: Nov 2013
Location: Brasil
Distribution: Slackware FreeBSD
Posts: 24

Original Poster
Rep: Reputation: Disabled
thank you

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.
Attached Thumbnails
Click image for larger version

Name:	DSC_0793.JPG
Views:	56
Size:	137.6 KB
ID:	26322  
 
Old 11-16-2017, 02:21 AM   #5
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634

Rep: Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929
@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.
 
Old 11-16-2017, 06:39 AM   #6
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 974

Rep: Reputation: 238Reputation: 238Reputation: 238
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

Last edited by brobr; 11-16-2017 at 06:41 AM.
 
Old 11-16-2017, 07:42 AM   #7
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
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
 
Old 11-16-2017, 08:24 AM   #8
heyjann
Member
 
Registered: Dec 2015
Posts: 102

Rep: Reputation: Disabled
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

Last edited by heyjann; 11-16-2017 at 08:25 AM. Reason: code tags for command
 
1 members found this post helpful.
  


Reply

Tags
init, network



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Login as Root when Slim is the Display Manager? LaneLester MEPIS 9 05-23-2022 12:09 PM
XDM display manager login loop G-Known Slackware 8 11-23-2015 11:15 AM
[SOLVED] Changed my display manager to light-gtk-greeter. Now I can't login. marinecomm Ubuntu 1 08-31-2013 09:13 AM
Simple Login Display Manager for Debian? patrick295767 Debian 4 01-04-2012 07:38 PM
Display manager to login to virtual machine brianmcgee Linux - Software 1 11-27-2008 09:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration