I just bought a refurbished tower so I could dual-boot Windows and Linux. Dropped an old DVD of Suse 12.3 on there, but no make or patch commands were on the DVD. In order to connect to the internet, I’m attempting to connect a RealTek 8188 Wireless N USB adapter. I’ve followed the instructions (modified a bit to reflect updated versions and filenames) on the website http://ubuntuforums.org/showthread.php?t=2092934&p=12621449#post12621449. Unfortunately, at the last few steps of running the script patch_rtl8188C_8192C_usb_linux_v3.4.4_4749.20121105.sh I get the following error:
patch_rtl8188C_8192C_usb_linux_v3.4.4_4749.20121105.sh: line 6: patch: command not found
patch_rtl8188C_8192C_usb_linux_v3.4.4_4749.20121105.sh: line 7: make: command not found
patch_rtl8188C_8192C_usb_linux_v3.4.4_4749.20121105.sh: line 8: make: command not found
insmod: can’t read ‘./8192cu.ko’: No such file or directory
I downloaded the two tarballs for make and patch, but I believe I’m dropping/extracting them to the wrong location for them to work successfully with the script. Can someone shed some light on to where I should extract my two commands’ files?
I successfully downloaded and Zyppered the appropriate make and patch and kernel files, but I’ve run into a new error. I believe it’s telling me I need the gcc packages, but there are so many I don’t know where to start. Am I interpreting this error correctly?
*rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/clean
patching file core/rtw_mp.c
Hunk #1 FAILED at 1140.
1 out of 1 hunk FAILED -- saving rejects to file core/rtw_mp.c.rej
patching file include/osdep_service.h
Hunk #1 succeeded at 811 (offset 711 lines).
Hunk #2 FAILED at 136.
Hunk #3 FAILED at 574.
Hunk #4 succeeded at 1815 (offset 985 lines).
2 out of 4 hunks FAILED -- saving rejects to file include/osdep_service.h.rej
patching file os_dep/linux/os_intfs.c
Hunk #1 FAILED at 797.
1 out of 1 hunk FAILED -- saving rejects to file os_dep/linux/os_intfs.c.rej
patching file os_dep/osdep_service.c
Hunk #1 succeeded at 2298 with fuzz 1 (offset 745 lines).
make ARCH=i386 CROSS_COMPILE= -C /lib/modules/3.7.10-1.1-desktop/build M=/home/Nick/Downloads/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911 modules
make[1]: Entering directory `/usr/src/linux-3.7.10-1.1-obj/i386/desktop'
/usr/src/linux-3.7.10-1.1/scripts/gcc-version.sh: line 25: gcc: command not found
/usr/src/linux-3.7.10-1.1/scripts/gcc-version.sh: line 26: gcc: command not found
make[3]: gcc: Command not found
CC [M] /home/Nick/Downloads/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_cmd.o
/bin/sh: gcc: command not found
make[4]: *** [/home/Nick/Downloads/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_cmd.o] Error 127
make[3]: *** [_module_/home/Nick/Downloads/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-3.7.10-1.1-obj/i386/desktop'
make: *** [modules] Error 2
install -p -m 644 8192cu.ko /lib/modules/3.7.10-1.1-desktop/kernel/drivers/net/wireless/
install: cannot stat ‘8192cu.ko’: No such file or directory
make: *** [install] Error 1
insmod: can't read './8192cu.ko': No such file or directory*
Hi
So the patch needs rebasing (all those FAILED lines) which won’t be helping… most packages should be on the DVD or is this a live CD?
As in the code it’s trying to patch doesn’t exist where it’s expecting it, therefore it needs the src files edited with the changes in the righ places and the patch re-created.
Since this is a very old version of openSUSE beyond active support,
Maybe you’d want to consider downloading at least the 13.1 and 13.2 DVDs and upgrade to a current supported version?
The hope and assumption is that just upgrading to 13.1 should enable support for your wireless adapter (no guarantee).
Later versions of openSUSE will install later kernels which include support for more hardware.