# wrtgen v0.02 # # Make a new custom firmware for the Linksys WRT54G access point # # Rob Flickenger, 7/21/03 # # This code released under the GPL. If you don't like it, write your own! # # Available from http://nocat.net/download/wrtgen/ # # This code is also very, very alpha. The author assumes no responsibility # for the actual use of this code. It just might write bad firmware that # turns your AP into a paperweight! Or worse! # # Just in case you missed that: # # *** *** WARNING WARNING WARNING WARNING WARNING WARNING WARNING *** *** # # This code only verifies the CRC and file size contained in the headers of # the WRT54G firmware, and creates a new technically valid firmware based # on a filesystem you define. It does NOT guarantee that any firmware you # make will actually work on the AP, and could easily turn your access # point into a paper weight! It happened to me personally! It could # happen to you! Be very, very careful about what you upload to your AP! # # *** *** WARNING WARNING WARNING WARNING WARNING WARNING WARNING *** *** # # Good. Now that that's out of the way... # # Requirements: # # String::CRC32 (from the CPAN) # # wget if you want this script to download the original firmware for you # (or alternately, a copy of $FirmwareFile) # # mkcramfs, somewhere in your PATH. Version 1.1 from Sourceforge is # known to work with the WRT54G v1.30.1 and 1.30.7. Get mkcramfs from # http://sourceforge.net/projects/cramfs/ # # Have fun! #