Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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: broadcasting DHCP_REQUEST for 192.168.1.103
dhcpd: broadcastAddr option is missing in DHCP server response. Assuming 192.168.1.255
dhcpd: dhcpIPaddrLeaseTime=86400 in DHCP server response.
dhcpd: dhcpT1value is missing in DHCP server response. Assuming 43200 sec
dhcpd: dhcpT2value is missing in DHCP server response. Assuming 75600 sec
After which I run ifconfig and get the following (note the RX errors):
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
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.