Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-16-2006, 10:37 AM   #1
LQ Newbie
Registered: Jul 2006
Posts: 2

Rep: Reputation: 0
Unhappy 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....
Old 07-16-2006, 11:58 AM   #2
Registered: Dec 2004
Posts: 125

Rep: Reputation: 15
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
Old 07-16-2006, 12:30 PM   #3
LQ Newbie
Registered: Jul 2006
Posts: 2

Original Poster
Rep: Reputation: 0
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...
Old 07-16-2006, 01:26 PM   #4
Registered: Jun 2005
Location: Bosie, ID
Distribution: Fedora Core 4, Kurumin,BackTrack, Slackware 10.2, IPCop
Posts: 105

Rep: Reputation: 15
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.
Old 07-16-2006, 07:02 PM   #6
Registered: Mar 2005
Distribution: Red Hat / Fedora
Posts: 355

Rep: Reputation: 42

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


linux, networking

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
Forgot password Suse Linux 10 hhhhhh Linux - Software 9 06-03-2008 04:49 PM
LXer: Timesys Webinars to Address Key Embedded Linux Development Issues LXer Syndicated Linux News 0 02-22-2006 06:31 AM
i forgot my password on red hat linux Joe120 Linux - Security 5 01-25-2006 06:39 AM
forgot root password:- Suse Linux 10.00 boxerdes SUSE / openSUSE 1 01-18-2006 02:25 PM
I have forgot my linux root passwd shankha Linux - Security 2 09-13-2003 06:13 AM

All times are GMT -5. The time now is 10:18 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration