LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Kubuntu Wpa wifi issue (https://www.linuxquestions.org/questions/ubuntu-63/kubuntu-wpa-wifi-issue-461718/)

DigitalBlue 07-07-2006 03:46 AM

Kubuntu Wpa wifi issue
 
Hey everyone i have Kubuntu 6.06 installed an its worked fine...untill now. i have a home wireless network setup using WPA encryption. On Kubuntu ive had to install knetworkmanager to get the Wpa setup since wlan assistant doesnt do it. I got it to work besides the annyoing prompt to enter my root user pass at each startup. Then all of a sudden it stopped working . i mean my wireless usb dongle is still connected through ndiswrapper and i can still see all the available networks but when i try to connect to to my network with WPA encryption knetworkmanager just hangs and then quits, it stops at 28%. I can still connect when i take the encryption off but who wants to have an open connection when you live in a big city like Chicago. Oh and i would have used Wep but my windows partition that my father uses wont connect to my airport extreme. if its not one thing its the other. I know the Community has to know something. thanks in Advance.:Pengy:

bernied 07-07-2006 07:56 PM

Maybe wpa-supplicant is not running. I am using WPA with kubuntu and knetwork manager. Try this in a terminal:
Code:

ps -ef | grep wpa
I get:
Code:

root      5179    1  0 Jul07 ?        00:00:00 /sbin/wpa_supplicant -dd -g /var/run/wpa_supplicant-global
bernie  10170  9595  0 00:52 pts/1    00:00:00 grep wpa

I have a love-hate relationship with knetworkmanager. It almost works really well.

ErrorBound 07-08-2006 02:52 AM

My wireless didn't work either until I edited manually the config file. Go to /etc/network/interfaces, and edit it to have an entry that looks something like:
Code:

auto wlan0
iface wlan0 inet dhcp
wireless-essid yourNetworkIdHere
wireless-key yourWirelessKeyHere


DigitalBlue 07-08-2006 03:13 AM

Thanks Everyone
 
Thank you very much for the input i got it to work again and its continuing to work. The community is what makes linux special. It sets it apart from the big giant closed source OSs . I will continue to use Linux As long as there is a community of individuals like your selves. thanks.:p

bernied 07-08-2006 05:37 AM

I'm very glad you got it going.
Praise is good but solutions are also good. There are others also trying to understand this stuff - including me.
So what did you do to fix it?

DigitalBlue 07-08-2006 01:35 PM

I simply just edited the conf file like error bound said and it works i mean i still have to enter the pass at the prompt after login but thats one step better !

ErrorBound 07-08-2006 02:55 PM

Quote:

Originally Posted by DigitalBlue
i still have to enter the pass at the prompt after login but thats one step better !

You have to enter a password to use the wireless? You shouldn't have to...can you describe this?

bernied 07-08-2006 05:00 PM

This is about networkmanager - a daemon that does an excellent job of maintaining a network connection. If you plug in a cable, it uses that adaptor, if there's no wired network but it finds a known wireless network it uses that. So you can roam about between different wired and wireless networks and it will keep you connected.

Unfortunately it insists on treating wireless keys (WPA at least, probably WEP too) as state secrets, so it likes to put them in a 'wallet'. So it asks for the password for the wallet before it uses the key (at startup), which I think is a bit daft, as you've already logged in. Ubuntu in general has always seemed a bit password happy to me, with all that sudoing.

And if you're too slow with providing the password it gives up on that wireless network and it's a bugger to get it to connect to it after that.

Anyway, any advice on configuring this daemon is appreciated, as it seems very windowsish (not configurable) to me. I've read that you can set up a particular wallet with no password, but haven't worked out to do this.

ErrorBound 07-08-2006 07:08 PM

Well you can remove networkmanager if you don't like the password prompts. I use kwifimanager in order to have a taskbar icon to keep an eye on the signal strength, and modified my interfaces file as above, and the wireless works fine, without any password-entering.

bernied 07-08-2006 07:11 PM

But then you've got to mess about with wpa_supplicant if you want WPA, right?
Does kwifimanager sort out WPA for you?

jon23d 07-09-2006 02:25 AM

On a side note, after having used Fedora, Suse, and Slackware before sticking with Ubuntu (for the time being...) I must say that I rather enjoy the default setup with sudo. I appreciate that I don't have to su or su -c all the time now. It makes life easier and I like not having to use my su password all the time. However, I did enable the root account for the rare occasion...

robertpolson 01-18-2007 05:26 PM

Quote:

Originally Posted by bernied
This is about networkmanager - a daemon that does an excellent job of maintaining a network connection. If you plug in a cable, it uses that adaptor, if there's no wired network but it finds a known wireless network it uses that. So you can roam about between different wired and wireless networks and it will keep you connected.

Unfortunately it insists on treating wireless keys (WPA at least, probably WEP too) as state secrets, so it likes to put them in a 'wallet'. So it asks for the password for the wallet before it uses the key (at startup), which I think is a bit daft, as you've already logged in. Ubuntu in general has always seemed a bit password happy to me, with all that sudoing.

And if you're too slow with providing the password it gives up on that wireless network and it's a bugger to get it to connect to it after that.

Anyway, any advice on configuring this daemon is appreciated, as it seems very windowsish (not configurable) to me. I've read that you can set up a particular wallet with no password, but haven't worked out to do this.


Anyone found a solution yet?

I have several users besides me on the computer and if on occasion they are not fast enough to write in the password for Kwallet, it creates a problem for them to do it manually.

Any solutions?

Network manager in gnome does not need to use kwallet like software.

burninGpi 04-14-2007 08:14 PM

Quote:

Originally Posted by robertpolson
Network manager in gnome does not need to use kwallet like software.

Really? It wanted my to create a keychain, and asked me for my keychain passwd every time I logged in.

It is possible to create a wallet w/o a passwd, which is convenient if you aren't paranoid about security, but it isn't very secure.

I think it's a bug in KNM, because it should ask for the PSK before associating with the network.

bernied 04-14-2007 08:59 PM

I gave up on knetworkmanager and just use wpa_supplicant. So wireless comes up during boot, not after you login to kde. The best bit about this is that any shared drives on the network are already mounted by the time my desktop comes up.

The worst bit is that if I want to use it on another wireless network I have to mess about with the config files - and I always forget which ones I need to mess with and need to use the interweb to find out, but I can't because ...


All times are GMT -5. The time now is 07:27 PM.