<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.webos-internals.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Guybrush420</id>
	<title>WebOS Internals - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.webos-internals.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Guybrush420"/>
	<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/wiki/Special:Contributions/Guybrush420"/>
	<updated>2026-04-16T20:30:56Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Tutorials_Linux_DDNS_Update_Client_ez-ipupdate&amp;diff=8799</id>
		<title>Tutorials Linux DDNS Update Client ez-ipupdate</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Tutorials_Linux_DDNS_Update_Client_ez-ipupdate&amp;diff=8799"/>
		<updated>2010-01-31T16:34:38Z</updated>

		<summary type="html">&lt;p&gt;Guybrush420: The pixi's interface is called rmnet0&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document describes a method to setup '''ez-ipupdate''' to automatically update a dynamic DNS hostname to your Palm Pre's WAN IP address living on ppp0. for updating your Pre's DNS information using a Dynamic DNS service. If your Dynamic DNS service only offers updating via URL, or your service is not supported here, you may want to check [[Tutorials_Linux_DDNS_Update_Client_wget]].&lt;br /&gt;
&lt;br /&gt;
The benefit of the '''ez-ipupdate''' configuration on this page is that it only runs when the IP address changes on your Pre. This way it doesn't use any memory/CPU or other resources on an ongoing basis.&lt;br /&gt;
&lt;br /&gt;
Every time your pre connects to the network, its IP address changes.  If you want to access things on the Pre itself via the EVDO network, this is a pain since you have to look up the IP address each time.  Dynamic DNS services allow you to have a stable name for the pre like:  mypre.dyndns.org  and each time the address changes on the Pre, the phone itself will update the IP address at dyndns.org so that your name always works. &lt;br /&gt;
&lt;br /&gt;
== ez-ipupdate package in the Optware feed in Preware ==&lt;br /&gt;
&lt;br /&gt;
ez-ipupdate has now been added to the Optware package feed in Preware.  To configure it, just edit /opt/etc/ez-ipupdate.conf as detailed below, and everything else is automatic.  You only need the service-type, user and host entries - the other configuration entries like interface, etc are handled automatically.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites.==&lt;br /&gt;
* This page assumes that you have just finished the procedure on the [[Portal:Accessing_Linux]] page, and are still logged in as root via telnet, novaterm, or novaproxy.&lt;br /&gt;
* You should also have gone through the next steps page.&lt;br /&gt;
&lt;br /&gt;
==Create a Dynamic DNS Account at one of the following:==&lt;br /&gt;
&lt;br /&gt;
* http://www.ez-ip.net&lt;br /&gt;
* http://www.justlinux.com&lt;br /&gt;
* http://www.dhs.org&lt;br /&gt;
* http://www.dyndns.org&lt;br /&gt;
* http://www.ods.org&lt;br /&gt;
* http://gnudip.cheapnet.net (GNUDip)&lt;br /&gt;
* http://www.dyn.ca (GNUDip)&lt;br /&gt;
* http://www.tzo.com&lt;br /&gt;
* http://www.easydns.com&lt;br /&gt;
* http://www.dyns.cx&lt;br /&gt;
* http://www.hn.org&lt;br /&gt;
* http://www.zoneedit.com&lt;br /&gt;
&lt;br /&gt;
[[Tutorials_Linux_DDNS_Update_Client_wget|Update freedns.afraid.org and other URL-based update services]].&lt;br /&gt;
&lt;br /&gt;
==Enabling write access to the file system==&lt;br /&gt;
  mount -o remount,rw /&lt;br /&gt;
&lt;br /&gt;
==Install ez-ipupdate==&lt;br /&gt;
  /opt/bin/ipkg-opt install ez-ipupdate&lt;br /&gt;
&lt;br /&gt;
===Configure ez-ipupdate.===&lt;br /&gt;
You will need to create a /opt/etc/ez-ipupdate.conf file that has the information you gathered when you created your DDNS account in step 1.  Here is an example /opt/etc/ez-ipupdate.conf file to base your work off of &lt;br /&gt;
  service-type=MY SERVICE PROVIDER&lt;br /&gt;
  user=MYACCOUNT:MYPASSWORD&lt;br /&gt;
  interface=ppp0&lt;br /&gt;
  host=MY.HOST.NAME&lt;br /&gt;
  cache-file=/opt/var/run/ez-ipupdate.cache&lt;br /&gt;
  foreground&lt;br /&gt;
  retrys=5&lt;br /&gt;
&lt;br /&gt;
Note legal service-type values are:&lt;br /&gt;
  ez-ip&lt;br /&gt;
  pgpow&lt;br /&gt;
  dhs&lt;br /&gt;
  dyndns&lt;br /&gt;
  dyndns-static&lt;br /&gt;
  dyndns-custom&lt;br /&gt;
  ods&lt;br /&gt;
  tzo&lt;br /&gt;
  easydns&lt;br /&gt;
  easydns-partner&lt;br /&gt;
  gnudip&lt;br /&gt;
  justlinux&lt;br /&gt;
  dyns&lt;br /&gt;
  hn&lt;br /&gt;
  zoneedit&lt;br /&gt;
  heipv6tb&lt;br /&gt;
&lt;br /&gt;
On the pixi, use interface=rmnet0 for file /opt/etc/ez-ipupdate.conf (instead of ppp0, as shown above). Also, make the following changes in /etc/event.d/optware-dropbear&lt;br /&gt;
  /usr/sbin/iptables -D INPUT -i rmnet0 -p tcp --dport 222 -j ACCEPT || /bin/true&lt;br /&gt;
  /usr/sbin/iptables -I INPUT -i rmnet0 -p tcp --dport 222 -j ACCEPT&lt;br /&gt;
&lt;br /&gt;
===Create the directory /opt/var/run needed for software such as ez-ipupdate for it's cache and run file===&lt;br /&gt;
  mkdir -p /opt/var/run&lt;br /&gt;
&lt;br /&gt;
==6. Test your settings==&lt;br /&gt;
  /opt/bin/ez-ipupdate -c /opt/etc/ez-ipupdate.conf&lt;br /&gt;
When this step completes successfully then we can make it automatic.&lt;br /&gt;
&lt;br /&gt;
==Make this run whenever your ppp0 (EV-DO) IP address changes:==&lt;br /&gt;
You can do this by adding a script to /etc/ppp/ip-up.d called 09update-ddns.  Here are the contents of that /etc/ppp/ip-up.d/09update-ddns:&lt;br /&gt;
  #!/bin/sh&lt;br /&gt;
  /opt/bin/ez-ipupdate -c /opt/etc/ez-ipupdate.conf -q &amp;gt; /dev/null 2&amp;gt;&amp;amp;1 || /bin/true&lt;br /&gt;
&lt;br /&gt;
===Make this script executable===&lt;br /&gt;
  chmod 755 /etc/ppp/ip-up.d/09update-ddns&lt;br /&gt;
&lt;br /&gt;
==Remount the file system as readonly==&lt;br /&gt;
  mount -o remount,ro /&lt;br /&gt;
&lt;br /&gt;
For your terminal settings to work better [[Putty |you should look here - Putty settings for DynDNS]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Tutorial by dreadchicken.&lt;br /&gt;
* Verified to work as written by optik678, ultraBlack and hopspitfire.&lt;br /&gt;
* Simplification and more details by Dax Kelson.&lt;br /&gt;
* ez-ipupdate added to Preware by Rod Whitby.&lt;/div&gt;</summary>
		<author><name>Guybrush420</name></author>
	</entry>
</feed>