Advertisement
Guest User

readme rt73

a guest
Sep 27th, 2013
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.51 KB | None | 0 0
  1. *****************************************************************
  2. RT73 a/b/g STA driver interface with WPA Supplicant
  3. Ralink Tech Corp.
  4. *****************************************************************
  5.  
  6. Q0. Contents:
  7. -----------------------
  8. defconfig
  9. driver_ralink.c
  10. driver_ralink.h
  11. drivers.c
  12. Makefile
  13. README
  14. wpa_supplicant_example.conf
  15.  
  16.  
  17. Q1. How to compile
  18. -----------------------
  19. The driver interface was developed on wpa_supplicant v.0.4.7.
  20. You can install the WPA Supplicant Free Edition development from website.
  21.  
  22. http://hostap.epitest.fi/wpa_supplicant/
  23.  
  24. After download the package then go to wpa_supplicant directory
  25. Follow the steps..
  26.  
  27. 1.) Copy file "driver_ralink.c" and "driver_ralink.h" we provide to wpa_supplicant directory.
  28. 2.) Set driver_ralink configuration as y in the "defconfig" or update to the "defconfig" we provide::
  29.  
  30. # Driver interface for Ralink rt73 driver
  31. CONFIG_DRIVER_RALINK=y
  32.  
  33. 3.) Add wpa_driver_ralink_ops() into wpa_supplicant_drivers() in file "drivers.c"
  34. or update to the file "drivers.c" we provide::
  35.  
  36. #ifdef CONFIG_DRIVER_RALINK
  37. extern struct wpa_driver_ops wpa_driver_ralink_ops; /* driver_ralink.c */
  38. #endif /* CONFIG_DRIVER_RALINK */
  39. :
  40. :
  41. struct wpa_driver_ops *wpa_supplicant_drivers[] =
  42. {
  43. #ifdef CONFIG_DRIVER_RALINK
  44. &wpa_driver_ralink_ops,
  45. #endif /* CONFIG_DRIVER_RALINK */
  46. }
  47.  
  48. 4.) Edit the "Makefile" or update to the "Makefile" we provide::
  49.  
  50. ifdef CONFIG_DRIVER_RALINK
  51. CFLAGS += -DCONFIG_DRIVER_RALINK
  52. OBJS_d += driver_ralink.o
  53. endif
  54.  
  55. 5.) type $cp defconfig .config
  56. 6.) Compile the source code using 'make' command.
  57.  
  58.  
  59. Q2. How to start wpa_supplicant
  60. --------------------------------
  61. 1.) First start rt73 driver.
  62.  
  63. 2.) Edit/Create a configuration file of wpa_supplicant.
  64. -a) Set your work directory of wpa_supplicant for sockets
  65. ctrl_interface = YOUR_WORK_PATH
  66.  
  67. -b) Set YOUR_OPENSC_PATH if need be. (e.g. generate certificates)
  68. opensc_engine_path =/YOUR_OPENSC_PATH/engine_opensc.so
  69. pkcs11_engine_path =/YOUR_OPENSC_PATH/engine_pkcs11.so
  70. pkcs11_module_path =/YOUR_OPENSC_PATH/opensc-pkcs11.so
  71.  
  72. -c) Set network configuration. (e.g. WPA/EAP-TTLS)
  73.  
  74. *** refer to wpa_supplicant.conf in details or related documents ***
  75.  
  76. 3.) Manually start wpa_supplicant,
  77. type $./wpa_supplicant -c your_config_file -i rausb0 -D ralink
  78.  
  79. turn on debug mode,
  80. type $./wpa_supplicant -c your_config_file -i rausb0 -D ralink -d
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement