LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-09-2003, 03:54 AM   #1
ronaldv
Member
 
Registered: Sep 2003
Location: Amsterdam
Distribution: Mandrake 10.1/2006
Posts: 57

Rep: Reputation: 16
Howto Sweex Wirelss Usb Adapter on Linux?


Hi,

has anyone ever got a Sweex Wirelss Usb Adapter (LC100020, www-sweex-nl/product.asp?pid=120) working on Linux (Mandrake 9.1)?

They have a Linux driver on their site for it but it don't seem to work for me.

Does somebody have some more info on this Adapter?
Like which chipset, which driver, configuration or maybe a little howto?

Any help is welcome.

Ronald
 
Old 09-09-2003, 02:25 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Welcome to LQ.

I haven't come accros this product myslef but if it has an official linux driver there sbould be a way to do it. At what part of the install/configuration did you run into problems.
 
Old 09-10-2003, 02:25 AM   #3
ronaldv
Member
 
Registered: Sep 2003
Location: Amsterdam
Distribution: Mandrake 10.1/2006
Posts: 57

Original Poster
Rep: Reputation: 16
Thanks Dave,

If have tried the two main wireless driver (wlan & prism) but in both cases the device is not recognised.

Meanwhile I asked the manufacter about the device. His reply:
"I am sorry to say this wireless USB adapter does not have Linux Drivers. It uses the Zydan chipset."

Any hints to get this working?
Ever heard of a driver for this chipset?

Ronald
 
Old 09-10-2003, 01:39 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Did you download the driver from their site?
 
Old 09-11-2003, 03:42 AM   #5
ronaldv
Member
 
Registered: Sep 2003
Location: Amsterdam
Distribution: Mandrake 10.1/2006
Posts: 57

Original Poster
Rep: Reputation: 16
Yes,

I did. But it is an old version of the prism driver. So I took the latest one of this driver but that did not work.

Well, any way, if Sweex support says it an Zydan chipset then the prism driver won't work, I think.

Ronald
 
Old 09-11-2003, 12:28 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Is it an older version or a modified version? Perhaps they modified the driver to support their chipset. Why would they say it works if it doesn't (other than to make you buy it)?
 
Old 09-23-2003, 05:29 PM   #7
pedrop
LQ Newbie
 
Registered: Sep 2003
Posts: 2

Rep: Reputation: 0
It works for me

It works for me, only in ifrastructure mode an wihout WEP. I could no make WEP working.

1 Compiled the driver an install it with a rpm packet made with checkinstall. I use a RH 8 an a kernel 2.4.20-18-8.

2 Compiled usbcore with the patch they provided

3 in /etc/modules.con
alias wlan0 prism2_usb

4 Then
export ACTION=add
export TYPE=ff/0/0
export PRODUCT=ace/1201/101

hotplug usb

5 in cat /lib/modules/2.4.20-18.8/modules.usbmap
add a line:
prism2_usb 0x0003 0x0ace 0x1201 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x0000c320


The problems:
Unplugging the device is dirty.
I could not make it working in ad-hoc mode.
I could not make it work with WEP
 
Old 09-30-2003, 04:21 AM   #8
ronaldv
Member
 
Registered: Sep 2003
Location: Amsterdam
Distribution: Mandrake 10.1/2006
Posts: 57

Original Poster
Rep: Reputation: 16
Ok, thanks.

Things are improving. I actually _read_ the readme that comes with the driver adn found some interesting things:

1. I patched my usbcore with the patch that is included in the download. This got rid of my "device is not accepting new address" error.

2. The driver is a modified wlan-ng copy. Meaning the original wlan-ng will never work for this chipset. ;-) So installed the Sweex version of the driver.

I also followed all your steps as described.

However it still gives me errors.

- ifconfig does not show any wlan0 device
- wlanctl-ng wlan0 <something> gives "wlanctl-ng: no such device"
- in de kernel log it says "USB device is not claimed by any driver". After this it still loads the (correct) prism2_usb driver. lsmod looks OK as well.

Any hints?
How do I get wlan0 to show when running ifconfig?

Thanks, Ronald
 
Old 10-02-2003, 12:05 PM   #9
pedrop
LQ Newbie
 
Registered: Sep 2003
Posts: 2

Rep: Reputation: 0
Well:

I must plug the stick after booting the machine.
Try to reset all the usb system

rmmod usbcore and then insmod usbcore (and all the usb devices)

I do /etc/hostplug/usb.rc stop for removing usbcore.

then plug the stick

If it doesn't work try
service wlan start

What says /var/log/messages when you do:
export ACTION=add
export TYPE=ff/0/0
export PRODUCT=ace/1201/101
hotplug usb


Excuse my english
Pedrop
 
Old 10-08-2003, 06:57 AM   #10
ronaldv
Member
 
Registered: Sep 2003
Location: Amsterdam
Distribution: Mandrake 10.1/2006
Posts: 57

Original Poster
Rep: Reputation: 16
Hi,

finally got it working.

I noticed that after I plugged in the adapter, Linux loaded the original usbcore and the original prism2_usb as supplied by the distribution. (I had compiled a new usbcore to get ride of the "device not accepting address" message).

I had renamed these drivers by means of back up but it worked out this does not fool Linux. It still recognized them as being valid drivers. So after I removed this drivers from the Linux driver directory and rebooted, the proper drivers loaded when I plugged in the adapter.

And after running wlanctl-nf ..... and ifconfig (as described in the readme) the wlan0 device is created and showing when I run ifconfig.

Happy boy now!

Also found out for sure now: the Sweex Usb Adapter (ZyDAS 1201 chipset) only works with the Sweex-driver (www.sweex.com). The standard wlan-ng driver does not work for it.

Thanks for all the help, Ronald

Last edited by ronaldv; 10-08-2003 at 06:58 AM.
 
Old 10-23-2003, 04:21 AM   #11
gravite
LQ Newbie
 
Registered: Oct 2003
Posts: 2

Rep: Reputation: 0
ad-hoc ???

Actualy, does ad-hoc mode work ?
I do not have an AP and I want to use 2 usb adapters. Do you have a solution ?
 
Old 10-23-2003, 06:59 AM   #12
ronaldv
Member
 
Registered: Sep 2003
Location: Amsterdam
Distribution: Mandrake 10.1/2006
Posts: 57

Original Poster
Rep: Reputation: 16
Hi,

don't really know since I only have one adapter. ;-)

But then again, when you use ad-hoc mode with static ip-addresses it should not be different from accessing an AP with static IP (and this works for me). Ad hoc mode with dynamic IP could be more difficult but maybe this is simply impossible under the Wifi protocol, I don't know.

I would set the ip-addresses of your to adapters to say 192.168.0.1 and .2. Make sure your netmask is 255.255.255.0 and then do a ping. Should work.

Hope this helps, Ronald
 
Old 10-24-2003, 03:46 AM   #13
gravite
LQ Newbie
 
Registered: Oct 2003
Posts: 2

Rep: Reputation: 0
I tried this but ...

In ad-hoc mode, the two adapters do not even detect themselves. The led blinks and that's all.
When I start wlan, it says that this mode is unsupported but ad-hoc is supported since a while in the standard linux-wlan.
 
Old 10-28-2003, 09:21 AM   #14
ipeteivince
LQ Newbie
 
Registered: Oct 2003
Posts: 2

Rep: Reputation: 0
Hrllo

I'm frensh and I have the same problem but I don't find the driver on her site.
Could you give me the URL ?
thanks
 
Old 10-29-2003, 02:07 AM   #15
ronaldv
Member
 
Registered: Sep 2003
Location: Amsterdam
Distribution: Mandrake 10.1/2006
Posts: 57

Original Poster
Rep: Reputation: 16
Hi,

drivers were on this url:

http://www.sweex.com/product.asp?dlid=120

but now they are gone. :-(
Even the windows drivers don't show anymore.

Maybe contact sweex-support for this.

Good luck, Ronald
 
  


Reply



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 D-link DWL-G120 USB Adapter Prism54 Driver installation?? howto please!! geninblaze Linux - Wireless Networking 13 05-01-2006 12:11 AM
usb wireless adapter for linux? exodist Linux - Hardware 1 09-02-2004 01:47 PM
Does Linux support the @Home USB adapter? Abdul Linux - Networking 1 10-17-2003 05:01 AM
Wireless USB Adapter crashed linux linoops Linux - Hardware 3 08-23-2003 12:51 AM
SMC2662W USB Wireless adapter and linux? weedwacker Linux - Hardware 5 11-13-2002 01:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:54 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration