Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Knoppix, Kubuntu, Gnoppix, Slax, Windows 98 & XP
Posts: 54
Rep:
Ndiswrapper and D-Link G120- Where now?
O.K. I installed ndiswrapper, installed my driver, check the drive was present and it is, now what do I do to use it? What codes are needed next to make it wlan0? I have a Dlink DWL-G120 usb wireless network just fyi.
You need to configure it to connect to your wireless access point. The iwconfig command lets you set the SSID and WEP key if you use one (see man iwconfig for the fine details). Once you have that set up properly you need to either request an IP via DHCP or set one statically with ifconfig.
basically, I want to know the next step after installing the inf file in ndiswrapper.
There are very good instructions on what to do next both in the INSTALL file that came with ndiswrapper and at the ndiswrapper wiki. Basically, once you have the .inf files installed, you use modprobe to load the module and then iwconfig to configure it. Again, if you have a read through either the INSTALL file or the wiki, it is laid out very clearly.
Distribution: Knoppix, Kubuntu, Gnoppix, Slax, Windows 98 & XP
Posts: 54
Original Poster
Rep:
oh, sorry, but know I have a new problem. I tried the modprobe acording to the wiki and it didn't work. I checked with dmesg and it didn't say anything about ndiswrapper and the wiki said it should have. Any ideas to this problem?
After you run modprobe ndiswrapper, have a look at the output of lsmod. That lists the modules that have been loaded and you should see ndiswrapper there. If you do, then you are doing fine and you can continue with configuring. If not, then something pretty basic has gone wrong.
Basically that means that they system didn't load the modules which means either it can't find it or it never got compilied in the first place. Have a look in /lib/modules/kernelversion/misc and see if ndiswrapper.ko is there. If it is, then something is going wrong with modprobe. If it isn't, then you need to su to root and run make install in the ndiswrapper source directory.
When you enter modprobe ndiswrapper, does anything get returned?
Distribution: Knoppix, Kubuntu, Gnoppix, Slax, Windows 98 & XP
Posts: 54
Original Poster
Rep:
No, when I do modprobe ndiswrapper nothing appears it just goes to another prompt. I check if ndiswrapper.ko is in the /lib/modules/kernelversion/misc directory. Another thing is that I installed ndiswrapper through an RPM from rpm.pbone.net, should I get the tar version?
Something is really not on the level here. If modprobe isn't complaining, then ndiswrapper should show up in lsmod.
Quote:
I check if ndiswrapper.ko is in the /lib/modules/kernelversion/misc directory.
OK, is the kernelversion bit exactly the same kernel version as you are running? Run uname -a to find out what kernel is actually running.
Quote:
nother thing is that I installed ndiswrapper through an RPM from rpm.pbone.net, should I get the tar version?
This actually could be a problem. Ndiswrapper has to be compilied against the exact kernel version you're running, so if this RPM was compilied against something else, it isn't going to work well, if at all. However, modprobe should be complaining.
Personally, I would download the source code and go from there. If you have your kernel source code installed, ndiswrapper is pretty easy, just follow the instructions at the wiki or in the INSTALL file.
Distribution: Knoppix, Kubuntu, Gnoppix, Slax, Windows 98 & XP
Posts: 54
Original Poster
Rep:
o.k. I'll try the sorce version. I think another porblem is that I'm using Mandrake 10.0, which comes pre-installed with ndiswrapper .4. I uninstalled it becuase it wasn't responding the the command prompt and install version 1 off rpm.pbone.net with the advanced searches only contaning mandrake 10.x searches. Anotherthing I should have looked over was that it was a mandrake 10.1 rpm. It seemed to work fine at the command prompt so i didn't give a second thought. I'll definitly try the source.
Im having the same problem:
I installed the inf and sys files(just to be sure) but i cant config it. modprobe ndiswrapper returns nothing, it just brings up another prompt like his did. i checked lsmod and ndiswrapper is at the top of the list with 2 colums of numbers, one starts with an 8(i didn't write it down) and the one on the right is 0.
my kernel is linux ubuntu 2.6.8.1-3-386:
I looked in /lib/modules/2.6.8.1-3-386 but there is no /misc
the oly folders are boot, build, extra, initrd, and kernel
the file i installed ndiswraper out of is titled:
ndiswrapper-utils_0.10-1_i286.deb
Can anyone tell me whats going on? Did you ever get it to work coasterfreak212?
p.s I know it works with linux because I d/led a comercail driverloader and it worked, but i don't want to pay...
i checked lsmod and ndiswrapper is at the top of the list
If you can see ndiswrapper with lsmod, that means the module is loaded and is good to go. The modprobe behavior you see is normal for when the module loads correctly. At this point you need to use iwconfig to configure the card. So can you do this?
no i can't
When i type iwconfig i get:
lo no card
slan0 no card
I just found this on another (edit)thread(edit) here but I havn't tried it yet cause i want to find out what it's supposed to do before i restart into linux:
do i have to put the $ before prisma02.inf?
and can i "update" the modules if i can't go online...
also, i noticed this, i dont think ive made a link to the kernel, do i need to do this?:
ln -s /usr/src/KERNAL VERSION /lib/modules/KERNAL VERSION/build
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.