uk.comp.os.linux
[Top] [All Lists]

Re: LINUX Netgear Wireless driver

Subject: Re: LINUX Netgear Wireless driver
From: Nick Leverton <nick@xxxxxxxxxxxx>
Date: Sun, 27 Jul 2008 10:48:05 +0000 (UTC)
Newsgroups: uk.comp.os.linux

In article <hCHik.32640$8t7.18443@xxxxxxxxxxxxx>,
Vic Russell <vicrussell@xxxxxxxxxxxx> wrote:
>Hi,
>
>I am trying to use my Netgear WN121T wireless adapter in Ubuntu. I can't
>find a LINUX driver but I understand that I can use a Windows driver using a
>particular program. However, the Windows driver is contained in a .exe file.
>I have therfore run the .exe in a Windows system and aborted the setup so
>that I can get the stuff unpacked. However I cant seem to make things work
>under LINUX.

There are two bits to using ndiswrapper with Windows drivers: telling
ndiswrapper about the driver, and telling your distro to use ndiswrapper
for the relevant interface.

If you are lucky, your distro will do the second bit automatically !
If so, all you need to do is to point ndiswrapper at the .inf file from
your unpacked drivers, like so (running as root, i.e. use sudo since
you have Ubuntu) :

 sudo ndiswrapper -i /path/to/whatever.inf

IIRC some Windows drivers have several .inf files so you may need to
find the right one.

If this adds the driver but still doesn't bring your interface up
at boot time, then the quickest way is to just add ndiswrapper to
/etc/modules to force it to be loaded.  A slightly better alternative
is to create a file named /etc/modprobe.d/ndiswrapper and add the line
"alias your-interface-name ndiswrapper" to it, which should delay loading
until the interface is actually initialised by the network code.

No doubt Ubuntu has some complex and arcane way of dynamically detecting
and doing this, but my Ubuntu machine here doesn't need ndiswrapper
so I can only tell you the old standard ways of doing it as above !
The machine which does use ndiswrapper is a) not Ubuntu and b) at work
:-)  Have a try anyway and see how far it gets you.

dmesg, again run as root, is a useful way to see (most of) your bootup
messages and check what is happening re. detection of hardware and loading
of drivers.  Usual apols for possible granny-egg-sucking instruction ...

Nick
-- 
Serendipity: http://www.leverton.org/blosxom (last update 6th June 2008)
        "The Internet, a sort of ersatz counterfeit of real life"
                -- Janet Street-Porter, BBC2, 19th March 1996

<Prev in Thread] Current Thread [Next in Thread>