LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   WPA2 network; ndiswrapper wireless; Ubuntu 9.04; have to reset router to get online (https://www.linuxquestions.org/questions/linux-networking-3/wpa2-network%3B-ndiswrapper-wireless%3B-ubuntu-9-04%3B-have-to-reset-router-to-get-online-799429/)

MrCode 04-02-2010 03:22 PM

Quote:

In "LAN SETUP" make sure that "Use the Router as a DHCP Server" is UNCHECKED.
Not an option. The Win7 laptop uses DHCP to get an IP address. I'll ask if he can set up a static IP, though.

Also: NEW PROBLEM: Wicd will periodically freeze when I try to reconnect (i.e. click "Disconnect", then "Connect" again). No amount of restarting wicd-client will clear it up. If I do, then it freezes again when it's scanning for networks. It doesn't appear to have anything to do with the GTK theme as suggested on this page.

nimnull22 04-02-2010 03:35 PM

Leave DHCP enabled.
But set "Ending IP address" = 192.168.1.10
And then give your computer IP = 192.168.1.15

What about other things I told you?

Can you use WEP?

MrCode 04-02-2010 03:38 PM

Well, I suppose I can try it with DHCP off, just temporarily, seeing as I'm the only one in the house at the moment, and so no one else is using the network right now...I can always turn it back on again (I hope). I'll try it and post back here from Ubuntu if it worked. :)

As far as WEP, I don't think that would be the best idea for security reasons; it's been known to be insecure, compared to WPA/2.

EDIT: Scratch that idea. It means I'll have to reconfigure this machine's IP manually, and I don't know how to do that in Windows. :( I suppose this means I'll have to try and get NetworkManager back, and go back to the way things were, right?

:cry: (I just can't win...)

nimnull22 04-02-2010 03:41 PM

Leave DHCP enabled.

Set "Ending IP address" = 192.168.1.10
And then give your computer IP = 192.168.1.15

MrCode 04-02-2010 03:45 PM

Quote:

Set "Ending IP address" = 192.168.1.10
And then give your computer IP = 192.168.1.15
So, basically all I have to do is set my computer's static IP to something outside the DHCP address range? That sounds more doable. :D

The address range is currently 192.168.1.2 to '.'.'.254. I'll see if 192.168.1.255 does the trick.

EDIT: Nope, still nothing. I'll try reducing the address range, as per your suggestion.

nimnull22 04-02-2010 03:51 PM

It doesn't, because 192.168.1.255 can't be use.

What about other things, I told you to change in my previous post?
1. "Wireless Settings" window, set "Mode" to:"Up To 54 Mbps"
2. "Security Options" on the page 2-12, make sure you chose: (WPA-PSK [TKIP] + WP2-PSK [AES])

MrCode 04-02-2010 03:54 PM

Quote:

What about other things, I told you to change in my previous post?
Just tried setting IP to 192.168.1.15 and reducing the DHCP address max to '.'.'.10. Still getting "Destination Host Unreachable". :( I did apply the settings. To be honest, I'm not sure if disabling DHCP altogether would work, either.

Quote:

1. "Wireless Settings" window, set "Mode" to:"Up To 54 Mbps"
2. "Security Options" on the page 2-12, make sure you chose: (WPA-PSK [TKIP] + WP2-PSK [AES])
1. Just tried it, same thing.

2. It's already set to both.

nimnull22 04-02-2010 03:57 PM

1. "Wireless Settings" page 2-12, set "Mode" to:"Up To 54 Mbps"
2. "Security Options" on the page 2-12, make sure you chose: (WPA-PSK [TKIP] + WP2-PSK [AES])

MrCode 04-02-2010 04:01 PM

^ See my edit above.

Again, I apologize if I seem short about this, it's just that this problem has been plaguing me for a good while now, and it's starting to get to me. :(

Also: could signal strength be a major factor here? When wicd connects, it shows me a signal quality of between 50-60%. Maybe that would explain it, because once in a great while, it actually connects successfully, and I can ping the router and everywhere else.

nimnull22 04-02-2010 04:18 PM

So, what I can say, may be ndiswrapper doesn't work with your WN111v1 properly.
If you do not want to use WEP and wicd wont allow you ping router, so uninstall WICD and simply start NetworkManager service. At list with it you was able to go online.

MrCode 04-02-2010 04:24 PM

Quote:

So, what I can say, may be ndiswrapper doesn't work with your WN111v1 properly.
Maybe so; after all, no software is perfect ;)

I suppose I could try re-installing NetworkManager from the Ubuntu CD and see if I can get things back to the way they were. Shame we couldn't get it working permanently. :(

Another thing I could do is try a different wireless adapter, one that's known to work with Linux. Any suggestions? Of course, I'll look something up myself, too, but it couldn't hurt to ask for a second opinion, right? ;)

MrCode 04-02-2010 04:46 PM

Well, as it turns out, I can't get NetworkManager from off the Ubuntu CD. I added the repo to my source list, but it's just not there. :(

I guess this means I'll just have to scout out new hardware, then...

nimnull22 04-02-2010 04:48 PM

WICD for most people here in this forum works much better then NetworkManager, I do not understand why this happened. But combination - ndiswrapper+wpa/wpa2 is not really easy.
If you have something to choose from, try different adapters.

You can also write to ubuntu forum, they may be help you.

nimnull22 04-02-2010 04:51 PM

You do not need to install new NetworkManager, you need to start it.
In root console type: NetworkManager

Or if it wont work, type in normal console: man -k networkmanager
It will give you man pages for it, and you can find it what to start. Because I don't know how it is called in ubuntu.

nimnull22 04-02-2010 05:03 PM

Also you can use command:
chkconfig

to enable or disable services like NetworkManager on your linux.
Read man page about it: man chkconfig


All times are GMT -5. The time now is 10:19 PM.