Giter Site home page Giter Site logo

winbox-installer's Introduction

winbox-installer

A simple helper script to install Mikrotik's Winbox in GNU/Linux

Feature:

  1. Supported GNU/Linux distributtions: Debian, Ubuntu, Elementary OS, Zorin OS, Linux Mint, Kali Linux, Fedora, RHEL, CentOS, IGOS Nusantara, Archlinux
  2. Installs wine
  3. Upgrades wine (from the distribution's repo) to a newer version (only for Fedora, RHEL, CentOS, IGN)
  4. Menu entry in the application launcher
  5. Latest winbox from https://mikrotik.com/download

How to install:

Copy and paste this commands to your terminal:

  1. cd /tmp
  2. git clone https://github.com/mriza/winbox-installer.git
  3. cd winbox-installer
  4. sudo ./winbox-setup install OR sudo bash winbox-setup install

Firewall setting:

On Fedora/CentOS/Redhat, if you experience neighbor discovery problems, open the port in the firewall ( thanks @yrubdab )

firewall-cmd --permanent --add-port=5678/udp

firewall-cmd --reload

Icon cache in GTK based desktop:

Optional step for GTK based desktop, if the icon is not loaded or loaded with wrong size. Update icon cache with this command:

gtk-update-icon-cache -f -t /usr/share/icons/hicolor

How to remove:

If you want to remove winbox, just run this command:

sudo ./winbox-setup remove OR sudo ./winbox-setup remove

winbox-installer's People

Contributors

aminvakil avatar leleobhz avatar mriza avatar sefiech avatar shaunmaher avatar tanvir-kx avatar thomasstevenson avatar zeridon avatar zoilomora avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

winbox-installer's Issues

Installer doesnt work on Ubuntu 18.04

user@hostname:~$ cd /tmp
user@hostname:/tmp$ git clone https://github.com/mriza/winbox-installer.git
Klone nach 'winbox-installer' ...
remote: Counting objects: 80, done.
remote: Compressing objects: 100% (22/22), done.
remote: Total 80 (delta 13), reused 8 (delta 3), pack-reused 55
Entpacke Objekte: 100% (80/80), Fertig.
user@hostname:/tmp$ cd winbox-installer/
user@hostname:/tmp/winbox-installer$ sudo ./winbox-setup install
./winbox-setup: 137: ./winbox-setup: [[: not found
./winbox-setup: 53: ./winbox-setup: [[: not found
Downloading Winbox..../winbox-setup: 60: ./winbox-setup: cannot open 60: No such file
./winbox-setup: 60: ./winbox-setup: [[: not found
DONE
Copying files..../winbox-setup: 72: ./winbox-setup: [[: not found
FAILED
user@hostname:/tmp/winbox-installer$ ls
icons License.md LICENSE.md README.md winbox.exe winbox-setup winbox.sh

When i use it wit bash:

user@hostname:/tmp/winbox-installer$ sudo bash ./winbox-setup install
Using previously downloaded winbox.exe
Copying files...DONE
Creating application launcher...DONE

Please fix the Readme.md and at the bash

OpenSUSE

Can you add support for opensuse?

Add curl as a dependency in the README file

Hello there,

I tried to run this script on a bran new installation of ubuntu 18.04 and by default curl isn't installed. Maybe adding this info to the README file will help others.

Thanks!

winbox.sh

I think that there is no procedure which create winbox.sh

Fonts

Also need to install the appropriate fonts?

Script not install correct wine

System: Host: pzc Kernel: 4.15.0-20-generic x86_64 bits: 64 compiler: gcc v: 7.3.0
Desktop: Cinnamon 4.0.9 wm: muffin dm: LightDM Distro: Linux Mint 19.1 Tessa
base: Ubuntu 18.04 bion

ic

toper@pzc:/usr/local/bin$ ./winbox.sh it looks like wine32 is missing, you should install it. as root, please execute "apt-get install wine32" it looks like wine32 is missing, you should install it. as root, please execute "apt-get install wine32" wine: Ошибка в формате EXE для Z:\usr\local\bin\winbox.exe.

afther install wine32 its work normal

Maybe bash not sh

I have changed the first line to #!/bin/bash
If not, there are some errors executing it.
I think is BASH nor SH

Thanks

Firewall

On fedora/CentOS/Redhat

firewall-cmd --permanent --add-port=5678/udp
firewall-cmd --reload

Helps for discovering neighbours

Script specifies /bin/sh, but then uses bash-specific syntax

The first line of the install script specifies #!/bin/sh, but then it uses bash-specific syntax like if [[ (the proper sh supports only [).

The way it is now, the script works only on systems where /bin/sh is a symlink to bash. On systems that have a true sh, or where /bin/sh is a symlink to some other shell, the installer script fails. For example, for me on Linux Mint 19, where /bin/sh is a symlink to dash, it fails.

Either change the shebang line to #!/bin/bash so that the script runs on a shell that supports its syntax; or change the syntax of the script to make less assumptions about the shell.

Doesn't work on Arch

The command pacman -Sq wine doesn't work as wine isn't in default arch repos (core, extra, community).

It's on multilib repo. I'm going to install it on my arch myself and then update this issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.