[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Wireless AP setup: RTL8188CUS



Scott Ferguson <scott.ferguson.debian.user@gmail.com> writes:

> On 02/02/14 09:14, Csanyi Pal wrote:
>> Scott Ferguson <scott.ferguson.debian.user@gmail.com> writes:
>> 
>>> On 01/02/14 21:57, Csanyi Pal wrote:
>>>> Scott Ferguson <scott.ferguson.debian.user@gmail.com> writes:
>>>>
>>>>> On 31/01/14 04:53, Csanyi Pal wrote:
>>>>>> Hi,
>>>>>>
>>>>>> I just bought an USB dongle nano Netis WF-2120 adapter.
>>>>>> I want to set it up on my headless Debian Wheezy server as a Wireless
>>>>>> Access Point. 
>>>>>>
>>> <snipped>
>>>>>>
>>>>>> However, I can't find the installed driver, and I don't know how can I
>>>>>> load it as a kernel module? 
>>>>>>
>>>>>
>>>>>
>>>>> Had you read this wiki page about that chipset?
>>>>> https://wiki.debian.org/rtl819x
>>>>
>>>> Yes, I had. There I found that that my USB Wifi adapter is supported:
>>>>
>>>> when I plug in the WiFi usb adapter, lsusb shows the following:
>>>> Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS
>>>> 802.11n WLAN Adapter
>>>>
>>>> and on the webpage https://wiki.debian.org/rtl819x there is this davice
>>>> listed:
>>>>
>>>> USB: 0BDA:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN
>>>> Adapter 
>>>>
>>>> On the web page: https://wiki.debian.org/rtl819x there I found the
>>>> following information:
>>>>
>>>> rtl8192cu (supported devices)
>>>>
>>>>  Supports USB devices based on the RTL8188CUS and RTL8192CU chips.
>>>>
>>>>  Introduced in Linux 2.6.39, enabled at 
>>>>  linux-2.6  2.6.39~rc7-1~experimental.1. 
>>>>
>>>> So now what should I do to get this USB Wifi adapter works?
>> 
>>> Did you install the matching headers? 
>> 
>> I did install the linux-headers-2.6-powerpc.
>> 
>>> Do you get a match on the chipset series when greping through the
>>> likely modules after piping through string? 
>> 
>> When I run 'make menuconfig' in the kernel source directory, I found the
>> Realtek RTL8192CU/RTL8188CU USB Wireless Network Adapter
>> module
>> 
>> in the 
>> 
>> Linux/powerpc 2.6.39.4-4 Kernel Configuration / \
>>  Device Drivers / Network device support / Wireless LAN 
>> 
>> In menuconfig I saved the setup in to .config file.
>> 
>> But when I run after 'make menuconfig' the 'make' command, I get
>> error message: 
>> 
>> arch/powerpc/kernel/align.c: In function ‘fix_alignment’:
>> arch/powerpc/kernel/align.c:704:33: error: variable ‘instruction’ set
>> but not used [-Werror=unused-but-set-variable]
>> cc1: all warnings being treated as errors
>> make[1]: *** [arch/powerpc/kernel/align.o] Error 1
>> make: *** [arch/powerpc/kernel] Error 2
>> 
>> What could be the problem here?
>> 
>
>
> Sorry (again). But I don't have clue.
> I can tell you how to suppress the warning (--disable-werror):-
> http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
>
> but not how to fix the problem that generates it.

I'm trying to fix this problem with installing gcc-4.4 on my Debian
Wheezy system.

Now when I have installed the gcc-4.4, I made a symbolic link:
ls -l /usr/bin/gcc
lrwxrwxrwx 1 root root 16 febr   2 06:34 /usr/bin/gcc -> /usr/bin/gcc-4.4

The gcc symbolic link are linked before this to the /usr/bin/gcc-4.6.

Now I'm running the 'make' command in the kernel source file with the
.config setup file. Sofar it is successfull, but it is ongoing yet. I'm
waiting the make command to terminate successfull.

-- 
Regards from Pal


Reply to: