This guide is a combination of Jackofall's original guide for the WL-500g Deluxe, my guide for the WL-500g Premium and ChunkyWizard's guide for the WL-500g Premium.
You can download it from here (version 1.5, released 10 November 2008).
The previous version (1.4), written for an earlier version of Oleg's firmware (22.214.171.124-7f) is still available here
The guide was written for the WL-500g Premium, but most of the contents are also applicable to the WL-500g Deluxe.
Some people have had problems getting Oleg's firmware to work on the Asus WL-500g Premium V2 (though others have had no problems), DD-WRT is an alternative that seems to work, check out this thread for more info.
What's the guide about?
The guide tells you how to set up an Asus WL-500g so that you will be able to access your Toppy from a wireless network connection, and
- Download recordings (.rec files) to your PC
- Access files on the Asus using Windows file sharing
- Automate downloading of the Radio Times EPG using rt2mei
- Get secure remote internet access to your Toppy
- Send emails from the Asus, for instance to send you log files
If the instructions in the guide don't work for you, if you can't get things working, if you have suggestions for changes or other things to include in the guide then we would like to know.
Please first check you have the latest version, then check following post for the list of planned changes to go into the next version of the guide, and also check to see if your issue has been covered elsewhere in this thread.
Otherwise please add a post to this thread, and we will do our best to sort things out.
Version 1.5 (10 Noveember 2008): changes from version 1.4
The guide has been updated to use the latest version of Oleg's custom firmware, version 126.96.36.199-10. Note that not all versions of the Asus WL-500g are supported by this firmware, but the WL-500g Premium (including v2) is. Check the firmware release notes and use the previous version 188.8.131.52-9 if your model is not supported, the guide should be fine for this version of firmware also.
The most significant change from the perspective of the guide is that the DNS server address can now be specified in the web interface, so it's no longer necessary to configure this with scripts. See Oleg's release notes for details of other changes.
The guide also incorporates additions, changes and corrections based on user's forum posts as follows:
- nano adds in extra line breaks if you copy/paste in lines over 40 characters, added notes on using the --nowrap option to get around this.
- Script files created using Windows text editors may not work correctly due to incorrect line break characters, added notes on using a suitable text editor and changing line break characters to be Linux-compatible
- Added instructions on how to back up the contents of your USB key
- Added instructions on how to receive an automated email report of Toppy disk space usage.
- Added a note on the problem some people have experienced with ftp giving errors (from ftpd-topfield) based on the post here.
- The rt2mei cron entries result in an ever-growing log file. Changed this so that only the latest run is captured, with a note on how to change this to capture all runs
- Added notes on dealing with local network firewalls which may give issues when trying to access the Asus remotely using ssh
- Added a reference to the MyStuff manual for information on setting wake-up timers
- Add notes on automatic BST/GMT changeover on the Asus (from vroomfondle's posts)
- p26, add a note that you must start cron or reboot before typing crontab -e
- When some of the telnet and file listing text is pasted into a telnet session, the "-" character incorrectly comes out as "." -- all text to be reviewed and changed (chunkywizard)
- pp26, 27: crontab -e uses vi by default. To use nano instead type (see vroomfondle's post here for a permanent solution to this):
Code: Select all
export VISUAL=nano crontab -e
- p25, you need to make /opt/etc/init.d/S10cron executable before it will work:
Code: Select all
chmod +x /opt/etc/init.d/S10cron
- p25, cron: add a note that if cron has been installed already using ipkg, the instructions won't work, use ipkg remove cron to remove it (and note that this will remove any existing scheduled jobs, so they will need recreating).
- p24, S97Samba, the -n parameter for nmbd is the NetBIOS name of the Asus, ie the name that will appear when you browse the network using Windows. For consistency it's probably best to use your Asus host name.
- The vi text editor is installed as part of Oleg's firmware. For more details on using it see here or here. For information on the nano text editor see here.
- Testing the rt2mei automation (p27) -- you can test the automation by using different values in the echo command to create the crontab entry. Replace 5 by the number of minutes past the hour, and 7 by the hour (24 hour format). You can see the current date and time by typing date. Leave at least 5 minutes from the current time to allow time for boot-up and for the Asus to set its time from the internet. And remember to reissue the echo command when you are done with the correct time values.
- Add a note that telnet is not enabled by default before flashing the firmware. It has to be turned on in the web interface.
If you'd been following our forum posts on this subject or had been following the draft versions of the guide, the following things are different in this version of the guide.
- the post-boot file includes at the beginning a test to see if the USB key is visible, and if not, to load some additional modules
- the post-boot file now includes logging (to /tmp/var/log/post-boot) to help find any errors
- samba log file names have changed
- rt2mei now uses the built-in cron, rather than installing it using ipkg. The cron configuration is different.
- rt2mei is now invoked from a caller script which creates the necessary temp directory, there is no longer a need for an init.d script to do this. cron configuration has changed to call the new script.