LinuxQuestions.org
Review your favorite Linux distribution.
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, 05: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, 05:37 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
nothign to do with programming. moved to Linux - Newbie
 
Old 04-11-2007, 06: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, 01: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, 03:06 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
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


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


All times are GMT -5. The time now is 12:29 PM.

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