Witaj na Forum Linuxiarzy
Zanim zalogujesz się, by pisać na naszym forum, zapoznaj się z kilkoma zasadami savoir-vivre'u w dziale Administracja.
Wiadomości z problemami zamieszczone w wątku "Przywitaj się" oraz wszelkie reklamy na naszym forum będą usuwane.
Cytat: janstop84 w Marzec 14, 2023, 04:32:07 PMMam wejść do module przez komendę cd /module? I dopiero wpisać te komendy w terminalu ? tar -xvzf 2008_0506_RT73_Linux_STA_Drv1.1.0.1. go to"./2008_0506_RT73_Linux_STA_Drv1.1.0.1./Module" directory
Cytat: janstop84 w Marzec 14, 2023, 01:42:41 PMTeraz mam rozpakowane i podaję nazwę folderu w którym jest rozpakowane i nic.tar -xvzf 2008_0506_RT73_Linux_STA_Drv1.1.0.1. go to"./2008_0506_RT73_Linux_STA_Drv1.1.0.1./Module" directory
tar (child): 2008_0506_RT73_Linux_STA_Drv1.1.0.1.: Nie można open: Nie ma takiego pliku ani katalogu
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Cytat: janstop84 w Marzec 14, 2023, 11:59:19 AMtar -xvzf 2008_0506_RT73_Linux_STA_Drv1.1.0.1.tar.gz2 go to"./2008_0506_RT73_Linux_STA_Drv1.1.0.1./Module" directory.
tar (child): 2008_0506_RT73_Linux_STA_Drv1.1.0.1.tar.gz2: Nie można open: Nie ma takiego pliku ani katalogu
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
CytatQ1. How to compile
-----------------------
The driver interface was developed on wpa_supplicant v.0.5.8.
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.
1.1.) Copy files driver.h, events.c, wpa_supplicant.c, wpa_supplicant_i.h we provide to wpa_supplicant directory.
2.) Set driver_ralink configuration as y in the "defconfig" or update to the "defconfig" we provide::
# Driver interface for Ralink rt73 driver
CONFIG_DRIVER_RALINK=y
3.) Add wpa_driver_ralink_ops() into wpa_supplicant_drivers() in file "drivers.c"
or update to the file "drivers.c" we provide::
#ifdef CONFIG_DRIVER_RALINK
extern struct wpa_driver_ops wpa_driver_ralink_ops; /* driver_ralink.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 to 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 rt73 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 rausb0 -D ralink
turn on debug mode,
type $./wpa_supplicant -c your_config_file -i rausb0 -D ralink -d