Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Documentation, Tips & Tricks
  • Search

HOWTO: Ndiswrapper Wireless Setup

Unofficial documentation for various parts of Gentoo Linux. Note: This is not a support forum.
Post Reply
Advanced search
306 posts
  • Page 4 of 13
    • Jump to page:
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • …
  • 13
  • Next
Author
Message
viperlin
Veteran
Veteran
Posts: 1319
Joined: Tue Apr 15, 2003 5:50 pm
Location: UK

  • Quote

Post by viperlin » Thu Mar 18, 2004 9:29 pm

sorry i'm not getting them either, currently hacking away and realtek 8180 drivers, (for 2.4.21) trying to figure out how you set WEP keys with iwpriv (iwconfig cannot be used to set anything)
Top
truekaiser
l33t
l33t
User avatar
Posts: 832
Joined: Fri Mar 05, 2004 11:00 pm

  • Quote

Post by truekaiser » Thu Mar 18, 2004 11:58 pm

the new .6 version fixed most of my problems but i have one more the /etc/init.d/net.wlan0 script will only bring up the interface succsesfully if i pass the essid value useing iwconfig first. now i want to bring this interface up at boot but i don't know how to pass options like essid after the ndiswrapper is loaded but before the /etc/init.d/net.wlan0 script is run.
Top
UberLord
Retired Dev
Retired Dev
User avatar
Posts: 6838
Joined: Thu Sep 18, 2003 10:26 am
Location: Blighty
Contact:
Contact UberLord
Website

  • Quote

Post by UberLord » Fri Mar 19, 2004 9:39 pm

truekaiser wrote:now i want to bring this interface up at boot but i don't know how to pass options like essid after the ndiswrapper is loaded but before the /etc/init.d/net.wlan0 script is run.
http://forums.gentoo.org/viewtopic.php?t=122435

Scripts to configure wireless settings and bring up the interface AFTER the module has loaded.
Top
viperlin
Veteran
Veteran
Posts: 1319
Joined: Tue Apr 15, 2003 5:50 pm
Location: UK

  • Quote

Post by viperlin » Fri Mar 19, 2004 10:04 pm

so people know: you can't use UberLords scripts with 8180 cards as you can only set options through iwpriv (this includes WEP essid, everything)

with linuxant/ndiswrapper you can use his excelent scripts though :-)
Top
truekaiser
l33t
l33t
User avatar
Posts: 832
Joined: Fri Mar 05, 2004 11:00 pm

  • Quote

Post by truekaiser » Sat Mar 20, 2004 5:35 am

UberLord wrote:
truekaiser wrote:now i want to bring this interface up at boot but i don't know how to pass options like essid after the ndiswrapper is loaded but before the /etc/init.d/net.wlan0 script is run.
http://forums.gentoo.org/viewtopic.php?t=122435

Scripts to configure wireless settings and bring up the interface AFTER the module has loaded.
i am new at this so don't shoot me. but should i copy them verbatium or what?
Top
Nuuul
n00b
n00b
User avatar
Posts: 11
Joined: Fri Mar 05, 2004 6:25 pm
Location: The Netherlands

  • Quote

Post by Nuuul » Sat Mar 20, 2004 3:13 pm

Solved the depscan issue :)

The problem for me was the 2.6.4 kernel, 2.6.3 works like a charm.
Now tried both ndiswrapper 0.4 and 0.6 without any problems loading/unloading/configuring the modules. In 2.6.4 there was nothing but trouble and errors 8O
I'm sure I configured the 2.6.4 kernel okay, copied the .config and did make oldconfig, even tried a lot of different kernel options....all a no go.

Now I'm back on that laptop posting this post :P
Top
hänse
n00b
n00b
Posts: 52
Joined: Fri Dec 05, 2003 10:24 am
Location: Zürich, Switzerland

another successfull ndiswrapper installation

  • Quote

Post by hänse » Thu Mar 25, 2004 8:09 am

I just got my new US Robotics 100Mbit (they say) Wireless Card working in my IBM A30 Notebook.

I used ndiswrapper 0.6 (note: there is a different way to install as described in this howto) and the drivers from http://ndiswrapper.sourceforge.net for the TI ACX 111 Chipset. (GPLUS.INF)

But i did not restart my computer since i got it working, hopefully it keeps working ;-)
Top
truth
n00b
n00b
Posts: 31
Joined: Thu Jun 20, 2002 5:30 am

2.6.4 kernel with ndiswrapper 0.6??

  • Quote

Post by truth » Tue Mar 30, 2004 5:45 am

I Have followed the INSTALL doc included with ndiswrapper 0.6 to the letter and to no avail. modprobe ndiswrapper loads without complaint but no wlan0 exists and ndiswrapper does not display device. I have tried 3 different drivers, 2 from ndiswrapper page, one from cd that came with laptop. The card is builtin Broadcom BCM94306 I have 2.6.4-gentoo-r1 kernel. I would rather not go to 2.6.3 kernel as it caused problems on this laptop. I know i have the kernel config options set, my wireless cisco pcmcia nic works fine. Im not worried about the iwconfig portion of the builtin nic i would just love to be able to do modprobe ndiswrapper and see wlan0 in ifconfig. If anyone can confirm that it wont work with this kernel or give me a suggestion i would appreciate it.

Thanks
truth
---------
Squirells..Natures little speed bumps.
Top
scootersmk
Apprentice
Apprentice
User avatar
Posts: 186
Joined: Sat May 17, 2003 4:56 pm
Location: Knoxville, TN
Contact:
Contact scootersmk
Website

  • Quote

Post by scootersmk » Tue Mar 30, 2004 3:00 pm

I have recently change this howto with instruction for ndiswrapper-0.6, take a look at those if you have not already.

That chipset is know to work and is the same one that I have. I use the driver that is on the ndiswrapper page.(the zip file for BCM 94306).

Does your card show up in dmesg when you load the module? If so it is just a matter of getting the interface setup. If not, the only thing I can think of off the top of my head is to upgrade the kernel.

Let me know, and we will try to get you up and running.
Long live the gentoo forums!!!!!
Top
truth
n00b
n00b
Posts: 31
Joined: Thu Jun 20, 2002 5:30 am

Thanks

  • Quote

Post by truth » Tue Mar 30, 2004 4:08 pm

Thanks for the response. It does not show up in dmesg thats the problem. Ive been told that when you do modprobe ndiswrapper it should also show up. The card shows in lspci. Ive seen a couple of different things about ndiswrapper and this kernel. Im using 2.6.4-gentoo-r1, ive seen a few posts about it locking up with that kernel, however i am not experiencing lockups. I have also heard from someone with 2.6.4 kernel (vanilla sources) that they have it working with ndiswrapper 0.4 or 0.5 I think i might try using vanilla sources and see if that fixes the problem. When i try doing ndiswrapper i get an error stating Couldnt load kernel driver: permission denied. This is where it is at atm. ndiswrapper loads however, i have gotten it to load without complaining, however dmesg just shows "ndiswrapper version 0.6 loaded" nothing about the card itself, which of course is why it doesnt show up with ifconfig -a. Also there is difference between compiling for dl'ed source and emerging the ndiswrapper ebuild. When compiling from source i never wind up with /etc/modules.d/ndiswrapper I have tried 0.6 source and i have used cvs to grab latest source. When i emerge that file exists , im unsure if 0.6 is supposed to have that file or not. I have edited it with the path to the .sys and .inf and changed IDENTIFIER DEVICEID to 14E4 4320 which is correct for my layout. I have also booted into windows to turn the buitin NIC on since i cannot seem to turn it on or off in linux. And i have edited the corresponding conf file in /etc/ndiswrapper/bcmwl5/ to set radio to on. Not sure where else to go from here except maybe trying an earlier version of ndiswrapper and/or trying vanilla sources.

Thanks again
truth
---------
Squirells..Natures little speed bumps.
Top
jselman
n00b
n00b
Posts: 4
Joined: Sat Mar 06, 2004 8:52 pm
Location: Santiago, Chile

DHCPCD Trouble

  • Quote

Post by jselman » Tue Mar 30, 2004 7:37 pm

Hey, thanks for this great guide.... I am succesfully posting this post using my IBM R40 with a Cisco Aironet 350 Mini-Pci card. :-)

I have a little trouble though with dhcpcd... If I set the card using iwconfig and ifconfig everything works smoothly :-) But for certain scenarios I need to grab network information using dhcp...

If I run

Code: Select all

% dhcpcd wlan0
I just wait for a long time and my interface goes down... I know that the dhcp server is working... Any ideas to get around this problem?

Thanks

Jose M Selman
Top
motard
n00b
n00b
User avatar
Posts: 45
Joined: Wed Feb 04, 2004 7:06 pm
Location: Seixal ---Portugal

  • Quote

Post by motard » Fri Apr 02, 2004 2:03 pm

nothing to me works well :( :( my intel card is not detected wiith lspci 02:02.0 Network controller: Intel Corp.: Unknown device 1043 (rev 04) , i have the latest ndiswrapper, kernel 2.6.4 r1 from gentoo-dev-sources, i don't know what else can i do, i need really wireless to work, i'm nearly xp again...
Top
demon
n00b
n00b
Posts: 2
Joined: Thu Dec 05, 2002 2:44 am

  • Quote

Post by demon » Fri Apr 09, 2004 1:17 pm

thx scootersmk

I've got my DLINK DWL-G520+ up and running with ndiswrapper. Sometimes I have some trouble with lost connections to the AP, I hope a better aerial will fix this problem.

dmesg shows this messgage:
wlan0: wireless mode set earlier (2) is not same as wireless mode now (1)

What does it mean?
Top
mb1980
n00b
n00b
Posts: 13
Joined: Thu Sep 18, 2003 10:33 am

  • Quote

Post by mb1980 » Sun Apr 11, 2004 4:22 am

Hey,
thx for the great how to :D
got my ADM8211 chip running.
the only problem i had was that modprobe was not running probably.
it was complaining about the ignore-install modprobe attribute. i don't now why.
anyway before you do a modprobe make sure to edit the /etc/modules.d/ndiswrapper file and replace the "/etc/ndiswrapper/REPLACE" with your directory, in my case /etc/ndiswrapper/netadm11"
actually i was NOT commenting the line out because of the --ignore-install trouble and decided to run loadndisdriver /etc/ndiswrapper/netadm11 manually.
that brought me up my wlan0 device !! great stuff :)
Top
rabby
n00b
n00b
Posts: 29
Joined: Sun Apr 11, 2004 6:03 pm
Contact:
Contact rabby
Website

  • Quote

Post by rabby » Sun Apr 11, 2004 6:19 pm

anyway my fu*king pcmcia card freezes my system:
please see http://forums.gentoo.org/viewtopic.php?t=160247
need your help!
Top
wildbillg
n00b
n00b
Posts: 18
Joined: Wed Mar 31, 2004 2:45 pm

Wow...I'm ready to toss in the towel...

  • Quote

Post by wildbillg » Tue Apr 13, 2004 2:04 am

Hey folks,

I have followed the instructions at the beginning of this thread up to #5, where I'm supposed to type "make install" from the ndiswrapper directory. I get some errors there, and I'll get back to that in a bit..

I'm a Windows user who came over to Gentoo just last week purely as an experiment in futility...I'm staring at my boot disks for Windows and considering throwing Win2K right back on the machine because I've spent a couple of hours each night on these boards trying to configure an old Dell 233MgHz so it can ping Yahoo.com, but to no avail...I'm hoping one or all of you will try to talk me down off the Windows 2000 ledge... :D

Ok, so here's what I know>

I'm running kernel 2.4.24, which I installed from stage 3 from a Live CD

If I type "lspci" I get this regarding my wireless Linksys WMP11 PCI card:

Code: Select all

Network Controller: Broadcom Corporation BCM4301 802.11b (rev 01)
I've emerged wireless-tools

When I type

Code: Select all

ifconfig
I only get "lo"

When I type

Code: Select all

iwconfig
I get "lo no wireless extension"

I went here http://ndiswrapper.sourceforge.net/supp ... psets.html but I see four sets of drivers for Broadcom and am not quite sure if I'm supposed to download 1, all, or none of these...and before you tell me to "find the driver that goes with your card," I'm not sure how to do that, either :lol:

I see I'm supposed to "disable SMP support," but I'm not sure where I'm supposed to be looking for that...

Ok so back to the part where I am sitting in the /root/ndiswrapper-0.6

I type "make install"

and I get about 90 lines scrolling past...most of which read "warning, error, warning...initialization makes integer from pointer without a cast"

it's a real friggin mess.

If someone could help me get this working, or if I can supply you with more info, I'd be happy to do so.

Thank you very much!
Top
GaMMa
l33t
l33t
User avatar
Posts: 684
Joined: Fri Aug 23, 2002 7:17 pm
Location: USA

  • Quote

Post by GaMMa » Thu Apr 15, 2004 12:39 am

Wahoo I got my Realtek 8180 based card working using the CVS sources. Thanks for the help everyone :D. I'm trying this message up on it right now. I spent five hours on it today and was just about to give up and buy a prism based card... lucky I didn't. The best part is I got this card through pricewatch for 14 bucks with free shipping. :D.
Ubuntu Linux Dapper Drake running Gnome-2.14.1
[Website | Screenshot | Portage Guide]
Top
helfrez
n00b
n00b
Posts: 14
Joined: Wed Apr 14, 2004 6:27 am

Just what the doctor ordered!!!

  • Quote

Post by helfrez » Thu Apr 15, 2004 4:27 am

Worked like a charm for me. Only extra step was needing to copy over the *.img files with the driver for the aironet. This was my saviour had been strugglin all day to figure out how to make my Cisco Aironet 350 MiniPCI.

Thinkpad R40 2.2GHZ P4
Gentoo 2004.0
Kernel 2.6.5
Cisco Aironet 350 MiniPCI

Thank Guys
Top
stonie
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 87
Joined: Tue Jun 03, 2003 12:55 pm
Location: S'Minga, Halleluja

got it up and running

  • Quote

Post by stonie » Sat Apr 24, 2004 9:59 pm

looks good, :P
it's working for my Netgear PCMCIA MA521.
my specs:

thinkpad t20 - p3 700
gentoo-dev-sources 2.6.5-r1
ndiswrapper cvs

thanks a lot for this wonderful how-to.
Top
BWoso
l33t
l33t
User avatar
Posts: 920
Joined: Wed Dec 31, 2003 5:20 am
Location: Cleveland Ohio, USA

  • Quote

Post by BWoso » Sun Apr 25, 2004 2:59 am

where is SMP support in the linux-2.6.4-ck-r1 kernel? I can't find it, I looked for about ten min.
I think that the forums are the greatest thing about Gentoo, thanks to everyone that posts on them!

The best way to cheer yourself up is to try to cheer somebody else up.
-Mark Twain-
Top
Martog
n00b
n00b
Posts: 1
Joined: Mon Apr 12, 2004 9:35 pm

  • Quote

Post by Martog » Sun Apr 25, 2004 4:58 am

This works great on my laptop:

Dell Inspirion 8000
Dell Truemobile 1300 Mini-PCI
NDIS from the site
Gentoo Dev 2.6.5-r1

Microsoft Wireless Base Station/Router, MN-700, Wirless G
128bit security enabled
Top
scootersmk
Apprentice
Apprentice
User avatar
Posts: 186
Joined: Sat May 17, 2003 4:56 pm
Location: Knoxville, TN
Contact:
Contact scootersmk
Website

  • Quote

Post by scootersmk » Tue Apr 27, 2004 2:11 am

BWoso
Posted: Sat Apr 24, 2004 9:59 pm Post subject:
where is SMP support in the linux-2.6.4-ck-r1 kernel? I can't find it, I looked for about ten min.
It is under Processor Type and Features
Long live the gentoo forums!!!!!
Top
damianfrancis
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 120
Joined: Mon Aug 25, 2003 3:24 pm

not clear

  • Quote

Post by damianfrancis » Tue Apr 27, 2004 9:04 am

What I am not clear on is how to go about using the ebuild is there a howto of what to do after emergeing the 0.6 ebuild? How do I uninstall the old version of ndiswrapper if I am going to use the ebuild? I was getting depscan errors when I did an emerge -U world it seemed that when the module was loaded at boot it decided to start trying to bring up the interface, at least that is what it seems to have done since when I unload the module and reload it, then try to start wlan0 it says it is already started, even though I am sure I stopped it before ever unloading the ndiswrapper module.
This post has been brought to you by The damianfactor!
Top
damianfrancis
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 120
Joined: Mon Aug 25, 2003 3:24 pm

scratch that

  • Quote

Post by damianfrancis » Tue Apr 27, 2004 10:27 am

well I upgraded my kernel to the newest mm sources 2.6.5-mm6 and when I did the module I had built before did not want to load, I considered doing ndiswrapper -m but then I decided to try and emerge the new ebuild it did not work. I had already deleted all relavent ndiswrapper files but it would not emerge, I wish I had saved the readout. Anyway I downloaded the 0.7 and did a quick make install then added the windows drivers. One thing that is for sure, just like the first time, when I loaded the ndiswrapper module right after making it and loading the windows drivers then shutdown eth0 to make sure that wlan0 comes up the system goes haywire. Anyway, I never did the ndiswrapper -m I jsut rebooted cause everything was sucking, and lo and behold, my old settings to load the ndiswrapper module worked to load it and wlan0 came up like a charm with no depscan errors. This is with the broadcom94306 chipset and the previously mentioned kernel. Happy wifi! 8) Oh and by the way, does anyone know of any software I can use for wardriving with this chipset, (the ones I looked at like kismet seem to be only for 802.11b cards) using the ndiswrapper, or does it have more to do with the way the lan interface (wlan0) is brought up?
This post has been brought to you by The damianfactor!
Top
mam82
n00b
n00b
Posts: 3
Joined: Tue May 04, 2004 8:59 am

  • Quote

Post by mam82 » Wed May 05, 2004 11:28 am

Hi,

I followed the HOWTO instructions to install ndiswrapper 0.6. Unfortunately, when I modprobe, I got this :

Code: Select all

ndiswrapper version 0.6 loaded
ndiswrapper adding tnet1130.sys
PCI: Enabling device 0000:02:00.0 (0000 -> 0002)
PCI: Unable to reserve mem region #2:fffe5000@de020000 for device 0000:02:00.0
tnet1130.sys: probe of 0000:02:00.0 failed with error -16
Did someone get the same thing (and solved it....) ? It can't be a matter of memory, I've got lots of free Mo.

Thanks[/code]
Top
Post Reply

306 posts
  • Page 4 of 13
    • Jump to page:
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • …
  • 13
  • Next

Return to “Documentation, Tips & Tricks”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy