WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: lynx not persistent  (Read 238 times)

Offline Adam

  • Jr. Member
  • **
  • Posts: 80
lynx not persistent
« on: February 10, 2017, 07: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

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 9009
Re: lynx not persistent
« Reply #1 on: February 10, 2017, 08:28:58 PM »
use the apps gui to set the lynx extension to load "onboot"

Offline Adam

  • Jr. Member
  • **
  • Posts: 80
Re: lynx not persistent
« Reply #2 on: February 11, 2017, 02: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?

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1344
Re: lynx not persistent
« Reply #3 on: February 11, 2017, 03:31:22 AM »
Code: [Select]
echo lynx.tcz >> /etc/sysconfig/tcedir/onboot.lst
Download a copy and keep it handy: Core book ;)

Offline Adam

  • Jr. Member
  • **
  • Posts: 80
Re: lynx not persistent
« Reply #4 on: February 11, 2017, 05: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.  :)