Unexpected response code from device: 401

thanks for your answer but i was using this configuration
cpe-authentication
and it didn’t work, really reading it helped me was this
reply from friend zaidka
thank you anyway your answer helped me to know where to direct my search