PDA

View Full Version : instacake+ptvnet dtivo 6.2 rca dvr40


fuzzynco
12-26-2007, 11:31 PM
I have a working ptvnet 6.2 system on a RCA DVR40. I would like to configure
bash to use TERM=vt100, TERMINFO=/terminfo, PS1='\h:\w$ ' and run
hostname to set the value of \h. Temporily I created /etc/profile
with the exports above, until I can find out where to set things that my other DVR40
has in /etc/rc.d/rc.sysinit.author which is appearently not run in ptvnet?

I want to install Gnu nano, its curses based and provides the terminfo/libraries/and
the binary. somewhere something is setting export TERM=linux, I need it to be vt100.
Where am I supposed to put user settings to setup bash to respond: "gopher:/var/tmp$"
where gopher is the machine name and I happen to be in /var/tmp? where is hostname
supposed to go if /etc/rc.d/rc.sysinit.author is not used? The things that there are flags
for are working as expected, ftp, telnet, even mfs_ftp.

thanks :confused:

fuzzynco
12-27-2007, 08:18 PM
followup. I was able to get the bash exports to work by creating /etc/profile
and bash used that to setup when it started. I still can't figure out where ZI'm supposed to put new software, since /etc/rc.d/rc.sysinit.author where it normally goes is appearently
not called by /etc/rc.d/rc.sysinit? I want to add a 'hotname gopher' after the path is set since
hostname is a softlink to busybox. I can't figure out where it should go.

fuzzynco
12-28-2007, 10:18 AM
*sigh* sales emailed and said to ask this here ... I just need to know where to put my new hacks so they get executed. It still looks like /etc/rc.s/rc.sysinit.author is not run by /etc/rc.s/rc.sysinit??

fuzzynco
12-28-2007, 10:34 AM
I think I figured out where /etc/rc.d/rc.sysinit.author is called...
I changed to and grepped each file in each directory in /etc/rc.d
searchng for the filename...
/etc/rc.d/StageG_PostApplication checks for it and if its there runs it.

So I'm guessing that where I'm supposed to additional programs
and settings. I put the hostname there -- will check next time it reboots.

I setup all the bash variables in /etc/rc.c/rc.sysinit/author
for static IP and did the change flag thing. Hopefully it
will boot with a static IP. I ran out of entries in the routers
MAC to IP (pseudo-static IP) mapping.

fuzzynco
12-28-2007, 11:41 AM
*grin* it looks like this thread is turning into journal.