getting IP address of router
jim ruxton
cinetron-uEvt2TsIf2EsA/PxXw9srA at public.gmane.org
Fri Feb 11 17:05:41 UTC 2005
Thanks Lennart
>
> Here the output is: 67.69.26.43
>
> And that's it.
>
> Could you try doing: curl -s -o - http://www.myip.dk > myip.log
I've posted it at the bottom of this message.
> include that output in a message (not sure the list does attachments).
> I am wondering if the output of the site varies in some way based on the
> ip connecting (that would be weird however).
If you diff this to your output I'd be curious of the results.
>
> You could also try this one:
> lynx -dump http://www.myip.dk|head -n 4|tail -n 1|sed -e 's% %%g'
This works perfectly !! , strange. Does this give any clues as to whats
going on?
Thanks again for your help with this.
Jim
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN"><html><head><title>Your IP:
64.229.207.55</title></head><body><p><center> <font size="6"
face="Verdana">Your IP:</font></center><p><center> <table
border="0" width="23" bgcolor="#00A0A0" style="border: 1 solid
#000000"> <tr> <td align="center"
valign="middle"> <font size="6"
face="Verdana"><b>
64.229.207.55 </b></font>
</td> </tr> </table> <p><p> <table border="0"
width="23" bgcolor="#00A0A0" style="border: 1 solid
#000000"> <tr> <td align="center"
valign="middle" nowrap> <font size="4"
face="Verdana"><b>
HSE-MTL-ppp74024.qc.sympatico.ca
</b></font></td> </tr> </table> <p><p> <table
border="0" width="23" bgcolor="#00A0A0" style="border: 1 solid
#000000"> <tr> <td align="center"
valign="middle" nowrap> <font size="4"
face="Verdana"><b>
1088802615 </b></font>
</td> </tr>
</table></center><br> <br><center><p><form method="post"
action="/CMyip.dll?DoAddrFormConvert" name="form1"><font size="2"
face="Verdana">Skriv din interne addresse
f.eks:<br>http://computernavn/fil.html -->
http://64.229.207.55/fil.html</font><br> <input type="text"
name="url"><br> <input type="hidden" name="ip"
value="64.229.207.55"> <input type="submit"
value="Konverter"></form></center><p> <center><p><form
method="post" action="/CMyip.dll?DoReverseFormConvert"
name="form1"><font size="2" face="Verdana">Skriv IP'en du vil have
hostname'et p�</font><br> <input type="text" name="ip"><br>
<input type="submit"
value="Konverter"></form></center><p> <center><p><form
method="post" action="/CMyip.dll?DoReverseFormConvert2"
name="form1"><font size="2" face="Verdana">Skriv hostname'et du vil have
IP'en p�</font><br> <input type="text" name="hostname"><br> <input
type="submit"
value="Konverter"></form></center><p> <center><p><form
method="post" action="/CMyip.dll?DoDecFormConvert" name="form1"><font
size="2" face="Verdana">Skriv IP'en du vil have lavet om til decimal
form:</font><br> <input type="text" name="ip"><br> <input
type="submit"
value="Konverter"></form><br><br><br></center></body><!-- I Love
you Eva B. Einarsdttir :)--></html>
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list