Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 07-31-2008, 08:07 PM   #1
LQ Newbie
Registered: Jul 2008
Posts: 2

Rep: Reputation: 0
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???

Thanks in advance for the help!
Old 08-01-2008, 08:36 AM   #2
Tons of Fun
Registered: Dec 2004
Location: Orlando, Florida
Distribution: Debian Wheezy / BackTrack 5/ Linux Mint 17
Posts: 379

Rep: Reputation: 37
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).
Old 08-01-2008, 10:41 AM   #3
Registered: Dec 2005
Location: Oregon
Distribution: Debian Testing
Posts: 488

Rep: Reputation: 38
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.
Old 08-04-2008, 05:57 PM   #4
LQ Newbie
Registered: Jul 2008
Posts: 2

Original Poster
Rep: Reputation: 0
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?
Old 08-04-2008, 07:50 PM   #5
Tons of Fun
Registered: Dec 2004
Location: Orlando, Florida
Distribution: Debian Wheezy / BackTrack 5/ Linux Mint 17
Posts: 379

Rep: Reputation: 37
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.)?

Finally, what is the results of iwconfig?


kubuntu, wireless, wpa

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing NDISwrapper in Kubuntu via Adept without internet connection Ronson Linux - Newbie 0 06-25-2008 12:27 PM
Can't connect wireless DLINK card with ndiswrapper and WPA+TKIP eraosso Slackware 10 12-28-2007 11:32 AM
wireless ndiswrapper wpa troubles PatrickNew Linux - Wireless Networking 2 06-24-2007 12:23 AM
Wireless connection problem ( WPA or something else) peter07 Linux - Wireless Networking 1 12-16-2006 06:38 AM
Wireless NIC can't Authenticate to AP using WPA; ndiswrapper/wpa_supplicant patkalolo Linux - Wireless Networking 8 07-31-2006 03:47 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:08 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration