how to add module to kernel

Hi,i have to add 8712u module to kernel for my usb wifi key.i'm not really used at this( just done it on a gentoo), but as far as i know i have to recompile the kernel adding to module.i don't want to cross-compile because actually on main system i have a chain for cortex4, so i want to recompile it directly on rasp (this also will remove some complication), probably it will take ages

i've seen some arch guide, with suggest the use of "abs", but anyway i need the configuration file. I'm doing right? where i can download the configuration file used for the image, so i'm sure i won't forgot some module/patch/whatever?

git clone git://github.com/archlinuxarm/PKGBUILDs.gitcd PKGBUILDs/core/linux-raspberrypinano PKGBUILDUncomment make menuconfigmakepkg --Acs --asrootWhen builtpacman -U thefilenamesofthe2packagesbuiltMake sure you are updated before you try any of this

2 good and 2 bed news.good news: for a couple of hour my internet worked fine and i've downloaded updates and git repo.also i've found that r8712u module is already here. dunno if i'm luck or simply stupid (because haven't seen it)

bad news: i've tried to compile the kernel "just for fun", but i've got an error because of some parameter. I think because of gcc4.7, it has break many makefile also with 8086 package. me stupid haven't saved the error, now i'm gonna try to reproduce.

other bad news is that "modinfo r8712u" doesn't show my usb ID! it is there in my 64bit arch linux, but not in the rasp's one! fuuuuuu now i'm looking for a way to add alias without have to modify and recompile modules source (at this point i think i can mod the module source and just use "make module", right? but where? witch is the right folder! and i think i'll have to move the .ko from actual git folder to real one...)

sorry i'm a little noob with module and kernel, i feel better with java (where everything is done by someone else) or with micro-controller (where YOU do everything )

hi, i'm back again, with full internet, and rebuild started.find out i don't have to recompile the kernel but just the module... anyway i need the kernel source, so i'm also tring to recompile the kernel without mod (just for fun) and i still have error, now i'm applying the solution: http://archlinuxarm.org/forum/viewtopic.php?f=9&t=3058

hope it will work this time.

log of my mod to PKGBUILD:

* changed HTTPS into GIT (also HTTP works fine) (issued this but they say it is my fault, probabily bad openSsh configuration but i'll think about this later)* eliminated md5sum for file config (it fails form the last update, probably haven't been update, opened a issue)* removed -Wl from /etc/makepkg.conf (see link)

now i'm compiling, i'll keep you updated.thanks to mother nature it is not the first time i'm compiling a kernel (time ago also helped to make a LFS) hope this will help some noob and find out some error (or at least some dependence) in pkg

Are you sure the driver isn't loaded, dmesg might give a clueIn the event that it was loaded, methods you are using and config files would helpOr if you want an easy way of connecting to known ssid, and wired to work as well if there, ask here

pepedog wrote:Are you sure the driver isn't loaded, dmesg might give a clueIn the event that it was loaded, methods you are using and config files would helpOr if you want an easy way of connecting to known ssid, and wired to work as well if there, ask here

rfkill - Linux Wirelesswireless.kernel.org/en/users/Documentation/rfkillrfkill is a small tool to query the state of the rfkill switches, buttons and ... Release tarballs of rfkill are available from http://wireless.kernel.org/download/rfkill/.3.10. RFKill - Red Hat Customer Portalaccess.redhat.com › ... › Power Management GuideThe RFKill core provides the application programming interface (API) for the subsystem. Kernel drivers that have been designed to support RFkill use this API to ...rfkill(1) - Linux man pagelinux.die.net/man/1/rfkillrfkill - tool for enabling and disabling wireless devices ... help: Show rfkill's built-in help text. event: Listen for rfkill events and display them on stdout. list: List the ...How to fix rfkill Issues « lkubuntulkubuntu.wordpress.com/2011/09/07/how-to-fix-rfkill-issues/Sep 7, 2011 – I recently tried making wireless work on a laptop, but I got problems with rfkill showing that it was hard blocked. In fact, the wireless switch was ...11.10 - What is RF-Kill? - Ask Ubuntuaskubuntu.com/questions/83657/what-is-rf-killNov 29, 2011 – Possible Duplicate: “SIOCSIFFLAGS: Operation not possible due to RF-kill”? what is RF Kill. & how do i fix it. enter image description here ...

(But I digress...)

Anyway, whenever I startup "wpa_supplicant", I get the following error messages (both on the screen and in syslog), but after that, everything seems to work fine, so I am inclined to just ignore these:

I am going to ask you to try a totally different method, it's simple and works

I assume you want wired and wireless to be dhcpcdInstall netcfg, when it installs it will talk about optional dependancies, install them too, probably all in one go-pacman -Sy wpa_supplicant iw wpa_actiond netcfg dialog ifplugd