Trying to set up wireless WPA connection on Kubuntu using ndiswrapper
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Trying to set up wireless WPA connection on Kubuntu using ndiswrapper
I managed to get to the point of installing ndiswrapper after following a bunch of web postings on how to use ndiswrapper and asking another more experienced linux user. I'm new to all this so please assume that I don't know the first thing about linux!
After getting hold of a driver package from the internet, I did the following -
1. sudo ndiswrapper -i odwgu.inf (install the .inf file - came out of the driver)
2. sudo ndiswrapper -l (checked to see if it would list drivers which it did)
3. sudo modprobe ndiswrapper
4. sudo dmesg (system log said that it loaded the ndiswrapper)
5. iwconfig (used this to check the network interfaces. Incidentally, the wireless card being used here is an Ativa USB card. The available network interface was eth1. Here's where I got stuck, because most of the posts show it as wlan0 not eth1. Does this mean the computer doesn't detect the wireless card? I went ahead and followed the rest of the instructions)
6. sudo iwlist eth1 scan (used this to get statistics and ESSID)
7. sudo iwconfig eth1 essid "South Jersey Shore" (is it a problem if I named my ESSID like this?)
8. sudo dhclient eth1
This is where I got a returned message like this -
localhost dhclient No DHCPOFFERS received.
localhost dhclient No working leases in persistent database - sleeping.
Obviously it's not detecting anything...
What can I do???
Distribution: Debian 10 | Kali Linux | Ubuntu 20.04 LTS
Posts: 382
Rep:
Are you sure that you are connected to your access point? In the title, you stated setting up wpa. Do you have wpa_supplicant installed? The error of No DHCP Offers Received usually indicates that you are not connected, or there is no DHCP server available. Post the results of ifconfig, iwconfig, and your interfaces config file (replace any WEP/WPA keys with X's).
Try turning off WPA and any other security on the wireless router temporarily to see if it will connect. Troubleshoot your connection without WPA until you can connect, then work on WPA.
WPA was turned off when I tried this. I double checked and I'm getting the same error message. I'm not sure what you mean by being connected to my access point. That is what I've been trying to achieve, correct?
Distribution: Debian 10 | Kali Linux | Ubuntu 20.04 LTS
Posts: 382
Rep:
It doesn't matter that your system is identifying the wireless adapter as eth1, that's actually quite common. The adapter on my Debian Etch machine and my Mint laptop are both detected as eth1. Some distros detect them as wlan1, and the atheros chipset based wireless adapters are usually detected as ath1. As long as it is detected as a wireless adapter, you are ok.
When you ran iwlist eth1 scan, what was the result? Did you see a list of available connection points?
What distribution are you running (i.e. Fedora, Ubuntu, etc.)?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.