LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Cannot get Broadcom Corporation BCM4312 802.11b/g to connect w/ Ubuntu 9.10. (https://www.linuxquestions.org/questions/linux-networking-3/cannot-get-broadcom-corporation-bcm4312-802-11b-g-to-connect-w-ubuntu-9-10-a-775730/)

nimnull22 12-25-2009 07:56 AM

Can you generate PSK by your self with wpa_passphrase?

Maxximiliann 12-25-2009 03:45 PM

I entered my router's PSK instead of the passphrase. Here's the new log: http://pastebin.com/d6936964b. Still doesn't stay connected.

nimnull22 12-25-2009 05:33 PM

Good, WICD connected you to AP, and in accordance with its log you got IP=192.168.1.3

Can you ping:
ping 192.168.1.3
ping 192.168.1.1
I need to know just YES or NO.

Second when you will be connected to your AP, please post outputs for:
ifconfig -a
route -n

Thanks

Maxximiliann 12-25-2009 06:58 PM

As soon as it connects it disconnects. How do I keep the connection stable?

nimnull22 12-25-2009 07:23 PM

Ok. This is your WICD log:

2009/12/25 12:42:18 :: Putting interface up...
2009/12/25 12:42:18 :: Generating psk...
2009/12/25 12:42:18 :: Attempting to authenticate...
2009/12/25 12:42:30 :: Running DHCP
2009/12/25 12:42:31 :: dhcpcd.sh: interface eth2 has been configured with new IP=192.168.1.3
2009/12/25 12:42:31 ::
2009/12/25 12:42:31 ::
2009/12/25 12:42:31 :: DHCP connection successful
2009/12/25 12:42:31 :: Connecting thread exiting.
2009/12/25 12:42:31 :: Sending connection attempt result Success

It says that you were connected. Nothing tells about disconnection.


Explain please, Why do you think that your wireless disconnects ?

Maxximiliann 12-25-2009 08:11 PM

I don't know what to tell you. I know that the log says I'm connected but when I try to go online I get error messages from Firefox, Skype, Thunderbird, etc., etc. Basically, I cannot stay connected and go online despite what the log says. If the problem isn't WICD, what could it be?

Maxximiliann 01-03-2010 08:31 PM

I've tried everything I could think of and still no results.

nimnull22 01-03-2010 09:58 PM

If you want to get help do what I have asked:

Can you ping:
ping 192.168.1.1

Then do please from root console:

dhcpcd -T wlan0

Post output please.

Maxximiliann 01-11-2010 04:27 PM

Here's what I got: connect: Network is unreachable

Shouldn't we work on stabilising the wireless connection before we try to ping anything? Just a thought.

nimnull22 01-11-2010 04:59 PM

We should. We should find out why in your previous post from 12-25-09, 05:45 PM you were connected and got IP from your router?

So please, could do the same and connect at least to router.

And also when you send some logs like "Here's what I got: connect: Network is unreachable", please be so kind to add comments where did you get it.

Thank you.

Maxximiliann 01-12-2010 10:07 AM

Take a look at my latest WICD log - http://pastebin.com/m7e3abc54

You'll notice over and over again that just a few seconds after my wireless connection is established (eth2) WICD tries to connect again. Why is it doing that? How do I make it stop trying to connect after it has successfully connected to my network (Nexus)?

nimnull22 01-12-2010 11:31 AM

Ok, you have to sent that log before.

I have never dial with WICD my self and do not really know its setup.

But I know it can give you a more detailed log, you need to set DEBUG LOG on. Please do it, and then, we should find out why it is reconnecting.

Maxximiliann 01-12-2010 12:16 PM

Here you go: http://pastebin.com/m175675b5

minrich 01-12-2010 12:48 PM

Hi guys - Happy New Year.

Just a quick note to say that I am stall following this thread but don't have a positive solution - I can't see why your connection keeps dropping - but it appears that WICD is still trying to open eth0 as a wired connection right after wpa_supplicant negotiates an encrypted connection on 192.168.1.3.

I would be interested in seeing the content of your wpa_supplicant.conf IIRC it should be in your /etc/wpa_supplicant directory. If you don't find it there you could try running the command (as root):

# locate wpa | grep .conf

the line therein that I am interested in is 'scan_ssid=' which starts scanning for other access point rather arbitrarily (in my opinion), I think there is a way to stop it but I can't remember if it is setting it to zero rather than 1.

The other suggestion I would make is to turn-off/disable eth0 (your wired connection) in WICD - if that is possible [I don't and haven't ever used WICD, so don't have a clue if it is an option that you can select].

Hope this helps - if not then I might suggest that you download something called wifi-radar which requires manual set-up but doesn't use a network manager and doesn't require dchp to be running even if it is running on your router.

Cheers

nimnull22 01-12-2010 12:49 PM

I was talk to forum about WICD and they suggest, to check if there is more then one wireless network with AUTOCONNECT option.

And another suggestion is to " it may help to switch wicd to use dBm mode". Try to find that option in settings, as well as turn off autoconnect and reconnect.


All times are GMT -5. The time now is 03:23 PM.