What need I to compile driversForum: Networking Topic: What need I to compile drivers started by: Onyarian Posted by Onyarian on Dec. 13 2007,16:47
I have buy a USB wifi from DLink, the DWL-G122 C1I have made a lot of proves with ndiswrapper and doesn't go. In the DSL wiki I see that there is a compiled driver for this dongle: D-Link DWL-G122 Rev.C1 (driver & scripts => here < http://homepages.vype.de/Peter.Misch/wlan/wlan_drivers.html) > but this driver is for kernel version 2.4.26 and don't go in DSL 4.1: -------------------------------------------------------------------------------- Drivers and scripts for USB-WLAN Adapters - (compiled for DSL - Kernel 2.4.26) ========================================================= D-Link DWL-G122, rev.c1: Driver: rt73.o Scripts: WLAN_up.sh - WLAN_down.sh -------------------------------------------------------------------------------- and I want this for DSL 4.1 with 2.4.31 I downloaded the linux-2.4.31.tar.gz and now I have to download the gcc compiler. But I am confused and my question is: I see in the myDSL repository, in system, a gcc1.dsl 3.3.4 version but with [/home/dsl]# cat proc/version Linux version 2.4.31(root@box) (gcc version 2.95.4 20011002 (Debian prerelease) ) #6 SMP Fri Oct 21 15:15:54 EDT 2005 seems to be the 2.95.4 Can I compile with this 3.3.4 version? In the other hand I see in testing the juanito's compile-3.3.5.uci but with linux-2.4.26 sources on it, so I can't use it. Can I use this compile.uci but deleting the 2.4.26 sources and substitute whit the 2.4.31 one? Thanks! Posted by curaga on Dec. 13 2007,17:09
- A compiling extension - either gcc1-with-libs or compile-3.5.5.uci- the source of the driver (either the official < here > or the 2x00 driver from < here >...) Then follow the Ubuntu guide mostly: < https://help.ubuntu.com/community/WifiDocs/Driver/RalinkRT73 > Posted by lucky13 on Dec. 13 2007,17:14
You don't need to compile because ndiswrapper is in DSL 4:Changes for 4.0 * Upgraded kernel from 2.4.26 to 2.4.31. * Created new support modules: cloop, unionfs, ndiswrapper, fuse, and madwifi in support of kernel change.... < http://damnsmalllinux.org/notes.html > Edit: In the menu, go to SETUP - NET SETUP - NDISWRAPPER. Posted by Onyarian on Dec. 13 2007,17:42
Thanks Curaga,I have forgotten that I have soon this sources and the same guide to follow it. My dubt was about the gcc compiler, and now I know I can use the the 3.3.5 version. lucky13, Thanks, but with ndiswapper it says every time that can't connect, even I give correctly the route to the inf file, the sid and the wep. Posted by curaga on Dec. 13 2007,17:53
Oh. Yes, you need to compile the kernel and modules with the same compiler.So, it's gcc1-with-libs + gcc2.95 (so you will have the libs, make etc., but gcc will be 2.95) Posted by lucky13 on Dec. 13 2007,18:16
In a terminal, try lsmod to see if ndiswrapper loaded. It should whether you connect or not (because DSL 4 has that module). Then go through your settings again. Not all devices use wlan0, some use eth0 or ath0. Did you try those? Posted by Onyarian on Dec. 13 2007,19:25
yes, I tried, like in the DSL book: #ndiswrapper -i Dr71WU.inf installed #ndiswrapper -l installed and hardware present #modprobe ndiswrapper #iwconfig wlan0 bla, bla, bla then I go to Control Panel - Ndiswrapper and put the information about inf file, sid and wep and after a time says Connection failed ----- Curaga: "So, it's gcc1-with-libs + gcc2.95 (so you will have the libs, make etc., but gcc will be 2.95)" But there is no extension with gcc2.95 only the 3.3.4 and 3.3.5 in mydsl extensions (the gcc1-with-libs is the 3.3.4 version too) Perhaps I have to googling Posted by ^thehatsrule^ on Dec. 13 2007,20:10
You may need to try other .inf + .sys drivers. You can check the ndiswrapper list. Or you might've needed to boot with nodhcp and manually invoke pump after.--- There is, it may be under testing/ You can still use modules compiled with gcc-3.3, but it is generally considered better use the compiler that built the kernel. Posted by Onyarian on Dec. 14 2007,18:23
Yes, perhaps I have to spend more time to make ndiswrapper to work with this dongle-------- And thanks, now I have found the gcc2.95 in the testing area, it was in one of the latest positions!! I tell you later how goes with the results, it must work! ((And with this now I have my first 100)) |