LinuxQuestions.org
Review your favorite Linux distribution.
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 07-24-2016, 12:15 PM   #1
vito_spatafore
Member
 
Registered: Jul 2016
Posts: 37

Rep: Reputation: Disabled
eth0: waiting for carrier...


few seconds, booting stalled at eth0 : waiting for carrier, then

timed out,

dhcpcd exited,

my system >>> slackware32,kernel huge,with Xfce and new KDE ...

thanks
 
Old 07-24-2016, 12:17 PM   #2
slacker1337
Member
 
Registered: Jun 2012
Location: Connecticut, USA
Distribution: Slackware
Posts: 148

Rep: Reputation: 40
Are you attempting to connect via wireless or ethernet cable?
 
Old 07-24-2016, 12:27 PM   #3
vito_spatafore
Member
 
Registered: Jul 2016
Posts: 37

Original Poster
Rep: Reputation: Disabled
in fact WiFi (connectioneditor/networkmanager) is working flawless ...

but ...

I got that feel that I'm wasting seconds on that ...
 
Old 07-24-2016, 12:27 PM   #4
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,543

Rep: Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313
Quote:
Originally Posted by vito_spatafore View Post
few seconds, booting stalled at eth0 : waiting for carrier, then

timed out,

dhcpcd exited,

my system >>> slackware32,kernel huge,with Xfce and new KDE ...

thanks
Try upgrading to the new network-scripts from -current, or just edit your /etc/rc.d/rc.inet1
All that change does is add "-L" to the dhcpcd operators, which you can do like this:
Code:
sed -i 's?/sbin/dhcpcd -t ?/sbin/dhcpcd -Lt ?g' /etc/rc.d/rc.inet1
You also might want to increase the timeout. If the machine is hard wired to a network port, try setting the timeout to "0". this is what I do for my ARM machines. If you do this stuff manually, on my machines dhcpcd will pick up an IP immediately if I run dhcpcd again. I have no idea what is wrong with this, so I settled for this work around.
 
Old 07-24-2016, 12:33 PM   #5
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
On one of the laptops here, during boot, it tries to connect to eth0 (wired) then times out. After which networkmanger finally loads and connects via wifi (wlan0). I think this happens since the system network scripts in /etc/rc.d are run first THEN rc.networkmanager gets run toward the end of the boot process. During installation I had a wired connection for PXE boot and NFS installation and I told the installer to set up the network.

When you installed Slackware, did you tell setup you run the network configuration script (netconfig)?
 
Old 07-24-2016, 12:48 PM   #6
slacker1337
Member
 
Registered: Jun 2012
Location: Connecticut, USA
Distribution: Slackware
Posts: 148

Rep: Reputation: 40
If you're using networkmanager to handle your wireless card, why not just turn off rc.inet1?
 
Old 07-24-2016, 12:58 PM   #7
vito_spatafore
Member
 
Registered: Jul 2016
Posts: 37

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by slacker1337 View Post
why not just turn off rc.inet1?
how pal , how ?

tia !
 
Old 07-24-2016, 01:01 PM   #8
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
as root

chmod -x /etc/rc.d/rc.inet1
 
Old 07-24-2016, 01:03 PM   #9
vito_spatafore
Member
 
Registered: Jul 2016
Posts: 37

Original Poster
Rep: Reputation: Disabled
thx a lot folks ! we will see what happens or restart ...
 
Old 07-24-2016, 01:09 PM   #10
STDOUBT
Member
 
Registered: May 2010
Location: Stumptown
Distribution: Slackware64
Posts: 583

Rep: Reputation: 242Reputation: 242Reputation: 242
vito_spatafore,
The easy fix for this, and I believe, the proper fix is to change the settings for eth0 in /etc/rc.d/rc.inet1.conf as below

from:
Code:
# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""
to:
Code:
# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]=""
DHCP_HOSTNAME[0]=""
I believe this returns the conf file to it's state prior to running netconfig.
 
Old 07-24-2016, 01:58 PM   #11
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by kingbeowulf View Post
as root

chmod -x /etc/rc.d/rc.inet1
BAD idea.
Tat script does more than you think, it also sets up your loopback. You disable its interface configuration by editing rc.inet1.conf and removing any interface parameters in it, or replace the whole .conf file with the original.
 
Old 07-24-2016, 05:12 PM   #12
vito_spatafore
Member
 
Registered: Jul 2016
Posts: 37

Original Poster
Rep: Reputation: Disabled
^
not at all !

Quote:
BAD idea
Momentarily turn off rc.inet1 did the trick !

************************************************

why do I have 3 rc.inet1 ?

thanks
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20160724_161636.png
Views:	142
Size:	46.4 KB
ID:	22551  

Last edited by vito_spatafore; 07-24-2016 at 05:33 PM.
 
Old 07-24-2016, 05:30 PM   #13
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Is that a trick question?
 
1 members found this post helpful.
Old 07-24-2016, 06:41 PM   #14
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
If you don't have ethernet connected and you just want to decrease the timeout, you can change DHCP_TIMEOUT in /etc/rc.d/rc.inet1. The default is 10 seconds.
 
1 members found this post helpful.
Old 07-25-2016, 06:15 AM   #15
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by Richard Cranium View Post
Is that a trick question?
Not worth answering I guess... not a trick question but a total lack of understanding.
 
1 members found this post helpful.
  


Reply



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
[SOLVED] Reboot/shutdown problem: net.eth0 waiting for localmount (50 seconds) linuxNewbie. Gentoo 1 10-21-2011 11:52 AM
My browser, all day today: 'waiting for linuxquestions.org...' ..waiting.. waiting .. GrapefruiTgirl LQ Suggestions & Feedback 18 05-25-2007 05:35 AM
No Carrier Detected when Check Carrier = no jojotx0 Linux - Software 2 06-02-2006 10:52 AM
SUSE 9.2 eth0 "Waiting for mandatory devices..." DHCP problems ozric Linux - Hardware 2 03-29-2005 01:07 PM
modem cant connect (log: Waiting for carrier) andavm Linux - Newbie 2 03-29-2004 10:06 PM

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

All times are GMT -5. The time now is 12:12 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