LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 03-07-2004, 11:50 AM   #1
hross
LQ Newbie
 
Registered: Mar 2004
Distribution: Slackware 9.1
Posts: 2

Rep: Reputation: 0
Unhappy dhcp on boot...


Alright, I am stumped on this one:

I recompiled my 2.4 kernel recently and dhcp on startup has ceased to work properly for me. Here is what I have tried:

- My ethernet card works fine, I ran netconfig and set up a static IP with the same properties as DHCP and was able to connect to the internet.

- I ran netconfig and set up DHCP. Then I set permissions on rc.inet1 to 000 to prevent it from running on startup, then reset them after logging in as root and ran it from the console... no errors, no problems, I was able to obtain an IP address and ping the router.

- Searched the forum and googled to no avail.

I feel like I'm missing something basic, but I just don't know what it is...

Here is the output I get from dhcpd on startup (this doesn't seem right):

================================================

dhcpd[163]: broadcasting DHCP_REQUEST for 192.168.1.103

dhcpd[163]: broadcastAddr option is missing in DHCP server response. Assuming 192.168.1.255

dhcpd[163]: dhcpIPaddrLeaseTime=86400 in DHCP server response.

dhcpd[163]: dhcpT1value is missing in DHCP server response. Assuming 43200 sec

dhcpd[163]: dhcpT2value is missing in DHCP server response. Assuming 75600 sec

================================================

After which I run ifconfig and get the following (note the RX errors):

================================================

eth0 Link encap:Ethernet HWaddr 00:80:AD:73:97:EA
inet addr:192.168.1.103 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:65 errors:335 dropped:0 overruns:0 frame:0
TX packets:1 errors:4 dropped:0 overruns:0 carrier:4
collisions:0 txqueuelen:100
RX bytes:9139 (8.9 Kb) TX bytes:86 (86.0 b)
Interrupt:11 Base address:0xd800

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:784 (784.0 b) TX bytes:784 (784.0 b)

================================================

The connection *works*, but if I try to ping the router I get a reply time of 1000 ms or so. If I then do an "ifconfig eth0 down", 'ifconfig eth0 up", everything goes back to normal and a reply time from the router is on the order of .5 ms.

Any thoughts?
 
  


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
Debian dhcp when boot gongcon Linux - Laptop and Netbook 2 04-04-2005 12:21 PM
dhcp slows boot javierj Linux - Newbie 3 03-03-2005 12:24 AM
DHCP skip on boot zchoyt Linux - Newbie 5 08-31-2004 10:17 PM
DHCP on boot guygriffiths Linux - Networking 1 10-22-2003 09:22 AM
DHCP Boot Question mjb2123 Linux - Networking 1 06-07-2002 04:00 PM


All times are GMT -5. The time now is 04:31 PM.

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