Re: CentOS and wireless, oh my



Johan Booysen wrote:
What chipset does you wireless card have?
<snip>
It's got an Atheros set. The original install *seems* to have put in the ath5k driver... but no ath5k_pci.

Anyway, here's the deal:
1) configure /etc/wpa_supplicant/wpa_supplicant.conf.
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=root

network={
ssid="linksys_SES_56398"
key_mgmt=WPA-PSK
psk="<your passphrase"
}

Then, configure /etc/sysconfig/wpa_supplicant:
# Use the flag "-i" before each of your interfaces, like so:
# INTERFACES="-i eth1 -i wlan0"
INTERFACES="-i wlan0"

# Use the flag "-D" before each driver, like so:
# DRIVERS="-D wext"
# DRIVERS="-D madwifi"
DRIVERS="-D wext"

# Other arguments
# -u Enable the D-Bus interface (required for use with NetworkManager)
# -f Log to /var/log/wpa_supplicant.log
OTHER_ARGS="-u -f /var/log/wpa_supplicant.log"

Notice that in spite of it being atheros, I used the default wext driver (I never got the madwiki installed, anyway).

Then configure /etc/sysconfig/network-scripts/ifcfg-wlan0
# Atheros Communications Inc. AR2413 802.11bg NIC
DEVICE=wlan0
BOOTPROTO=dhcp
ONBOOT=yes
HWADDR=<MAC address>
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
PEERDNS=yes
# SECURITYMODE=restricted
ESSID=<router's SSID>

Note that it gagged as long as I had SECURITYMODE set, which is why it's commented out.

Make sure NetworkManager's not running.

*Now*, start the daemon
wpa_supplicant -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf -Bw

I think I need to modify /etc/init.d/wpa_supplicant, to add -w, so that it waits for you to bring up wireless with ifup wlan0

Do iwlist wlan0 scan. Among the info it tells you is what version of WPA, and the encryption type. Then I ran wpa_gui, and set the encryption (and I have yet to find out where *that* is written to), but the default is CCIT, I think, and if, as my network is, TKIP, you need to change that.

And make sure that you've typed the passphrase correctly... <g>

And *finally*, I restarted wlan... and it got an IP.

mark
--
Ann Coulter: I'd like to be FDR, so I could not bring in the New Deal.
Al Franken: I'd like to be Hitler, so I could not bringthe Holocaust, and WWII, and....

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • Re: is my slow for this ? hostap related
    ... vendor = 'Atheros Communications Inc.' ... class = network ... May 17 13:22:08 floyd last message repeated 376 times ... I tried on a 950MHz duron and got the same results (atheros card only). ...
    (freebsd-current)
  • Re: WiFi for a laptop
    ... The CPU is Intel and can step down in speed from about 2791 MHz. ... 02:02.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection ... One is a Atheros Communications Inc. and the other is a Realtek Semiconductor Co. so I'm not sure which is what. ... As for posting the whole list, It is on a laptop with no Internet. ...
    (Fedora)
  • Re: is my slow for this ? hostap related
    ... vendor = 'Atheros Communications Inc.' ... class = network ... May 17 13:22:08 floyd last message repeated 376 times ... I tried on a 950MHz duron and got the same results (atheros card only). ...
    (freebsd-current)
  • Re: is my slow for this ? hostap related
    ... vendor = 'Atheros Communications Inc.' ... class = network ... May 17 13:22:08 floyd last message repeated 376 times ... I tried on a 950MHz duron and got the same results (atheros card only). ...
    (freebsd-current)
  • Re: FreeBSD on Eeepc 1000h
    ... Atheros L1 FastEthernet ... This one is second generation of L1 controller which is supposed to be ... at the moment there is no driver available? ... Note it seems that the hardware, at least AR8121, ...
    (freebsd-questions)