ipupdate Troubleshooting

This document is used to help troubleshoot problems with your node sending IP updates to the IRLP servers.
 

IRLP - Keeping the Radio in Amateur Radio


Updates and additions
last updated August 30, 2012

Log in and switch to user repeater:
su - repeater

Now force a file system update:
./scripts/update files

The output should look like this: (comments in brackets)

bash-2.05a$ ./scripts/update files
Obtaining best server IP ... found IP = 209.160.72.104
Performing file update ...
receiving file list ... done
scripts/ipupdate (or other various files, but NO permission denied errors)
wrote 93 bytes read 4937 bytes 3353.33 bytes/sec
total size is 8021055 speedup is 1594.64

Now force an update to the servers:
./scripts/ipupdate

The output should look like this: (comments in brackets)

bash-2.05a$ ./scripts/ipupdate RECENT IP address obtained from dyndns.org
Obtaining last IP from server. (should say server and NOT file)
The CURRENT IP is : 142.103.194.10
The LAST IP was : 142.103.194.10
Your IP address has not changed

Any errors that are returned in the above commands are likely the cause of your node not updating.

Below are some of the common errors and fixes:

1) Permission Denied errors during update files

This likely means that somehow the repeater user does not have access to write to one or more of the directories in /home/irlp. In order to fix this, we will run a few commands which will fix these permissions, and then retry the update.

RESOLUTION : Log into the node as root. Execute the following command:
chown -R repeater.repeater /home/irlp/
(note the CAPITAL R)

Then re-run the su - repeater, update files, and ipupdate as shown at the top of this page. If you continue to get permission denied errors, please send an email with your node number, outside IP address, root password, and SSH port to installs@irlp.net, with a description of your error, and we will help you work through it.

2) FAIL - nc/rsync/wget/play is not available

If you are running a Redhat 6.2, Redhat 7.3, or Redhat 9 node, you have to run a script which will download and install some IRLP tools.

I have gone onto the RedHat archive site, and downloaded the latest versions of rsync, wget, and netcat for these versions.

I have also written a script that will:

1) test for the problem
2) download the binary RPMs required to fix the problem
3) install those RPMs
4) test again for the problem

Don't bother with this if you are running Fedora Core, CentOS, or any other non-IRLP OS. You will have to find, download, and install those RPMs or packages yourself. This script won't help you.

The script can be obtained by doing the following:

Log into your node as root. You need root to do this.

ncftpget ftp://irlp.net/update_node
sh update_node


Again, be careful with spaces, capitalization, etc.

It will download the RPMs and try to install them. Some may already be installed, some may not.

Then re-run the su - repeater, update files, and ipupdate as shown at the top of this page. If you continue to get errors, please send an email with your node number, outside IP address, root password, and SSH port to installs@irlp.net, with a description of your error, and we will help you work through it.

 

Enjoy IRLP and please "Pass the Word"
If left menu bar is not visible, click here

last updated July 27, 2004
? 2004 IRLP.NET    
Privacy Policy

          
Print this Page