README Driver File Contents (rt2561st.zip)

*****************************************************************
    RT61 a/b/g STA driver interface with WPA Supplicant
                      Ralink Tech Corp.
*****************************************************************

Q0. Contents:
-----------------------
defconfig
driver_ralink.c
driver_ralink.h
drivers.c
Makefile
README
wpa_supplicant_example.conf


Q1. How to compile
-----------------------
The driver interface was developed on wpa_supplicant v.0.4.7.
You can install the WPA Supplicant Free Edition development from website.

	http://hostap.epitest.fi/wpa_supplicant/
	
After download the package then go to wpa_supplicant directory
Follow the steps..

1.) Copy file "driver_ralink.c" and "driver_ralink.h" we provide to wpa_supplicant directory. 
2.) Set driver_ralink configuration as YES in the "defconfig" or update the "defconfig" we provide::

    # Driver interface for Ralink rt61 driver
    CONFIG_DRIVER_RALINK=y
    
3.) Add wpa_driver_ralink_ops() into wpa_supplicant_drivers() in file "drivers.c" 
    or update file "drivers.c" we provide:: 
    
    #ifdef CONFIG_DRIVER_RALINK
    extern struct wpa_driver_ops wpa_driver_ralink_ops; /* driver_ipw.c */
    #endif /* CONFIG_DRIVER_RALINK */
    :
    :
    struct wpa_driver_ops *wpa_supplicant_drivers[] =
    { 
        #ifdef CONFIG_DRIVER_RALINK
	    &wpa_driver_ralink_ops,
	    #endif /* CONFIG_DRIVER_RALINK */  
    }
    
4.) Edit the "Makefile" or update the "Makefile" we provide::

    ifdef CONFIG_DRIVER_RALINK
    CFLAGS += -DCONFIG_DRIVER_RALINK
    OBJS_d += driver_ralink.o
    endif

5.) type $cp defconfig .config
6.) Compile the source code using 'make' command.
    

Q2. How to start wpa_supplicant
--------------------------------
1.) First start rt61 driver.

2.) Edit/Create a configuration file of wpa_supplicant.
   -a)  Set your work directory of wpa_supplicant for sockets
        ctrl_interface = YOUR_WORK_PATH
        
   -b)  Set YOUR_OPENSC_PATH if need be. (e.g. generate certificates)
        opensc_engine_path =/YOUR_OPENSC_PATH/engine_opensc.so
        pkcs11_engine_path =/YOUR_OPENSC_PATH/engine_pkcs11.so
        pkcs11_module_path =/YOUR_OPENSC_PATH/opensc-pkcs11.so

   -c) Set network configuration. (e.g. WPA/EAP-TTLS)
   
    *** refer to wpa_supplicant.conf in details or related documents ***
    
3.) Manually start wpa_supplicant, 
    type $./wpa_supplicant -c your_config_file -i ra0 -D ralink

    turn on debug mode,
    type $./wpa_supplicant -c your_config_file -i ra0 -D ralink -d

    
Download Driver Pack

How To Update Drivers Manually

After your driver has been downloaded, follow these simple steps to install it.

  • Expand the archive file (if the download file is in zip or rar format).

  • If the expanded file has an .exe extension, double click it and follow the installation instructions.

  • Otherwise, open Device Manager by right-clicking the Start menu and selecting Device Manager.

  • Find the device and model you want to update in the device list.

  • Double-click on it to open the Properties dialog box.

  • From the Properties dialog box, select the Driver tab.

  • Click the Update Driver button, then follow the instructions.

Very important: You must reboot your system to ensure that any driver updates have taken effect.

For more help, visit our Driver Support section for step-by-step videos on how to install drivers for every file type.

server: web5, load: 0.84