LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 02-04-2002, 09:31 PM   #1
Photon
LQ Newbie
 
Registered: Dec 2001
Location: Miami, Fl
Distribution: Mandrake 7.1
Posts: 15

Rep: Reputation: 0
Angry DHCPD unable to get Ip info from my router


I have my NIC installed and Mandrake recongnizes it. (RealTech 8029) I have a NetGear RP114 Home Cable/DSL router. When i ifup eth0 this is what i get.

Determining IP information via dhcpd ... failed.

I went through netconf and set up the routing gateway and dns server
(router specified) but i get the same answer. Any help will be accepted with open arms
 
Old 02-06-2002, 07:35 AM   #2
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
Are you sure you have dhcpcd installed and not dhcpd.
The first is the client daemon the last the server daemon. Unless you are giving out ip addresses through dhcp then you won't need the server daemon.

Another common thing which goes wrong is that some ISP force you to send the right hostname to the dhcp server. And you could always check physical connections and whether you are using the right nic and if the nic is even properly recognized.
 
Old 02-07-2002, 01:17 PM   #3
Photon
LQ Newbie
 
Registered: Dec 2001
Location: Miami, Fl
Distribution: Mandrake 7.1
Posts: 15

Original Poster
Rep: Reputation: 0
I'm sorry, I meant that i cannot obtain an IP and host name via dhcpcd.

I've found out that my card is definately recognized, no io/irq conflicts and the modules are loaded at boot time.

My damn card just won't get a "bleeping" IP address.

BTW, my isp doesnt force my router to send the correct hostname because my windows machine has a hostname of Pavilion.HOME and my iMac has a hostanme of Bonnie.HOME.

Last edited by Photon; 02-07-2002 at 01:19 PM.
 
Old 02-07-2002, 03:07 PM   #4
augamecock
Member
 
Registered: Feb 2002
Location: Atlanta, GA
Distribution: Debian
Posts: 78

Rep: Reputation: 15
Okey dokey, here's a try at some help... Hope I can make sense

1st a question

1. Do you have a static IP address or Dynamic?

What it sounds like is the Router might not be set up correctly. I've got a Linksys router with my DSL connection.

What I did was set up my router to use DHCP to get my IP address from my ISP. (or you can statically assign it, with the DNS servers and everything). There was also an option to use PPPoE if needed.

I could also set up DCHP to assign IP addresses to all the computers connected to the router (my intranet, if I have my terminology correct).

Then you can use "pump" to assign the IP address of the PC in the network.

Your router should have an internet IP address of the one your ISP gave you and an intranet address for your internal network. then your PC will have an IP address corresponding to the intranet address.

i.e. If the routers intranet address was 100.100.100.1 then the PC might be 100.100.100.100 or something to that effect.

Am I way off base as to what your problem is? Sorry if I am. Hope this helps a little bit

Good Luck!

augamecock
 
Old 02-07-2002, 08:42 PM   #5
Photon
LQ Newbie
 
Registered: Dec 2001
Location: Miami, Fl
Distribution: Mandrake 7.1
Posts: 15

Original Poster
Rep: Reputation: 0
I set up my router by assigning it the static IP ATT@Home gave me.
The intranets IP range is 192.168.0.1 - 192.168.0.255
When i try to use pump or dhcpcd, it is unable to get the IP information. I tried playing around with the DNS ans Gateways via Netconf. I also tried manually setting up. All i get is ifup saying that The Resource is temporarily Unavailable. I FEEL SO DAMN STUPID when it comes to this. I know enough about linux and networking to be able to set this up. But the damn thing is really pissing me off
 
Old 02-09-2002, 06:41 AM   #6
augamecock
Member
 
Registered: Feb 2002
Location: Atlanta, GA
Distribution: Debian
Posts: 78

Rep: Reputation: 15
The only thing I can think of is that your router is not set up to assign IP addresses via DHCP? Try pump instead of ifup and see if that can get your IP address.

If you want to try and set the IP manually.....the only things I had to do to my linux box were set the ip address and the subnet mask.

FWIW, It sounds like your router is not set up for DHCP though, but I'm no expert.

Good Luck

-augamecock
 
Old 02-09-2002, 04:21 PM   #7
johntmills
LQ Newbie
 
Registered: Feb 2002
Distribution: RedHat 7.2
Posts: 27

Rep: Reputation: 15
I had the same problem for a long time. It was actually very
simple for me. Motorola cable modems store your MAC address
locally and then tag all your communications to your ISP with it.
They have a "standby" buttom on the front, but what I had to do was a hard reboot via unplug. The when I ran `dhcpcd eth0` it
found it immediately. Also run `ifconfig eth0 down` before dhcpcd
to clean out any wierdness you may have in the network config.
Also, don't do this from X as it needs a valid IP to run and you are
changing it.

Hope that helps
-Mills
 
  


Reply



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
network card not getting dhcp info from router jbinstalls Linux - Networking 1 11-07-2005 01:01 PM
dhcpd subnet declaration problems in dhcpd.conf vcrispo Linux - Networking 6 07-15-2005 10:32 AM
chroot dhcpd and vsftpd = info needed houler Linux - Security 2 04-02-2005 02:27 PM
dhcpd.conf (Unable to boot Kernel) Eileen Linux - Networking 3 11-16-2004 09:13 AM
DHCPD startup failure, mdk 9.2, dhcpd v3.0.1rc11 fuzzyworm Linux - Networking 1 02-14-2004 03:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:57 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