LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 04-30-2012, 12:01 PM   #1
werner291
Member
 
Registered: Feb 2012
Distribution: Debian (Ans soon Ubuntu and Android)
Posts: 39

Rep: Reputation: Disabled
Question Ndiswrapper sees device but noting happens. (Debian)


Hello, I'm trying to get a Netgear wg111v2 wifi dongle to work on my Debian machine through ndiswrapper. I know that it's possible, because before reinstalling Debian, it DID work. Now, the drivers inside ndiswrapper seem to be correctly installed and it tells me that the hardware is found. However, no internet connection. What's most likely going wrong? Do i need to provide additional information?

Last edited by werner291; 05-02-2012 at 09:37 AM.
 
Old 05-01-2012, 05:16 AM   #2
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,899

Rep: Reputation: 623Reputation: 623Reputation: 623Reputation: 623Reputation: 623Reputation: 623
What version of Debian are you running? Is this the same version as you had before when the wireless worked with ndiswrapper? What version of ndiswrapper is it? What parts of ndiswrapper do you have installed? What install procedure did you use to install the Windows driver inside ndiswrapper?

This is the procedure I always used on my old laptop and I never had any difficulty.
Code:
Make sure drivers are visible on the Desktop (.inf, .cat, .pnf, .sys are the driver parts I have for my old laptop).

As root:

cd Desktop

ndiswrapper -i xxxxxxxx.inf (where xxxxxxx.inf is your driver .inf file)

ndiswrapper -l (small L not capital i)

depmod -a

modprobe ndiswrapper

ndiswrapper -m

echo "ndiswrapper"|sudo tee -a /etc/modules

shutdown -r now

Last edited by k3lt01; 05-01-2012 at 05:17 AM.
 
Old 05-01-2012, 07:59 AM   #3
werner291
Member
 
Registered: Feb 2012
Distribution: Debian (Ans soon Ubuntu and Android)
Posts: 39

Original Poster
Rep: Reputation: Disabled
I'm running Debian Squeese, yes, it's the same version

I tried installing Flightgear from wheesy (the one in squeese is really old), but that turned out to be the worst idea. APT crashed and my system became unuseable. I eventually solved the problem by installing Debian on my second hard drive.

A question: Once I installed the .inf file in ndiswrapper, can the .inf file be removed?

Ndiswrapper -l said that the driver was installed and the hardware present.

I'll try those commands you gave me.
 
Old 05-01-2012, 08:21 AM   #4
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,718

Rep: Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904
That wireless chip is supported by the free drivers-

http://linuxwireless.org/en/users/Drivers/rtl8187

I'd be trying that before stuffing around with the horror that is ndiswrapper.
 
Old 05-01-2012, 08:48 AM   #5
werner291
Member
 
Registered: Feb 2012
Distribution: Debian (Ans soon Ubuntu and Android)
Posts: 39

Original Poster
Rep: Reputation: Disabled
Ok, already installed ndiswrapper, but I'll give those linux drivers a go, looks more elegant to me...

EDIT: Thus far:

Ndiswrapper detected the device but then nothing happened.

These Linux drivers's wiki was apparently down. I tried the Debian wiki, where it sais to install "wireless-tools" they said would work with that rtl818x thing.
It then told be it was already installed and nothing happened. I do have to add to this that I do not have a wlan0 interface in /etc/network/interfaces, but I do have NetworkManager (That is just sitting idle.)

I also tried the instructions on http://linuxwireless.org/en/users/Download, but nothing happened either.

EDIT 2: NetworkManager is working again, and is now managing my wired connection. I've also got ndiswrapper that has the driver installed and saying that it sees the device. Still no wifi.

No sign of those Linux drivers working.

Trying to use ndiswrapper again (since it was working the first time), I sent the command: tail /var/log/messages
Quote:
May 1 18:53:17 werner kernel: [ 1808.573149] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
May 1 18:53:17 werner kernel: [ 1808.573153] usb 1-2: Product: NETGEAR WG111v2
May 1 18:53:17 werner kernel: [ 1808.573156] usb 1-2: Manufacturer: NETGEAR WG111v2
May 1 18:53:17 werner kernel: [ 1808.573159] usb 1-2: SerialNumber: 00184D1394CD
May 1 18:53:17 werner kernel: [ 1808.573295] usb 1-2: configuration #1 chosen from 1 choice
May 1 18:53:17 werner kernel: [ 1808.692018] usb 1-2: reset high speed USB device using ehci_hcd and address 8
May 1 18:53:17 werner kernel: [ 1808.828164] ndiswrapper: driver net111v2 (NETGEAR Inc.,3/16/2006,5.1213.06.0316) loaded
May 1 18:53:20 werner kernel: [ 1811.761409] wlan0: ethernet device 00:18:4d:13:94:cd using NDIS driver: net111v2, version: 0x1, NDIS version: 0x500, vendor: 'Realtek RTL8187 Wireless LAN USB NIC ', 0846:6A00.F.conf
May 1 18:53:20 werner kernel: [ 1811.761456] wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
May 1 18:53:20 werner kernel: [ 1811.761931] ADDRCONF(NETDEV_UP): wlan0: link is not ready
That last line looks interesting to me... Any ideas what link it is talking about?

ANOTHER EDIT:

I found a Linux driver for this chipset on Realtek's website. I built and installed it, rebooted, but it still somehow won't connect. Plugging in the device apparently does make wlan0 go up.

Last edited by werner291; 05-01-2012 at 01:59 PM.
 
Old 05-01-2012, 06:31 PM   #6
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,899

Rep: Reputation: 623Reputation: 623Reputation: 623Reputation: 623Reputation: 623Reputation: 623
Excellent sleuthing Cascade.

Werner, have you got non-free enabled in your sources list? There is no need to use either ndiswrapper or compile from source. The package you need is the top one listed on this page. So you have two options, remove the ndiswrapper and compiled drivers and enable non-free to install the native Debian package. Or doa clean reinstall of your system and just enable non-free to install the native Debian package.
 
Old 05-02-2012, 07:07 AM   #7
werner291
Member
 
Registered: Feb 2012
Distribution: Debian (Ans soon Ubuntu and Android)
Posts: 39

Original Poster
Rep: Reputation: Disabled
Thanks a lot! How can I remove all that other stuff that I just installed?

k3lt01, are you shure that that is the right package? I son't see rtl818x or rtl8187L mentioned there...

EDIT:

Hey, ndiswrapper turned out to work! !!!

I got the windows NT drivers from Realtek and hooked them up to ndiswrapper, and it immediately went online.
(I'm currently sending this message trough the wg111v2 dongle by the way.)

Last edited by werner291; 05-02-2012 at 08:49 AM.
 
Old 05-02-2012, 03:44 PM   #8
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,899

Rep: Reputation: 623Reputation: 623Reputation: 623Reputation: 623Reputation: 623Reputation: 623
Quote:
Originally Posted by werner291 View Post
Thanks a lot! How can I remove all that other stuff that I just installed?

k3lt01, are you shure that that is the right package? I son't see rtl818x or rtl8187L mentioned there...

EDIT:

Hey, ndiswrapper turned out to work! !!!

I got the windows NT drivers from Realtek and hooked them up to ndiswrapper, and it immediately went online.
(I'm currently sending this message trough the wg111v2 dongle by the way.)
It's good that it worked for you with ndiswrapper.

When you look at Debian packages the title doesn't always tell you much. You need to look at the description and it tells you what it will do, the file list also gives you some info on it.
 
Old 08-01-2013, 09:22 PM   #9
kow9loon
LQ Newbie
 
Registered: Sep 2007
Posts: 3

Rep: Reputation: 0
Smile which NT driver did you get from Realtek that made your WG111v2 dongle work?

Hi Werner,

I have an "old" Netgear WG111v2 WiFi USB dongle, which I would like to make it work in Ubuntu 13.04. Thus far, I did not have much luck.

I just read your post in this thread, saying that you sucessfully made the WG111v2 USB WiFi dongle work, and that lightens up my hope. Like you, I have installed the ndiswrappers required. But, before I could make it work, I need a driver in the format of .inf.

I went to Realtek website:
http://www.official-drivers.com/inst...FS9dQgodziMAjw

and I could not find any driver have an extension .inf. I would appreciate if you could share with me the NT driver you use to bring up the dongle, and show me where I could obtain it.


Thanks,

Kow9loon
 
Old 08-02-2013, 02:11 AM   #10
werner291
Member
 
Registered: Feb 2012
Distribution: Debian (Ans soon Ubuntu and Android)
Posts: 39

Original Poster
Rep: Reputation: Disabled
Hi kow9loon,

The wifi dongle has, after an update, broken down again, and I switched to another one.

That was probably stupid because the update probably contained new "native" drivers that took over the device, that I should have blacklisted instead of buying new hardware.

I'm currently not on my main pc now, but I believe you can see which driver is being used when you plug in the device and look in /var/log/messages.

Il see if I can get you the NT driver as soon as I get back from work, but in the meantime you might want to try to go native with your drivers, but make shure that you blacklist the wrong drivers. (and use the correct syntax, that's what went wrong for me).

I believe the Debian repository has a packet with the proper drivers, not shure for Ubuntu.
 
Old 08-02-2013, 10:22 AM   #11
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,718

Rep: Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904
Quote:
Originally Posted by kow9loon View Post
I have an "old" Netgear WG111v2 WiFi USB dongle, which I would like to make it work in Ubuntu 13.04. Thus far, I did not have much luck.

I just read your post in this thread, saying that you sucessfully made the WG111v2 USB WiFi dongle work, and that lightens up my hope. Like you, I have installed the ndiswrappers required. But, before I could make it work, I need a driver in the format of .inf.
I'd try the rtl8187 module before using ndiswrapper.
 
  


Reply

Tags
debian, ndiswrapper


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
linux sees hw raid disks in wrong order whilst grub sees correctly wilibird Linux - Hardware 12 01-12-2010 06:42 PM
Ndiswrapper sees hardware, driver but will not modprobe kvgeorge1 Linux - Wireless Networking 1 05-16-2006 07:40 PM
ndiswrapper: Sees wlan card, gets signal, doesn't go online Baryn Linux - Laptop and Netbook 8 03-03-2006 06:12 AM
Suse 9.2 sees my WUSB54G as an unclassified device, why? elsmack Linux - Wireless Networking 1 03-18-2005 01:09 AM
RH9 sees ehthernet device, but won't connect? NiallC Linux - Networking 3 10-04-2003 10:02 AM


All times are GMT -5. The time now is 04:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration