Re: Ip own modem/router ADSL

2005-11-17 Thread Michelle Konzack
Am 2005-11-15 08:42:09, schrieb antonio giulio:
> Hi,
> 
> how can I see my ip modem (it's a router too, and I connect to it via dhcp)?
> 
> with "ip route show" I can see just local address 192.168.1.1, but I
> wanna know real address on internet.

You can look into your E-Mail you have written, and the first or
second Received: Header should contain your public IP address.

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSM LinuxMichi
0033/3/8845235667100 Strasbourg/France   IRC #Debian (irc.icq.com)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Ip own modem/router ADSL

2005-11-17 Thread Michelle Konzack
Am 2005-11-15 09:37:48, schrieb A J Stiles:

> If you are lucky, the first hop will be your router's own external IP 
> address.  
> If you are unlucky, the first hop will be an "unroutable" 10.x.y.z address -- 
> this means your ISP is connecting you through a secondary router  {mine does 
> that}.  In which case, get someone whose IP address you *do* know to put this 
> in their cgi-bin:
> 
> #!/usr/bin/perl -w
> use strict;
> my $ip_address = $ENV{"REMOTE_ADDR"};
> print qq|Content-type: text/plain
> 
> Your IP address is $ip_address.
> |;
> exit 0;
> 
> Then visit it with a web browser.

And if he has no cgi-bin?

Better:

  __( '/home/michelle.konzack/public_html/ip.php' )_
 /
| 
 \__

it works on most common free hosting providers.

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSM LinuxMichi
0033/3/8845235667100 Strasbourg/France   IRC #Debian (irc.icq.com)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Ip own modem/router ADSL

2005-11-15 Thread antonio giulio
I cannot use lynx, links, elinks, etc. however I've solved with a
simple script that fetch page by AJ Stiles.

Thanks,
Giulio



Re: Ip own modem/router ADSL

2005-11-15 Thread Andrew Sharp
On Tue, Nov 15, 2005 at 09:55:13AM +, antonio giulio wrote:
> > go to www.whatismyip.com
> 
> Sorry,
> 
> my request it's only via shell, without using external addresses for
> various web-sites (and I have not password to log in router).
> Just an "internal" procedure if it's possible.

Let's see, you can't get to external addresses ... why do you care what
your internet address is?  Use a text browser like

lynx www.whatismyip.com

I don't think doing a dig on your gateway will tell you anything useful.

Cheers,

a


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Ip own modem/router ADSL

2005-11-15 Thread Nico Jochens

On Tue, Nov 15, 2005 at 08:42:09AM +, antonio giulio wrote:

Hi,

how can I see my ip modem (it's a router too, and I connect to it via dhcp)?

with "ip route show" I can see just local address 192.168.1.1, but I
wanna know real address on internet.


dig 192.168.1.1

sunny greetings from Norderstedt

Nico


--
It`s not a trick...it`s Linux! |  web: www.linico.de
  ---°°--- |  mailto: [EMAIL PROTECTED]
 Nico Jochens -- MCSE & CNA|  Registered Linux User #313928
HamburgGermany |  PGP: B3E2 AC0A 5277 3EEE 132B  B645 7A0F 5FC0 7409 746E 



Re: Ip own modem/router ADSL

2005-11-15 Thread Lennart Sorensen
On Tue, Nov 15, 2005 at 09:55:13AM +, antonio giulio wrote:
> > go to www.whatismyip.com
> 
> Sorry,
> 
> my request it's only via shell, without using external addresses for
> various web-sites (and I have not password to log in router).
> Just an "internal" procedure if it's possible.

It is not possible without asking something external or having more
access to the router config.

Len Sorensen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Ip own modem/router ADSL

2005-11-15 Thread Lennart Sorensen
On Tue, Nov 15, 2005 at 07:43:27PM +1100, Dean Hamstead wrote:
> your router most likely has a web based configuration
> 
> alternatively traceroute will give it away

traceroute won't help.  It will just show the internal gateway ip.

Len Sorensen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Ip own modem/router ADSL

2005-11-15 Thread Lennart Sorensen
On Tue, Nov 15, 2005 at 08:42:09AM +, antonio giulio wrote:
> how can I see my ip modem (it's a router too, and I connect to it via dhcp)?
> 
> with "ip route show" I can see just local address 192.168.1.1, but I
> wanna know real address on internet.

You either use the web interface or telnet interface or snmp or whatever
the router offers to ask it, or you use one of the many websites out
there that can tell you what your ip is when you connect to it.

Len Sorensen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Ip own modem/router ADSL

2005-11-15 Thread Eduardo M KALINOWSKI
antonio giulio wrote:

>>go to www.whatismyip.com
>>
>>
>
>Sorry,
>
>my request it's only via shell, without using external addresses for
>various web-sites (and I have not password to log in router).
>Just an "internal" procedure if it's possible.
>
>  
>
Write a perl/shell/awk/python/whatever script to fetch that page, parse
it, and output the IP address.

-- 
No guest is so welcome in a friend's house that he will not become a
nuisance after three days.
-- Titus Maccius Plautus

Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Ip own modem/router ADSL

2005-11-15 Thread antonio giulio
> go to www.whatismyip.com

Sorry,

my request it's only via shell, without using external addresses for
various web-sites (and I have not password to log in router).
Just an "internal" procedure if it's possible.

Thanks,
Giulio



Re: Ip own modem/router ADSL

2005-11-15 Thread Jo Shields

A J Stiles wrote:


On Tuesday 15 November 2005 08:42, antonio giulio wrote:
 


Hi,

how can I see my ip modem (it's a router too, and I connect to it via
dhcp)?

with "ip route show" I can see just local address 192.168.1.1, but I
wanna know real address on internet.

Thanks,
Giulio
   



Assuming the router is working and connecting to the internet, but you can't 
see anything on the configuration page  {you have tried training a web 
browser on its "internal" IP address, haven't you?},  do a traceroute to 
somewhere like www.debian.org or bbc.co.uk.  Use the -n option to show IP 
addresses in numeric form, rather than hostnames:


# traceroute -n www.bbc.co.uk

If you are lucky, the first hop will be your router's own external IP address.  
If you are unlucky, the first hop will be an "unroutable" 10.x.y.z address -- 
this means your ISP is connecting you through a secondary router  {mine does 
that}.  In which case, get someone whose IP address you *do* know to put this 
in their cgi-bin:


#!/usr/bin/perl -w
use strict;
my $ip_address = $ENV{"REMOTE_ADDR"};
print qq|Content-type: text/plain

Your IP address is $ip_address.
|;
exit 0;

Then visit it with a web browser.

Drop me an e-mail off-list if you need access to mine  {I don't want the 
spammers who trawl this list to peddle their counterfeit drugs, pirated 
software and worthless shares slashdotting me}.


 


go to www.whatismyip.com

that's the dirty-but-simple option


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Ip own modem/router ADSL

2005-11-15 Thread A J Stiles
On Tuesday 15 November 2005 08:42, antonio giulio wrote:
> Hi,
>
> how can I see my ip modem (it's a router too, and I connect to it via
> dhcp)?
>
> with "ip route show" I can see just local address 192.168.1.1, but I
> wanna know real address on internet.
>
> Thanks,
> Giulio

Assuming the router is working and connecting to the internet, but you can't 
see anything on the configuration page  {you have tried training a web 
browser on its "internal" IP address, haven't you?},  do a traceroute to 
somewhere like www.debian.org or bbc.co.uk.  Use the -n option to show IP 
addresses in numeric form, rather than hostnames:

# traceroute -n www.bbc.co.uk

If you are lucky, the first hop will be your router's own external IP address.  
If you are unlucky, the first hop will be an "unroutable" 10.x.y.z address -- 
this means your ISP is connecting you through a secondary router  {mine does 
that}.  In which case, get someone whose IP address you *do* know to put this 
in their cgi-bin:

#!/usr/bin/perl -w
use strict;
my $ip_address = $ENV{"REMOTE_ADDR"};
print qq|Content-type: text/plain

Your IP address is $ip_address.
|;
exit 0;

Then visit it with a web browser.

Drop me an e-mail off-list if you need access to mine  {I don't want the 
spammers who trawl this list to peddle their counterfeit drugs, pirated 
software and worthless shares slashdotting me}.

-- 
AJS
delta echo bravo six four at earthshod dot co dot uk


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Ip own modem/router ADSL

2005-11-15 Thread Dean Hamstead

log into your adsl router


Dean

antongiulio05 wrote:

your router most likely has a web based configuration
alternatively traceroute will give it away



with a simple:

traceroute google.com

I cannot see anything, just 192.168.1.1

Giulio




--
WWW: http://deanpatrick.tk
LAN: http://www.bong.com.au
EMAIL: [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Ip own modem/router ADSL

2005-11-15 Thread antongiulio05
> your router most likely has a web based configuration
> alternatively traceroute will give it away

with a simple:

traceroute google.com

I cannot see anything, just 192.168.1.1

Giulio


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Ip own modem/router ADSL

2005-11-15 Thread Dean Hamstead

your router most likely has a web based configuration

alternatively traceroute will give it away

Dean

antonio giulio wrote:

Hi,

how can I see my ip modem (it's a router too, and I connect to it via dhcp)?

with "ip route show" I can see just local address 192.168.1.1, but I
wanna know real address on internet.

Thanks,
Giulio




--
WWW: http://deanpatrick.tk
LAN: http://www.bong.com.au
EMAIL: [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]