Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 558  / 3 Years ago, tue, october 5, 2021, 12:35:31

So during my quest to get TL-WN821N, I got stopped by this problem..



I installed all the ndiswrapper programs with sudo apt-get install. They were, commons, utils-1.9, source, gtk and something else I think.



So I got it all installed, restarted and so far so good. Now I installed my USB wifi card driver which was for XP 64bit.



Another restart and bam:



enter image description here



So what is this and how can I recover from this?
Booting Ubuntu in recovery mode will produce the same error.


More From » wireless

 Answers
1

This is probably due to a bug in the driver or in ndiswrapper. Have you Googled, to see if other people have had success using ndiswrapper with that same device/driver?



To recover, basically: boot a Live CD, chroot into your installation, remove offending driver. Say your root partition is /dev/sda1, then after booting the Live CD, do




sudo mount /dev/sda1 /mnt
sudo mount -t proc none /mnt/proc
sudo mount -o bind /dev /mnt/dev
sudo chroot /mnt /bin/bash



(If the second command fails, it's probably because you mounted the wrong partition in the first one.) This will give you a root shell in your installed system, in which you can remove the offending driver from ndiswrapper, or even uninstall ndiswrapper altogether. When you are done, exit from the chrooted shell, unmount everything:




sudo umount /mnt/proc
sudo umount /mnt/dev
sudo umount /mnt



and reboot normally.


[#24999] Tuesday, October 5, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
bunsistent

Total Points: 198
Total Questions: 108
Total Answers: 121

Location: Monaco
Member since Sun, Jan 16, 2022
2 Years ago
;