LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 03-27-2005, 10:39 PM   #1
azuiden
LQ Newbie
 
Registered: Mar 2005
Location: Illinois
Distribution: Fedora Core 4
Posts: 21

Rep: Reputation: 15
WUSB11 ver 2.6 Driver Not Working


Alright my problem is probably a common one among WUSB11 ver 2.6 users

anyways my usb internet access point (WUSB11 ver 2.6 with an Atmel chipset) does not like any of the distros i have tried (ubuntu, mepis, knoppix)

i have also tried getting the drivers to work on those using the multitude of online guides. And I have tried both drivers (atmelwlan and berlios)

with Atmelwlan i cannot run the make config, it gives me and error message that there is nothing there or something of that sort, i also tried to run the confisg.sh in the ./scripts dir and it said the file that it wanted to run wasn't where it was supposed to be however it was where it said it was suppoed to be

and with Berlios i can run the make command and then i try to run the make file command and it cannot find the files in the /usr/src/ dir

i really want to move to linux however i cannot make the move without the internet


if there is a distro that supports the atmel or if my problem (which i believe stems from using a binary kernel) can be fixed without too much hassle

[EDIT]

I would prefer a 1-3 CD if i have to choose a new distro, or a distro that loads the wlan stuff first and then you can download the rest later.

any advice/help that can be given would be appreciated

i also plan on writing a tutorial for non redhat WUSB11 ver 2.6 installation if i ever get this thing working. i will give credit those who helped me on the website as well.

Also i work for a webhosting company so any advice given i will be glad to set you up with free (enriched) webhosting.

Last edited by azuiden; 03-27-2005 at 11:00 PM.
 
Old 03-28-2005, 02:45 PM   #2
dping
Member
 
Registered: Dec 2004
Location: Oregon, USA
Distribution: Kubuntu 9.04
Posts: 181

Rep: Reputation: 30
Mandrake 10 has the berlios drivers and should work fine.
Mandrake 10.1 has the drivers as well, but they are broken [on my machine].
I currently run Mepis 3.3 with berlios drivers personally compiled in.

What steps did you follow for your makes? I could walk you through the process for mepis, which is relatively simple, just takes some compile time.

Last edited by dping; 05-23-2005 at 02:02 AM.
 
Old 03-28-2005, 02:48 PM   #3
azuiden
LQ Newbie
 
Registered: Mar 2005
Location: Illinois
Distribution: Fedora Core 4
Posts: 21

Original Poster
Rep: Reputation: 15
i would love for you to be able to walk me through the steps

basically all i have done is taken the latest cvs and put it on there cd's to the directory, typed make, make install

and it returned errors about not finding the stuff in the directory /usr/src/2.6.xx.xx (i forgot the specifics)

Last edited by azuiden; 03-28-2005 at 02:50 PM.
 
Old 03-28-2005, 03:08 PM   #4
dchirdon
LQ Newbie
 
Registered: Mar 2005
Posts: 8

Rep: Reputation: 0
Mandrake would be the distro to go with. There is one website which talks about binary relations which i think might be of help. http://www.wasab.dk/morten/blog/arch...-redhat-linux.
Good luck.
 
Old 03-28-2005, 03:13 PM   #5
dchirdon
LQ Newbie
 
Registered: Mar 2005
Posts: 8

Rep: Reputation: 0
wrong link
http://www.wasab.dk/morten/blog/arch...d-redhat-linux
I too, am in a big mess.
 
Old 03-28-2005, 04:39 PM   #6
dping
Member
 
Registered: Dec 2004
Location: Oregon, USA
Distribution: Kubuntu 9.04
Posts: 181

Rep: Reputation: 30
Just to clarify, this needs to be a hard drive install that you compile the drivers into. If you are running in livecd mode this will not work.

First, the berlios drivers require the complete kernel source in order to successfully compile (this is likely where your errors stemmed from). To do this, follow steps 1, 2, 3, 4, and 7 (as root) in the KERNEL-README in /usr/src . Going that far will not install a new kernel, but will generate the complete kernel source (which you need).

KERNEL-README:
Quote:
How to recreate a MEPIS kernel

This example is for 2.6.10.

1. Download linux-2.6.10.tar.gz from kernel.org to /usr/src and "extract here."

2. Copy the .config and *.diff patches from /usr/src/linux-2.6.10-patches to the new /usr/src/linux-2.6.10.

3. Go to the /usr/src/linux-2.6.10 directory

4. For example, if you want to use win4lin, apply the win4lin patches thusly:
patch -p1 < Kernel-Win4Lin3-2.6.10.patch
patch -p1 < mki-adapter.patch

5. For the other patches from the original directory, or if you have some patches from another source, apply them in the same way.

6. If you want to change the kernel configuration, run: 'make xconfig'
NOTE: First, it may be necessary to: 'apt-get install libqt3-mt-dev'

7. To compile the kernel run: 'make-kpkg -rev MEPIS.3.3 kernel_image'
A deb installer will be created in /usr/src

8. Before installing the new kernel, rename your old /lib/modules/2.6.10 directory.

9. After installing the new kernel, you may want to copy extra drivers from the old /lib/modules/2.6.10 directory to the new 2.6.10 directory. Usually these modules will still work.
For step 4 I applied all the available patches and diffs. You can disregard steps 5 and 6, and in your case steps 8 and 9 are also unnecessary.

Step 7 will take some time, as the kernel source is LOTS of code. Depending on the machine, I generally expect ~30 minutes for this to complete.

Once that is done, then you should be able to run your original make and make install for the berlios drivers without errors.

Finally, the newly installed driver *should* now automatically recognize the adapter and you should be able to set up the connection in the "Mepis OS Center". If not, it likely needs to be loaded via modprobe like this (at a command line):
Code:
modprobe at76_usbdfu
modprobe at76c503
Then type:
Code:
lsusb
If one of the ID numbers it outputs is "066b:2211" then type:
Code:
modprobe at76c503-i3861
Otherwise if it outputs "077b:2219" then type:
Code:
modprobe at76c503-rfmd
and in a few moments the connection should start up.

If you have any problems/issues let me know.

EDIT: See my "Post # 10" on installing the driver firmware. The drivers won't work without the firmware.

Last edited by dping; 03-29-2005 at 02:40 PM.
 
Old 03-28-2005, 05:51 PM   #7
dping
Member
 
Registered: Dec 2004
Location: Oregon, USA
Distribution: Kubuntu 9.04
Posts: 181

Rep: Reputation: 30
I just checked out dchirdon's link and it refers to ndiswrapper, which is a tool for using binary drivers from Windows in Linux. The last I checked (about a month ago) ndiswrapper did not quite work with my WUSB11 windows driver, though it came far closer than previous ndiswrapper releases had.

By the way, Mepis 3.3 comes with a much more recent version of ndiswrapper than Mandrake 10.1.
 
Old 03-29-2005, 08:44 AM   #8
azuiden
LQ Newbie
 
Registered: Mar 2005
Location: Illinois
Distribution: Fedora Core 4
Posts: 21

Original Poster
Rep: Reputation: 15
last i night i complied the kernel no problems...

i cd'd into the untar'd directory
i ran 'make' (it seemed to of run through all my modules and such and no problems)
i ran 'make install' and got this

root@1[at76c503a]# make install
mkdir -p .tmp_versions
cp /lib/modules/2.6.10/build/.tmp_versions/*.mod /home/at76c503a/.tmp_versions
make -C /lib/modules/2.6.10/build SUBDIRS=/home/at76c503a MODVERDIR=/home/at76c503a/.tmp_versions \
EXTRA_CFLAGS=" -DCOMPILE_FIRMWARE_INTO_DRIVER" modules
make[1]: Entering directory `/usr/src/linux-2.6.10'
Building modules, stage 2.
MODPOST
*** Warning: "mtd_concat_destroy" [drivers/mtd/maps/sc520cdp.ko] undefined!
*** Warning: "mtd_concat_create" [drivers/mtd/maps/sc520cdp.ko] undefined!
make[1]: Leaving directory `/usr/src/linux-2.6.10'
for i in at76c503-i3861.ko at76c503-rfmd.ko at76c503-rfmd-acc.ko at76c505-rfmd.ko at76c503-i3863.ko at76c505-rfmd2958.ko at76c505a-rfmd2958.ko at76c503.ko at76_usbdfu.ko; do \
find /lib/modules/2.6.10 -name $i -exec rm -f {} {}.orig \; ;done
mkdir -p /lib/modules/2.6.10/kernel/drivers/net/wireless/at76c503
install -m 644 -o 0 -g 0 at76c503-i3861.ko at76c503-rfmd.ko at76c503-rfmd-acc.ko at76c505-rfmd.ko at76c503-i3863.ko at76c505-rfmd2958.ko at76c505a-rfmd2958.ko at76c503.ko at76_usbdfu.ko /lib/modules/2.6.10/kernel/drivers/net/wireless/at76c503
/sbin/depmod -ae

i then ran modprobe's and got this

root@1[at76c503a]# modprobe at76c503
WARNING: Error inserting at76_usbdfu (/lib/modules/2.6.10/kernel/drivers/net/wireless/at76c503/at76_usbdfu.ko): Invalid module format
FATAL: Error inserting at76c503 (/lib/modules/2.6.10/kernel/drivers/net/wireless/at76c503/at76c503.ko): Invalid module format
root@1[at76c503a]# modprobe at76_usbdfu
FATAL: Error inserting at76_usbdfu (/lib/modules/2.6.10/kernel/drivers/net/wireless/at76c503/at76_usbdfu.ko): Invalid module format
root@1[at76c503a]# lsusb
Bus 004 Device 003: ID 058f:9360 Alcor Micro Corp.
Bus 004 Device 002: ID 046d:0870 Logitech, Inc. QuickCam Express
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 002: ID 077b:2219 Linksys WUSB11 V2.6 802.11b Adapter
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 003: ID 05dc:a410 Lexar Media, Inc.
Bus 001 Device 001: ID 0000:0000
root@1[at76c503a]# modprobe at76c503a-rfmd
FATAL: Module at76c503a_rfmd not found.

any suggestions?
 
Old 03-29-2005, 10:02 AM   #9
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
I saw some of that while compiling for my nvidia card in version 2.6.10 and 2.6.11 of the kernel as well. Don't know how to fix it but I reverted back to my 2.6.8.1 kernel. Don't know if you can try something like that as well? It's kind of a hassle compiling so much kernels I think and I can't say for sure if it work.
 
Old 03-29-2005, 02:07 PM   #10
dping
Member
 
Registered: Dec 2004
Location: Oregon, USA
Distribution: Kubuntu 9.04
Posts: 181

Rep: Reputation: 30
Are you running the basic Mepis 3.3 hard drive install?
Did you copy the .config file over without changing it?
And did you make sure to skip step 6 and *not* run "make xconfig"?
Did you copy all the patches over from the patches directory and apply them?

The module format error appears to typically happen when either the configuration, the compiler, or other things are "out of sync" with the running kernel. Modprobe basically thinks that the modules you compiled were made for a kernel incompatible with the one you are running.

Ideally, you should have had the same results as me, modules that work.

Oh, and "at76c503a-rfmd" was a mistake on my part. It should be "at76c503-rfmd".

I almost forgot also, once the modules do work properly you will need to download the driver firmware, found [ here ], and run its install script.
 
Old 03-29-2005, 02:12 PM   #11
azuiden
LQ Newbie
 
Registered: Mar 2005
Location: Illinois
Distribution: Fedora Core 4
Posts: 21

Original Poster
Rep: Reputation: 15
i installed simplymepis3.3

there wasn't a .config in the patches directory

i copied all the patches (and ran them)

i am guessing that the missing config is the root of the problems...is there a way to get it?
 
Old 03-29-2005, 02:30 PM   #12
dping
Member
 
Registered: Dec 2004
Location: Oregon, USA
Distribution: Kubuntu 9.04
Posts: 181

Rep: Reputation: 30
Good good. I was starting to get worried.

The .config file is there, but it is hidden. All files in Linux with a dot (.) in front of them are hidden files.

To view the hidden files from the command line type:
Code:
ls -a
Or to view them in the file manager, click on the "View" menu, and select "Show Hidden Files".

With the proper .config file in place, everything should go smoothly.
 
Old 03-29-2005, 02:33 PM   #13
azuiden
LQ Newbie
 
Registered: Mar 2005
Location: Illinois
Distribution: Fedora Core 4
Posts: 21

Original Poster
Rep: Reputation: 15
will i need to recompile the kernel?
 
Old 03-29-2005, 02:43 PM   #14
dping
Member
 
Registered: Dec 2004
Location: Oregon, USA
Distribution: Kubuntu 9.04
Posts: 181

Rep: Reputation: 30
Yes.
 
Old 03-29-2005, 02:46 PM   #15
azuiden
LQ Newbie
 
Registered: Mar 2005
Location: Illinois
Distribution: Fedora Core 4
Posts: 21

Original Poster
Rep: Reputation: 15
crap. alright i will work on it now.

i will post again in about an hour and half with the results...
 
  


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
Help with linksys wusb11 ver 2.6 voteforpedro8 Mandriva 3 01-27-2005 12:17 PM
Slackware 9.1 and WUSB11 ver 2.6 OAD Slackware 3 06-25-2004 10:49 AM
WUSB11 ver. 2.8 Vill3 Linux - Networking 2 10-25-2003 03:08 PM
WUSB11 ver. 2.6 Wireless linksys network card not working leeman_s Slackware 2 08-13-2003 12:28 PM
Yet another WUSB11 ver. 2.6 Problem howlingyeti Linux - Networking 0 07-07-2003 09:44 PM

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

All times are GMT -5. The time now is 08:37 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration