wpn111 drivers, invaild

Asked by rcr_kx250f

hi, i installed unbuntu on my laptop and i am trying to get a netgear wpn111 wireless usb adapter to work. i installed ndiswrapper successfully along with the graphic interface for it. however when i attempt to install the drivers they do not appear in the list and when checked in terminal, all drivers showed "invaild". the ndiswrapper website says the wpn111 is supported. is a possible solution to reinstall the drivers? if so, how?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Olivier
Solved:
Last query:
Last reply:
Revision history for this message
Olivier (olivier-lacroix) said :
#1

Hi !

You may find the information here

https://help.ubuntu.com/community/WifiDocs/Driver/Ndiswrapper

tell me if it helps

Revision history for this message
rcr_kx250f (luke-125) said :
#2

nope no luck. i i'm using the .inf and .sys and .bin files from the netgear cd, i don't know if this is the cause.

when ndiswrapper -l is run in terminal:

x@x-laptop:~$ ndiswrapper -l
ar5523.bin : invalid driver!
athfmdwl.cat : invalid driver!
athfndwl.cat : invalid driver!
athwpn : invalid driver!
desktop?drivername : invalid driver!
desktop?e : invalid driver!
netwpn11 : invalid driver!
wpn111.sys : invalid driver!

i have tried several ways to install drivers. also does the adapter need to be connected during driver installation?

Revision history for this message
Olivier (olivier-lacroix) said :
#3

Open a Terminal (Applications | Accessories | Terminal), type lsusb and press the return/enter key.
Look through the output of the lsusb command for an entry for your wireless adapter. post the result here

Revision history for this message
rcr_kx250f (luke-125) said :
#4

Bus 001 Device 002: ID 1385:5f01
Bus 001 Device 001: ID 0000:0000

i know the id doesn't match the one given for the wpn111 on ndiswrappers website, is this the problem?

Revision history for this message
Olivier (olivier-lacroix) said :
#5

first, uninstall all those drivers

sudo ndiswrapper -r nameofthedriver

and retry the process, being sure you are not in those cases :

 Tried to install driver from CD-ROM
   ->The files need to be on your hard drive, they can not be loaded from the cd-rom
 Not all files are copied over to the hard drive
  ->Not all files from the drive are needed. You basically need a .inf and a .sys file. Some drivers also use a .bin file but there shouldn't be any other file type needed.
 Too many driver files copied to folder
  ->You should only have 1 .inf and 1 .sys file in the directory on your hard drive.
 Can't get driver.inf file to install - file not found
  ->You have to be in the directory where the .inf file is or specify the full path to the file.

it should work with the driver provided on your CD

Revision history for this message
rcr_kx250f (luke-125) said :
#6

do install just the .inf file, or do i install the .sys and .bin files as well?

Revision history for this message
Olivier (olivier-lacroix) said :
#7

Hi !

you should put the .inf and .sys (maybe the .bin) within the same directory but perform the "sudo ndiswrapper -i " only against the .inf

then report the output of

ndiswrapper -l

Revision history for this message
rcr_kx250f (luke-125) said :
#8

how do i make a directory?

Revision history for this message
Olivier (olivier-lacroix) said :
#9

right-click -> create -> directory I think

In console, the command is "mkdir nameofthedirectory" (mkdir, as MaKe DIRectory )

Revision history for this message
rcr_kx250f (luke-125) said :
#10

x@x-laptop:~$ lsusb
Bus 001 Device 003: ID 1385:5f01
Bus 001 Device 001: ID 0000:0000
x@x-laptop:~$ ndiswrapper -l
netwpn11 : driver installed

do i need to restart the computer for the adapter to work? there is no listing for it in the windows wireless drivers utility or in the network utility.

Revision history for this message
Olivier (olivier-lacroix) said :
#11

Hey ! Cool... you managed to make it work ! That's a start :-)

Strange that the command ndiswrapper -l does not report "hardware present" .... Was your adapter plugged when you issued the command ?

can you please report the output of the following command (with the adapter plugged)

sudo lshw -C network

Revision history for this message
rcr_kx250f (luke-125) said :
#12

PCI (sysfs)
IDE
Framebuffer devices

Revision history for this message
Olivier (olivier-lacroix) said :
#13

Open a Terminal and run the following commands:
  sudo depmod -a
  sudo modprobe ndiswrapper

then post here the output of

   tail /var/log/messages

Revision history for this message
rcr_kx250f (luke-125) said :
#14

x@x-laptop:~$ tail /var/log/messages
Nov 12 09:38:34 x-laptop kernel: [ 108.384000] UDF-fs: No VRS found
Nov 12 09:39:43 x-laptop kernel: [ 176.852000] pcmcia: Detected deprecated PCMCIA ioctl usage from process: lshw.
Nov 12 09:39:43 x-laptop kernel: [ 176.852000] pcmcia: This interface will soon be removed from the kernel; please expect breakage unless you upgrade to new tools.
Nov 12 09:39:43 x-laptop kernel: [ 176.852000] pcmcia: see http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html for details.
Nov 12 09:40:47 x-laptop kernel: [ 241.128000] usb 1-2: USB disconnect, address 2
Nov 12 09:57:26 x-laptop -- MARK --
Nov 12 10:01:08 x-laptop kernel: [ 1462.004000] usb 1-2: new full speed USB device using uhci_hcd and address 3
Nov 12 10:01:08 x-laptop kernel: [ 1462.164000] usb 1-2: configuration #1 chosen from 1 choice
Nov 12 10:07:30 x-laptop kernel: [ 1844.076000] ndiswrapper version 1.45 loaded (smp=yes)
Nov 12 10:07:30 x-laptop kernel: [ 1844.172000] usbcore: registered new interface driver ndiswrapper

Revision history for this message
Olivier (olivier-lacroix) said :
#15

no error : good !

enter this in console

gksudo gedit /etc/modules

and add the word ndiswrapper at the end of the file.

this way, the module will be loaded automatically at boot

post here the output of the command

ifconfig

and the command

ifconfig

post also your file /etc/network/interfaces
(you can get it by entering in console " cat /etc/network/interfaces" )

Revision history for this message
Olivier (olivier-lacroix) said :
#16

You can also use the gparted application that you will find somewhere in the "Application menu". this interface might be far more similar to the one explained in the above link

Same thing here, post a screenshot before hitting applying.

Revision history for this message
Olivier (olivier-lacroix) said :
#17

oops. I mixed two answers. just do like the last post did not exist...

Revision history for this message
rcr_kx250f (luke-125) said :
#18

x@x-laptop:~$ gksudo gedit/etc/modules ndiswrapper
x@x-laptop:~$ ifconfig
lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

x@x-laptop:~$ cat /etc/network/interfaces
auto lo
iface lo inet loopback

Revision history for this message
Olivier (olivier-lacroix) said :
#19

"gksudo gedit /etc/modules ndiswrapper" won't add ndiswrapper at the end of the file I think ...

you have to type gksudo gedit /etc/modules ndiswrapper THEN enter the word ndiswrapper at the end of the text file that has just popped up. then save the file, close it, plug your wireless adapter and reboot.

open a console an enter :

sudo killall NetworkManager
sudo NetworkManager --no-daemon

post here the output

Revision history for this message
rcr_kx250f (luke-125) said :
#20

x@x-laptop:~$ sudo NetworkManager --no-daemon
NetworkManager: <info> starting...
NetworkManager: <info> Updating allowed wireless network lists.
NetworkManager: <WARN> nm_dbus_get_networks_cb(): error received: org.freedesktop.NetworkManagerInfo.NoNetworks - There are no wireless networks stored..

Revision history for this message
rcr_kx250f (luke-125) said :
#21

x@x-laptop:~$ sudo NetworkManager --no-daemon
NetworkManager: <info> starting...
NetworkManager: <info> Updating allowed wireless network lists.
NetworkManager: <WARN> nm_dbus_get_networks_cb(): error received: org.freedesktop.NetworkManagerInfo.NoNetworks - There are no wireless networks stored..

Revision history for this message
Olivier (olivier-lacroix) said :
#22

please post here the output of the following commands.

ndiswrapper -l

lsmod | grep ndiswrapper

ifconfig

iwconfig

Revision history for this message
rcr_kx250f (luke-125) said :
#23

x@x-laptop:~$ ndiswrapper -l
netwpn11 : driver installed
x@x-laptop:~$ lsmod
Module Size Used by
nls_iso8859_1 5120 0
vfat 14080 0
fat 54300 1 vfat
sg 36764 0
sd_mod 30336 0
usb_storage 73024 0
libusual 18448 1 usb_storage
nls_cp437 6784 1
isofs 36412 1
udf 87204 0
ppdev 10244 0
cpufreq_userspace 5280 0
cpufreq_ondemand 9612 0
cpufreq_stats 7232 0
freq_table 5792 2 cpufreq_ondemand,cpufreq_stats
cpufreq_conservative 8072 0
cpufreq_powersave 2688 0
battery 11012 0
ac 6148 0
video 18060 0
button 8976 0
sbs 19592 0
dock 10656 0
container 5504 0
ndiswrapper 185240 0
lp 12580 0
snd_via82xx 29336 1
gameport 16776 1 snd_via82xx
snd_ac97_codec 100644 1 snd_via82xx
ac97_bus 3200 1 snd_ac97_codec
snd_pcm_oss 44672 0
snd_mixer_oss 17664 1 snd_pcm_oss
joydev 11328 0
snd_pcm 80388 3 snd_via82xx,snd_ac97_codec,snd_pcm_oss
snd_page_alloc 11400 2 snd_via82xx,snd_pcm
snd_mpu401_uart 9600 1 snd_via82xx
pcmcia 41388 0
snd_seq_dummy 4740 0
snd_seq_oss 33152 0
snd_seq_midi 9600 0
snd_rawmidi 25728 2 snd_mpu401_uart,snd_seq_midi
snd_seq_midi_event 8448 2 snd_seq_oss,snd_seq_midi
snd_seq 53232 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
psmouse 39952 0
pcspkr 4224 0
serio_raw 8068 0
snd_timer 24324 2 snd_pcm,snd_seq
snd_seq_device 9228 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
via686a 17416 0
i2c_isa 5248 1 via686a
yenta_socket 27532 1
rsrc_nonstatic 14080 1 yenta_socket
i2c_viapro 10004 0
snd 54660 13 snd_via82xx,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_mpu401_uart,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
pcmcia_core 40980 3 pcmcia,yenta_socket,rsrc_nonstatic
i2c_core 26112 3 via686a,i2c_isa,i2c_viapro
soundcore 8800 1 snd
via_agp 11264 1
parport_pc 37412 1
agpgart 35016 1 via_agp
shpchp 34580 0
pci_hotplug 32704 1 shpchp
parport 37448 3 ppdev,lp,parport_pc
evdev 11136 5
ext3 133896 1
jbd 60456 1 ext3
mbcache 9732 1 ext3
ide_cd 32672 1
cdrom 37536 1 ide_cd
ide_disk 18560 3
ata_generic 8452 0
libata 125168 1 ata_generic
scsi_mod 147084 4 sg,sd_mod,usb_storage,libata
floppy 60004 0
uhci_hcd 26640 0
usbcore 138632 5 usb_storage,libusual,ndiswrapper,uhci_hcd
via82cxxx 10372 0 [permanent]
ide_core 116804 4 usb_storage,ide_cd,ide_disk,via82cxxx
thermal 14344 0
processor 32072 1 thermal
fan 5764 0
fuse 47124 1
apparmor 40728 0
commoncap 8320 1 apparmor

x@x-laptop:~$ ifconfig
lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

x@x-laptop:~$ iwconfig
lo no wireless extensions.

grep ndiswrapper did nothing.

Revision history for this message
Olivier (olivier-lacroix) said :
#24

Bad news : there is a problem...

good news : a guy solved it :-)

see http://ubuntuforums.org/showthread.php?t=330873

so, basically, using your driver CD, you should install the athwpn.inf stuff too and follow the steps explained there

at the end, enter the command iwconfig and post the result here. tell me if you encounter any problem. Don't worry, I think you are about to get wifi :-)

Revision history for this message
rcr_kx250f (luke-125) said :
#25

no luck, the athwpn.inf driver shows as invaild after install but the netwpn11.inf file is show as vaild.
x@x-laptop:~$ iwconfig
lo no wireless extensions

the confusing part is that the cd has the first page with all the files then a ndis5 folder with all the same files in it. which set do i use?

Revision history for this message
Best Olivier (olivier-lacroix) said :
#26

From the previous link,

those in the ndis5 folder I guess. Try to uninstall those previously installed, then install the athwpn.inf , then the netwpn11.inf

before, copy the entire ndis5 folder on your disc

Revision history for this message
rcr_kx250f (luke-125) said :
#27

it worked! thanks for all the help!

Revision history for this message
rcr_kx250f (luke-125) said :
#28

Thanks Olivier, that solved my question.