SlackwareThis Forum is for the discussion of Slackware 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.
I'm trying to setup a USB wireless card (Linksys WUSB11 v2.5) on my Slackware 10.2 box. I've finally gotten the linux-wlan-ng package to compile for my kernel, but I'm stumped when it comes to getting the darned thing to work. I've found various stuff online, all of which is for a different init system. For example, being told to edit the /etc/sysconfig/network-scripts/ifcfg-eth0 when I should really be editing /etc/rc.d/rc.inet1.conf, right?
So far, the card is plugged in and the prism2_usb module is loaded. wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable responds
i use ndiswrapper for my usb wireless, works perfect, might want to try that.
i haven't googled that card so i don't know if it is a kernel supported device.
The main problem with linux-wlan-ng is that it really doesn't use the normal wireless tools for configuring the card. However, Slackware (and pretty much every other distro) does use wireless tools for configuring wireless cards. My understanding is that part of the linux-wlan-ng package is its own set of configuration tools. Since I've never used it, I'm afraid that all I can say is you're going to have to read the documentation on how to configure.
Yes, wlanctl-ng is linux-wlan-ng's configuration tool. Unfortunately, it's not working.
My card has a Prism2/2.5/3 chipset, so it should be supported by both linux-wlan-ng and wireless tools/extensions. So how can I get my card to work with wireless tools? It's like it's not actually reaching the USB, like it doesn't know where the card actually is or something.
Can somebody using wireless tools post their working rc.inet1.conf?
My card has a Prism2/2.5/3 chipset, so it should be supported by both linux-wlan-ng and wireless tools/extensions
.
One of us is missing something here. The wireless tools interact with a driver (kernel module) and in this case it is linux-wlan-ng. Since that driver doesn't use wireless tools, you would have to use a different driver in order for this to work. As long as you are using linux-wlan-ng, you probably can't use wireless tools. From reading your thread, I'm assuming that you don't have a different driver. Is that right or is there another driver?
No, I wasn't aware there was another driver unless I use a Window driver with ndiswrapper. That option is looking better and better, but I heard ndiswrapper doesn't always support all of the wireless tools functions.
Okay, I must say ndiswrapper was very nice and easy. I can load the driver (I think) and view it's settings with ifconfig and iwconfig. Unfortunately, my setup seems a little screwy. I can't change the frequency from 24.37 MHz. It doesn't seem to be getting an IP from the router's DHCP (the ethernet still does).
Dmesg after modprobing ndiswrapper:
Quote:
ndiswrapper version 1.7 loaded (preemt=no,smp=no)
ndiswrapper: driver lswlusb (Linksys,) loaded
wlan: vendor: 'Instant Wireless USB Network Adapter ver.2.5'
wlan0: ndiswrapper ethernet device 00:06:25:xx:xx:xx using driver lswlusb, 066B:2212.F.conf
ndiswrapper (set_auth_mode:686): setting auth mode to 3 failed (C0010015)
wlan0: encryption modes supported: none
usbcore: registered new driver ndiswrapper
This could mean the driver doesn't really work, right? It's the one from the Linksys website. My card isn't listed on the ndiswrapper wiki, so I'll try to find another driver and see how that goes.
the ndiswrapper website lists chipsets and where you should get the drivers from.
the driver from link sys may not work because it may be hacked by link sys. it is best to get the basic driver from the chipset vendor
Intersil, who made the chipset doesn't appear to offer drivers. I found a different driver from Linksys that appears to work at least slightly better. For one thing, my frequency is right.
How can I get the DHCP to recognize my wlan0 and issue an IP?
--
Edit:
Okay, dhcpcd was only running for eth0, but not wlan0 as well. A simple `dhcpcd wlan0` fixes that. Slackware should change their init scripts to it runs dhcpcd for every interface.
Thank you guys for all this help; I've been through several headaches, but it's working! *happy dance*
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.