LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-09-2002, 11:40 PM   #1
Floppy
LQ Newbie
 
Registered: Feb 2002
Posts: 10

Rep: Reputation: 0
Question DHCPCD in Slackware 8.0


Hi,

I have been having a rather odd problem with getting the needed dhcp information from my linksys router. I know the dhcp works since it's worked in windows and red hat and the other two machines are working (that don't run Slackware).

When my machine boots up, Slackware's scripts work find and detect my ethernet card, but when it tries to run the dhcpcd executable it spits out a timeout error message (after about a minute) then proceeds with the rest of the startup.

When I first boot into my system, I have no Internet access (since dhcpcd didn't work properly). BUT, if I run dhcpcd after logging in everything works just fine. I tried editing the startup scripts (specifically rc.inetd1), but I still had the same problem. But, if I edit rc.local (which is the last rc script to be called) and execute the dhcpcd client from their, the system works just great.

So, I guess that there is something that is not getting called before the dhcpcd line in /etc/rc.d/rc.inetd. Is there some program that dhcpcd depends on to run?

Do you have an idea?
 
Old 02-10-2002, 12:45 AM   #2
Floppy
LQ Newbie
 
Registered: Feb 2002
Posts: 10

Original Poster
Rep: Reputation: 0
Floppy

After doing some googling through the linux-kernel mailing lists, I think that the problem is that the 2.4.4 kernel (the one I installed Slackware with) has some issues with the Realtek 8139 8139too module. The people in the mailing list reported that using the 8139too.c from an earlier kernel in the 2.4.4 kernel worked.

So, I guess I'll go ahead and re-install Slackware with an earlier kernel, and hoping that works, I'll upgrade the kernel later on if I need to.
 
Old 02-10-2002, 01:16 AM   #3
Floppy
LQ Newbie
 
Registered: Feb 2002
Posts: 10

Original Poster
Rep: Reputation: 0
Yes!!!!

It worked. I'm now running Slackware 8.0 with kernel 2.2.19.

 
Old 02-10-2002, 07:58 AM   #4
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
If there were something deranged with the module, and I'm not doubting there was as the Realtek 8139 chipset has been through a few too hundred many revisions, thus the poor driver maintainer, Jeff Garzik, has to keep re-hacking that thing every few weeks; but it just probably wouldn't have worked after the rest of init had run. It was probably something doinky with how Slack auto-probed and set-up rc.inet1. When in doubt in the future, you can always ghetto-riffically hack the /sbin/dhcpcd ethX line into rc.local, which is the very last thing run by init... so it would be the same as entering it first on the command line.

Oh, and Slack 8 shipped with 2.2.19 and 2.4.5. Honestly, to take advantage of some really neat new stuff, you may want to download the newest kernel and play with that: 2.4.17. Slack 8 handles it well... that's the set-up I'm typing on right now.

Cheers,

Finegan
 
  


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
slackware dhcpcd client? chbin Slackware 15 03-17-2005 08:28 AM
/sbin/dhcpcd: not running - Slackware 10 jtp51 Slackware 6 10-14-2004 12:40 PM
slackware 10 dhcpcd problem solved yet? taek Slackware 7 08-16-2004 12:55 AM
Slackware 8 and DHCPCD - Timed out likwid818 Linux - Networking 6 10-22-2003 10:45 PM
DHCPCD / Slackware 8.0 Problem romanivice Linux - Networking 3 02-15-2002 08:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:45 PM.

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