PDA

View Full Version : How to find out my IP address?


lola
20th April 2005, 19:25
Is there a way I can find out my IP address on my new SuSE 9.2 system? :confused:

lola

tommyboy
20th April 2005, 19:42
Log in to a shell, and run

ifconfig

It shows you all your network cards and their current IP adresses.

Tom

lola
21st April 2005, 12:26
Thanks Tom, that does the trick! :)

lola

Gorgonzola
19th March 2006, 00:06
:D
check your IP you on following locations
http://static-or-dynamic-ip.com
http://echoip.com

sbovisjb1
25th March 2006, 17:15
When run by itself, whoami looks like this:
$ whoami
sbovisjb1

That should be sufficient to give you the clue on how to implement the test you seek:
if [ $(whoami) = "sbovisjb1" ]
then
execute the code, we're the right user
else
echo "You must be user 'joe' to run this script."
exit 0
fi

You can modify this to match the user or set of users you want to allow, or you can negate the logic to screen out bad userIDs immediately, like this:
if [ $(whoami) = "root" ]
then
echo "You cannot run this script as root."
exit 1
fi

original source: http://www.askdavetaylor.com/how_can_shell_scripts_check_user_id.html

sbovisjb1
26th March 2006, 04:23
I mentioned a website where you can check you're ip adress history... i believe the feds use this... :)

http://www.iptagger.com/

Londoner
26th August 2006, 10:54
Another good site for finding info on your IP address is:
IP Notes - Find out your IP address (http://www.ip-notes.com)
(copied from my bookmarks)
It also sticks your location on a Google Map - quite funky.

falko
27th August 2006, 17:52
It also sticks your location on a Google Map - quite funky.
That's a nice feature - although it's showing my ISP's location and not mine. But still interesting. :)

Hans
9th September 2006, 09:35
Or URL: http://whatismyip.com/

dipeshmehta
1st August 2009, 11:34
http://checkip.dyndns.com

matey
18th August 2009, 14:08
I mentioned a website where you can check you're ip adress history... i believe the feds use this... :)

http://www.iptagger.com/
the feds?
eekh, I like to give them piece of my mind. those buzzards (wearing an eagle costume)! x(
:mad:

miltonhork
23rd October 2009, 15:53
Hi dude,

There are lots of ways to know your IP address. Some of them are here :

IP2location.com
whatismyip.com

antonibede
1st December 2009, 13:04
Hey nowadays, just go on google and write "What is my ip address" in the
search engine. It'll give you readyment answer. Other wise ip2location. com use this one..

Cracklight
15th November 2010, 11:56
Check this at http://www.net-tools.eu/network-tools/your-ip.html

you will find many info.

Cracklight:)

BorderAmigos
19th December 2010, 18:49
Any external website that has the follow code on a page with server side includes will echo your internet address (not your local address). If you run multiple servers it can be useful to have this on them so you can reference it. I have a server in a data center with fixed IP and a server at home with dynamic IP. The home server will check it's address from the external server and rewrite it's DNS if the address changes. Kind of what dyndns will do for your domain name but I don't have to pay someone else for it.


<!--#echo var="REMOTE_ADDR" -->

eyeoncomputers
28th July 2011, 16:37
Suggestions noted above are a good way to find your IP. But it depends on what you are doing and how your network is configured. For example you may need to NAT out to the internet. So this is something to keep in mind.

grtoftis
21st October 2011, 14:27
Hi,
there are two types of ip address.that is system ip address and internet ip address.here you dind't mention about which one.if you need system ip address means you can just follow the instructions below.
start-->run-->Type cmd-->Type ipconfig.
you will get the system ip address.or else if you need internet ip address means you can visit the site www.ip-details.com here you can get the ip address just by visiting the site.i think this information is useful for you to get ip address.