Is the SIM card in good working condition and test it on the phone to check, including to surf internet for connectivity.
Most likely it is due to SIM card or not insert properly to the slot, as unable to detect refer to the network indicator is red.
If not you may have to test with another working SIM card.
If the SIM card is used, then use a eraser to polish the gold contact & clear the bits before inserting in.
Do download the manual for clear explanation.
>
https://www.manualslib.com/manual/1316265/Huawei-B315s.html#manual
>
https://www.m1.com.sg/Personal/TechSupport/~/media/Files/M1Portal/Personal/Tablets%20and%20MBB/B315_installation.ashx
Look for the sticker on SSID passwords pin stated on the router.