Iphone 4 with greyed wifi (non working wifi) with ios 7 can no longer be activated. Its a known issue and Apple will no longer adress it. The only way to get the phone working again would be an IOS downgrade which is not possible in most cases or a repair of that wifi issue.