Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Currently I'm in a new building of my university. In this building my wifi often breaks down and then restores connection again. This is really irritating since it happens a lot.

Now as a coincidence there were some tech guys running around here and where asking everyone if the wifi was doing fine. I told them that my wifi tears down all the time and then reconnects. They figured out that my wifi is switching all the time between the 2.4 GHz channel and 5 GHz channel. They asked me if I could acces the driver settings of my wireless card. Unfortunately I don't know how to do this is in either Linux or Windows. And unfortunately again they only knew the windows solution xD.

So I hope somebody can tell me how I tell my wifi that it should stay on the 5 GHz network and not disconnect and switch to the 2.4 GHz channel?

-edit-

@arhimed, firstly thank you for your help.

I just tried what you said. It is some what different for me. I can't seem to save the settings when I change the setting and choose to use only the 5 GHz band.

"Network connections"->"Select the appropriate wireless network and click edit"->"In the wireless tab"->"Change the mode from infrastructure to ad-hoc"->"Choose 5 GHz band"

Wireless connection settings panel

However when I want to change the mode from infrastructure to ad-hoc the "save" button tells me that I have to authenticate myself. However I get no pop-up asking me for a password. Using sudo gnome-control-center didn't help either. I could still not save it. Also a error occured then in the terminal:

** (nm-connection-editor:5577): WARNING **: Invalid setting Wireless Security: Security not compatible with Ad-Hoc mode

Hopefully this is some usefull info for you to help me further.

--edit 2012/09/07-- Still no answer... Anyone?

share|improve this question
1  
If possible, please consider closing some of your other open questions by selecting the best answer (if they have one). Consider which answers have been useful and need an upvote. We need users to maintain their questions so that the site can be an effective tool for the next person with your problems. For more details on best practices consider reading the FAQ on asking questions. –  fossfreedom Sep 3 '12 at 9:43
1  
I haven't tried but I hope that will help you. So, go to network-manager-> edit connections, wireless connections->select you network->Change... Set 'Mode' to 'Special' and frequency to 5GHz. –  arhimed Sep 3 '12 at 10:12
    
@arhimed I replied to you in my main post. Hopefully you can help me further with this new info. –  WG- Sep 3 '12 at 12:42
    
Yeah, that won't help you. Have you tried to connect to your network through terminal? –  arhimed Sep 3 '12 at 17:59
    
No because I don't know how to do that. All the info I find about it I find hard to understand. –  WG- Sep 4 '12 at 8:03

2 Answers 2

up vote 3 down vote accepted

Change that "Ad-hoc" option to something else, like "Infrastructure" (or a similar menu option). Infrastructure wireless is your typical "lots of devices connecting to a single router" approach, while ad-hoc wireless is intended for a "mesh" of wireless devices with no centralized router.

Being in ad-hoc mode is likely what's causing your problem (and this is further evidenced by the error message you provided).

share|improve this answer
    
Thank you for your reply. Further I am not in Ad-hoc. The option stands on Infrastructure. In infrastructure mode the wifi changes from band all the time, 2.4 GHz <-> 5 GHz. I want to try to put my settings in Ad-hoc because in that mode I can select which band I want to use. I can't select a band when in Infrastructure mode. –  WG- Sep 14 '12 at 20:03
1  
Alrighty then... The problem with ad-hoc mode is that it's not compatible with WPA and WPA2 security protocols (hence the error you got). Normally, the channel/frequency is set by the router. You can use iwconfig to set the channel manually. In a terminal, try the following: iwconfig eth0 freq 5G –  YellowApple Sep 14 '12 at 23:04
    
Thank you very much. I will try this monday when I'm on the university. It is indeed possible on the router, but this problem occurs only on the routers when I'm in a certain building at my university. And the IT guys there are not going to configure all the routers just for me ;) –  WG- Sep 15 '12 at 10:49
    
Hmmm wel I still get disconnected sometimes but I have the feeling that it is a lot less then it used to be. –  WG- Sep 18 '12 at 8:35
2  
I should probably correct my own comment... eth0 normally points to your wired internet connection, so try iwconfig wlan0 freq 5G instead. Sorry about that. –  YellowApple Sep 18 '12 at 15:51

First,connect to your basic wifi network under "Infrastructure". Next, click on BSSID. The BSSID you are connected to at that time should appear when you click on that arrow. This feature prevents your computer from switching networks. 2.4 Ghz and 5 Ghz. Each network will have a unique MAC address, one for 2.4 and another for 5.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.