You are not logged in.
I am trying to install a wifi card using a Windows driver following https://wiki.archlinux.org/index.php/Ne … diswrapper.
When I try to install ndiswrapper-dkms, this is what happens.
[mattsimenc@mldesktop ~]$ sudo pacman -Syu ndiswrapper-dkms
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
warning: ndiswrapper-dkms-1.62-1 is up to date -- reinstalling
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
Packages (1) ndiswrapper-dkms-1.62-1
Total Installed Size: 0.70 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [##############################################################] 100%
(1/1) checking package integrity [##############################################################] 100%
(1/1) loading package files [##############################################################] 100%
(1/1) checking for file conflicts [##############################################################] 100%
(1/1) checking available disk space [##############################################################] 100%
:: Running pre-transaction hooks...
(1/1) Remove DKMS modules
:: Processing package changes...
(1/1) reinstalling ndiswrapper-dkms [##############################################################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Install DKMS modules
==> dkms install ndiswrapper/1.62 -k 5.4.15-arch1-1
Error! Bad return status for module build on kernel: 5.4.15-arch1-1 (x86_64)
Consult /var/lib/dkms/ndiswrapper/1.62/build/make.log for more information.And /var/lib/dkms/ndiswrapper/1.62/build/make.log shows this error:
/var/lib/dkms/ndiswrapper/1.62/build/wrapndis.c: In function ‘setup_tx_sg_list’:
/var/lib/dkms/ndiswrapper/1.62/build/wrapndis.c:460:28: error: ‘skb_frag_t’ {aka ‘struct bio_vec’} has no member named ‘size’
460 | sg_element->length = frag->size;
| ^~
/var/lib/dkms/ndiswrapper/1.62/build/wrapndis.c:463:16: error: ‘skb_frag_t’ {aka ‘struct bio_vec’} has no member named ‘page_offset’; did you mean ‘bv_offset’?
463 | frag->page_offset, frag->size,
| ^~~~~~~~~~~
| bv_offset
/var/lib/dkms/ndiswrapper/1.62/build/wrapndis.c:463:33: error: ‘skb_frag_t’ {aka ‘struct bio_vec’} has no member named ‘size’
463 | frag->page_offset, frag->size,
| ^~
/var/lib/dkms/ndiswrapper/1.62/build/iw_ndis.c: In function ‘set_ndis_auth_mode’:
/var/lib/dkms/ndiswrapper/1.62/build/iw_ndis.c:702:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
702 | wnd->iw_auth_key_mgmt = IW_AUTH_KEY_MGMT_PSK;
/var/lib/dkms/ndiswrapper/1.62/build/iw_ndis.c:703:2: note: here
703 | case Ndis802_11AuthModeWPANone:
| ^~~~
make[2]: *** [scripts/Makefile.build:265: /var/lib/dkms/ndiswrapper/1.62/build/wrapndis.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:1652: /var/lib/dkms/ndiswrapper/1.62/build] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.4.15-arch1-1/build'
make: *** [Makefile:183: modules] Error 2Help!
Last edited by mcsimenc (2020-02-02 05:23:17)
Offline
Please try ndiswrapper-arch instead of ndiswrapper-dkms which is missing https://git.archlinux.org/svntogit/comm … apper-arch and also https://git.archlinux.org/svntogit/comm … apper-arch
Edit:
What was the wireless card by the way?
Last edited by loqs (2020-02-02 04:40:20)
Offline
Thanks! That did it.
The wireless card is Asus PCE-AC56 AC1300
https://www.asus.com/us/Networking/PCEAC56/
Offline
Did broadcom-wl not work with that card? `lspci -nnk` output should provide the VID:PID for the product 14e4 is the VID for broadcom.
Offline
Thank you for suggesting that, broadcom-wl seems to work.
However I can't seem to connect. I'm following the instructions at https://wiki.archlinux.org/index.php/Ne … cess_point
Whatever I try, iw connect outputs help information without doing anything:
[mattsimenc@mldesktop ~]$ sudo iw dev wlp4s0 connect "zivio" key 0:mykey
key must be [d:]index:data where
'd:' means default (transmit) key
'index:' is a single digit (0-3)
'data' must be 5 or 13 ascii chars
or 10 or 26 hex digits
for example: d:2:6162636465 is the same as d:2:abcde
or psk:data <AKM Suite> <pairwise CIPHER> <groupwise CIPHER> where
'data' is the PSK (output of wpa_passphrase and the CIPHER can be CCMP or GCMP
for example: psk:0123456789abcdef PSK CCMP CCMP
The allowed AKM suites are PSK, FT/PSK, PSK/SHA-256
The allowed Cipher suites are TKIP, CCMP, GCMP, GCMP-256, CCMP-256Any idea?
Edit: I was able to connect successfully using the GUI Wifi connection interface. Thanks for the help!
Last edited by mcsimenc (2020-02-02 19:34:24)
Offline