Friday, July 11, 2008

How to connect to wireless AP in text mode

INTERFACE_NAME: your wireless interface name, you can find it by "wconfig" command
AP_NAME : the ap you want to connect
AP_PASSWARD: the key for the AP_NAME

[root@localhost ~]# iwconfig INTERFACE_NAME essid "AP_NAME" key "AP_PASSWARD"

if the IP is accessed by DHCP
[root@localhost ~]# dhclient INTERFACE_NAME

No comments: