红联首页 凝聚Linux人的力量
菜鸟过关 | 精华文档 | 同城人(交友) | 我与Linux的故事 | Linux新闻 | Linux视频 | Linux人才 | 软件下载 | 大学校园 | English
发新话题
打印

Wireless configuration in Linux

Wireless configuration in Linux

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”

TOP

发新话题