Page 1 of 1

How to find my IP address?

Posted: Sat 22 Aug 2009, 09:54
by timremy
:?: hello

my internet provider went down and when i called them, the person ask me

for the ip address. i could not figure out where to see it.

any help please?

i am using puppy 4.2.1.

thank you

timremy

Posted: Sat 22 Aug 2009, 10:28
by gposil
In terminal...run the following:

wget -q -O - checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e 's/<.*$//'

.

Cheers

ip address

Posted: Sat 22 Aug 2009, 11:53
by timremy
hello

thank you.

timremy

IP address

Posted: Sun 23 Aug 2009, 20:20
by Janpup
For your IP address, log into whatismyip.com

Note that depending on your ISP (cable, DSL etc) and whether you turn your modem on and off, your IP address may possibly change each time you log on to the internet.

Jan

Posted: Sun 23 Aug 2009, 21:37
by aragon
DELETED

aragon

Posted: Sun 23 Aug 2009, 21:45
by Bruce B
aragon wrote:maybe i get something wrong, but i think the easiest way is open a console and type

Code: Select all

ifconfig [INTERFACE]
aragon
Our machines can very easily have three IP addresses

1) 127.0.0.1 (ifconfig lo) AKA localhost
2) the LAN address
3) the Internet Address

The problem is: Us who are behind routers get the LAN address with the ifconfig utility. I don't even think the machine knows the Internet IP address in these cases.

Posted: Sun 23 Aug 2009, 23:01
by aragon
bruce, your answer is absolutely correct. thinking before posting does help. i do know the difference between internal and external adresses, as i'm also behind a router at home. and sure, ifconfig gives only the internal for these setups.

aragon

ip address solved

Posted: Sun 30 Aug 2009, 08:26
by timremy
hello

thank you


timremy

solved

Posted: Thu 22 Nov 2012, 11:01
by aplihs
Hi, You can visit http://www.ip-details.com/ to get your IP address. Al the best mate.

Re: How to find my IP address?

Posted: Fri 23 Nov 2012, 00:58
by postfs1
timremy wrote:...

my internet provider went down and when i called them, the person ask me

for the ip address. i could not figure out where to see it.

any help please?

i am using puppy 4.2.1.

...
[1]
hardinfo
--->
Program's box:
..Network -->
....Interfaces

[2]If the computer is under hardware protection, then the user activates the computer's network adapter and opens the defender's programmatic control panel by web-browser or by another special program where, perhaps, was written the line with the needful external IP address.

Posted: Fri 23 Nov 2012, 05:22
by Geoffrey
Try this.

Code: Select all

#!/bin/sh
wget -4 -t 2 -T 20 --waitretry=20 --spider --level=1  -S echoip.com 2>&1 |grep OK > /tmp/echoip
if [ ! -s /tmp/echoip ];then 
Xdialog --title "" --timeout 6 --msgbox \
"\n   echoip.com is unreachable
Check that you have a connection to the internet   \n" 0 0
exit 0
else
EXTIP=`curl echoip.com/ 2> /dev/null`
PCIP=`ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1}'`
export IP='
<window title="ExtIP" resizable="false">
  <vbox>
    <text justify="2"><label>"External IP"</label></text>
    <text justify="2" use-markup="true" selectable="true"><label>"<b><span size='"'large'"'>'$EXTIP'</span></b>"</label></text>
    <text justify="2"><label>"Computer IP"</label></text>
    <text justify="2" use-markup="true" selectable="true"><label>"<b><span size='"'large'"'>'$PCIP'</span></b>"</label></text>
    <hbox>
    <button use-underline="true">
    <label>_Close</label>
    <action type="exit">exit</action>
	</button>
   </hbox>
  </vbox>
 </window>'
gtkdialog --program=IP

exit 0
fi

How to find my IP address?

Posted: Fri 23 Nov 2012, 08:48
by Monsie
I am not sure why this thread was revived, but it should be mentioned as well that Puppy has ipinfo... a script that can be simply called at the command line:

Code: Select all

ipinfo
As such, it also brings up a gui (using gtkdialog3) which displays one's External IP address.

In fact, ipinfo was written by vovchik before this thread began and probably could have been mentioned back then...

Just sayin...
Monsie