Enabling wifi in C series

General forum for C series TVs.

arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: Enabling wifi in C series

Post by arris69 »

huffyk wrote:...
tried putting new ID and it activated wifi setup. However same results :(. Cannot find and connect to my net...
make sure the wlan works at location near to tv (if you have a laptop it's quite easy, if not ...)
i think my device just don't work with that driver :(. btw. this is the dongle: http://www.getnet.eu/products_GN-331U.html
the drirver at this site is rt3070 v2.1.1.0 in extensions pack should be the version 2.3.0.4 btw. maybe driver rt2870sta (in extensions pack is v2.4.0.1) supports the device too.

so seps if you try to use your dongle with extensions pack:

disconnect your ethernet cable from tv!
set up your wireless network to unencrypted!

get the latest version of

Code: Select all

02_04_replace_wifi_mod.init.dis
(http://samygo.svn.sourceforge.net/viewv ... s?view=log and download it from here)
put it as

Code: Select all

02_04_replace_wifi_mod.init
into

Code: Select all

SamyGO/etc/init.d/
folder on your usb (where you have extracted SamyGO All Extensions).
edit the file around line 44, set ESSID="" and USE_MODULE="" to match your situation (use correct editor, not notepad under windows, read also comments in this file)
turn off tv and on again and plug in your usb. (i hope your usb-wifi dongle has some led-indicator, it shout blink)
don't try to configure anything in tvs network menu (just say ok if tv bring popup about wireless network, but if you can't resist just set the SSID and set ip config to auto)
try to telnet/ssh to tv. (you have to figure out the ip of tv, look at dhcp-servers log file or on windows into event log)

repeat procedure for different driver (rt2870sta rt3070sta rt3370sta rtnet3572sta)

hth
arris
huffyk
Posts: 25
Joined: Tue Jun 22, 2010 1:44 pm

Re: Enabling wifi in C series

Post by huffyk »

arris69, erdem: thanks for HELP! At last its working! now really without cable :)

Here are my findings which might help somebody else:

1. driver used: rt3070sta (others not working)
2. works with cable connected and also without cable (so you can play with WIFI through LAN connection)
3. works also with udhcpc (but SSID needs to be broadcasted... when it is hidden, udhcpc fails and adapter will not work even if i set IP manually)
4. iwconfig shows updated data only after network is connected! (even SSID is not showed correct when not connected...). After making connection (cross-checked in AP), iwconfig shows correct data
5. 1st test without any encryption and set broadcasting of SSID to ON!
6. If connection is working without encryption, try to connect using encryption (i used LAN connection to setup WIFI and also AP report to check which settings worked...)

i had to do these changes to my WIFI:

turn on broadcasting of SSID

i had to do these changes into script 02_04_replace_wifi_mod.init:
added 2 new parameters:
WEPKEY_INDEX="2"
WEPKEY_MODE="restricted"

changed WEP key entering:
iwconfig $i key [$WEPKEY_INDEX]
iwconfig $i key $WEPKEY_MODE "$WEPKEY"

so it means i use key index = 2 (default is 1) and for me wifi dongle worked only when using keyword "restricted".

So wifi is working. The problem is I cannot start any TV addon. It shows error "Service is unavailable due to network interference". So i tried to switch in TV menu to wifi and restarted TV. Now when doing "Network Test" in TV NET setup i get error in 4th step "Internet Service Test" however from SSH i can ping and nslookup anything so DNS and also default GW works... Starting Addon returns same error...

any hint?

[UPDATE] Network test can pass when i set in TV menu manual IP address (even though it is not used). However still cannot start addons :(.
huffyk
Posts: 25
Joined: Tue Jun 22, 2010 1:44 pm

Re: Enabling wifi in C series

Post by huffyk »

I played a little bit with network settings. I found this:

when i have eth0 and also ra0 UP and there is default route for eth0 interface, TV addons are working. As soon as i remove eth0 default route it shows that error message. Maybe widgets are checking if specific interface is up (in this case eth0 or ra11n0 - original wifi interface). However i have only ra0 :(

Is there a way to rename ra0 to ra11n0 ?

thanks

UPDATE: it didn't help to rename ra0 :(. Even if i named ra0 to eth0 it doesn't work. Only when default route for LAN is existent, addons can be executed :(
huffyk
Posts: 25
Joined: Tue Jun 22, 2010 1:44 pm

Re: Enabling wifi in C series

Post by huffyk »

I did some tests with original samsung dongle. When it is enabled through TV menu, everything works fine (network connection test pass and also widgets can be started), however when i enable and configure that dongle using ifconfig and iwconfig, nework works except widgets. I get same error as in my dongle. So it seems TV wifi setup writes something somewhere what Widget manager is checking...

Because TV wifi setup is not working as i wrote with my dongle, i assume it works just with original driver in C series. I think usb dongles compatible with original rt3572sta driver can be configured in TV Menu when putting correct device ID into /sys/bus/usb/drivers/rt2870/new_id. However different rt driver cannot be used with TV setup. That's my assumption.

If somebody has dongle which works only with rt3070 or other driver except original one and can setup it using TV menu, let me know.

Post Reply

Return to “[C] General”