<div>Thank you, Zoran. I'll try to implement your ideas. As Marius said, dynamic dns is a good solution. I've just opened an account at dyndns site. I've installed ddclient for my desktop pc.</div>
<div> </div>
<div>Now comes the big problem. I must implement Zoran's idea to get my 770 automatically sending its IP to dyndns server.</div>
<div> </div>
<div>770 gets its IP from a phone connection. This means that my phone company changes its IP every time I connect the device to the net. I've got no experience with scripts, but I'll do my best, and maybe it'll be the first of a long list :)
</div>
<div> </div>
<div>It would be easier if there was a fine package of ddclient. But I suppose that binaries available at dyndns are not useful for 770, am I right?<br><br> </div>
<div><span class="gmail_quote">2007/2/18, Zoran Kolic <<a href="mailto:zkolic@sbb.co.yu">zkolic@sbb.co.yu</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">> I've installed and run it to get easy access to my 770 via a Web browser.<br>> The problem I've got is that every time I get an Internet connection (via
<br>> wifi or phone) my IP address changes.<br><br>Incoming connection is rather not the cause of the change.You didn't mention<br>how do you get addresses. If you make it via dhcp from wireless router, then<br>the leasing time should be considerably long enough. Time is measured in se-
<br>conds, so get it high.<br><br>> So that I've prepared a very simple<br>> web page at a fixed URL. In that page I've uploaded a simple index.html with<br>> my new IP, and it redirects the reader to my 770 web server. The problem is
<br>> that I must update that index.html every time I connect my 770 in order to<br>> have a correct IP address.<br><br>You have ip problem. And looks you have two web pages, one on desktop, one<br>on 770. One of them is overfluous. Take this scenario:
<br>you have router that gives ip address to the box that asks for it. 770 asks<br>and gets new address for every 43200 seconds or similar. You should know<br>address range of that router. Fire up nmap and get the result from it.
<br>nmap -p 80 <a href="http://192.168.1.0/24">192.168.1.0/24</a> | pipe<br>The pipe means you have to use grep or whatever you like to see the line<br>with positive match. That line gives you ip address of your 770. Little
<br>cut command and you could get rid off un-necessary particules. All in pipes.<br>Then use ajax to dinamicaly change the page or put it in command line, like<br>lynx $ADDRESS<br>Cron could do it a regular interval. Or your 770 has no power or memory and
<br>reboots and gets new address whenever it happens.<br><br>> Is there any way to automate the process via a script? Could anybody help me<br>> with the script? Is there a simpler way to achieve what I need?<br><br>
You could change the way your router sees boxen. But dhcp is fine for home<br>usage.<br><br> Zoran<br><br><br>_______________________________________________<br>maemo-users mailing list<br>
<a href="mailto:maemo-users@maemo.org">maemo-users@maemo.org</a><br><a href="https://maemo.org/mailman/listinfo/maemo-users">https://maemo.org/mailman/listinfo/maemo-users</a><br></blockquote></div><br>