Re: [gentoo-user] Setting a fixed nameserver for openvpn
On 05/03/2023 18:41, Dale wrote: I edited the file they say with kwrite. Even after I restart openvpn, the IP they want is there but it doesn't use it according to the site they sent for me to check it with. It shows other IP addresses. I'm sure I'm missing something, likely something simple, but I can't figure out how to make it work. I don't know if it is because I'm using openrc or what. Anyone have a idea on how to make this work? resolv.conf tells DNS where to look. That's not openrc/systemd specific. There's another file - can't remember its name - that tells your resolver what to try in what order - the hosts file, dns, what dhcp told you, etc etc, so your resolver might not be using dns the way you think. I can't get that to work, either. I want my hosts file to take priority, but it's ignored. And then, of course, to really screw you over your ISP might be hijacking dns. Cheers, Wol
Re: [gentoo-user] torbrowser : proxy server is refusing connections
On 05.03.23 18:18, Helmut Jarausch wrote: Hi, I am totally new to "tor" I have installed torbrowser from the torbrowser overlay. When I start torbrowser, I get "Something Went Wrong" When I start torbrowser check.torproject.org I get The proxy server is refusing connections What am I missing? Many thanks for your help Helmut Do you have tor running on port 9150? Did you follow the instructions at https://github.com/MeisterP/torbrowser-overlay/blob/master/Readme.md? If you are new to tor, it's probably easier to just use the the bundle from https://www.torproject.org/download/ It should work out of the box.
[gentoo-user] Setting a fixed nameserver for openvpn
Howdy, I use Surfshark and every once in a while, my VPN loses its connection. I sent the info from messages to Surfshark but the info they sent back on how to set the nameserver info doesn't really work with Gentoo. I suspect they are used to systemd stuff. Anyway, I tried to follow in a more Gentoo way but it still didn't work. Then I googled, searched the Gentoo wiki and tried some of those things, still refuses to use the manually entered nameserver. I've tried resolv.conf, resolvconf.conf and resolv.conf-tun0.sv. I installed openresolv to see if that would help. Nope. I might add, a lot of this stuff is written for people using systemd and I use openrc here. I found one that had I think the right info but neglected to name the file that needed to be edited, sounds like something I'd do really. lol This is what I got from Surfshark: > I would recommend changing the DNS addresses on your Linux device. You > can simply do that by following the steps below. > > First, you need to open the terminal with the CTRL + ALT + T > combination and type in the following commands: > sudo rm -r /etc/resolv.conf > sudo nano /etc/resolv.conf > > You will be asked for your root password after each command line, so > just type it in and press enter. When the text editor opens, you will > have to type in these lines: > nameserver xxx.xxx.172.57 > nameserver xxx.xxx.159.92 I edited the file they say with kwrite. Even after I restart openvpn, the IP they want is there but it doesn't use it according to the site they sent for me to check it with. It shows other IP addresses. I'm sure I'm missing something, likely something simple, but I can't figure out how to make it work. I don't know if it is because I'm using openrc or what. Anyone have a idea on how to make this work? Thanks. Dale :-) :-) P. S. I edited the IP address above. I'm not sure if those are public or not.
[gentoo-user] torbrowser : proxy server is refusing connections
Hi, I am totally new to "tor" I have installed torbrowser from the torbrowser overlay. When I start torbrowser, I get "Something Went Wrong" When I start torbrowser check.torproject.org I get The proxy server is refusing connections What am I missing? Many thanks for your help Helmut
[gentoo-user] torbrowser : proxy server is refusing connections
Hi, I am totally new to "tor". I have installed torbrowser from the torbrowser overlay. When I start torbrowser I get "Something Went Wrong" If I start torbrowser check.torproject.org I get proxy server is refusing connections Are there any configuration I have to modify? Many thanks for your help Helmut
Re: [gentoo-user] NodeJS compiling problem
On Sunday, 5 March 2023 16:13:24 GMT Arve Barsnes wrote: > On Sun, 5 Mar 2023 at 16:21, Peter Humphrey wrote: > > Hello list, > > > > Am I the only one unable to install net-libs/nodejs-18.14.2? The log file > > has> > > some interesting entries: > > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > > * Checking whether python3_11 is suitable ... > > * >=dev-lang/python-3.11.1-r1:3.11[threads(+)] ... > > [ ok ] > > * Using python3.11 to build (via PYTHON_COMPAT iteration) > > * Determining the location of the kernel source code > > * Found kernel source directory: > > * /usr/src/linux > > * Could not detect kernel version. > > I wouldn't think this is really the problem, as long as you get the > "found kernel source directory" message. Being able to determine the > version doesn't seem that important, depending on what the actual > compile errors are. Hm. I thought it might be leading to the later error "no rule to make target '3' ". See the attached log. An amd64 machine compiles this version of nodejs ok, but this machine is ~amd64. I tried yanking out python 3.11, but still got the error so I put it back in again, toute-suite. -- Regards, Peter. * Package:net-libs/nodejs-18.14.2:0/18 * Repository: gentoo * Maintainer: willi...@gentoo.org * USE:abi_x86_64 amd64 cpu_flags_x86_sse2 elibc_glibc icu kernel_linux npm snapshot ssl system-icu system-ssl userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Checking whether python3_11 is suitable ... * >=dev-lang/python-3.11.1-r1:3.11[threads(+)] ... [ ok ] * Using python3.11 to build (via PYTHON_COMPAT iteration) * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Could not detect kernel version. * Please ensure that /usr/src/linux points to a complete set of Linux sources. * Unable to calculate Linux Kernel version for build, attempting to use running version * Checking for suitable kernel configuration options ... [ ok ] >>> Unpacking source... >>> Unpacking node-v18.14.2.tar.xz to /var/tmp/notmpfs/portage/net-libs/nodejs-18.14.2/work >>> Source unpacked in /var/tmp/notmpfs/portage/net-libs/nodejs-18.14.2/work >>> Preparing source in /var/tmp/notmpfs/portage/net-libs/nodejs-18.14.2/work/node-v18.14.2 ... * Applying nodejs-12.22.5-shared_c-ares_nameser_h.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/notmpfs/portage/net-libs/nodejs-18.14.2/work/node-v18.14.2 ... /var/tmp/notmpfs/portage/net-libs/nodejs-18.14.2/work/node-v18.14.2/configure.py:8: DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13 import pipes /var/tmp/notmpfs/portage/net-libs/nodejs-18.14.2/work/node-v18.14.2/configure.py:17: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.version import StrictVersion [1m[32mINFO[0m: configure completed successfully >>> Source configured. >>> Compiling source in /var/tmp/notmpfs/portage/net-libs/nodejs-18.14.2/work/node-v18.14.2 ... make 3 -C out make: Entering directory '/var/tmp/notmpfs/portage/net-libs/nodejs-18.14.2/work/node-v18.14.2/out' make: *** No rule to make target '3'. Stop. make: Leaving directory '/var/tmp/notmpfs/portage/net-libs/nodejs-18.14.2/work/node-v18.14.2/out' * ERROR: net-libs/nodejs-18.14.2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-libs/nodejs-18.14.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-libs/nodejs-18.14.2::gentoo'`. * The complete build log is located at '/var/log/portage/net-libs:nodejs-18.14.2:20230305-163955.log'. * For convenience, a symlink to the build log is located at '/var/tmp/notmpfs/portage/net-libs/nodejs-18.14.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/notmpfs/portage/net-libs/nodejs-18.14.2/temp/environment'. * Working directory: '/var/tmp/notmpfs/portage/net-libs/nodejs-18.14.2/work/node-v18.14.2' * S: '/var/tmp/notmpfs/portage/net-libs/nodejs-18.14.2/work/node-v18.14.2'
Re: [gentoo-user] NodeJS compiling problem
On Sun, 5 Mar 2023 at 16:21, Peter Humphrey wrote: > > Hello list, > > Am I the only one unable to install net-libs/nodejs-18.14.2? The log file has > some interesting entries: > > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > * Checking whether python3_11 is suitable ... > * >=dev-lang/python-3.11.1-r1:3.11[threads(+)] ... > [ ok ] > * Using python3.11 to build (via PYTHON_COMPAT iteration) > * Determining the location of the kernel source code > * Found kernel source directory: > * /usr/src/linux > * Could not detect kernel version. I wouldn't think this is really the problem, as long as you get the "found kernel source directory" message. Being able to determine the version doesn't seem that important, depending on what the actual compile errors are. Regards, Arve
[gentoo-user] NodeJS compiling problem
Hello list, Am I the only one unable to install net-libs/nodejs-18.14.2? The log file has some interesting entries: * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Checking whether python3_11 is suitable ... * >=dev-lang/python-3.11.1-r1:3.11[threads(+)] ... [ ok ] * Using python3.11 to build (via PYTHON_COMPAT iteration) * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Could not detect kernel version. But I've just built a new kernel under /usr/src/linux ( -> linux-6.2.2- gentoo), so I know it's there. Is the problem to do with python:3.11? $ eselect python list Available Python interpreters, in order of preference: [1] python3.10 [2] python3.11 (fallback) -- Regards, Peter.