LinuxQuestions.org
Register a domain and help support LQ
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-13-2006, 06:25 AM   #1
colonelx
LQ Newbie
 
Registered: Nov 2006
Location: Dimitrovgrad, Bulgaria
Distribution: Slackware 11.0
Posts: 3

Rep: Reputation: 0
DHCP failed with kernel 2.6.17.13


Heya, I have a dhcp problems with my slack 11.
I have a Router with dhcp enabled (ip range 192.168.1.100 - 192.168.1.199)
When using the 2.4 kernel I had no problems with the system it gets the ip and the subnet mask and everything is ok, but then I installed a 2.6.17.13 kernel from the /extra dir and now It fails to get anything. When starting the dhcpcd it just says:
Code:
/etc/rc.d/rc.inet1: /sbin/ifconfig lo 127.0.0.1
/etc/rc.d/rc.inet1: /sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo
/etc/rc.d/rc.inet1: /sbin/dhcpcd -d -t 60 eth0
eth0: no link during initialization
dhcpcd[2260]: broadcasting DHCP_DISCOVER
dhcpcd[2260]: timed out waiting for a valid DHCP server response
BTW I haven't edited my dhcpd.conf is that it?
and how can I fix that? 10x in advance
 
Old 11-13-2006, 06:43 AM   #2
JKoder
Member
 
Registered: Sep 2005
Distribution: Slackware 11
Posts: 61
Blog Entries: 1

Rep: Reputation: 15
Quote:
Originally Posted by colonelx
Heya, I have a dhcp problems with my slack 11.
I have a Router with dhcp enabled (ip range 192.168.1.100 - 192.168.1.199)
When using the 2.4 kernel I had no problems with the system it gets the ip and the subnet mask and everything is ok, but then I installed a 2.6.17.13 kernel from the /extra dir and now It fails to get anything. When starting the dhcpcd it just says:
Code:
/etc/rc.d/rc.inet1: /sbin/ifconfig lo 127.0.0.1
/etc/rc.d/rc.inet1: /sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo
/etc/rc.d/rc.inet1: /sbin/dhcpcd -d -t 60 eth0
eth0: no link during initialization
dhcpcd[2260]: broadcasting DHCP_DISCOVER
dhcpcd[2260]: timed out waiting for a valid DHCP server response
BTW I haven't edited my dhcpd.conf is that it?
and how can I fix that? 10x in advance
Same problem here ...
So if anyone can help us ... i will appreciate it !
 
Old 11-13-2006, 07:02 AM   #3
colonelx
LQ Newbie
 
Registered: Nov 2006
Location: Dimitrovgrad, Bulgaria
Distribution: Slackware 11.0
Posts: 3

Original Poster
Rep: Reputation: 0
I found where the error was I didn't edited the /etc/udev/rules.d/network-devices.rules
the system tries to assign the ip address to a different eth adapter, so when u open the file just remove the # from the line: " KERNEL=="eth?", SYSFS{address}==..... " u may have multiple lines with difrent mac addr remove the # from all of them and reboot
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
build kernel failed bhomass Debian 4 11-16-2005 03:36 PM
Ch.6 Binutils failed--Using kernel 2.6.10 trigggl Linux From Scratch 4 02-24-2005 06:58 AM
online_update failed - ERROR(Media:connection failed)[Connect failed] rover Suse/Novell 8 02-22-2005 08:57 AM
2.6.8 kernel compiling failed kpachopoulos Linux - Newbie 3 08-26-2004 02:48 PM
"Determining IP information for eth0... failed." (DHCP problem) einnocent Linux - Networking 4 10-20-2003 01:59 AM


All times are GMT -5. The time now is 10:43 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration