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 |
which distro are you using and are you trying to use dhcp or static ip?
|
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 |
If you have DSL or Cable you'll need to set up DHCP.
|
Quote:
|
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 Code:
service network restart |
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 |
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 Code:
GATEWAYDEV=eth0 |
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? |
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, |
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. |
Yes, add your ISP's DNS to the /etc/resolv.conf file.
Code:
nameserver x.x.x.x Quote:
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:
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. |
Thank you Mathieu,
Thank you Penguin, I will try it and learn more. |
All times are GMT -5. The time now is 09:29 AM. |