Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-02-2004, 11:43 AM
|
#1
|
LQ Newbie
Registered: Apr 2004
Posts: 7
Rep:
|
DHCP issues with Gentoo
Hello -
This is my third time installing Gentoo Linux on my box. I keep re-installing to get closer and closer tot he 'perfect' system. However, this time when I installed Gentoo, the box won't talk to my dhcp server.
I can connect to the dhcp server when I use the Gentoo live disc using I know that it is the module I need (It's the 3Com that uses the sk98lin driver). When I made my kernel i included support for it. At boot time however, it won't grab the IP address from the DHCP server and when I try to manually dhcpcd eth0, it doesn't work either.
I have tried to re-emerge dhcpcd with no avail
Has anyone heard of the 2.6.9 Kernel not supporting dhcp well? If anyone needs any extra information, just post it. Unfortunately since I can't get a graphical interface on my box at home, the message may not be exact but I'll get as close as I can. Thanks
-Kyle
|
|
|
11-02-2004, 12:25 PM
|
#2
|
Member
Registered: Jan 2003
Location: NY
Distribution: Suse 9.0
Posts: 202
Rep:
|
Quote:
Has anyone heard of the 2.6.9 Kernel not supporting dhcp well? If anyone needs any extra information, just post it. Unfortunately since I can't get a graphical interface on my box at home, the message may not be exact but I'll get as close as I can. Thanks
|
Im just curious why arent you getting a graphical interface?
Im not sure if your computer is listening for DHCP broadcasts?
is your dhcp server the router? or another computer?
|
|
|
11-02-2004, 12:26 PM
|
#3
|
Member
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545
Rep:
|
What is your output of #ifconfig ??? and #lspci
I had a problem getting my ethernet card when I compiled into into my kernel,
then I recompiled it as a module.. and now it's working properly.
I would suggest the same to you, as the final option.. and follow the gentoo guide to autoload the module.
Last edited by UsualTuxpect; 11-02-2004 at 12:28 PM.
|
|
|
11-02-2004, 01:39 PM
|
#4
|
Member
Registered: Aug 2003
Location: Florida
Distribution: Mandrake 9.1 for now
Posts: 205
Rep:
|
Re: DHCP issues with Gentoo
Quote:
Originally posted by gpit2286
Hello -
This is my third time installing Gentoo Linux on my box. I keep re-installing to get closer and closer tot he 'perfect' system. However, this time when I installed Gentoo, the box won't talk to my dhcp server.
I can connect to the dhcp server when I use the Gentoo live disc using I know that it is the module I need (It's the 3Com that uses the sk98lin driver). When I made my kernel i included support for it. At boot time however, it won't grab the IP address from the DHCP server and when I try to manually dhcpcd eth0, it doesn't work either.
I have tried to re-emerge dhcpcd with no avail
Has anyone heard of the 2.6.9 Kernel not supporting dhcp well? If anyone needs any extra information, just post it. Unfortunately since I can't get a graphical interface on my box at home, the message may not be exact but I'll get as close as I can. Thanks
-Kyle
|
2.6.9 under slack works perfectly for me using the same card. Are you sure you don't have something else wrong?
does lsmod show the correct module loaded? and ifconfig eth0 shows the card?
If so, is there any reason the dhcp server would refuse to give it a IP address? I know I can configure my little router to limit connections and what not, and I did have an issue with my hand help not being allowed an address because I have breeched the limit I set.
|
|
|
11-02-2004, 01:42 PM
|
#5
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep:
|
I am not sure why, but I have always had trouble with compiled-in network cards. Even from the 2.2 kernel days. Using modules, however, has always been painless. I suggest you recompile your kernel with support for your card as a module.
As a side note, my desktop is running 2.6.8-gentoo-r10 kernel with no problems at all, using the e1000 module for my network card. I might go 2.6.9 soon.
|
|
|
11-03-2004, 11:14 PM
|
#6
|
Member
Registered: Jan 2003
Location: NY
Distribution: Suse 9.0
Posts: 202
Rep:
|
Quote:
I am not sure why, but I have always had trouble with compiled-in network cards. Even from the 2.2 kernel days. Using modules, however, has always been painless. I suggest you recompile your kernel with support for your card as a module.
|
Im sort of a newbie my self. so i must ask you what is difference between a compiled in network card and one that is loaded with a module.? Im just curious because i thought all network adapters needed to be loaded with a module in linux to work correctly?
|
|
|
11-03-2004, 11:25 PM
|
#7
|
Member
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545
Rep:
|
|
|
|
11-03-2004, 11:33 PM
|
#8
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep:
|
Theoretically, compiled in and module SHOULD both work. But apparently loading the module forces probing for the card, making it easier to initialize.
The difference between compiled in and module:
Compiled in:- Binary code for driver is in your kernel.
- Driver always loaded (good for devices needed for boot, otherwise you need initrd).
- Some drivers may not be able to be loaded simultaneously, and accordingly, may not both be compiled in.
- Compiled in drivers ALWAYS use resources, regardless of whether or not they are in use.
Modular:- Loaded at runtime.
- Under some kernels, can also be UNloaded.
- Building extra modules generally only increases compile time without causing extra load/memory usage at runtime (unless loaded).
|
|
|
11-03-2004, 11:45 PM
|
#9
|
Member
Registered: Jan 2003
Location: NY
Distribution: Suse 9.0
Posts: 202
Rep:
|
ok exactly what i thought. I remember having to run a script for my Realtek wireless card. kernel never had any official support for it.
Thank you for a great explanation.
|
|
|
All times are GMT -5. The time now is 09:34 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|