WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: resolvconf: command not found. How to fix?  (Read 4231 times)

Offline ltrk

  • Newbie
  • *
  • Posts: 24
resolvconf: command not found. How to fix?
« 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?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14812
Re: resolvconf: command not found. How to fix?
« Reply #1 on: September 07, 2022, 12:04:57 PM »
It looks like you need to install this: https://github.com/NetworkConfiguration/openresolv

Offline ltrk

  • Newbie
  • *
  • Posts: 24
Re: resolvconf: command not found. How to fix?
« Reply #2 on: September 08, 2022, 12:25:07 AM »
tks @juanito will try it and revert

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1509
Re: resolvconf: command not found. How to fix?
« Reply #3 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.
« Last Edit: September 08, 2022, 10:08:38 AM by GNUser »

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1509
Re: resolvconf: command not found. How to fix?
« Reply #4 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
« Last Edit: September 08, 2022, 11:42:13 AM by Rich »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14812
Re: resolvconf: command not found. How to fix?
« Reply #5 on: September 10, 2022, 06:21:17 AM »
openresolv posted to x86 repo