You may want to try this shell script:
http://code.google.com/p/podencoderThere are extensive instructions listed inside the script.
For a quickstart, copying the script as "podencoder" to a folder in your $PATH, chmod'ding it to executable, and then running
podencoder file
should work.
Note: I did not test this, I don't even own (nor need) an iPod. But it worked for this guy:
http://www.jmadden.eu/index.php/category/tech/linux/