[SOLVED] Wireless Network Setup

Hi,

I am trying to set up a wireless internet connection on my centos OS (6). I can connect via the copper using the internal LAN but cannot get the wireless connection working.

The 2 files that I have configured are:

My wpa_supplicant.conf:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
network={
ssid="MY_SSID"
key_mgmt=WPA-PSK
proto=WPA RSN
pairwise=CCMP
group=CCMP
psk="thisIsMyAsciiPassword"
}
My ifcfg-wlan0:
DEVICE=wlan0
BOOTPROTO=dhcp
ONBOOT=yes
NETMASK=255.255.255.0
DNS1=
HWADDR=xx:xx:xx:xx:xx:xx
TYPE=Wireless

I have also tried manually configuring it:

iwconfig wlan0 essid "My_SSID"
iwconfig wlan0 mode managed
iwconfig wlan0 key restricted <your passkey here> or if doesnt work try iwconfig wlan0 key s:yourpasskeykeyhere
iwconfig wlan0
ifconfig wlan0 up

output of iwconfig:

 
wlan0     IEEE 802.11g  ESSID:"My_SSID"  
    Mode:Managed  Access Point: Not Associated Tx_power=15 dBm
 
    Retry limit:7   RTS thr:off   Fragment thr:off
    Encryption Key:"My_ASCII_Key"
    Power Management:off

When I attempt to connect to the Internet I get the following message (Chrome):

Error 137 (net::ERR_NAME_RESOLUTION_FAILED): Unknown error

Anybody advise on how to resolve this?

R,
D.

Ok working now - was using an incorrect SSID password.

1 Like