Linux - Wireless Networking This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
|
02-24-2005, 08:14 PM
|
#1
|
Member
Registered: Mar 2004
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.
|
|
|
02-25-2005, 07:47 AM
|
#2
|
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
|
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.
|
|
|
02-25-2005, 06:15 PM
|
#3
|
Member
Registered: Mar 2004
Distribution: Knoppix, Kubuntu, Gnoppix, Slax, Windows 98 & XP
Posts: 54
Original Poster
Rep:
|
I still don't have the driver as wlan0 though, and when I do iwconfig it shows this:
# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
sit0 no wireless extensions.
basically, I want to know the next step after installing the inf file in ndiswrapper.
|
|
|
02-26-2005, 08:02 AM
|
#4
|
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
|
Quote:
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.
|
|
|
02-27-2005, 12:46 AM
|
#5
|
Member
Registered: Mar 2004
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?
|
|
|
02-27-2005, 07:38 AM
|
#6
|
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
|
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.
|
|
|
02-27-2005, 11:12 AM
|
#7
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
Moved: This thread is more suitable in Wireless Networking and has been moved accordingly to help your thread/question get the exposure it deserves.
|
|
|
02-27-2005, 12:30 PM
|
#8
|
Member
Registered: Mar 2004
Distribution: Knoppix, Kubuntu, Gnoppix, Slax, Windows 98 & XP
Posts: 54
Original Poster
Rep:
|
well, I ran lsmod and nothing appeared in the list about ndiswrapper. What are possible causes of this and how can I fix it?
|
|
|
02-27-2005, 12:52 PM
|
#9
|
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
|
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?
|
|
|
02-27-2005, 03:03 PM
|
#10
|
Member
Registered: Mar 2004
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?
|
|
|
02-27-2005, 03:34 PM
|
#11
|
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
|
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.
|
|
|
02-27-2005, 09:05 PM
|
#12
|
Member
Registered: Mar 2004
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.
|
|
|
03-07-2005, 11:56 AM
|
#13
|
LQ Newbie
Registered: Mar 2005
Posts: 3
Rep:
|
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...
|
|
|
03-07-2005, 02:47 PM
|
#14
|
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
|
Quote:
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?
|
|
|
03-07-2005, 04:12 PM
|
#15
|
LQ Newbie
Registered: Mar 2005
Posts: 3
Rep:
|
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:
this is the link to the thread, last post:
edit- http://www.linuxquestions.org/questi...&highlight=g10
emerge ndiswrapper
ndiswrapper -i $inf-file
cp $rest-of-files /etc/ndiswrapper/prisma02/
modules-update
modprobe ndiswrapper
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
Last edited by dddude55; 03-07-2005 at 04:28 PM.
|
|
|
All times are GMT -5. The time now is 01:28 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|