LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-17-2003, 11:38 AM   #1
RJWMU
LQ Newbie
 
Registered: May 2003
Posts: 11

Rep: Reputation: 0
Setting up DHCP AFTER installation.


I use netconfig and select the option to automatically optain all my addressed. I then try running network restart and nothing happens so I log out and log back in. Before anything loads I get the Error: "Could not look up internet address for local host. This will prevent Gnome from operating correctly.. It is possible to correct this by adding local host to the file /etc/hosts.

I have a couple questions about this:

1) I get a bunch of different ip numbers from various differnt spots. When using windows programs show that I am viewing things from the address 199.170.116.91. When i run ifconfig it shows my local host address as 127.0.0.1 and subnet address as 255.0.0.0 and I find a network IP of 10.0.5.32 using belarc advisor on my system...WHAT ARE ALL THESE numbers?

2) Is there a small program that I can download to set up these settings? I have to put it on some sort of disk then reboot to linux to install it.

3) Is it possible that my network card is still not working correctly even if it says it is activated?

This is really starting to get to be a pain in the @$$.

 
Old 05-17-2003, 11:50 AM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
the error is caused by your /etc/hosts file. It needs your ip address and hostname in it.
it also needs the default entry

127.0.0.1 localhost.localdomain localhost

As far as your ip address goes there are a lot of things that can be unique to your configuration.

This is what it appears to be based on the info you have given

your ip address is 199.170.116.91 and you run ifconfig before the interface was up or did not give the full output of ifconfig in your post.

Or your ip address is 10.0.5.32 and the gateway to the internet like a router has an ip address of 199.170.116.91 and you did not give the full output of ifconfig, or the interface was not up at the time

Last edited by DavidPhillips; 05-17-2003 at 11:52 AM.
 
Old 05-17-2003, 11:53 AM   #3
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
give the output of these

ifconfig

ifconfig -a

route -n
 
Old 05-17-2003, 03:51 PM   #4
bradfisher
LQ Newbie
 
Registered: Apr 2003
Location: Tucson
Distribution: RedHat 7.3, 8.0
Posts: 13

Rep: Reputation: 0
Additionally, it would be helpful if you supplied the info I requested earlier ...

cat /etc/dhcpc/dhcpcd-eth0.info

That file will have all the ip data sent to you by the network dhcp
server. If it is not there then dhcp is still not working.
 
  


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
setting up dhcp abunsair Debian 1 07-11-2005 09:31 AM
Setting up DHCP Baix Linux From Scratch 1 06-19-2005 11:52 PM
Problem setting up DHCP. Usalabs Linux - Networking 6 02-09-2004 07:25 AM
Setting up DHCP server. joshnya Linux - Networking 1 10-12-2003 03:15 PM
setting up dhcp toddmvc Linux - Networking 2 08-20-2003 12:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:05 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration