LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-14-2005, 09:05 PM   #1
Tylerious
Member
 
Registered: Feb 2005
Location: USA
Distribution: Gentoo
Posts: 72

Rep: Reputation: 15
Wireless USB init, Slackware style


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
Quote:
message=lnxreq_ifstate
ifstate=enable
resultcode=implementation failure
My kernel messages when I modprobe prism2_usb are:
Quote:
prism2usb_init: prism2_usb.o 0.2.3 Loaded
prism2usb_init: dev_info is: prism2_usb
usbcore: registered new driver prism2_usb
hfa384x_usbctlx_complete_sync: CTLX[1] error: state(Request failed)
hfa384x_drvr_start: cmd_initialize() failed, result=5
prism2sta_ifstate: hfa384x_drvr_start() failed,result=5
I also have a PCI ethernet card setup (eth0), so my /etc/rc.d/rc.inet1.conf looks like this:
Code:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""

IFNAME[4]="wlan0"
USE_DHCP[4]="yes"
WLAN_ESSID[4]=mynetwork
WLAN_MODE[4]=Managed
Sorry, such a long post. If there's anything else needed, please ask. I'll really appreciate any help.
 
Old 12-14-2005, 11:22 PM   #2
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
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.
 
Old 12-15-2005, 07:30 AM   #3
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,780
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
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.
 
Old 12-15-2005, 07:46 AM   #4
Tylerious
Member
 
Registered: Feb 2005
Location: USA
Distribution: Gentoo
Posts: 72

Original Poster
Rep: Reputation: 15
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?
 
Old 12-15-2005, 11:54 AM   #5
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,780
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Quote:
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?
 
Old 12-15-2005, 02:45 PM   #6
Tylerious
Member
 
Registered: Feb 2005
Location: USA
Distribution: Gentoo
Posts: 72

Original Poster
Rep: Reputation: 15
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.
 
Old 12-15-2005, 03:00 PM   #7
teckboy1243
LQ Newbie
 
Registered: Mar 2005
Distribution: arch linux, slackware,FreeBSD
Posts: 15

Rep: Reputation: 0
Ndiswrapper = Good

I use ndiswrapper for my linksys WMP11 card is it works perfectly. I haven't expericened any loss of wifi tools
 
Old 12-15-2005, 08:21 PM   #8
Tylerious
Member
 
Registered: Feb 2005
Location: USA
Distribution: Gentoo
Posts: 72

Original Poster
Rep: Reputation: 15
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.
 
Old 12-15-2005, 08:29 PM   #9
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
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
 
Old 12-15-2005, 09:38 PM   #10
Tylerious
Member
 
Registered: Feb 2005
Location: USA
Distribution: Gentoo
Posts: 72

Original Poster
Rep: Reputation: 15
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*

Last edited by Tylerious; 12-15-2005 at 09:48 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless, USB Mouse problems with Slackware-current Korazail Slackware 7 12-23-2005 05:24 PM
Wireless USB Adaptor on Slackware stokes Linux - Wireless Networking 10 11-27-2005 07:32 AM
I would like to set up a linksys WUSB54G USB wireless adaptor on Slackware 10.0 insainiac Linux - Wireless Networking 2 10-25-2004 03:38 AM
BSOD Slackware Style Grunty Slackware 10 07-10-2004 02:52 PM
having trouble with wireless USB adapter with Slackware 9.1 millerlite546 Linux - Wireless Networking 0 06-03-2004 10:49 PM


All times are GMT -5. The time now is 07:05 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration