-   Linux - Networking (
-   -   I forgot to key in IP Address while installing Linux (

adityazap 07-16-2006 10:37 AM

I forgot to key in IP Address while installing Linux
I recently insatlled Red Hat Linux ES Workstation...While installed I had forgotten to type in my IP Address while installation..Someone tel me how do rectify this? Very New to Linux..But want to learn....:confused:

tgo 07-16-2006 11:58 AM

do you have a dhcp server on your network? try


and see if any of those get you on the network. If not you can do it manually, but you will have to know the internal ip address of the router you are hooked to or of the isp's router if your connected directly. Then you would do this ( assuming the routers internal ip is ) and your card was eth0

ifconfig eth0
route add default gw
echo nameserver > /etc/resolv.conf

adityazap 07-16-2006 12:30 PM

thanks for the info..but can u be bit more clear abt the syntax...its a dhcp do i do it manually exactly..?appreciate it if u could tell...

issinho 07-16-2006 01:26 PM

Looks like it is a workstation, Yes? If so, open a terminal and type:

su -
{your root password}

ifconfig eth0 the address you wish to give it/the subnet you wish to have. = 24

See if that works.

teckk 07-16-2006 06:39 PM

asimba 07-16-2006 07:02 PM


This link will give you more help/insight how to do that.

All times are GMT -5. The time now is 04:17 PM.