Might i was talking about B series...
[How-To] Alternatives of Samsung WiFi Link Stick
Re: [How-To] Alternatives of Samsung WiFi Link Stick
I guess here are difference between B and C series and dongles 
Might i was talking about B series...
Might i was talking about B series...
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]
DO NOT EVER INSTALL FIRMWARE UPGRADE
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]
DO NOT EVER INSTALL FIRMWARE UPGRADE
Re: [How-To] Alternatives of Samsung WiFi Link Stick
Hi all,
my starting conditions are:
LE40C630 (modified to become 650)
TVALDEUC fw 3008, for Italy.
dongle DLINK, DWA-140, REV B2. vidpid = 07d1:3c0a
Using WPA2 does not work with original drivers. As previously stated in this tread, I'm using module rt3370sta.
I can thus telnet to the TV, but when I do
Menu -> Setup -> Network -> Test
i get this kind of response:
MAC OK
IP etc, OK
Ping GW OK
Test internet services FAILED!!!!
If I use LAN cable, everything is working fine (I mean starting the TV without wifi dongle and LAN cable attached). Both LAN cable and wifi connect to tha same DSL router.
I'm thus "forced" to test the hardware method changing vid/pid of the dongle.
I already have ubuntu 11.04 on the laptop, and downloading the packages.
I will let you know, but if you have any hint for me, I'll be glad to hear from you.
Luca
my starting conditions are:
LE40C630 (modified to become 650)
TVALDEUC fw 3008, for Italy.
dongle DLINK, DWA-140, REV B2. vidpid = 07d1:3c0a
Using WPA2 does not work with original drivers. As previously stated in this tread, I'm using module rt3370sta.
I can thus telnet to the TV, but when I do
Menu -> Setup -> Network -> Test
i get this kind of response:
MAC OK
IP etc, OK
Ping GW OK
Test internet services FAILED!!!!
If I use LAN cable, everything is working fine (I mean starting the TV without wifi dongle and LAN cable attached). Both LAN cable and wifi connect to tha same DSL router.
I'm thus "forced" to test the hardware method changing vid/pid of the dongle.
I already have ubuntu 11.04 on the laptop, and downloading the packages.
I will let you know, but if you have any hint for me, I'll be glad to hear from you.
Luca
Re: [How-To] Alternatives of Samsung WiFi Link Stick
update to the previous post:
I tried to compile variuos versions of the module with no success.
My linux version is ubuntu 11.04, updated this morning with latest updates
I tried 2010_0709_RT2870_Linux_STA_v2.4.0.1.tar.bz2 from ralink support site,
tried to compile as root but I've got errors
tried also from ralink site 2011_0407_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.2_DPO.bz2
compiled as root with warnings but not errors, but insmod gives:
lates, I tried with no success,
Exact version of my linux is:
is there something wrong with my ubuntu version?
I tried to compile variuos versions of the module with no success.
My linux version is ubuntu 11.04, updated this morning with latest updates
I tried 2010_0709_RT2870_Linux_STA_v2.4.0.1.tar.bz2 from ralink support site,
tried to compile as root but I've got errors
Code: Select all
/tmp/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/cmm_mac_usb.c:52:2: error: implicit declaration of function ?usb_buffer_alloc?
....
make[2]: *** [/tmp/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/cmm_mac_usb.o] Error 1
make[1]: *** [_module_/tmp/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-11-generic'
make: *** [LINUX] Error 2
compiled as root with warnings but not errors, but insmod gives:
Code: Select all
insmod /lib/modules/2.6.38-11-generic/kernel/drivers/net/wireless/rt5370sta.ko
insmod: error inserting '/lib/modules/2.6.38-11-generic/kernel/drivers/net/wireless/rt5370sta.ko': -1 Unknown symbol in module
Code: Select all
hg clone https://rt2870linux.googlecode.com/hg/ rt2870linuxCode: Select all
/tmp/rt2870linux/os/linux/../../common/cmm_mac_usb.c:112:4: error: implicit declaration of function ?usb_buffer_free?
make[2]: *** [/tmp/rt2870linux/os/linux/../../common/cmm_mac_usb.o] Error 1
make[1]: *** [_module_/tmp/rt2870linux/os/linux] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-11-generic'
make: *** [LINUX] Error 2
Code: Select all
root@D630:/tmp/rt2870linux# uname -a
Linux D630 2.6.38-11-generic #48-Ubuntu SMP Fri Jul 29 19:05:14 UTC 2011 i686 i686 i386 GNU/Linux
root@D630:/tmp/rt2870linux#
- erdem_ua
- SamyGO Admin
- Posts: 3126
- Joined: Thu Oct 01, 2009 6:02 am
- Location: Istanbul, Turkey
- Contact:
Re: [How-To] Alternatives of Samsung WiFi Link Stick
Why do you try to re-compiling drivers? Ubuntu doesn't recognized your dongle?
Or built in drivers doesn't support e2p flashing?
Or built in drivers doesn't support e2p flashing?
Re: [How-To] Alternatives of Samsung WiFi Link Stick
it is not working, it seems to have problems with ubuntu itself. I'm googling for
I was trying to recompile the module because the russian forum/message reported in previous post indicated that a recompilation is necessary, but if it is not, it is good for me.
Am I missing something too obvious just because I'm tired?
thanks
Luca
and maybe i will find something. Anyhow here it is what I did this afternoon:ubuntu dwa 140 b2
Code: Select all
dmesg when inserting the usb dongle
[ 1292.276985] phy2 -> rt2x00lib_request_firmware: Error - Current firmware does not support detected chipset.
Code: Select all
root@D630:~# iwpriv
lo no private ioctls.
eth0 no private ioctls.
wlan1 no private ioctls.
root@D630:~# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:1c:23:29:15:3e
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:17
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:80 errors:0 dropped:0 overruns:0 frame:0
TX packets:80 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6048 (6.0 KB) TX bytes:6048 (6.0 KB)
wlan1 Link encap:Ethernet HWaddr 1c:af:f7:67:23:85
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
root@D630:~# ifconfig wlan1 up
SIOCSIFFLAGS: No such file or directory
root@D630:~# iwpriv wlan1
wlan1 no private ioctls.
Am I missing something too obvious just because I'm tired?
thanks
Luca
- erdem_ua
- SamyGO Admin
- Posts: 3126
- Joined: Thu Oct 01, 2009 6:02 am
- Location: Istanbul, Turkey
- Contact:
Re: [How-To] Alternatives of Samsung WiFi Link Stick
Why don't you try with latest backtrack? I believe their drivers supports e2p flashing commands..
Re: [How-To] Alternatives of Samsung WiFi Link Stick
just tried using backtrack 5R1.
Driver works and the stick is able to scan the networks (in ubuntu it didn't work) but when typing the command
tried both with rt2800usb module and with rt2870sta staging module, with no success. I always got response as above.
I will try other distro, but I already have spent too much time on that. May be it will be more useful to buy another stick easier to patch ...
One question: do you mind it is possible to insert into the extension package the modules "e2p enabled"? In that way we will be able to change vid/pid directly from the tv upon telnetting to it.
anyhow many thanks for you great work and support.
Luca
Driver works and the stick is able to scan the networks (in ubuntu it didn't work) but when typing the command
Code: Select all
iwpriv wlan1 e2p 208 = 4E8
wlan1 no private ioctls.
I will try other distro, but I already have spent too much time on that. May be it will be more useful to buy another stick easier to patch ...
One question: do you mind it is possible to insert into the extension package the modules "e2p enabled"? In that way we will be able to change vid/pid directly from the tv upon telnetting to it.
anyhow many thanks for you great work and support.
Luca
- erdem_ua
- SamyGO Admin
- Posts: 3126
- Joined: Thu Oct 01, 2009 6:02 am
- Location: Istanbul, Turkey
- Contact:
Re: [How-To] Alternatives of Samsung WiFi Link Stick
Himm. I don't know if there is any kernel requirement for that. TV's kernel is too old and might not support e2p enabled modules... I think arris will make some magic if it's possible.
Re: [How-To] Alternatives of Samsung WiFi Link Stick
I had same problem until i recompiled driver for my ubuntu. After that i had no more ioctls problem and changed VID&PID successfully.Luk1970 wrote:just tried using backtrack 5R1.
Driver works and the stick is able to scan the networks (in ubuntu it didn't work) but when typing the commandCode: Select all
iwpriv wlan1 e2p 208 = 4E8 wlan1 no private ioctls.
What is needed to change for custom driver:
Some preparation. Install required bunaries/sources
Code: Select all
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essent
sudo apt-get install linux-headers- $(uname -r)2. Open /os/linux/config.mk and change:
Code: Select all
# Support ATE function
HAS_ATE=y
# Support Wpa_Supplicant
HAS_WPA_SUPPLICANT=y
# Support Native WpaSupplicant for Network Maganger
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=yCode: Select all
MODULE_LICENSE("GPL");So it should look like:
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 //Code: Select all
sudo make
sudo make install
sudo rmmod rt2870sta
sudo rmmod rt2800usb
sudo rmmod rt2x00usb
sudo rmmod rt2800lib5. removing any modules if exist (check by lsmod | grep rt)
Code: Select all
sudo rmmod [module-if-exists]Code: Select all
insmod path_to_driver/os/linux/rt3070sta.koLE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]
DO NOT EVER INSTALL FIRMWARE UPGRADE
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]
DO NOT EVER INSTALL FIRMWARE UPGRADE
Re: [How-To] Alternatives of Samsung WiFi Link Stick
Thank you juuso,
using antoher pc I was finally able to compile and load the driver.
My stick is DWA140 HW Rev B2
07d1:3c0a
From ralink site, I donwloaded the driver for
2011_0407_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.2
compiled it fine (just warnings) installed, and then loaded the module.
Just one note, the module name is rt5370sta.
Module loaded correctly, dmesg without errors.
Tried just to be sure everything is working, and correctly the list of net has been shown.
tried then and works well.
Tried then to change the eprom values with e2p
dmesg reports nothing, no errors indicated.
tried to rmmod but
removed the stick, removed the module, re-loaded it: it automatically reload the old module rt2870. Anyhoe the vid&pid are the original ones.
Then reboot, insert module 5370, insert stick, and lsmod lsusb and dmesg is:
and just as final confirmation iwpriv:
I'll give up.
The stick in for sale now.
thanks
Luca
using antoher pc I was finally able to compile and load the driver.
My stick is DWA140 HW Rev B2
07d1:3c0a
From ralink site, I donwloaded the driver for
2011_0407_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.2
compiled it fine (just warnings) installed, and then loaded the module.
Just one note, the module name is rt5370sta.
Module loaded correctly, dmesg without errors.
Tried
Code: Select all
iwlist ra0 scanningtried then
Code: Select all
root@HP-d530:~# iwpriv ra0
ra0 Available private ioctls :
set (8BE2) : set 1024 char & get 0
connStatus (0004) : set 1024 char & get 2047 char
driverVer (0005) : set 1024 char & get 2047 char
bainfo (0006) : set 1024 char & get 2047 char
descinfo (0007) : set 1024 char & get 2047 char
radio_off (000A) : set 1024 char & get 2047 char
radio_on (000B) : set 1024 char & get 2047 char
show (0015) : set 1024 char & get 2047 char
adhocEntry (0016) : set 1024 char & get 2047 char
bbp (8BE3) : set 2047 char & get 2047 char
mac (8BE5) : set 1024 char & get 1024 char
rf (8BF3) : set 2047 char & get 2047 char
e2p (8BE7) : set 1024 char & get 1024 char
stat (8BE9) : set 0 & get 2047 char
get_site_survey (8BED) : set 0 & get 1024 char
Tried then to change the eprom values with e2p
Code: Select all
root@HP-d530:~# iwpriv ra0 e2p 0208=0x04E8
ra0 e2p:0208=0x04E8
root@HP-d530:~# iwpriv ra0 e2p 020A=0x2018
ra0 e2p:020A=0x2018
root@HP-d530:~# iwpriv ra0 e2p 0208
ra0 e2p:
[0x0208]:0x07D1
root@HP-d530:~# iwpriv ra0 e2p 020a
ra0 e2p:
[0x020A]:0x3C0A
tried to rmmod but
Code: Select all
root@HP-d530:~# rmmod rt5370sta
ERROR: Module rt5370sta is in use
root@HP-d530:~# rmmod -f rt5370sta
ERROR: Removing 'rt5370sta': Resource temporarily unavailable
Then reboot, insert module 5370, insert stick, and lsmod lsusb and dmesg is:
Code: Select all
root@HP-d530:~# lsmod
Module Size Used by
rt5370sta 679517 1
binfmt_misc 13213 1
root@HP-d530:~# lsusb
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 07d1:3c0a D-Link System DWA-140 RangeBooster N Adapter(rev.B2) [Ralink RT2870]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
:~# dmesg
.....
.....
[ 146.224883] rtusb init rt2870 --->
[ 146.226267] usbcore: registered new interface driver rt2870
[ 221.452020] usb 1-6: new high speed USB device using ehci_hcd and address 3
[ 221.601051]
[ 221.601053]
[ 221.601054] === pAd = f8e95000, size = 518828 ===
[ 221.601056]
[ 221.601921] <-- RTMPAllocTxRxRingMemory, Status=0
[ 221.601997] <-- RTMPAllocAdapterBlock, Status=0
[ 221.701826] (Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
[ 221.964219] RTMP_TimerListAdd: add timer obj f8edca24!
[ 221.964226] RTMP_TimerListAdd: add timer obj f8edca6c!
[ 221.964229] RTMP_TimerListAdd: add timer obj f8edcab4!
[ 221.964233] RTMP_TimerListAdd: add timer obj f8edc9dc!
[ 221.964237] RTMP_TimerListAdd: add timer obj f8edc904!
[ 221.964240] RTMP_TimerListAdd: add timer obj f8edc94c!
[ 221.964243] RTMP_TimerListAdd: add timer obj f8ea74dc!
[ 221.964246] RTMP_TimerListAdd: add timer obj f8e96da0!
[ 221.964249] RTMP_TimerListAdd: add timer obj f8e96df0!
[ 221.964251] RTMP_TimerListAdd: add timer obj f8ea75c8!
[ 221.964256] RTMP_TimerListAdd: add timer obj f8ea744c!
[ 221.964260] RTMP_TimerListAdd: add timer obj f8ea757c!
[ 221.965758] -->RTUSBVenderReset
[ 221.965882] <--RTUSBVenderReset
[ 222.249791] Key1Str is Invalid key length(0) or Type(0)
[ 222.249829] Key2Str is Invalid key length(0) or Type(0)
[ 222.249866] Key3Str is Invalid key length(0) or Type(0)
[ 222.249903] Key4Str is Invalid key length(0) or Type(0)
[ 222.250568] 1. Phy Mode = 5
[ 222.250571] 2. Phy Mode = 5
[ 222.250574] NVM is Efuse and its size =2d[2d0-2fc]
[ 222.301207] phy mode> Error! The chip does not support 5G band 8!
[ 222.301332] RTMPSetPhyMode: channel is out of range, use first channel=1
[ 222.305079] (Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
[ 222.326950] 3. Phy Mode = 9
[ 222.386317] MCS Set = ff ff 00 00 01
[ 222.396877] <==== rt28xx_init, Status=0
[ 222.398438] 0x1300 = 00064300
[ 222.672397] (Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
[ 222.931173] RTMP_TimerListAdd: add timer obj f8edca24!
[ 222.931179] RTMP_TimerListAdd: add timer obj f8edca6c!
[ 222.931182] RTMP_TimerListAdd: add timer obj f8edcab4!
[ 222.931185] RTMP_TimerListAdd: add timer obj f8edc9dc!
[ 222.931189] RTMP_TimerListAdd: add timer obj f8edc904!
[ 222.931192] RTMP_TimerListAdd: add timer obj f8edc94c!
[ 222.931195] RTMP_TimerListAdd: add timer obj f8ea74dc!
[ 222.931198] RTMP_TimerListAdd: add timer obj f8e96da0!
[ 222.931201] RTMP_TimerListAdd: add timer obj f8e96df0!
[ 222.931204] RTMP_TimerListAdd: add timer obj f8ea75c8!
[ 222.931208] RTMP_TimerListAdd: add timer obj f8ea744c!
[ 222.931211] RTMP_TimerListAdd: add timer obj f8ea757c!
[ 222.932975] -->RTUSBVenderReset
[ 222.933096] <--RTUSBVenderReset
[ 223.208757] CfgSetCountryRegion():CountryRegion in eeprom was programmed
[ 223.208773] CfgSetCountryRegion():CountryRegion in eeprom was programmed
[ 223.209319] Key1Str is Invalid key length(0) or Type(0)
[ 223.209354] Key2Str is Invalid key length(0) or Type(0)
[ 223.209390] Key3Str is Invalid key length(0) or Type(0)
[ 223.209427] Key4Str is Invalid key length(0) or Type(0)
[ 223.210091] 1. Phy Mode = 5
[ 223.210093] 2. Phy Mode = 5
[ 223.210097] NVM is Efuse and its size =2d[2d0-2fc]
[ 223.260920] phy mode> Error! The chip does not support 5G band 8!
[ 223.261045] RTMPSetPhyMode: channel is out of range, use first channel=1
[ 223.264919] (Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
[ 223.286790] 3. Phy Mode = 9
[ 223.348532] MCS Set = ff ff 00 00 01
[ 223.359087] <==== rt28xx_init, Status=0
[ 223.360652] 0x1300 = 00064300
[ 225.356620] ===>rt_ioctl_giwscan. 3(3) BSS returned, data->length = 357
Code: Select all
root@HP-d530:~# iwpriv ra0
ra0 Available private ioctls :
set (8BE2) : set 1024 char & get 0
connStatus (0004) : set 1024 char & get 2047 char
driverVer (0005) : set 1024 char & get 2047 char
bainfo (0006) : set 1024 char & get 2047 char
descinfo (0007) : set 1024 char & get 2047 char
radio_off (000A) : set 1024 char & get 2047 char
radio_on (000B) : set 1024 char & get 2047 char
show (0015) : set 1024 char & get 2047 char
adhocEntry (0016) : set 1024 char & get 2047 char
bbp (8BE3) : set 2047 char & get 2047 char
mac (8BE5) : set 1024 char & get 1024 char
rf (8BF3) : set 2047 char & get 2047 char
e2p (8BE7) : set 1024 char & get 1024 char
stat (8BE9) : set 0 & get 2047 char
get_site_survey (8BED) : set 0 & get 1024 char
root@HP-d530:~# iwpriv ra0 e2p 208=0x04E8
ra0 e2p:208=0x04E8
root@HP-d530:~# iwpriv ra0 e2p 208
ra0 e2p:
[0x0208]:0x07D1
The stick in for sale now.
thanks
Luca
DivFix++ AVI Fix
Meteorite MKV Repair