Firmware: A-410 [01 Apr. 2014] | A-400 [12 Mar. 2014] | C-300 [13 Feb. 2014] | A-300 [24 Feb. 2014] | C-200 [11 July 2013] | A-200/A-210 [11 July 2013] | Popbox V8 [3 Dec 2013]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Thread Closed 
Custom fonts for subtitles!
02-09-2008, 04:43 PM
Post: #76
 
Consider script.cgi as a startup script where you can add any mounts you want and you can start telnetd from anywhere

cd ~
mkdir /mnt/bin;
mount -t cifs //yourip/share /mnt/bin/ -o username=guest,rw
ln -s /mnt/bin/busybox /usr/bin/telnetd
telnetd -l /bin/sh -p 23 &
echo "Telnetd started on port 23............";
#more mounts....
exit 0;


Martin
Find all posts by this user
02-09-2008, 05:08 PM
Post: #77
 
Great idea, I'm now able to launch telnetd loaded from SMB without having a USB stick inserted Smile

I guess there's no way to do this on automatically on startup without HDD installed?
Find all posts by this user
02-13-2008, 09:53 PM
Post: #78
 
In case anyone reads the thread actually looking for custom subtitles, I'd like to share a few fonts that I feel are more preferable to the default NMT font (Arial).

Overall the best font I've tested is TeenB. It looks great whether at 18pt - 28pt, the edges are sharp even on the low resolution rendering of the Popcorn, and it's clear and legible on an HDTV from a distance. It's in the same family as Comic Sans, which is another plus in my opinion.

Download TeenB (TrueType)

Pics if/when I cbb.
Find all posts by this user
02-27-2008, 04:34 PM
Post: #79
dropbear binary
HI,
would you share your compilled binary dropbear for Popcorn?
thx
bonym
Find all posts by this user
04-01-2008, 10:32 PM
Post: #80
 
It seems erlis removed his telnetd-usb.zip package from his web site. Can somebody upload it somewhere please ? Also (dead) links are still in wiki ...
Thank you.
Visit this user's website Find all posts by this user
04-01-2008, 10:47 PM
Post: #81
 
take the toolbox 0.30 also located here Smile
Find all posts by this user
04-02-2008, 09:28 AM
Post: #82
 
werner Wrote:take the toolbox 0.30 also located here Smile
Thanks werner !
Visit this user's website Find all posts by this user
04-22-2008, 11:52 PM
Post: #83
 
emveepee Wrote:Consider script.cgi as a startup script where you can add any mounts you want and you can start telnetd from anywhere

cd ~
mkdir /mnt/bin;
mount -t cifs //yourip/share /mnt/bin/ -o username=guest,rw
ln -s /mnt/bin/busybox /usr/bin/telnetd
telnetd -l /bin/sh -p 23 &
echo "Telnetd started on port 23............";
#more mounts....
exit 0;


Martin

Thanks for this. It worked great. I can now get telnet running from my NFS share.
Find all posts by this user
05-22-2008, 12:15 PM
Post: #84
 
Here goes my litle give back to community - like manual about getting console work.

http://www.networkedmediatank.com/wiki/index.php/Hack

Pls make your additions.
Find all posts by this user
06-15-2008, 05:22 AM
Post: #85
 
Is there any way to get telnetd to prompt for a password, so I can expose it to the Internet safely? It seems this busybox doesn't have login compiled in, and even if it did i don't need to create separate users for telnet. It's fine for telnetd to give root access - I just want it to prompt for a password.

I tried telnetd's -l option with a little ash script that prompts for a password, but the -l option wouldn't take any arguments. You can only give -l an executable file.

If there were a way for an ash script to know if it had been launched by telnetd or not, I'd put my login script at the end of the .ashrc file. (if there even is an .ashrc file - I didn't look)
Find all posts by this user
06-20-2008, 07:21 AM
Post: #86
 
gshock's PopcornDev v3 works with the new firmware, 01-17-080612-15-POP-402. Yay! But you'll need to redo the setup. Rename or delete share/start_app.sh first, 'cause otherwise you'll get a permission denied error when you run the setup php web page.
Find all posts by this user
06-23-2008, 10:04 PM
Post: #87
 
Is there any way to make the changes made by the script survive a reboot/power off?

Tried to fiddle a bit with the start_app.sh script, but that did not work at all, to say the least..
Find all posts by this user
06-23-2008, 11:14 PM
Post: #88
 
If you use gshock's PopcornDev, changes do survive a reboot. Everything in start_app.sh is run each time the PCH boots.
Find all posts by this user
06-23-2008, 11:22 PM
Post: #89
 
That's exactly what I tried to do, but failed.
From what I can gather with my limited knowledge of PHP code, all the script does is copy the user-selected font to the /bin directory, overwriting the arial*.ttf files.
Mimicking that behavior via some "cp" commands in the start_app.sh script, the file is copied but something breaks along the way:
if I do it manually in a telnet session all is well, but through the script I get some strange results - the arial.ttf font only shows when I do a "ls -la", and then it's shown twice(?!)...
Find all posts by this user
06-24-2008, 12:10 AM
Post: #90
 
It does more than that. Make sure you've got PopcornDev v3 from this post. The post says v2, but it links to v3. The PHP will create start_app.sh, so if you've already created one, remove it before running the PHP.
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Deploy custom app/static website calbo 2 1,624 07-07-2011 08:56 AM
Last Post: calbo
  Harmony 555 + subtitles monkfeesh 1 1,230 02-13-2011 08:14 PM
Last Post: lala
  Is it possible to display custom osd messages while playing a movie? gcf 2 2,157 02-12-2011 01:36 PM
Last Post: dc11ab
  txt2srt - convert subtitles from common .txt formats elephant 3 4,468 11-24-2010 06:02 AM
Last Post: ayeah
  Custom Index link (href) help wanted pbusardo 7 9,145 09-23-2010 03:32 AM
Last Post: pbusardo
  App for downloading subtitles? juanmanuelsanchez 7 3,804 06-29-2010 09:46 AM
Last Post: Zigismund
  Custom OSD message while playing a movie quetzal 2 1,872 02-26-2010 05:10 AM
Last Post: garp99
  Opening a movie from a custom-made webpage pakobagur 2 1,520 11-30-2009 10:53 PM
Last Post: pakobagur
  Custom menu: how to get rid of svu 3 1,834 10-21-2009 12:28 AM
Last Post: Specter
  DLNA and SRT subtitles kruikenzeiker 0 6,056 09-01-2009 11:23 AM
Last Post: kruikenzeiker

Forum Jump: