Devices that have updated from Windows Phone 8 to Windows Phone 8.1 may lose the ability to connect to Wi-Fi on Windows 10 Mobile Insider Preview builds or may fail to update to Windows 10 Mobile Insider Preview builds all together. You can use the Windows Device Recovery Tool to first update your device to Windows Phone 8.1 and then upgrade to the latest Windows 10 Mobile Insider Preview build