Hey there:
for all, who have problems with amule, because it cant connect:
(cant find official-hostname... / error 22)
Here is the way to fix it:
1. starting the application "Terminal"
2. by type "hostname" you can find out, whats your hostname
3. type "sudo pico hostconfig" (opens hostconfig)
4. you have to type your password eventually
5. change the line "HOSTNAME=-AUTOMATIC-" to "HOSTNAME=myname" (if this line isnt already there, just write it...)
6. save (Ctrl-O) and close (Ctrl-X)
7. starting the application "NetInfo Manager"
8. go to "machines"
9. go to "localhost"
10. make shure, that this window is not locked (in the left bottom)
11. type "apple-D" for duplicating the "localhost"-entry
12. klick on the "localhost copy" entry
13. then choose the value for the field 'name'
14. here you have to type in the name that you have choosen in the "hostconfig" (in this example: "myname")
15. restart... and it wil work!
after this, amule is working pretty well and your hostname is not automatic given by your router, etc...
it is working pretty well at my computer (but i wont to give a garuantee for it)
and i hope, ich could help some people with this thread
good luck