non-numeric IP address for AE's

Known bugs reported by PacsOne users
Post Reply
tcashen
Posts:5
Joined:Tue Mar 02, 2004 8:41 pm
non-numeric IP address for AE's

Post by tcashen » Wed Mar 03, 2004 8:00 pm

Is is possible to enter a non-numeric IP address for registering AE's? It seems the "IP address" field only allows 19 characters, which is the number needed to specify a numeric address (with periods). The reason I ask is that I'm trying to connect to an address that has a dynamic IP, and I use a dynamic DNS service to map an alphanumeric IP address to the dynamic IP address.

-Ty

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Wed Mar 03, 2004 8:14 pm

I believe the non-numeric address is called hostname, which you can entered in the Hostname field.

tcashen
Posts:5
Joined:Tue Mar 02, 2004 8:41 pm

Post by tcashen » Wed Mar 03, 2004 8:33 pm

The hostname field also restricts the number of characters I can enter (only 10 characters), so I can't fit the whole alphanumeric IP.

-Ty

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Wed Mar 03, 2004 8:47 pm

You don't have to enter the full computer name for the Hostname field, e.g., you can enter just "somehost" instead of "somehost.somedomain.com".

If 10 characters are still not enough for the hostname, you can edit the script: "modifyAeTitle.php" inside function: "addEntryForm" or "modifyEntryForm" depending whether you're adding or modifying an antry, and change the following lines:
print "<tr><td>Enter Hostname:</td>\n";
print "<td><input type='text' size=10 maxlength=10 ame='hostname'></td></tr>\n";
to:
print "<tr><td>Enter Hostname:</td>\n";
print "<td><input type='text' size=32 maxlength=32 name='hostname'></td></tr>\n";

Post Reply