Tiny Core Linux

Tiny Core Base => CorePlus => Topic started by: ltrk on September 07, 2022, 10:26:19 AM

Title: resolvconf: command not found. How to fix?
Post by: ltrk on September 07, 2022, 10:26:19 AM
hi, I just download  CorePlus today. so I guess i'm on version 13
I'm trying to setup a ProtonVPN connection manually using openvpn
There is an update-resolv-conf script which is used. This script looks for  a resolvconf command and it is not found.
I googled and this command is available on ubuntu and I think on some systems its a symlink to resolvctl

What would be the equivalent in tcl?
Title: Re: resolvconf: command not found. How to fix?
Post by: Juanito on September 07, 2022, 12:04:57 PM
It looks like you need to install this: https://github.com/NetworkConfiguration/openresolv
Title: Re: resolvconf: command not found. How to fix?
Post by: ltrk on September 08, 2022, 12:25:07 AM
tks @juanito will try it and revert
Title: Re: resolvconf: command not found. How to fix?
Post by: GNUser on September 08, 2022, 10:00:27 AM
Hi, ltrk. Which CorePlus version are you using, 32-bit or 64-bit? If you are using the 64-bit version, you can use the  openresolv.tcz  extension from the 64-bit repository. openresolv includes the  resolvconf  command.

EDIT: I just took a look at the  openresolv.tcz  extension from the 64-bit repository. It seems that the extension consists entirely of shell scripts and configuration files (no binaries), so you should be able to run it on a 32-bit system.
Title: Re: resolvconf: command not found. How to fix?
Post by: GNUser on September 08, 2022, 10:14:21 AM
If you are on 32-bit and want to try the extension, do this:
Code: [Select]
$ wget http://repo.tinycorelinux.net/13.x/x86_64/tcz/openresolv.tczThe extension does not have dependencies, so just copy the downloaded openresolv.tcz to your  tce/optional/  directory. Then add the extension's name (openresolv.tcz)  to  tce/onboot.lst  and reboot.

It is almost impossible to break a TCL system. If the extension doesn't work for you, just remove the extension from  tce/optional/ , remove its name from  tce/onboot.lst , and reboot. You'll be right back where you started ;D

    [EDIT]: Edited first line as requested by GNUser.  Rich
Title: Re: resolvconf: command not found. How to fix?
Post by: Juanito on September 10, 2022, 06:21:17 AM
openresolv posted to x86 repo