If you have wireless network card in your PC, you can connect it to wireless AP and surf internet. To make that work, you should make sure the following works.
Driver of wireless card is properly installed. Issue “lsmod” to verify if the wireless module is loaded
Issue the command in the terminal: iwconfig wlan0 ESSID “ap_name”
iwconfig wlan0 key “your_key_to_AP”
dhcp wlan0
if above no error appears, check the ip address with “ifkconfig”, you will acquire the proper ip address to connect your AP. Surf the internet now without long network wire like your tail.
My script /etc/sysconfig/netowrk-script/ifcfg-wlan0 is like this:
DEVICE=wlan0
BOOTPROTO=dhcp
ONBOOT=yes
WIRELESS_ENC_KEY=”xxxx-xxxx-xx”; I use web key 64 bit
ESSID=”ap_name”