|Your post is a bit confusing. If he ran an ethernet cable from the router to your desktop, then why are you trying to configure for wireless? If you do have a network cable running to your desktop, you don't need to enter a security code. That is only for a wireless connection.|
I assume you have a wireless router since you mentioned having to enter codes and you only do that for wireless.