Csanyi Pal, 3.02.2014: > Csanyi Pal <csanyi...@gmail.com> writes: > > > Csanyi Pal <csanyi...@gmail.com> writes: > > > >> Scott Ferguson <scott.ferguson.debian.u...@gmail.com> writes: > >> > >>> On 02/02/14 09:14, Csanyi Pal wrote: > >>>> Scott Ferguson <scott.ferguson.debian.u...@gmail.com> writes: > >>>> > >>>>> On 01/02/14 21:57, Csanyi Pal wrote: > >>>>>> Scott Ferguson <scott.ferguson.debian.u...@gmail.com> writes: > >>>>>> > >>>>>>> On 31/01/14 04:53, Csanyi Pal wrote: > >>>>>>>> > >>>>>>>> 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. > > > > It's done ( after 8 houers ): > > > > sudo dpkg -i bubba3-kernel-headers-powerpc_2.6.39.4-13_powerpc.deb > > bubba3-kernel_2.6.39.4-13_powerpc.deb > > (Adatbázis olvasása ... 76193 files and directories currently > > installed.) > > bubba3-kernel-headers-powerpc 1:2.6.39.4-13 cseréjének előkészítése (e > > csomaggal: bubba3-kernel-headers-powerpc_2.6.39.4-13_powerpc.deb) ... > > Csere kicsomagolása: bubba3-kernel-headers-powerpc ... > > Selecting previously unselected package bubba3-kernel. > > dpkg: considering removing bubba-kernel in favour of bubba3-kernel ... > > dpkg: yes, will remove bubba-kernel in favour of bubba3-kernel > > Kicsomagolás: bubba3-kernel innen: bubba3-kernel_2.6.39.4-13_powerpc.deb > > ... > > Beállítás: bubba3-kernel-headers-powerpc (1:2.6.39.4-13) ... > > Beállítás: bubba3-kernel (1:2.6.39.4-13) ... > > WARNING: could not open /lib/modules/2.6.39.4-13/modules.builtin: No > > such file or directory > > > > Well, about this WARNING at the end: is this serious? > > > > Should I reboot my Bubba box now safely? > > I did the followings. > > 1. > dget -xu \ > http://b3.update.excito.org/pool/main/l/linux/linux_2.6.39.4-13.dsc > > 2. > cd linux-2.6.39.4/ > > 3. > make menuconfig > > 4. > Load the default excito configuration: From the menu, select Load an > Alternate Configuration File and enter the following path: > arch/powerpc/configs/bubbatwo_defconfig > > 5. > I customize the kernel so I included the rtl8192cu driver as a Module. > The resulting configuration are placed in > arch/powerpc/configs/bubbatwo_defconfig > > 6. > dpkg-buildpackage -us -uc -b -apowerpc > > 7. > I get the resulting two packages in the parent directory: > bubba3-kernel_2.6.39.4-13_powerpc.deb > bubba3-kernel-headers-powerpc_2.6.39.4-13_powerpc.deb > > 8. > I installed these packages with the command: > sudo dpkg -i \ > bubba3-kernel-headers-powerpc_2.6.39.4-13_powerpc.deb \ > bubba3-kernel_2.6.39.4-13_powerpc.deb > > > I investigate a little and found that that the > /lib/modules/2.6.39.4-13/build/drivers/net/wireless/rtlwifi/rtl8192cu/ > > directory is empty..
Shouldn't you be looking in /lib/modules/2.6.39.4-13/kernel/drivers/net/wireless/rtlwifi/rtl8192cu/ ^^^^^^ Do you have a module there? > I don't understand the followings, quoted from the forum here: > http://forum.excito.net/viewtopic.php?f=9&t=4744 > > <quote> > Are you compiling on the B2 itself? I had a similar issue with one of my > first projects. The modules directory should contain a symlink to the > kernel source ( build -> ../../../usr/src/linux ). Obviously this means > you need to have the source and it needs to be prepared. > </quote> > > What missed I here? That looks like it's about getting compilation errors, but you seem to have compiled fine so I don't think it's relevant. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20140211193240.gb13...@cs.utexas.edu