Installing router keygen on openSUSE 13.2

Recently I installed the software for generate default WPA/WEP keys on Linux openSUSE 13.2

I downloaded the software from the GitHub repository.

Because the INSTALL file only describe about how install under Debian/Ubuntu enviroments, I found what packages are equivalents on openSUSE. First detail, you need to compile the software, there is not pre-compiled packages for openSUSE.

I created a simple simple script called router-keygen-depens.sh, here the content:

linux-u87j:~ # cat router-keygen-depens.sh
#!/bin/bash
zypper install -t pattern devel_basis
zypper install libqt5-qtbase-devel libqt5-qtdeclarative-devel libqt5-qtquickcontrols libqt5-qtgraphicaleffects libqt5-qtscript-devel libnm-gtk-devel libqt5-qttools-devel
zypper install libopenssl-devel cmake rpmbuild
ln -s /usr/bin/lrelease-qt5 /usr/bin/lrelease

The last symbolic link is important.

After, I unzip the downloaded software:

unzip routerkeygenPC-master.zip
cd routerkeygenPC-master

Before we proceed to compile the software, you need to edit the file called build_linux.sh and edit the line 19 with the # symbol.

grep -n lintian build_linux.sh
19: #lintian routerkeygen-1.1.0-Linux-x86_64.deb

After just run the script:

./build_linux.sh

if all was fine you will have installed the router keygen software on your openSUSE box. Just run it:

/usr/bin/routerkeygen

Regards

Leave a Reply

Your email address will not be published. Required fields are marked *