This error occurs when you restart the tl-wa901nd device and you do not have an internet connection, the way to solve the error manually is by disconnecting the ethernet cable and waiting for a few seconds and reconnecting it once restarted.
In the rc.local file place:
logger -t kludge "eth0 stop sama"
logger -t kludge "eth0 start sama"
waiting to be solved, but still fails, do any of you know how to solve it?