It would be difficult to count the number of times this block of commands has been posted on this forum.
The variables to replace in these commands are <interface>, Network_Name, and WEP_KEYCode:rm /etc/dhcpc/* ifconfig <interface> down iwconfig <interface> essid "Network_Name" iwconfig <interface> key WEP_KEY ifconfig <interface> up dhcpcd –nd <interface>



