Last line starts with #. So that line will not executed on script.
Also there could be some problem with path. I mean instead of "./modules" you might need use /dtv/usb/sda/modules"...
Game plugin to change WiFi modules
Re: Game plugin to change WiFi modules
What do you mean setup.sh for? samygo.sh? It`s better to run these lines one by one on your console and if you get wifi stick working just then put commands to startup script.
P.s. ok, i understood. You are playing with exe.img mounted and start.sh within it? Why doesn`t You use patched firmware instead? You be able run everything on TV start, not only wifi modules.
P.s. ok, i understood. You are playing with exe.img mounted and start.sh within it? Why doesn`t You use patched firmware instead? You be able run everything on TV start, not only wifi modules.
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: Game plugin to change WiFi modules
Do you have your rt2870sta.co copied to /mtd_rwarea/drivers (or /mtd_rwarea/modules/ if you want)?peeblessf wrote: I was trying to see if with that line commented, at least i could get the previous WiFi modules unloaded, but had no luck.
As for the path, i also triedbut had no luck either.Code: Select all
insmod /mtd_rwarea/drivers/rt2870sta.ko
Code: Select all
cp /dtv/usb/sda1/samygo/modules/rt2870sta.ko /mtd_rwarea/modules/
Code: Select all
rmmod rt73
sleep 5
rmmod rt2870sta
sleep 5
insmod /mtd_rwarea/modules/rt2870sta.ko
Code: Select all
rmmod rt73
sleep 5
rmmod rt2870sta
sleep 5
insmod /dtv/usb/sda1/samygo/modules/rt2870sta.ko
img.exe modification and changing setup.sh is firmware paching toopeeblessf wrote: I prefer not to patch firmware if i can avoid it, it's kind of scary

If you are just modifying this setup.zip game from aquadrian on Subtitle (caption) issues, don`t forget give rights to module:
Code: Select all
chmod 755 /[full path to module]/rt2870sta.ko
Code: Select all
insmod ./modules/rt2870sta.ko
Code: Select all
insmod /[full path to module]/rt2870sta.ko
Code: Select all
#!/bin/sh
####
# Enabled telnet access
###
# Execute telnetd daemon
/etc/telnetd_start.sh
cd $1
####
# Loading Modules
###
# Load CIFS
insmod ./modules/cifs.ko
# Load Wi-Fi
rmmod rt73 #unload original driver
sleep 5
rmmod rt2870sta #unload original driver
sleep 5
insmod /mtd_rwarea/modules/rt2870sta.ko
# Load keyboard and mouse support
insmod ./modules/usbhid.ko
insmod ./modules/evdev.ko
# Generate input device nodes at /dtv
i=0
while [ $i -le 31 ]
do
mknod /dtv/event$i c 13 $(($i + 64))
i=$(( i + 1 ))
done
####
# Mounting network shares
###
# Mount cifs shares (check if something is mounted already)
#if [ `mount | grep -c /dtv/usb/sda1/data` == 0 ]; then
# mount -o user=<user>,password=<password> -t cifs //<ip>/tv /dtv/usb/sda1/data
#fi
# Mount NFS share (check if something is mounted already)
#if [ `mount | grep -c /dtv/usb/sda1/movies` == 0 ]; then
# mount -o nolock <ip>:<nfs-path> /dtv/usb/sda1/movies -t nfs
#fi
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: Game plugin to change WiFi modules
You should try SamyGO Extensions [v0.03.1], or SamyGO Extensions [v0.03.5 Beta] version instead invent the wheel 
I tried run Setup from game menu, my TV crashes too. Based on Your message, i got idea -which is not new idea, but ... How about to run script with game loader and code of script should be free to shange w/o compiling anything. I asked for help in another topic.

I tried run Setup from game menu, my TV crashes too. Based on Your message, i got idea -which is not new idea, but ... How about to run script with game loader and code of script should be free to shange w/o compiling anything. I asked for help in another topic.
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
-
- Official SamyGO Developer
- Posts: 1700
- Joined: Fri Oct 02, 2009 8:52 am
- Location: Austria/Vienna (no Kangaroos here)
- Contact:
Re: Game plugin to change WiFi modules
think telnet enabler trojan can do what you want.juuso wrote:... How about to run script with game loader and code of script should be free to shange w/o compiling anything. I asked for help in another topic.
hth
arris
Re: Game plugin to change WiFi modules
Oh, thanks, i did not look closer this app. Now i see. Thats exact what i`ve expected 

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