Google
 
2008-05
2

Wireless configuration in Linux

Filed under: Tech articles — woojar @ 4:44 pm

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.

  1. Driver of wireless card is properly installed. Issue “lsmod” to verify if the wireless module is loaded
  2. Issue the command in the terminal: iwconfig wlan0 ESSID “ap_name”
  3. iwconfig wlan0 key “your_key_to_AP”
  4. dhcp wlan0
  5. 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=”open xxxx-xxxx-xx”; I use web key 64 bit
ESSID=”ap_name”

Tags: , ,

Related posts

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

40 queries. 0.334 seconds. Powered by WordPress
沪-ICP备07003363号 Stat.