LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 10-09-2003, 12:56 PM   #1
rajeshdorai
LQ Newbie
 
Registered: Sep 2003
Posts: 20

Rep: Reputation: 0
dhcp - configure?


Hello all,

I am still facing the problem I stated in my earlier thread,
i.e., I am not able to configure my network. I still keep getting the message "Determining IP information for eth0...
Failed" when I do "ifup eth0".

I have updated my network settings through the "setup" utility so as to be "dhcp" (please pardon my non-technical language, as it has just been hours since I am working on a new Linux m/c). But, still it does not work. If I do

"ifconfig eth0 up",

I do not get any message.

Any help would be greatly appreciated.

RD
 
Old 10-09-2003, 01:00 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Try running:
dhcclient

To receive information from your dhcp server.
 
Old 10-09-2003, 01:10 PM   #3
rajeshdorai
LQ Newbie
 
Registered: Sep 2003
Posts: 20

Original Poster
Rep: Reputation: 0
I just did 'dhclient'

I have attached the reply. I very much appreciate your help.

[root@localhost root]# dhclient
Internet Software Consortium DHCP Client V3.0pl1
Copyright 1995-2001 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

Listening on LPF/eth0/00:0b:db:58:ff:b6
Sending on LPF/eth0/00:0b:db:58:ff:b6
Listening on LPF/lo/
Sending on LPF/lo/
Sending on Socket/fallback
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 20
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 20
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 4
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
 
Old 10-09-2003, 01:23 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964
well it's clearly trying, so you need to either look to the physical network or the server you are trying to get it from.
 
Old 10-09-2003, 01:27 PM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Do you have link lights on the hub/switch and your network card?
 
Old 10-09-2003, 01:29 PM   #6
rajeshdorai
LQ Newbie
 
Registered: Sep 2003
Posts: 20

Original Poster
Rep: Reputation: 0
works now....

I tried to add the following line to my anaconda-ks.cfg

network --device eth0 --bootproto dhcp

which I believe does the network configuration at startup?

I do not know why this line was not automatically introduced when I did my network configuration to 'dhcp' using the network configuration tool (System Tools -> Network option). Anyhow, I am now able to get on to the network now...

Thanks so much for your time and help.
 
Old 10-09-2003, 03:21 PM   #7
sidmark-2850
Member
 
Registered: Aug 2003
Posts: 133

Rep: Reputation: 15
What does your network look like physically? Describe your topology. Are you connecting to a cable modem or something? Do you have a dhcp server on your network. Modifying the anaconda.ks file won't do the system any good because it is the kickstart file that the system generates after you install linux.

If you want to change the network configuration, you can either run the "redhat-config-network" script or edit the files in "/etc/sysconfig/networking/".
 
Old 10-09-2003, 03:41 PM   #8
rajeshdorai
LQ Newbie
 
Registered: Sep 2003
Posts: 20

Original Poster
Rep: Reputation: 0
to: david_ross
1. Yes, I see lights on my network card.

to: sidmark-2850

I am not very familiar with the system here (w.r.t. topology).
We typically use dhcp to connect to the internet and so I think we have a dhcp server.

I had wanted to make my computer a server for other people to logon and run their programs. Now, I plan to get a static ip address in order get that going.

I was initially trying to use dhcp in order to connect to the internet to download programs.

After you had said that modifications to the anaconda would not affect the process, I am now puzzled why my network works...
 
  


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
Configure dhcpd (Configure DHCP Server) hanserver2004 LinuxQuestions.org Member Success Stories 3 10-23-2006 06:39 AM
dhcp configure help salahuddin_66 Debian 3 11-01-2005 06:54 AM
How do I configure DHCP?? MurphyB2005 Slackware 15 04-15-2005 06:27 PM
Help to configure dhcp vijeesh_ep Linux - Networking 1 12-15-2004 05:24 PM
Configure dhcpd (Configure DHCP Server) hanserver2004 General 1 08-16-2004 01:39 PM


All times are GMT -5. The time now is 03:46 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration