Setting up iwlwifi and wpa supplicant on Fedora 7

Discussion in 'Linux Networking' started by dpdoughe, Aug 23, 2007.

  1. dpdoughe

    dpdoughe Guest

    Could someone give me the steps (script) to setup iwlwifi for WPA. I
    have iwlwifi installed from the Fedora repositories and wpa_supplicant
    as well.

    After I bring up ath0, I am able to scan for running AP's using iwlist
    but can not seem to connect to an AP that using WPA encryption. I
    have created a /etc/wpa_supplicant/wpa_supplicant.conf file using /

    I imagine I am not creating the interface correctly or setting it to
    use the appropriate drivers. Could someone list the commands that
    have worked for them to set up ath0 and the gateway properly?
    Currently I do the following when I try to destroy any currently
    running interface and connect to the wireless AP:

    --- StartupScript ---
    /sbin/ifconfig ath0 down
    /sbin/ifconfig wifi0 down

    /usr/local/bin/wlanconfig ath0 destroy

    /usr/local/bin/wlanconfig ath0 create wlandev wifi0 wlanmode sta
    /sbin/ifconfig ath0 up
    /usr/sbin/wpa_supplicant -Bw -Dipw -iath0 -c/etc/wpa_supplicant/

    /sbin/iwconfig ath0 ap "00:18:4D:96:B5:8E"
    /sbin/ifconfig ath0 netmask up
    /sbin/route add default gw
    dpdoughe, Aug 23, 2007
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.