Category Archives: openSUSE

kernel Linux openSUSE Wireless

Compiling the wireless module “broadcom-wl” for kernel 4.x under openSUSE 13.2

This weekend I was trying to compile the broadcom-wl src package for kernel 4.0.5-4 under my openSUSE 13.2 installed on my Mac Book Air 13″ (dual boot). After I updated my Linux box the wireless was a mess, it left to work.

I decided to compile the module from sources.

First, I downloaded all its dependencies with:
zypper source-install -d broadcom-wl-kmp-desktop

Second I got the source RPM package broadcom-wl- from here.

After I tried to rebuild the package with the command rpmbuild (you need to install it if you don’t have it).
rpmbuild --rpbuild broadcom-wl-

But I was getting this error message:

rpmbuild --rebuild broadcom-wl-
Installing broadcom-wl-
cat: /usr/src/packages/SOURCES/broadcom-wl-preamble: No such file or directory
cat: /usr/src/packages/SOURCES/broadcom-wl-preamble: No such file or directory
cat: /usr/src/packages/SOURCES/broadcom-wl-preamble: No such file or directory
cat: /usr/src/packages/SOURCES/broadcom-wl-preamble: No such file or directory
error: File /usr/src/packages/SOURCES/hybrid-v35_64-nodebug-pcoem-6_30_223_248.tar.gz: No such file or directory

I found I need some additional files. I got them from here. I just need the files: broadcom-wl-preamble and hybrid-v35_64-nodebug-pcoem-6_30_223_248.tar.gz, I downloaded them.

After I downloaded them, I copied them to correct path:
mv ~/Download/broadcom-wl-preamble /usr/src/packages/SOURCES/
mv ~/Download/hybrid-v35_64-nodebug-pcoem-6_30_223_248.tar.gz /usr/src/packages/SOURCES/

I tried again to rebuild the package:

rpmbuild --rebuild broadcom-wl-

This time, all it’s fine.

The new RPMS built was generated on /usr/src/packages/RPMS/x86_64. I just only need to install them:

rpm -i /usr/src/packages/RPMS/x86_64/broadcom-wl-kmp-desktop- /usr/src/packages/RPMS/x86_64/broadcom-wl-

That’s it. Just I need to load the kernel module:

modprobe wl

It’s works. The wireless “Network controller: Broadcom Corporation BCM4360 802.11ac Wireless Network Adapter” it’s working now.


openSUSE Routers

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, here the content:

linux-u87j:~ # cat
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:

cd routerkeygenPC-master

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

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

After just run the script:


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



Corkscrew HTTP Proxy Linux openSUSE Proxy ProxyCommand

SSH through HTTP proxies

I’m working with a client who only has a HTTP Proxy to output to Internet. It’s very restrictive but it works.

Under openSUSE 13.1 the browsers (firefox and chrome) work fine. The main problem comes when I try to do a SSH session to outside server.

The solution for me was to use Corscrew and the ProxyCommand.

I added the following line to ~/.ssh/config file:

ProxyCommand /usr/local/bin/corkscrew 80 %h %p

where is the proxy server and 80 is the port of the same proxy.

Optionally you can add a username/password for the HTTP Proxy.

ProxyCommand /usr/local/bin/corkscrew 80 %h %p ~/.ssh/proxyauth

Your login credentials should be in ~/.ssh/proxyauth in format:




Gnome Linux openSUSE

How to disable touchpad tapping when typing on keyboard

After I installed openSUSE 13.1 on a Dell Inspiron 5537 I had problems with the video to have the max. resolution 1366×768. The YaST just recognized 1024×768. I had to create a /etc/X11/xorg.conf file (if it doesn’t exist) and to add specific custom modelines. Here my file /etc/X11/xorg.conf:

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
Modeline "1366x768" 76.75 1366 1414 1446 1618 768 771 776 790 +hsync -vsync
Modeline "1366x768" 51.16 1366 1414 1446 1618 768 771 776 790 +hsync -vsync

After I restarted the X server I got the correct resolution.

Another thing I had problems was the TouchPad, when I used the keyboard but if I tap the touchpad accidentaly the cursor was moved. I fixed it on Gnome-Control-Center->Mouse & Touchpad, uncheck “Tap to click” and check “Disable while typing”. With both options checked the behaviour is that the touchpad keeps working.