Re: openvpn ERROR: Cannot ioctl TUNSETIFF tun: Operation not permitted (errno=1
On 2021-10-13 10:51, Jelle Licht wrote: > Hello Jovany, > > "Jovany Leandro G.C" writes: > >> hi, >> when i run **openvpn myfile.ovpn**, throws: >> >> ~~~ >> 2021-10-12 21:20:26 OpenVPN 2.5.4 x86_64-unknown-linux-gnu [SSL >> (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Jan 1 1970 >> ... >> 2021-10-12 21:25:13 ERROR: Cannot ioctl TUNSETIFF tun: Operation not >> permitted (errno=1) >> 2021-10-12 21:25:13 Exiting due to fatal error >> ~~~ > Note that I am by no means an OpenVPN expert, I have just used it a few > times. > > For its normal operations, OpenVPN clients need a TUN/TAP device; AFAIK > creating such devices require running with root permissions. > > You have several options here. > > The easiest 'fix' is to simply run `sudo openvpn myfile.ovpn`; > everything should work, with always-on root privileges though. > > Run `sudo openvpn --user --group myfile.ovpn', > which uses root privileges to set up things and then drops these > privileges. If your connection gets interrupted, you might need to > manually restart the command to set things up properly again. > > If you use Network Manager; there is a plugin for managing OpenVPN > connections. In Guix this has been packaged as > `network-manager-openvpn', and can be added to your operating system > declaration if you run Guix System [1] > >> thanks any help >> -- >> Jovany Leandro G.C > > HTH! > - Jelle > > [1] > http://guix.gnu.org/manual/en/html_node/Networking-Services.html#index-network_002dmanager_002dservice_002dtype thanks, using sudo works! i try network-manager-openvpn when i add the file .ovpn popup "Insufficient Privileges", config.scm ~~~ (supplementary-groups '("wheel" "netdev" "dialout" "audio" "video" "docker")) (services (append (list (set-xorg-configuration (xorg-configuration (keyboard-layout keyboard-layout))) (service docker-service-type)) (modify-services %desktop-services (network-manager-service-type config => (network-manager-configuration (vpn-plugins (list network-manager-openvpn ))) ~~~ thanks any help -- Jovany Leandro G.C Desarrollador Software Libre Cel: (57) 3165387562 Git: https://gitlab.com/bit4bit Fossil: http://efossils.bit4bit.in E-Sitio: http://www.bit4bit.in
openvpn ERROR: Cannot ioctl TUNSETIFF tun: Operation not permitted (errno=1
hi, when i run **openvpn myfile.ovpn**, throws: ~~~ 2021-10-12 21:20:26 OpenVPN 2.5.4 x86_64-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Jan 1 1970 ... 2021-10-12 21:25:13 ERROR: Cannot ioctl TUNSETIFF tun: Operation not permitted (errno=1) 2021-10-12 21:25:13 Exiting due to fatal error ~~~ thanks any help -- Jovany Leandro G.C Desarrollador Software Libre Cel: (57) 3165387562 Git: https://gitlab.com/bit4bit Fossil: http://efossils.bit4bit.in E-Sitio: http://www.bit4bit.in
multiple IPs
hello, how can assign multiple ip to one interface? example (static-networking-service "eno1" "192.168.1.82" #:gateway "192.168.1.2" #:name-servers '("192.168.1.2")) if add other (static-networking-service "eno1" "172.168.1.83") 'guix system reconfigure' throw can only assign one i also try (static-networking-service "eno1:alias" "172.168.1.83") but throw error thanks any help
Re: Trying to install Guix System on a nonfree computer, the system frezees at booting, bug?
On 2019-07-21 22:35, Jan wrote: > Hi, I'm trying to install Guix System on the following computer:Ryzen > 5 1600MSI pcmate B350ADATA SX7000NP - it's a NVMe SSDThe problem is > installation finishes successfully, but after rebooting and trying to > start the system it freezes like on a screenshot attached below. I > asked on the IRC and a person told me Guix System often works on > almost all machines and I should check /var/log/messages, but then the > person disappeared, but I have the log. I don't know if it's a bug or > that's my nonfree hardware, so I posted the issue here. --Jan hi, try install without encryption and see if works, and then again try install with encryption. -- Jovany Leandro G.C Desarrollador Software Libre Cel: (57) 3165387562 - (574) 4809000 Git: https://github.com/bit4bit Fossil: https://efossils.somxslibres.net E-Sitio: https://www.somxslibres.net
Re: Installation of Guix hangs
On 2019-07-20 11:46, Tomasz Chrzczonowicz wrote: > Hello everyone, > > I'm trying to install Guix 1.0.1.i686 on my old 1,6GHz, 1 GB RAM netbook. > > The installation hags during the "copying to /mnt" part. Is there a > way for me to troubleshoot the installation? > > Is my hardware too old for the installation to work? hi, how much you wait?, maybe take a lot time. i think you must do a shell installation, but before install enable swap 2GB partition manually. -- Jovany Leandro G.C Desarrollador Software Libre Cel: (57) 3165387562 - (574) 4809000 Git: https://github.com/bit4bit Fossil: https://efossils.somxslibres.net E-Sitio: https://www.somxslibres.net
Re: Does your printer work with Guix System? Please share!
El Fri, 22 Mar 2019 22:27:47 -0700 Chris Marusich escribió: > Hi Guix! > > I want to buy a printer to use with a Guix System machine. At a bare > minimum, it just needs to print in black and white reliably, but I > hope I can find one that does more than just the bare minimum. > > Has anyone here successfully printed (and/or scanned) using Guix > System? If so, would you be willing to share details? If you don't > want to share details publicly, please consider emailing me privately > instead. I'm interested in information like the following: > > * Manufacturer and model number > * Features that you've verified work > * Features that you've verified don't work > * Any special steps you had to take to get features working > * Does it work with CUPS? > * Other concerns (e.g., privacy, cartridge DRM) > > I'd really appreciate any information you can share! I've found that > h-node and openprinting.org are kind of difficult to use. Even when > I've found a printer there that looks reasonable, there's no guarantee > it'll work with Guix System specifically. That's why I'm asking here. > > Thank you, > hi, thanks for not buy hardware incompatible with software libre 100% you can use openprinting look at https://www.openprinting.org/printers, search the printer if you see something about download a driver (.deb,.rpm) be sure it's not compatible with software libre 100%, look at http://foo2zjs.rkkda.com/ this printer are working, i worked with HP LaserJet 1020. look at https://h-node.org/printers/catalogue/en and check the field 'compatibility with free software:' = 'A-Full'. note: if you have something that's work or not work with software libre 100%, example laptop or PC, printer,scanner,etc.. please contribute on community database h-node - and my best option, go to shop center with your laptop with software libre 100% connect the printer and see you can install it and print. thanks se libre
Re: sha256 hash mismatch
El Sun, 18 Nov 2018 21:10:25 -0800 Fredrik Salomonsson escribió: > Hi, > > Trying to install guix-0.15 to see if I can get dual booting with > btrfs working on my laptop. But didn't get that far. Encounter an > error when running guix system init. Ran it twice, same error. Any > idea what could be wrong? Took about 4-6h to run it the first time. > > Here's the command: > guix system init /mnt/etc/config.scm /mnt/ --substitute-urls=" > https://hydra.gnu.org https://berlin.guixsd.org; > And here's the output of the second run, minus a bunch of substitute: > updating... > > Starting download of > /gnu/store/j8cahmsfnjpdw49aa1qybrs0sm5z86fm-openal-soft-1.18.2.tar.bz2 > From > http://kcat.strangesoft.net/openal-releases/openal-soft-1.18.2.tar.bz2. .. > 18.2.tar.bz2 2.1MiB/s 00:00 | 10KiB > transferred > sha256 hash mismatch for output path > `/gnu/store/j8cahmsfnjpdw49aa1qybrs0sm5z86fm-openal-soft-1.18.2.tar.bz2' > expected: 10kydm8701a2kppiss9sdidn1820cmzhqgx1b2bsa5dsgzic32lz > actual: 0m22iiwrg5lf4xjhapk9i801kc2mi7bgyxnl38qblhgp3nz2qlj5 > cannot build derivation > `/gnu/store/860d96xqghxc01nx8x4v6xyz367lq7jd-openal-1.18.2.drv': 1 > dependencies couldn't be built > cannot build derivation > `/gnu/store/9z2n3s1dhlz0xd2pajcjaqygysa50jx0-ffmpeg-4.0.1.drv': 1 > dependencies couldn't be built > cannot build derivation > `/gnu/store/zgv9i7irmmph9qck7pf3vsy3y9qd835q-alsa-plugins-1.1.6.drv': > 1 dependencies couldn't be built > guix system: error: build failed: build of > `/gnu/store/zgv9i7irmmph9qck7pf3vsy3y9qd835q-alsa-plugins-1.1.6.drv' > failed > > I attached my config files, 00-keyboard.conf is placed > in /etc/config.d > > Thanks Hi, please try updating guix `guix pull` (not tested) before doing `system init`, the source of link has a bad sha256: http://kcat.strangesoft.net/openal-releases/openal-soft-1.18.2.tar.bz2 1f8ba88zw5a3hc54mb4gzdlx9mi7z85ypnmnm73df7qwzid51psv but http://openal-soft.org/openal-releases/openal-soft-1.18.2.tar.bz2 10kydm8701a2kppiss9sdidn1820cmzhqgx1b2bsa5dsgzic32lz kcat.strangesoft.net domain looks off
GUIX HANDLING NPM PACKAGES: TIPS
Hi community, this maybe can help someone, a little tutorial for working with npm packages. 1) Enable user handle global packages (npm) ~~~ $ mkdir /home//.vnode $ npm config set prefix "/home//.vnode" ~~~ 2) Append to $PATH, npm bins ~~~ $ echo PATH=/home//.vnode/bin:$PATH >> ~/.bashrc ~~~ 3) Install npm ~~~ $ npm install npm ~~~ 4)Now put on **/home/\/.vnode/lib/node_modules/.hooks/preinstall**: ~~~ #/run/current-system/profile/bin/bash pkg_path=$PWD function patch_shebang() { file=$1 python_bin=`type -p python` python_bin=`type -p ruby` env_bin=`type -p env` bash_bin=`type -p bash` if [ -n "$env_bin" ]; then sed -i -uE "s|^#!.+/env|#!${env_bin}|" $file elif [ -n "$bash_bin" ]; then sed -i -uE "s|^#!.+/bash|#!${bash_bin}|" $file elif [ -n "$python_bin" ]; then sed -i -uE "s|^#!.+/bash|#!${python_bin}|" $file elif [ -n "$ruby_bin" ]; then sed -i -uE "s|^#!.+/bash|#!${ruby_bin}|" $file fi } files=`find $pkg_path -type f -exec grep -lE '^#!(.+ )' {} \;` for file in $files; do patch_shebang $file done ~~~ 5) Allow run ~~~ $ chmod a+rx /home//.vnode/node_modules/.hooks/preinstall ~~~ If everything it's ok, now run **npm install -g** and see this work's. For local packages just copy the hook to **myproject/node_modules/.hooks/preinstall**. Be libre