Based on the desire to have (yet) a wireless adapter that does not give between 200 and 250 RON, I started to read diligently (first link being the best to learn about how they would do).
http://wiki.samygo.tv/index.php5/Using_ ... es_with_TV
Closest my desire was: http://akehayc.yvision.kz/post/312922
Keep in mind that the TP-LINK TL-WN727N v3.2 Ralink RT5370 chipset has a rather RT5572 (the linux driver being different and being different "CentOS 6.3 x32"), so I used this thread only for guidance that I do.
I guess he talking about D-Link DWA-125 Ver B1.
Software needed:
1.Driver use (Linux download section) = "RT8070 / RT3070 / RT3370 / RT5370 / RT5372 USB" (2.5.0.3 of 03/28/2012):
http://www.mediatek.com/_en/07_download ... php?sn=501
Enter an email address (any - ... @ yahoo.com, and user) and download the driver.
2.Download (for Windows) "UNetbootin-windows-583":
http://unetbootin.sourceforge.net/
3.Download "Ubuntu 10.04.4 LTS (Lucid Lynx)" to "PC (Intel x86) desktop CD" (694.5 MB)
http://releases.ubuntu.com/lucid/ 10.04.4
I chose that version because I found information that the last version 12 ... was not working.
Necessary hardware.
1.Stick USB 2GB or more.
2.TP-LINK TL-WN727N v3.2
Identification wireless adapter:
http://wikidevi.com/wiki/TP-LINK_TL-WN727N_v33.
3.Calculator a free partition.
I can not begin before i will say for me- Linux was just a logo with an penguin or a red hat .
What to do:
Install on a USB stick 2GB or more, Ubuntu.
Open UNetbootin
- Top left choose Ubuntu
- Top right choose 10.04 Live
- Bottom left chose the image wich is already downloaded on HDD (ubuntu-10.04.4-desktop-i386)
- Check if the USB stick corresponds to the letter displayed and if so, press Next.
-We will wait (the green bar is filled)
-Choose Finish not Reboot.
-Restart the computer and choose to boot after USB stick
-We see many variants including Live and HDD installation
-Personally, I did not go anything until I installed it directly on HDD (trying to "Live" could not do update later).
Installing the HDD choose the type of partition ext2.
Provide the required data and here we have an Ubuntu Linux computer (carefully during installation will require a password keep it mind or write it).
I used colors to easily follow what we do.
First we must update Ubuntu:
Open Terminal (Applications-> Accesories-> Terminal) and enter the following commands:
Code: Select all
sudo apt-get update
Enter
...........
sudo apt-get upgrade
Enter
...........
sudo apt-get install build-essential linux-headers-$ (uname-r) fakeroot dpkg-dev
Enter
I unzipped 2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO.tar (on the desktop)
I get 2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO folder (on the desktop)
I renamed what I got after unpacking in RT5370 (on the desktop)
I entered in the RT5370 folder in os in linux and then I modified config.mk as following:
Code: Select all
Support ATE function
HAS_ATE = y (before it was n)
Support wpa_supplicant
HAS_WPA_SUPPLICANT = y (before it was n)
Native Support for Network Maganger wpasupplicant
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT = y (before it was n)
Also in RT5370 folder in os in linux in usb_main_dev.c, and then I changed only two signs (*) the other was already written:
Code: Select all
MODULE_AUTHOR (" Paul Lin <paul_lin@ralinktech.com> ");
MODULE_DESCRIPTION ("RT2870 Wireless Lan Linux Driver");
MODULE_LICENSE ("GPL");
# ifdef CONFIG_STA_SUPPORT
# ifdef MODULE_VERSION MODULE_VERSION (STA_DRIVER_VERSION);
# endif # endif / / CONFIG_STA_SUPPORT / / (before was # endif / * CONFIG_STA_SUPPORT * /)
Compile the driver:
In Ubuntu-> Applications-> Accesories-> TerminalI open terminal:
I gave the command "cd" and then I pulled (drag and drop) RT5370 foder over terminal
Code: Select all
sebi @ sebi-desktop: ~ $ cd '/ home/sebi/Desktop/RT5370'
Enter
The result was:
sebi @ sebi-desktop: ~ / Desktop/RT5370 $)
Then I entered the command "make"
sebi @ sebi-desktop: ~ / Desktop/RT5370 $ make
Enter
Few lines:
Code: Select all
make -C tools
make[1]: Entering directory `/home/sebi/Desktop/RT5370/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/home/sebi/Desktop/RT5370/tools'
/home/sebi/Desktop/RT5370/tools/bin2h
cp -f os/linux/Makefile.6 /home/sebi/Desktop/RT5370/os/linux/Makefile
make -C /lib/modules/2.6.32-38-generic/build SUBDIRS=/home/sebi/Desktop/RT5370/os/linux modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-38-generic'
CC [M] /home/sebi/Desktop/RT5370/os/linux/../../common/crypt_md5.o
CC [M] /home/sebi/Desktop/RT5370/os/linux/../../common/crypt_sha2.o
CC [M] /home/sebi/Desktop/RT5370/os/linux/../../common/crypt_hmac.o
CC [M] /home/sebi/Desktop/RT5370/os/linux/../../common/crypt_aes.o
CC [M] /home/sebi/Desktop/RT5370/os/linux/../../common/crypt_arc4.o
CC [M] /home/sebi/Desktop/RT5370/os/linux/../../common/mlme.o
CC [M] /home/sebi/Desktop/RT5370/os/linux/../../common/cmm_wep.o
1028 bytes is larger than 1024 bytes
??????????????????????????????????????????????????????.
Real numbers of lines returned was on 3 pages of word
?????????????????????????????????????????????????????..
/home/sebi/Desktop/RT5370/os/linux/../../common/rt_ate.c: In function ?DO_RACFG_CMD_E2PROM_WRITE_ALL?:
/home/sebi/Desktop/RT5370/os/linux/../../common/rt_ate.c:3061: warning: the frame size of 1032 bytes is larger than 1024 bytes
/home/sebi/Desktop/RT5370/os/linux/../../common/rt_ate.c: In function ?Set_ATE_Load_E2P_Proc?:
/home/sebi/Desktop/RT5370/os/linux/../../common/rt_ate.c:8563: warning: the frame size of 1036 bytes is larger than 1024 bytes
LD [M] /home/sebi/Desktop/RT5370/os/linux/rt5370sta.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/sebi/Desktop/RT5370/os/linux/rt5370sta.mod.o
LD [M] /home/sebi/Desktop/RT5370/os/linux/rt5370sta.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-38-generic'
cp -f /home/sebi/Desktop/RT5370/os/linux/rt5370sta.ko /tftpboot
cp: cannot create regular file `/tftpboot': Permission denied
make: *** [LINUX] Error 1
As It was wrote i had numerous errors
It?s ok don?t worry
Then i gave the command "make install"
sebi @ sebi-desktop: ~ / Desktop/RT5370 $ make install
Enter
Let him do his job
Response back:
Code: Select all
make -C /home/sebi/Desktop/RT5370/os/linux -f Makefile.6 install
mkdir: cannot create directory `/etc/Wireless': File exists
make[1]: Entering directory `/home/sebi/Desktop/RT5370/os/linux'
rm -rf /etc/Wireless/RT2870STA
rm: cannot remove `/etc/Wireless/RT2870STA/RT2870STA.dat': Permission denied
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/sebi/Desktop/RT5370/os/linux'
make: *** [install] Error 2
sebi@sebi-desktop:~/Desktop/RT5370$
Close terminal
Enter your stick TP-LINK TL-WN727N v3.2 in USB.
Restart the computer.
Get into Ubuntu-> Applications-> Accesories-> Terminal
Open terminal
To see what modules I have loaded the command "lsmod"
Code: Select all
sebi @ sebi-desktop: ~ $ lsmod
Enter
Response back:
Module Size Used by
nls_iso8859_1 3249 1
nls_cp437 4919 1
vfat 8933 1
fat 47767 1 vfat
usb_storage 40033 1
rt5572sta 723773 0
binfmt_misc 6587 1
ppdev 5259 0
usbhid 36110 0
hid 67288 1 usbhid
snd_hda_codec_realtek 203440 0
???????????????????????????????????????????????????
Real numbers of lines returned was on 1 page of word
???????????????????????????????????????????????????
shpchp 28835 0
xhci 37160 0
snd_page_alloc 7076 2 snd_hda_intel,snd_pcm
lp 7028 0
parport 32635 2 ppdev,lp
r8169 34140 0
mii 4381 1 r8169
floppy 53016 0
But we get out (driver loaded) with the command "rmmod"
Code: Select all
sebi@sebi-desktop:~$ sudo rmmod rt5572sta
Enter
Check what I did
Reenter the command "lsmod"
sebi@sebi-desktop:~$ lsmod
Enter
Module Size Used by
nls_iso8859_1 3249 1
nls_cp437 4919 1
vfat 8933 1
fat 47767 1 vfat
usb_storage 40033 1
binfmt_misc 6587 1
ppdev 5259 0
usbhid 36110 0
hid 67288 1 usbhid
snd_hda_codec_realtek 203440 0
snd_hda_intel 22069 2
?????????????????????????????????????????????????????????
Real numbers of lines returned was on 1 page of word
?????????????????????????????????????????????????????????..
shpchp 28835 0
xhci 37160 0
snd_page_alloc 7076 2 snd_hda_intel,snd_pcm
lp 7028 0
parport 32635 2 ppdev,lp
r8169 34140 0
mii 4381 1 r8169
floppy 53016 0
Enter the command "sudo su"
Code: Select all
sebi@sebi-desktop:~$ sudo su
Enter
Enter the command ?cd os?
root@sebi-desktop:/home/sebi/Desktop/RT5370# cd os
Enter
Enter the command ?cd linux?
root@sebi-desktop:/home/sebi/Desktop/RT5370/os# cd linux
Enter
Code: Select all
root@sebi-desktop:/home/sebi/Desktop/RT5370/os/linux# insmod rt5370sta.ko
Insert password and OK
Now the LED of TP-LinkWN727N starts to flash.
Now check the VID and PID of this USB stick:
root@sebi-desktop:/home/sebi/Desktop/RT5370/os/linux#
Enter the command?iwpriv ra0 e2p 208?
Code: Select all
root@sebi-desktop:/home/sebi/Desktop/RT5370/os/linux# iwpriv ra0 e2p 208
Enter
Response:
ra0 e2p:
[0x0208]:0x148F
Enter the command ?iwpriv ra0 e2p 20a?
root@sebi-desktop:/home/sebi/Desktop/RT5370/os/linux# iwpriv ra0 e2p 20a
Enter
Response:
ra0 e2p:
[0x020A]:0x5370
Ok
Now try to change the VID and PID to stick with your Samsung TV to fool "smart TV"
Enter the command "iwpriv ra0 e2p 208=04E8"
root@sebi-desktop:/home/sebi/Desktop/RT5370/os/linux# iwpriv ra0 e2p 208=04E8
Enter
Rsponse:
ra0 e2p:
[0x208]:4E8
Enter the command "iwpriv ra0 e2p 20A=2018"
root@sebi-desktop:/home/sebi/Desktop/RT5370/os/linux# iwpriv ra0 e2p 20A=2018
Enter
Response:
ra0 e2p:
[0x20A]:2018
root@sebi-desktop:/home/sebi/Desktop/RT5370/os/linux#
Remove the stick from USB
Reintroduce stick in USB and check if the new settings remain active by entering the command again "lsusb"
root@sebi-desktop:/home/sebi/Desktop/RT5370/os/linux# lsusb
Enter
Response:
Code: Select all
Bus 003 Device 002: ID 046d:c05a Logitech, Inc.
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 005: ID 04e8:2018 Samsung Electronics Co., Ltd
Bus 002 Device 002: ID 8087:0024
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0951:1642 Kingston Technology
Bus 001 Device 002: ID 8087:0024
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
IT?S DONE
P.S. Sorry for my english is not my native language
Long live the GOOGLE TRANSLATOR