Choose style:

Author Topic: Can't get ndiswrapper to work (solved)  (Read 3564 times)

0 Members and 1 Guest are viewing this topic.

Offline 10i

  • Trusted User
  • Member
  • *****
  • Posts: 489
  • Karma: 143
  • Peppermint Enthusiast
    • View Profile
    • My Peppermint Blog
  • Peppermint version(s): Peppermint 10 - 64 bit
Can't get ndiswrapper to work (solved)
« on: June 22, 2015, 04:37:57 pm »
Hi everyone, PCNetSpec was kind enough to help me set up my WNA3100 with Peppermint 5. It used ndiswrapper.

To date, I have not been able to install this program, I keep getting an error that Peppermint cannot locate ndiswrapper, when I try to run:

sudo ndiswrapper -r bcmwlhigh5

I even tried: sudo apt-get install ndiswrapper, and it can't find it.
Please help guys, I am using my tablet as a wifi adapter, but I would much rather not.

Spoiler (click here to view / hide)
tienie@antec ~ $ ndiswrapper -r bcmwlhigh5
Error: unable to find a version of ndiswrapper!
tienie@antec ~ $ sudo ndiswrapper -r bcmwlhigh5
Error: unable to find a version of ndiswrapper!
tienie@antec ~ $ sudo apt-get install ndiswrapper
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package ndiswrapper
[close]
« Last Edit: June 23, 2015, 02:43:53 pm by 10i »
Peppermint user since Fire / Ice

View my Linux blog:  http://myiceadventure.blogspot.com

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Can't get ndiswrapper to work
« Reply #1 on: June 22, 2015, 04:50:36 pm »
Try
Code: [Select]
sudo apt-get install dkms ndisgtk
now try setting up your card.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline 10i

  • Trusted User
  • Member
  • *****
  • Posts: 489
  • Karma: 143
  • Peppermint Enthusiast
    • View Profile
    • My Peppermint Blog
  • Peppermint version(s): Peppermint 10 - 64 bit
Re: Can't get ndiswrapper to work
« Reply #2 on: June 23, 2015, 12:27:08 am »
Spoiler (click here to view / hide)
tienie@antec ~ $ sudo apt-get install dkms ndisgtk
[sudo] password for tienie:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  fakeroot gcc gcc-4.8 libasan0 libatomic1 libc-dev-bin libc6-dev libfakeroot
  libgcc-4.8-dev libitm1 libtsan0 linux-libc-dev make manpages manpages-dev
  ndiswrapper-dkms ndiswrapper-utils-1.9
Suggested packages:
  dpkg-dev debhelper gcc-multilib autoconf automake1.9 libtool flex bison gdb
  gcc-doc gcc-4.8-multilib gcc-4.8-doc gcc-4.8-locales libgcc1-dbg
  libgomp1-dbg libitm1-dbg libatomic1-dbg libasan0-dbg libtsan0-dbg
  libquadmath0-dbg glibc-doc make-doc ndiswrapper-source
The following NEW packages will be installed:
  dkms fakeroot gcc gcc-4.8 libasan0 libatomic1 libc-dev-bin libc6-dev
  libfakeroot libgcc-4.8-dev libitm1 libtsan0 linux-libc-dev make manpages
  manpages-dev ndisgtk ndiswrapper-dkms ndiswrapper-utils-1.9
0 upgraded, 19 newly installed, 0 to remove and 0 not upgraded.
Need to get 12,6 MB of archives.
After this operation, 44,0 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://za.archive.ubuntu.com/ubuntu/ trusty-updates/main libasan0 amd64 4.8.4-2ubuntu1~14.04 [63,0 kB]
Get:2 http://za.archive.ubuntu.com/ubuntu/ trusty-updates/main libatomic1 amd64 4.8.4-2ubuntu1~14.04 [8 650 B]
Get:3 http://za.archive.ubuntu.com/ubuntu/ trusty-updates/main libitm1 amd64 4.8.4-2ubuntu1~14.04 [28,6 kB]
Get:4 http://za.archive.ubuntu.com/ubuntu/ trusty-updates/main libtsan0 amd64 4.8.4-2ubuntu1~14.04 [94,7 kB]
Get:5 http://za.archive.ubuntu.com/ubuntu/ trusty/main manpages all 3.54-1ubuntu1 [627 kB]
Get:6 http://za.archive.ubuntu.com/ubuntu/ trusty-updates/main libgcc-4.8-dev amd64 4.8.4-2ubuntu1~14.04 [1 687 kB]
Get:7 http://za.archive.ubuntu.com/ubuntu/ trusty-updates/main gcc-4.8 amd64 4.8.4-2ubuntu1~14.04 [5 049 kB]
Get:8 http://za.archive.ubuntu.com/ubuntu/ trusty/main gcc amd64 4:4.8.2-1ubuntu6 [5 098 B]
Get:9 http://za.archive.ubuntu.com/ubuntu/ trusty/main make amd64 3.81-8.2ubuntu3 [119 kB]
Get:10 http://za.archive.ubuntu.com/ubuntu/ trusty-updates/main dkms all 2.2.0.3-1.1ubuntu5.14.04 [64,6 kB]
Get:11 http://za.archive.ubuntu.com/ubuntu/ trusty/main libfakeroot amd64 1.20-3ubuntu2 [25,4 kB]
Get:12 http://za.archive.ubuntu.com/ubuntu/ trusty/main fakeroot amd64 1.20-3ubuntu2 [55,0 kB]
Get:13 http://za.archive.ubuntu.com/ubuntu/ trusty-updates/main libc-dev-bin amd64 2.19-0ubuntu6.6 [68,9 kB]
Get:14 http://za.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-libc-dev amd64 3.13.0-55.94 [772 kB]
Get:15 http://za.archive.ubuntu.com/ubuntu/ trusty-updates/main libc6-dev amd64 2.19-0ubuntu6.6 [1 910 kB]
Get:16 http://za.archive.ubuntu.com/ubuntu/ trusty/main manpages-dev all 3.54-1ubuntu1 [1 820 kB]
Get:17 http://za.archive.ubuntu.com/ubuntu/ trusty/universe ndiswrapper-utils-1.9 amd64 1.59-2 [18,5 kB]
Get:18 http://za.archive.ubuntu.com/ubuntu/ trusty/universe ndisgtk amd64 0.8.5-1ubuntu1 [16,8 kB]
Get:19 http://za.archive.ubuntu.com/ubuntu/ trusty/universe ndiswrapper-dkms all 1.59-2 [140 kB]
Fetched 12,6 MB in 1min 1s (205 kB/s)                                         
Selecting previously unselected package libasan0:amd64.
(Reading database ... 195853 files and directories currently installed.)
Preparing to unpack .../libasan0_4.8.4-2ubuntu1~14.04_amd64.deb ...
Unpacking libasan0:amd64 (4.8.4-2ubuntu1~14.04) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../libatomic1_4.8.4-2ubuntu1~14.04_amd64.deb ...
Unpacking libatomic1:amd64 (4.8.4-2ubuntu1~14.04) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../libitm1_4.8.4-2ubuntu1~14.04_amd64.deb ...
Unpacking libitm1:amd64 (4.8.4-2ubuntu1~14.04) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../libtsan0_4.8.4-2ubuntu1~14.04_amd64.deb ...
Unpacking libtsan0:amd64 (4.8.4-2ubuntu1~14.04) ...
Selecting previously unselected package manpages.
Preparing to unpack .../manpages_3.54-1ubuntu1_all.deb ...
Unpacking manpages (3.54-1ubuntu1) ...
Selecting previously unselected package libgcc-4.8-dev:amd64.
Preparing to unpack .../libgcc-4.8-dev_4.8.4-2ubuntu1~14.04_amd64.deb ...
Unpacking libgcc-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04) ...
Selecting previously unselected package gcc-4.8.
Preparing to unpack .../gcc-4.8_4.8.4-2ubuntu1~14.04_amd64.deb ...
Unpacking gcc-4.8 (4.8.4-2ubuntu1~14.04) ...
Selecting previously unselected package gcc.
Preparing to unpack .../gcc_4%3a4.8.2-1ubuntu6_amd64.deb ...
Unpacking gcc (4:4.8.2-1ubuntu6) ...
Selecting previously unselected package make.
Preparing to unpack .../make_3.81-8.2ubuntu3_amd64.deb ...
Unpacking make (3.81-8.2ubuntu3) ...
Selecting previously unselected package dkms.
Preparing to unpack .../dkms_2.2.0.3-1.1ubuntu5.14.04_all.deb ...
Unpacking dkms (2.2.0.3-1.1ubuntu5.14.04) ...
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../libfakeroot_1.20-3ubuntu2_amd64.deb ...
Unpacking libfakeroot:amd64 (1.20-3ubuntu2) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../fakeroot_1.20-3ubuntu2_amd64.deb ...
Unpacking fakeroot (1.20-3ubuntu2) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../libc-dev-bin_2.19-0ubuntu6.6_amd64.deb ...
Unpacking libc-dev-bin (2.19-0ubuntu6.6) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../linux-libc-dev_3.13.0-55.94_amd64.deb ...
Unpacking linux-libc-dev:amd64 (3.13.0-55.94) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../libc6-dev_2.19-0ubuntu6.6_amd64.deb ...
Unpacking libc6-dev:amd64 (2.19-0ubuntu6.6) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../manpages-dev_3.54-1ubuntu1_all.deb ...
Unpacking manpages-dev (3.54-1ubuntu1) ...
Selecting previously unselected package ndiswrapper-utils-1.9.
Preparing to unpack .../ndiswrapper-utils-1.9_1.59-2_amd64.deb ...
Unpacking ndiswrapper-utils-1.9 (1.59-2) ...
Selecting previously unselected package ndisgtk.
Preparing to unpack .../ndisgtk_0.8.5-1ubuntu1_amd64.deb ...
Unpacking ndisgtk (0.8.5-1ubuntu1) ...
Selecting previously unselected package ndiswrapper-dkms.
Preparing to unpack .../ndiswrapper-dkms_1.59-2_all.deb ...
Unpacking ndiswrapper-dkms (1.59-2) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for menu (2.1.46ubuntu1) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Setting up libasan0:amd64 (4.8.4-2ubuntu1~14.04) ...
Setting up libatomic1:amd64 (4.8.4-2ubuntu1~14.04) ...
Setting up libitm1:amd64 (4.8.4-2ubuntu1~14.04) ...
Setting up libtsan0:amd64 (4.8.4-2ubuntu1~14.04) ...
Setting up manpages (3.54-1ubuntu1) ...
Setting up libgcc-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04) ...
Setting up gcc-4.8 (4.8.4-2ubuntu1~14.04) ...
Setting up gcc (4:4.8.2-1ubuntu6) ...
Setting up make (3.81-8.2ubuntu3) ...
Setting up dkms (2.2.0.3-1.1ubuntu5.14.04) ...
Setting up libfakeroot:amd64 (1.20-3ubuntu2) ...
Setting up fakeroot (1.20-3ubuntu2) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up libc-dev-bin (2.19-0ubuntu6.6) ...
Setting up linux-libc-dev:amd64 (3.13.0-55.94) ...
Setting up libc6-dev:amd64 (2.19-0ubuntu6.6) ...
Setting up manpages-dev (3.54-1ubuntu1) ...
Setting up ndiswrapper-utils-1.9 (1.59-2) ...
Setting up ndisgtk (0.8.5-1ubuntu1) ...
Setting up ndiswrapper-dkms (1.59-2) ...
Loading new ndiswrapper-1.59 DKMS files...
First Installation: checking all kernels...
Building for 3.16.0-37-generic and 3.16.0-41-generic
Building initial module for 3.16.0-37-generic
Done.

ndiswrapper:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.16.0-37-generic/updates/

depmod........

DKMS: install completed.
Building initial module for 3.16.0-41-generic
Done.

ndiswrapper:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.16.0-41-generic/updates/

depmod...........

DKMS: install completed.
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
Processing triggers for menu (2.1.46ubuntu1) ...
tienie@antec ~ $ sudo ndiswrapper -r bcmwlhigh5
couldn't delete /etc/ndiswrapper/bcmwlhigh5: No such file or directory
tienie@antec ~ $ sudo apt install ndisgtk ndiswrapper-dkms
Reading package lists... Done
Building dependency tree       
Reading state information... Done
ndisgtk is already the newest version.
ndiswrapper-dkms is already the newest version.
ndiswrapper-dkms set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
tienie@antec ~ $ mkdir ~/WNA3100-driver
tienie@antec ~ $ cd ~/WNA3100-driver
tienie@antec ~/WNA3100-driver $ wget https://dl.dropboxusercontent.com/u/11876059/wna3100-drivers.tar.gz
--2015-06-23 06:25:00--  https://dl.dropboxusercontent.com/u/11876059/wna3100-drivers.tar.gz
Resolving dl.dropboxusercontent.com (dl.dropboxusercontent.com)... 54.243.96.35, 54.221.222.114, 23.23.121.189, ...
Connecting to dl.dropboxusercontent.com (dl.dropboxusercontent.com)|54.243.96.35|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 454922 (444K) [application/octet-stream]
Saving to: ‘wna3100-drivers.tar.gz’

100%[======================================>] 454 922      159KB/s   in 2,8s   

2015-06-23 06:25:06 (159 KB/s) - ‘wna3100-drivers.tar.gz’ saved [454922/454922]

tienie@antec ~/WNA3100-driver $ tar xvf wna3100-drivers.tar.gz
wna3100-drivers/bcmwlhigh5.sys
wna3100-drivers/bcmh43xx.cat
wna3100-drivers/
wna3100-drivers/bcmh43xx64.cat
wna3100-drivers/bcmwlhigh5.inf
tienie@antec ~/WNA3100-driver $ cd ~/WNA3100-driver/wna3100-drivers
tienie@antec ~/WNA3100-driver/wna3100-drivers $ sudo ndiswrapper -i bcmwlhigh5.inf
installing bcmwlhigh5 ...
couldn't find "bcmwlhigh564.sys" in "."; make sure all driver files, including .inf, .sys (and any firmware files) are in "." -
installation may be incomplete
tienie@antec ~/WNA3100-driver/wna3100-drivers $ sudo modprobe ndiswrapper
tienie@antec ~/WNA3100-driver/wna3100-drivers $
[close]

not sure what went wrong, although my system was 32 bit last time you helped me. Would this be what's wrong?
« Last Edit: June 23, 2015, 12:36:58 am by 10i »
Peppermint user since Fire / Ice

View my Linux blog:  http://myiceadventure.blogspot.com

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Can't get ndiswrapper to work
« Reply #3 on: June 23, 2015, 04:44:34 am »
That's exactly what's wrong ..  I can look for the 64bit Windows drivers but I don't think they work, do you want to try ?



If so, run these commands in sequence:
Code: [Select]
sudo ndiswrapper -r bcmwlhigh5
then
Code: [Select]
cd ~/Desktop
then
Code: [Select]
wget https://dl.dropboxusercontent.com/u/11876059/wna3100-windows-drivers.tar.gz
then
Code: [Select]
tar xvf wna3100-windows-drivers.tar.gz
then
Code: [Select]
cd ~/Desktop/wna3100-windows-drivers
then
Code: [Select]
sudo ndiswrapper -i bcmwlhigh5.inf
then
Code: [Select]
sudoo modprobe ndiswrapper
« Last Edit: June 23, 2015, 05:04:08 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline 10i

  • Trusted User
  • Member
  • *****
  • Posts: 489
  • Karma: 143
  • Peppermint Enthusiast
    • View Profile
    • My Peppermint Blog
  • Peppermint version(s): Peppermint 10 - 64 bit
Re: Can't get ndiswrapper to work
« Reply #4 on: June 23, 2015, 09:26:09 am »
I would like to try, will check when I get home in about 4 hours time

Sent from my GT-I9190 using Tapatalk

Peppermint user since Fire / Ice

View my Linux blog:  http://myiceadventure.blogspot.com

Offline 10i

  • Trusted User
  • Member
  • *****
  • Posts: 489
  • Karma: 143
  • Peppermint Enthusiast
    • View Profile
    • My Peppermint Blog
  • Peppermint version(s): Peppermint 10 - 64 bit
Re: Can't get ndiswrapper to work
« Reply #5 on: June 23, 2015, 02:43:27 pm »
Thanks, it works like a charm  8)
Peppermint user since Fire / Ice

View my Linux blog:  http://myiceadventure.blogspot.com

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Can't get ndiswrapper to work (solved)
« Reply #6 on: June 23, 2015, 02:55:05 pm »
Great news .. thanks for marking the topic solved :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec