gasineo

Respostas no Fórum

Visualizando 4 posts - 1 até 4 (de 4 do total)
  • Autor
    Posts
  • em resposta a: Como fazer a migração do endian 2.3 para a vesão 2.4? #5113
    gasineo
    Participante

    #!/bin/bash

    function upgrade {

    smart update && smart upgrade -y

    if ! rpm -q efw-community &>/dev/null; then

    smart install efw-community -y

    fi

    }

    function setup-channels {

    echo “Please choose the appropriate channel for your environment and hit [ENTER]:”

    echo “1) Production (stable releases)”

    echo “2) Development (bleeding edge)”

    read CHANNEL_CHOICE

    case $CHANNEL_CHOICE in

    “1”)

    CHANNEL=”stable”;;

    “2”)

    CHANNEL=”devel”;;

    *)

    setup-channels;;

    esac

    echo “Please enter your username and hit [ENTER]:”

    read USERNAME

    if [ $USERNAME ]; then

    smart channel –remove-all -y

    smart channel –add efw-community baseurl=”http://$USERNAME:community@updates.endian.org/$CHANNEL/”

    type=rpm-md -y

    else

    echo “ERROR: username is required”

    fi

    }

    if [ “$1” == “-s” ]; then

    setup-channels

    elif [ “$1” == “-h” ]; then

    echo ${0##/*}” Usage:”

    echo “/${0##/}”

    echo “Using -s force setup the channels and upgrade.”

    echo “Using -h show this help.”

    exit

    fi

    if [ smart channel --show | grep efw-community ]; then

    upgrade

    exit 0

    else

    setup-channels

    upgrade

    fi


    Wireguard_webadmin

    Sistema gratuito (Open Source) para gestão de VPN's WireGuard com uma Web interface intuitiva e fácil de usar.

    Principais funcionalidades:

    - Sistema de Firewall completo e flexível.
    - Encaminhamento de portas
    - Suporte a multi usuário com níveis diferentes de acesso
    - Múltiplas instâncias do Wireguard
    - Crypto key routing para configuração de VPN site-to-site

    O projeto é Open Source, fácil de instalar e está disponível em wireguard_webadmin

    em resposta a: atualizacao do endian 2.3 para o 2.4 #4833
    gasineo
    Participante

    Boa noite pessoal!

    Tentei atualizar o meu e apareceu a seguinte mensagem:

    error: Channel has no type

    /usr/local/bin/efw-upgrade: line 31: -y: command not found

    Loading cache…

    Updating cache… #################################################################### [100%]

    Updating cache… #################################################################### [100%]

    Channels have no new packages.

    Loading cache…

    Updating cache… #################################################################### [100%]

    Computing transaction…

    No interesting upgrades available.

    Já editei o script pra remover o “-y” na linha 31 e mesmo assim nada!

    Alguém que já conseguiu poderia me passar o script pra ver se tem alguma diferença com o meu?

    Uso a versão 2.3.

    Obrigado!

    em resposta a: Como fazer a migração do endian 2.3 para a vesão 2.4? #5111
    gasineo
    Participante

    Boa noite galera!

    Executei o comando “efw-upgrade -s”, inseri as informações solicitadas e aparece um erro:

    error: Channel has no type

    /usr/local/bin/efw-upgrade: line 31: -y: command not found

    Loading cache…

    Updating cache… #################################################################### [100%]

    Updating cache… #################################################################### [100%]

    Channels have no new packages.

    Loading cache…

    Updating cache… #################################################################### [100%]

    Computing transaction…

    No interesting upgrades available.

    Não consigo atualizar meu EFW via comando!

    em resposta a: Não consigo redirecionar portas. #4147
    gasineo
    Participante

    Já vi esse tópico e não me ajudou, tanto que postei exatamente as informações solicitadas nele.

Visualizando 4 posts - 1 até 4 (de 4 do total)