I only skimmed through your post but it seems like you are trying to use the same interface to both connect to the AP in managed mode and to perform the actual attack in monitor mode. Naturally this will be unsuccessful which is why you see all the ifconfig/iwconfig settings being reset.
You will need to use an additional device to play the role of the client as the same card cannot do both actions at once.


ff Fragment thr
