LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-05-2004, 06:13 AM   #1
Steve Han
LQ Newbie
 
Registered: Jul 2004
Location: Jinan,China
Distribution: Red Hat
Posts: 11

Rep: Reputation: 0
what i should to do with "Ddtermining IP information for eth0...failed


i have fixed the problem "Bringing up interface eth0:failed",but i got the other one "Determining IP information for eth0...failed".

i used commands "ifconfig" "route" to configure my IP address,gatway and netmask;but these information i made had not been saved when restart the computer.What wrong with me and how to ?

Please help and thank.

steve
 
Old 07-05-2004, 06:21 AM   #2
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
which distro are you using and are you trying to use dhcp or static ip?
 
Old 07-05-2004, 11:27 PM   #3
Steve Han
LQ Newbie
 
Registered: Jul 2004
Location: Jinan,China
Distribution: Red Hat
Posts: 11

Original Poster
Rep: Reputation: 0
i am using RedHat Linux 9. I don't know which one that fit to me,maybe static ip better for a newbie?

steve han
 
Old 07-06-2004, 08:44 AM   #4
snakeo2
Member
 
Registered: Mar 2004
Location: Miami, Fl
Distribution: Red Hat 9/fedora core3/
Posts: 273

Rep: Reputation: 31
If you have DSL or Cable you'll need to set up DHCP.
 
Old 07-06-2004, 08:47 AM   #5
wijnands
Member
 
Registered: Mar 2004
Posts: 132

Rep: Reputation: 15
Quote:
Originally posted by snakeo2
If you have DSL or Cable you'll need to set up DHCP.
Possbily. There's also DSL providers that issue static IP addresses.
 
Old 07-06-2004, 10:07 AM   #6
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Since you are using RedHat 9, you can use the Network Configuration GUI.
Take a look at this HowTO.
http://www.redhat.com/docs/manuals/l...rk-config.html

Or if you decide to do it manually and you require DHCP (best choice and most likely DHCP is what you need)
you will need to edit /etc/sysconfig/network-scripts/ifcfg-eth0 by adding the following:
Code:
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
Now you need to restart the network connection
Code:
service network restart
 
Old 07-07-2004, 01:53 AM   #7
Steve Han
LQ Newbie
 
Registered: Jul 2004
Location: Jinan,China
Distribution: Red Hat
Posts: 11

Original Poster
Rep: Reputation: 0
Thank you Mathieu,Demonbane
Till now i have done the following work:

code:
#ifconfig eth0 up
#ifconfig eth0 10.1.9.2
#ifconfig eth0 netmask 255.255.255.0
#route add default gw 10.1.9.1(my Intranet server)

#ifconfig lo 127.0.0.1
#route add 127.0.01 lo

(i had "DEVICE=eth0 BOOTPROTO=dhcp ONBOOT=yes" in /etc....../ifcfg-eth0)
and i typed
#service network restart

It said that:
Shutting down inferface eth0 OK
Shutting down loopback interface OK
Setting network parameters OK
Bringing up loopback interface OK
Bringing up interface eth0:
Determining IP information for eth0... failed
 
Old 07-07-2004, 12:12 PM   #8
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Ok. Does your Intranet server have DHCP ?

If not, then you will need to setup a static IP.
Edit /etc/sysconfig/network-scripts/ifcfg-eth0 and add the following:
Code:
DEVICE=eth0
onBOOT=yes
BOOTPROTO=none
IPADDR=10.1.9.2
NETMASK=255.255.255.0
TYPE=Ethernet
NETWORK=10.1.9.0
BROADCAST=10.1.9.255
If you want to specific a default gateway, you can edit /etc/sysconfig/network by adding the following:
Code:
GATEWAYDEV=eth0
 
Old 07-08-2004, 03:25 AM   #9
Steve Han
LQ Newbie
 
Registered: Jul 2004
Location: Jinan,China
Distribution: Red Hat
Posts: 11

Original Poster
Rep: Reputation: 0
Thank you very much Mathieu,and i fixed the problem on bringring up interface eth0 by following your tips,that is OK.

But i wander (1)where i can myself find the relevant documents about what that you tald me above(i got some supports like as RedHat's documenttation online,book"RedHat Linux 7.2 Unleashed"by Bill Ball,etc),maybe i need to walk carefully through the stuff about DHCP and static IP?;(2)Now can i navigate Internet using command line and how to?
 
Old 07-08-2004, 05:21 AM   #10
hasnain
Member
 
Registered: Jun 2004
Location: Karachi
Distribution: Redhat
Posts: 56

Rep: Reputation: 15
IP determinig problem

hello


well ur problem is simple ...u just want to get a statis IP every tiime you bool....right?


heres the command

[root @ localhost root] ifconfig eth0:0 172.16.13.101 netmask 255.255.0.0 up



after doind that make sure that uve get the newly assigned IP

[root @localhost root] service network restart

[root @ localhost root] ipconfig

i hope it would work

regards,
 
Old 07-08-2004, 05:42 AM   #11
Steve Han
LQ Newbie
 
Registered: Jul 2004
Location: Jinan,China
Distribution: Red Hat
Posts: 11

Original Poster
Rep: Reputation: 0
Please Mathieu,
i have checked up the file /etc/resolv.conf,it said that "search localdomain". Might it means that i neet to edit the file with"nameserver xxx.xxx.xxx.xxx(my ISP's DNS)"?

And which commands i should use to surf Internet and to download data as ftp file etc from there.
 
Old 07-08-2004, 08:23 PM   #12
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Yes, add your ISP's DNS to the /etc/resolv.conf file.
Code:
nameserver x.x.x.x
nameserver y.y.y.y
nameserver z.z.z.z
Quote:
(1)where i can myself find the relevant documents about what that you tald me above
Red Hat Linux Manuals
http://www.redhat.com/docs/manuals/linux/

The info you want can be found in the Red Hat Linux 9 Reference Guide (Network Interfaces)
http://www.redhat.com/docs/manuals/l...ual/ref-guide/

Quote:
(2)Now can i navigate Internet using command line and how to?
Yes, you can use lynx. It is a text web browser.
Simply install the RPM.
If you are running X with a desktop environment like KDE or Gnome, you can use Mozilla, Konqueror, etc.

As for FTP, you should have ftp installed, type: ftp
But if you want a more robust ftp client, try ncftp
There are many FTP clients avaiable.
 
Old 07-08-2004, 10:13 PM   #13
Steve Han
LQ Newbie
 
Registered: Jul 2004
Location: Jinan,China
Distribution: Red Hat
Posts: 11

Original Poster
Rep: Reputation: 0
Thank you Mathieu,
Thank you Penguin,
I will try it and learn more.
 
  


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
determining ip information for eth0...failed flamah Linux - Networking 5 02-27-2004 01:18 PM
Bringing up interface eth0: determining ip information for eth0... failed ralphethomas Linux - Networking 0 01-24-2004 06:33 PM
"Determining IP information for eth0... failed." (DHCP problem) einnocent Linux - Networking 4 10-20-2003 01:59 AM
Determining IP information for eth0: failed... rajeshdorai Linux - Networking 5 10-09-2003 10:50 PM
Determining IP information for eth0...FAILED chappy011 Linux - Networking 22 06-03-2002 12:05 AM


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