LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   mint 9 wireless acting weird (http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/mint-9-wireless-acting-weird-831873/)

mad_one 09-13-2010 07:10 AM

mint 9 wireless acting weird
 
Hello everyone.

I've installed mint 9 yesterday on a hp 6820s. Everything went well but i am experiencing certain problems with my wireless. I tried searching the web and following some advice but they've only helped me partially.

I used Administration -> Hardware drivers to activate the Broadcom bcm4312 drivers. Right now it says the driver is active and currently in use. I also added new wireless connection via right click on the icon in lower right corner and clicking on Add...

It obviously works as it can find wireless networks including mine. When i try to connect to it it asks for the password. Then it keeps trying to connect (icon with spinning arrow around 2 dots in the tray) and asks me for password several times.

When it finally connects i tried opening google in firefox but with no luck. That goes for any site i try to open. It acts the same way as if i had no connection. "Server not found"


I am completely new to any kind of linux so go easy on me ;)

MrCode 09-13-2010 07:39 AM

Quote:

When it finally connects i tried opening google in firefox but with no luck. That goes for any site i try to open. It acts the same way as if i had no connection. "Server not found"
Have you tried pinging your router? You can try it by opening a Terminal window (should be found right in your main panel menu) and entering ping <IP address of router>, and stop it with Ctrl-C. If you can ping the router, but not the internet, you might just need to configure your DNS settings so that they point to your ISP's DNS servers (or OpenDNS).

mad_one 09-13-2010 01:41 PM

I pinged it's ip (192.168.1.1) and got all replies. Can't ping any website, only via wired.

MrCode 09-13-2010 02:03 PM

Does your system get its IP address via DHCP? It might be that it's getting the wrong (or simply no) DNS address. I would try going into NetworkManager's configuration settings (right-click your signal level icon and hit "Edit Connections..."), going to your wireless interface (should be wlan0), and hitting "Edit". From there, under the "IPv4 Settings" tab, change "Method" to Manual. Then put in the appropriate info. For example, "Address" should be the IP that you want to use for your machine (preferably something that is guaranteed not to be used by any other computers on the network), "Netmask" should be all 255s except the last digit (this is how it works for me at least), and "Gateway" should be the IP of your router (in your case, 192.168.1.1).

Is there any way of finding out your DNS server addresses manually? Perhaps you could connect to a wired interface temporarily and do cat /etc/resolv.conf from a terminal (this file contains the DNS resolution address(es) in use for the current session). If you can find this info (either via my method above or in some other way), you would put it into the "DNS servers" field in the configuration of your wireless interface.

mad_one 09-13-2010 03:23 PM

Quote:

Originally Posted by MrCode (Post 4096338)
From there, under the "IPv4 Settings" tab, change "Method" to Manual. Then put in the appropriate info. For example, "Address" should be the IP that you want to use for your machine (preferably something that is guaranteed not to be used by any other computers on the network), "Netmask" should be all 255s except the last digit (this is how it works for me at least), and "Gateway" should be the IP of your router (in your case, 192.168.1.1).

Perhaps you could connect to a wired interface temporarily and do cat /etc/resolv.conf from a terminal (this file contains the DNS resolution address(es) in use for the current session). If you can find this info (either via my method above or in some other way), you would put it into the "DNS servers" field in the configuration of your wireless interface.

I tried switching it to manual, this is what i typed in:
192.168.1.3, 255.255.255.0, 192.168.1.1

Tried cat /etc/resolv.conf and the response was 192.168.1.1 only. Thats what i put in the "DNS servers". Also tried without it.

While the method was set to Manual it kept trying to connect over and over again and asking me for the password to the network every minute or so. After 4-5 password queries it said "disconnected".

EDIT: I found a typo in the MTU field :D
I corrected it but nothing changed.

mad_one 09-14-2010 05:15 AM

Ok what the f...? I just turned on my laptop and wireless worked like a charm the moment OS was booted and ready. I set it back to
automatic (DHCP) last night. The only difference from other times when it didnt work is that i turned the laptop on without lan cable being connected to it. Weird...

Hope it works from now on. Thank you for trying MrCode :)

Coburn64 09-14-2010 05:20 AM

I was going to suggest maybe updating your kernel. My ASUS Laptop has a wireless chip in it that causes system crashes (Kernel OOPS) and when I updated the kernel, that issue was gone.

mad_one 09-14-2010 05:59 AM

Thank you for the suggestion. Hopefully it will continue to work ;)


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