Unfortunately the solution from Claus interferes with the network manager. On my 12.10 system I wasn't able to handle the eth0 by the network manager any more.
As I don't like arvitrary sleep times, I figured out a solution just changing the start on line in /etc/init/ssh. It works very well for me in 12.10..
I add this patch in a moment. It would be fine if someone would test it and confirm it.
Users of other ubuntu versions might have to change the line accordingly.
I tested on 12.10.
Unfortunately the solution from Claus interferes with the network manager. On my 12.10 system I wasn't able to handle the eth0 by the network manager any more.
As I don't like arvitrary sleep times, I figured out a solution just changing the start on line in /etc/init/ssh. It works very well for me in 12.10..
I add this patch in a moment. It would be fine if someone would test it and confirm it.
Users of other ubuntu versions might have to change the line accordingly.