Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: Adam on February 10, 2017, 10:31:35 PM

Title: lynx not persistent
Post by: Adam on February 10, 2017, 10:31:35 PM
Hi all,

I've just noticed that lynx is slightly different from other application. It seems like the installation is not persist. Lynx will be gone after I reboot my machine.

BEFORE REBOOT
Code: [Select]
tc@box:~$ sudo find / -name lynx
/tmp/tcloop/lynx
/tmp/tcloop/lynx/usr/local/bin/lynx
/usr/local/bin/lynx
/usr/local/tce.installed/lynx
tc@box:~$
tc@box:~$ lynx http://127.0.0.1

Looking up 127.0.0.1
Making HTTP connection to 127.0.0.1
Alert!: Unable to connect to remote host.

lynx: Can't access startfile http://127.0.0.1/
tc@box:~$

AFTER REBOOT
Code: [Select]
tc@box:~$ lynx http://127.0.0.1
-sh: lynx: not found
tc@box:~$
tc@box:~$ sudo find / -name lynx
tc@box:~$

REINSTALL
Code: [Select]
tc@box:~$ tce-load -i lynx
bzip2.tcz: OK
gzip.tcz: OK
lynx.tcz: OK
tc@box:~$
tc@box:~$ lynx http://127.0.0.1

Looking up 127.0.0.1
Making HTTP connection to 127.0.0.1
Alert!: Unable to connect to remote host.

lynx: Can't access startfile http://127.0.0.1/
tc@box:~$

However, the extension will be gone again after reboot.
Please let me know how to make it persistent even after reboot. Thanks
Title: Re: lynx not persistent
Post by: Juanito on February 10, 2017, 11:28:58 PM
use the apps gui to set the lynx extension to load "onboot"
Title: Re: lynx not persistent
Post by: Adam on February 11, 2017, 05:22:11 AM
use the apps gui to set the lynx extension to load "onboot"

Thanks Juanito. I appreciate your prompt response on this. I'm using Core image without GUI.
Could you please share the link on how to do this?
Title: Re: lynx not persistent
Post by: Misalf on February 11, 2017, 06:31:22 AM
Code: [Select]
echo lynx.tcz >> /etc/sysconfig/tcedir/onboot.lst
Title: Re: lynx not persistent
Post by: Adam on February 11, 2017, 08:30:44 AM
Code: [Select]
echo lynx.tcz >> /etc/sysconfig/tcedir/onboot.lst
It works!!! I always learn new things on this forum. Many thanks to Juanito, Misalf and others who are willing to help without any hesitation.  :)