LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 04-11-2007, 04:14 PM   #1
Ted Atkins
LQ Newbie
 
Registered: Apr 2007
Location: Ferndale, WA (Canadian border at sound)
Distribution: ?
Posts: 1

Rep: Reputation: 0
Unhappy How do I change IP address in fedora?


I'm new to Linux. I show signal present from my router but when I try to activate, I can't. One error message said it's configured to a different IP address ??? Where would I got to find the existing IP and change it.
Ted
 
Old 04-11-2007, 04:37 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
nothign to do with programming. moved to Linux - Newbie
 
Old 04-11-2007, 05:08 PM   #3
forrestt
Senior Member
 
Registered: Mar 2004
Location: Cary, NC, USA
Distribution: Fedora, Kubuntu, RedHat, CentOS, SuSe
Posts: 1,288

Rep: Reputation: 99
You can determine your IP by running:

/sbin/ifconfig -a

Look at the entry for eth0

To change your IP edit the file /etc/systconfig/network-scripts/ifcfg-eth0

then run

/etc/init.d/network restart

Or, you can use the GUI system-config-network.

Hope this helps.
 
Old 04-12-2007, 12:29 AM   #4
gregorian
Member
 
Registered: Apr 2006
Posts: 509

Rep: Reputation: 34
I typed ifconfig and found my IP address, but it's 192.168.1.2 and not the address as displayed on www.whatismyip.com , Why does it give a different address?
 
Old 04-12-2007, 02:06 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
becuase it shows you your publically routable addres, from your isp. it's no idea about the individual ip's on your home lan as they are natted when they go out to the net by your router.
 
  


Reply



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
Change Host and Ip address Fedora 3 s1goldman Linux - Newbie 3 01-04-2005 04:24 PM
Change IP address lvran Linux - Networking 2 10-16-2003 01:19 AM
How do you change the IP Address? Diablotrickster Slackware 4 08-28-2003 07:31 PM
cannot change ip address ??? aherrys Linux - Networking 0 07-06-2003 03:34 AM
Change address juno Linux - General 2 10-25-2002 03:56 AM

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

All times are GMT -5. The time now is 01:06 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
Open Source Consulting | Domain Registration