In case this is helpful to anyone.
WI-FI not connecting when WEP security enabled;
Found this on the web and it works. Set up your network with the WEP key. WI-FI is grayed out. Re-register the wireless host routing table: options - advanced options - host routing table - highlight Wi-Fi  - click menu and select register now. Registration message will be sent. Reboot phone. WI-FI now works.
My bold was rebooting twice a day. I reformatted the bold. No reboots. Once Ixxx8217;ve set up WI-FI and left it on, bold was rebooting twice a day again. So if any of you are having reboot problems try disabling WI-FI and see how you go.