WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to enable telnet in pxebooted core?  (Read 13468 times)

Offline lid

  • Jr. Member
  • **
  • Posts: 62
Re: How to enable telnet in pxebooted core?
« Reply #15 on: September 12, 2012, 11:33:30 AM »
Or view the .tree files, which contain all dependencies.

Should I start the telnetd in /opt/bootlocal.sh or /opt/bootsync.sh?

Another question is: Will all the scripts in /opt/ and its subdirs be called by the TCL startup scripts? Put in another way, can I add my own startup scripts in the /opt/ and be called automatically?

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: How to enable telnet in pxebooted core?
« Reply #16 on: September 12, 2012, 11:48:03 AM »
You have to add them to /opt/bootlocal.sh or /opt/bootsync.sh
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11629
Re: How to enable telnet in pxebooted core?
« Reply #17 on: September 12, 2012, 02:30:18 PM »
Hi lid
Tinycore will run  bootsync.sh , the last entry in that script calls  bootlocal.sh  which runs in the background
asynchronously.

Offline lid

  • Jr. Member
  • **
  • Posts: 62
Re: How to enable telnet in pxebooted core?
« Reply #18 on: September 17, 2012, 02:11:33 PM »
Hi lid
Tinycore will run  bootsync.sh , the last entry in that script calls  bootlocal.sh  which runs in the background
asynchronously.

Rich,

This worked fine. I unpacked the core.gz and added my scripts in bootlocal.sh, packed it back to core.gz and pxebooted with the new script.

My next goal is to figure how to compile my own C code and run it on TC. Maybe this is a separate thread.


David

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11629
Re: How to enable telnet in pxebooted core?
« Reply #19 on: September 17, 2012, 02:30:50 PM »
Hi lid
Install compiletc.tcz if you want to compile code. Questions related to that should be in separate thread.