Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: floppy on December 03, 2010, 04:17:43 PM

Title: (solved) Fritz WLAN USB 057c:5601 and ndiswrapper (latest TC release)
Post by: floppy on December 03, 2010, 04:17:43 PM
Hello,
I installed the windows drivers for my wlan usb, but it did not work (device not initialized).
dmesg is in the attachment.
Can somebody help in order to make it running?
Thanks a lot.
(this Fritz usb was running before on the same pc with Win98 and the latest PuppyLinux but PuppyLinux is too fat for my pc)
Title: Re: Fritz WLAN USB 057c:5601 and ndiswrapper (latest TC release)
Post by: Juanito on December 03, 2010, 11:51:05 PM
If you go to the ndiswrapper site, does it recommend which driver to use with your hardware?

Could you paste the ndiswrapper commands you used.
Title: Re: Fritz WLAN USB 057c:5601 and ndiswrapper (latest TC release)
Post by: tinypoodle on December 04, 2010, 01:35:47 AM
There appears to be a native driver but it seems to require patching.

http://linux-wless.passys.nl/query_part.php?brandname=AVM
Title: Re: Fritz WLAN USB 057c:5601 and ndiswrapper (latest TC release)
Post by: floppy on December 04, 2010, 04:27:41 AM
If you go to the ndiswrapper site, does it recommend which driver to use with your hardware?

Could you paste the ndiswrapper commands you used.

Hello,
here the command and few messages logs I got

lsusb
sudo ndiswrapper -i /opt/fwlan/fwlan.inf
sudo ndiswrapper -l
sudo modprobe ndiswrapper

I will see today night if the sequence putting the usb stick into the pc after the modprobe command helps (I found such info in the net. curious. I did not experience that with PuppyLinux).
I will test an other inf file found in the ubuntuusers.de (and other windows drivers I found there).
Deletion of a module then reload during a session seems to make problems: I will test it.
Native drivers dont support WPA; I need WPA (like for the PuppyLinux): so I am still trying with ndiswrapper.
This stick seems to be an headache: I ordered yesterday a WLAN Card for the PC where drivers seems to be present in TC 3.3; hopefully it runs better than this demoniac useless usb. But I dont have a large hope because the motherboad will certainly strike.

Title: Re: Fritz WLAN USB 057c:5601 and ndiswrapper (latest TC release)
Post by: maro on December 05, 2010, 02:08:35 AM
If its working on a PuppyLinux system, what module(s) are in use over there? I assume it's also using 'ndiswrapper' and would imagine that you could try to copy the whole '/etc/ndiswrapper' directory accross to TC and try again (with sudo modprobe ndiswrapper prior to the insertion of the USB stick).

You might want to take note of the respective version on Puppy (e.g. via ndiswrapper -v) just in case to compare it with TC.
Title: Re: Fritz WLAN USB 057c:5601 and ndiswrapper (latest TC release)
Post by: floppy on December 07, 2010, 01:48:39 PM
Hello,
thanks a light flue I had today (so I staid home), i found the solution in order to make running this demoniac Fritz USB Stick...
This was a long way. I did not completely understood by here is the way I have to go:

- I loaded the "optimierter Windows-Treiber 32Bit"  from http://wiki.ubuntuusers.de/FRITZ!WLAN_USB_Stick  (http://www.elektronenblitz63.de/download/FritzStick_32bit_mod.tar.gz)

- I depacked the tar file on an other Ubuntu laptop and sent the files via my yahoo mail
- I connected my PC via LAN and readed the files from the yahoo mail and saved them to the /opt/fwlan/ directory I created before.
For this, there are better solutuuion (install tar before..) but this is the way I was doing it.

- I modified the ..INF file of the tar file because it had a small bug (the name of one of sys/bin file in it was wrong); but this was not a major job. All files were in the directory /opt/fwlan/

- I shut down the PC

- I disconnected the WLAN USB and the Ethernet cable (shortly before I booted)

- after booting, I made in a terminal 
    sudo ndiswrapper -i /opt/fwlan/fwlan.inf

- I made sudo modprobe ndiswrapper

- I connected the USB WLAN

- then I had to kill an Ethernet process which was automatically started from TinyCore during boot phase ->  sudo pkill..
   .. you can see this pkill command and all other commands I included into the /opt/bootlocal.sh (see attachment)
  "OldBoy1" is the name of my hostname
  The file wpa_supplicant.conf is in the attachment, too. 

So, now, I am connected with my USB WLAN. And I am happy. You imagine? An AMD K6-2 450MHz with WLAN USB.. not very very quick but quicker than my Win98 I had before on my PC.

Pascal
Title: Re: Fritz WLAN USB 057c:5601 and ndiswrapper (latest TC release)
Post by: maro on December 07, 2010, 05:36:24 PM
Good to learn that you had some success. I'd like to point out a few minor points:


Title: Re: Fritz WLAN USB 057c:5601 and ndiswrapper (latest TC release)
Post by: floppy on December 26, 2010, 01:37:33 PM
Thanks Maro.
Everything was done as per your advices.
TCL4.4RC2 runs well and goes automatically into the net now (the USB was previously on the USB1.1 from the mainboard; I moved it to a newly purchased USB2.0 PCI card and it still runs well).
Now, I will try to use this wlan USB with antiX; but this is nothing for here.
This post is closed and solved.