Please help! Building linux-wlan package for LinkSys WIFI Card!
Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Please help! Building linux-wlan package for LinkSys WIFI Card!
I have recently obtained a linux-wlan package that I need to build in order to get a LinkSys WIFI Card working (802.11b). However, towards the end of the configuration prompt, I'm prompted with where the linux whatever is (Source of Linux (/usr/src/linux). I'm not sure but I really need to get this thing configured. Could someone please help here. I'm not even sure how to describe the problem, but what I need is how to build the package so that I get my LinkSys WIFI Card working on Slackware. Thanks.
It's looking for the kernel source, (more than likely just the kernel source header files: *.h files) this package should be part of your distribution. Depending on how your kernel was compiled, it may also need the pcmcia-cs source/headers as well, this should also be part of your distro.
Also, I'm pretty sure that module is a normal part of most distributions, are you sure you need to compile it yourself?
In the instructions that I got off a site somewhere, it said I needed the configured kernel source (for slackware in this case). It said that this'd be the resulting tree after building my own kernel which would be done by running make config, menuconfig, or xconfig. Now from a 's standpoint, I have no idea what it's talking about, about the tree or whatever. I know that once I get this part done, it's smooth sailing from there (or at least it should be). I just need to find out where the kernel is in slackware now.
oops, sorry bout the pcmcia stuff, I guess I'm just steeped in it...
Anyway, if you're using the bare.i kernel (eg; you elected to go with the same kernel you installed slackware with, then you should be able to use pkgtool or installpkg to install the kernel source. I would not recommend you explore compiling a kernel just yet, maybe as a very last resort. Slackware (at least v9.0) separates kernel source and kernel headers in their packaging, so I recommend just installing the headers as they are a lot smaller.
Ahh!! Will someone please show me step by step how to do this?? I can't get it right. I downloaded slack kernel source, make configed that, then did the linux wlan package make config using the source location, and I can't make all and make install. Gives me error 2 something something whatever. I got a readme off of ftp.linux-wlan.org/pub/linux-wlan-ng/README but I seem to be too stupid to get it right the first time. Someone wanna help me out, please?
I am using Slackware 9.0 on a notebook with a Netgear MA401 pcmcia wireless nic and using the linux-wlan prism2 module. After reading your post, I have the impression you tried to recompile the kernel, which you should not need to do. The linux-wlan modules, as with most other compilable modules, simply needs the kernel source present to compile. This is how I did it, step by step (you need to be root):
I added "alias wlan0 prism2_pci" to /etc/modules.conf and I add the DNS to /etc/resolv.conf
When I boot, the two wlanctl-ng operations in boot.local return a "success"
I login and I try to ping 192.168.0.1 but it says Destination Host Unreachable
I type iwconfig and this is what I get
wlan0 IEEE 802.11-b ESSID:"MONTAG" Nickname:"MONTAG"
Mode:Auto Frequency:2.462Ghz Access Point: 00:00:00:00:00:00
Bit rate:2Mb/s Tx-Power: -874700980 dBm
retry min limit:8 RTS thr: off Fragment thrff
Encryption keyff
Link Quality:44/92 Signal level -65 dBm Noise level:-97 dBm
Rx invalid nwid: 0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc: 0 Missed beacon:0
So it was able to pull in the SSID "MONTAG" and had an average link quality, but why is the access point all zeros?? How about the Tx-power, isn't that an odd number too?
When I run /sbin/wlancgf query wlan0 it just stalls.
ok, I gave up on SuSE for now, maybe I'll wait till SuSE 9.0 and try again. I installed Mandrake 9.2beta1 and I got the wireless working almost right away.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.