Arduipilot initial set up

Hi! Hope you doing well! I would really appreciate if anyone could help me with the initial set up of an APM 2.6 in mission planner (when plugged into USB port for uploading firmware type: give option “ is this Linux board “ for No it says failed to upload, for Yes it says need to be connected to board WiFi.