LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   DHCPD unable to get Ip info from my router (https://www.linuxquestions.org/questions/linux-networking-3/dhcpd-unable-to-get-ip-info-from-my-router-13554/)

Photon 02-04-2002 09:31 PM

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 :D

Mik 02-06-2002 07:35 AM

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.

Photon 02-07-2002 01:17 PM

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.

augamecock 02-07-2002 03:07 PM

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

Photon 02-07-2002 08:42 PM

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 :mad:

augamecock 02-09-2002 06:41 AM

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

johntmills 02-09-2002 04:21 PM

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


All times are GMT -5. The time now is 11:05 PM.