LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 11-02-2004, 11:43 AM   #1
gpit2286
LQ Newbie
 
Registered: Apr 2004
Posts: 7

Rep: Reputation: 0
Angry 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
Code:
modprobe sk98lin
Code:
dhcpcd eth0
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
 
Old 11-02-2004, 12:25 PM   #2
Kilahchris
Member
 
Registered: Jan 2003
Location: NY
Distribution: Suse 9.0
Posts: 202

Rep: Reputation: 30
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?
 
Old 11-02-2004, 12:26 PM   #3
UsualTuxpect
Member
 
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545

Rep: Reputation: 31
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.
 
Old 11-02-2004, 01:39 PM   #4
WhiteChedda
Member
 
Registered: Aug 2003
Location: Florida
Distribution: Mandrake 9.1 for now
Posts: 205

Rep: Reputation: 30
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
Code:
modprobe sk98lin
Code:
dhcpcd eth0
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.
 
Old 11-02-2004, 01:42 PM   #5
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
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.
 
Old 11-03-2004, 11:14 PM   #6
Kilahchris
Member
 
Registered: Jan 2003
Location: NY
Distribution: Suse 9.0
Posts: 202

Rep: Reputation: 30
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?
 
Old 11-03-2004, 11:25 PM   #7
UsualTuxpect
Member
 
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545

Rep: Reputation: 31
Hi,

Check this out -->http://www.linuxquestions.org/questi...hlight=modules
 
Old 11-03-2004, 11:33 PM   #8
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
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).
 
Old 11-03-2004, 11:45 PM   #9
Kilahchris
Member
 
Registered: Jan 2003
Location: NY
Distribution: Suse 9.0
Posts: 202

Rep: Reputation: 30
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.
 
  


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
dhcp gentoo shooterfpga Linux - Networking 1 12-27-2004 12:55 AM
Setting up dhcp, nework in gentoo. cheater1034 Linux - Networking 3 09-10-2004 06:50 AM
gentoo file manager install issues (not Gentoo) windeath Fedora 2 03-01-2004 08:17 PM
Gentoo DHCP Tez218 Linux - Networking 2 09-11-2003 01:11 PM
dhcp issues.... Linuxchallenged Linux - Networking 4 06-27-2001 02:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:22 AM.

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