Mount, Telnet and others autostart

Here are software that related with Samsung B series TVs. Like hex editors, new version of BusyBox or internal software, app programs that will run in your TV hardware.:!:This forum is NOT FOR USER QUESTIONS or Problems.

jojomail
Posts: 20
Joined: Fri Nov 06, 2009 12:47 am

Re: Mount, Telnet and others autostart

Post by jojomail » Sat Nov 07, 2009 8:42 am

I've modified your rcS.local file in order to enable third party wifi dongle, ie to take into account the modified rt2870sta.ko and rt73.ko files.

Code: Select all

#!/bin/sh

# Enable Telnetd
mount -t devpts devpts /dev/pts
telnetd
sleep 20

# Unloading the original rt2870sta module (in case of it would be already loaded)
rmmod rt2870sta
sleep 10

# Loading the modified module
insmod /mtd_rwarea/rt2870sta.ko

# Open back-door for fixing boot-loop situations a remettre si besoin
sleep 20       # Allow USB stick to settle
USB="/dtv/usb/sda1"    # USB mount-point

if [ -f $USB/usb.sh ];then
   $USB/usb.sh    # USB-File detected.
else
   if [ -f /mtd_rwarea/mtd_rwarea.sh ];then
            /mtd_rwarea/mtd_rwarea.sh # Run normal startup script
   fi
   if [ -f /mtd_rwarea/mount.sh ];then
      /mtd_rwarea/mount.sh # Run mount script
   fi
fi

exit
Here only the rt2870sta module is taken into account because my dongle need it and not the other one.
Of course, it necessary to copy the file rt2870sta.ko or the file rt73.ko (found in the wifi extension addon package) in /mtd_rwarea.
Unfortunately, the 2 files are too big to be copied together in the directory. I don't know why rt2870sta.ko is so big...

Now, when the TV is swithed on, the wifi dongle is recongnized after about 50 seconds.

INCONVENIENT :
My probleme now is the popup window that ask us to connect to the wireless network everytime the TV is switched on. If anybody knows a way to bypass this, I would be gratefull !

Perhaps it could be possible to integrate these changes in a patched firmware instead of filling the writable partition.

Post Reply

Return to “[B] Software”