I got error, when tried to install Realtek RTL8188SU

I’ve got a ASUS WL-167G V3 Adapter Wireless-N. But I can’t to use it. Look at this:


lsusb
Bus 001 Device 002: ID 0b05:1791 ASUSTek Computer, Inc. WL-167G v3 802.11n Adapter [Realtek RTL8188SU]

Immediately I wanna say, that I’m newbie in Linux. This’s my second attempt of usage linux(the first attempt was Linux Mint). I try install drivers for my Asus Network adapter. I downloaded this: RTL819xSU_usb_linux_v2.6.6.0.20120405.zip
I extracted it, and try to do following command:

 sh install.sh 
##################################################
Realtek Wi-Fi driver Auto installation script
Novembor, 21 2011 v1.1.0
##################################################
Decompress the driver source tar ball:
    rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405.tar.gz
rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/
rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/autoconf_rtl8712_usb_linux.h
rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/clean
rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/
....
rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/xmit/rtl8712_xmit.c
rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/xmit/rtl871x_xmit.c
rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405
Authentication requested [root] for make clean:
Password: 
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
rm .tmp_versions -fr ; rm Module.symvers -fr
cd cmd ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko 
.....
cd xmit; rm -fr *.mod.c *.mod *.o .*.cmd *.ko 
cd efuse; rm -fr *.mod.c *.mod *.o .*.cmd *.ko 
Authentication requested [root] for make driver:
Password: 
make ARCH=i386 CROSS_COMPILE= -C /lib/modules/3.7.10-1.1-desktop/build M=/home/ermolaev/install/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405  modules
make: *** /lib/modules/3.7.10-1.1-desktop/build: No such file or directory.  Stop.
make: *** [modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################

What I need to do for work my wireless adapter?

Well, install the “Kernel Development” pattern (YaST->Software Management, click on “View” and choose “Patterns”). You seem to miss the necessary stuff to build kernel modules, in particular the package kernel-desktop-devel.
Then it might work.

But, which openSUSE version are you using?
According to the error message you seem to have kernel 3.7.10, this would indicate openSUSE 12.3. But this is out of support since a month.
So you probably should consider upgrading (newer versions also have new hardware support, but your particular card is still not support OOB in 13.2 AFAICT).

If you still cannot build that driver (which is quite old apparently, from 2012), you could try this one:

Should work with openSUSE 13.2 OOB:

modprobe -c | grep -i "0b05.*1791"
alias usb:v0B05p1791d*dc*dsc*dp*ic*isc*ip*in* r8712u
modinfo r8712u
filename:       /lib/modules/3.16.7-7-desktop/kernel/drivers/staging/rtl8712/r8712u.ko
firmware:       rtlwifi/rtl8712u.bin
author:         Larry Finger
description:    rtl871x wireless lan driver
license:        GPL

Also with kernel 3.16.6-2.

Only install kernel-firmware.

Ah, right. I overlooked that it is supported by r8712u already.
wireless.kernel.org states:

r8712u is a USB driver for RTL8712U/RTL8192SU devices, it’s going to be replaced by rtl8192su.

I only saw the rtl8192su (which is not yet included in the kernel package, not even in Factory), not the r8712u…:\

But according to https://wiki.debian.org/rtl819x#r8712u r8712u should already support the RTL8192SU in kernel 3.2.41, so definitely in 12.3 (and up) as well. I just checked and it is indeed part of the 3.7.10 kernel package of 12.3.
The question is how well it works (if at all)…

@ermolaev: why are you trying to install a driver in the first place?
Does your device not work out of the box? (and what are the symptoms?)

Better first check whether kernel-firmware is installed (install it if not), and check whether NetworkManager is enabled in YaST->Network Devices->Network Settings->Global Options. Without that your desktop won’t show any networks at all, because the desktop applets are just frontends to NetworkManager.

You can use the default ifup for wireless as well, but then you have to configure the connection in YaST.