I bought an iPhone 8 on eBay a few weeks ago for my daughter's birthday.
It had been reset so I switched it on to check it was working ok.
I didn't set a passcode.
Now when I switch it on it is asking for a 6 digit passcode which I don't know!
I've tried 111111 and 123456 but they don't work.
Any suggestions appreciated.