Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frequent disconnects on eduroam wifi #81

Open
MarkKopfner opened this issue Sep 27, 2017 · 8 comments
Open

Frequent disconnects on eduroam wifi #81

MarkKopfner opened this issue Sep 27, 2017 · 8 comments

Comments

@MarkKopfner
Copy link

System info

Entry Details
OS Ubuntu 16.04
Kernel version 4.10.0-35-generic
New install yes
DKMS yes
Compiler gcc 5.4.0

Devince info

Device ID: 0e8d:763f

General info:

#block starts
03:00.0 Network controller: MEDIATEK Corp. MT7630e 802.11bgn Wireless Network Adapter
	Subsystem: Foxconn International, Inc. MT7630e 802.11bgn Wireless Network Adapter
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 19
	Region 0: Memory at a3100000 (32-bit, non-prefetchable) [size=1M]
	Capabilities: <access denied>
	Kernel driver in use: mt7630e
	Kernel modules: mt7630e

04:00.0 3D controller: NVIDIA Corporation GK208M [GeForce 920M] (rev a1)
	Subsystem: ASUSTeK Computer Inc. GK208M [GeForce 920M]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 53
	Region 0: Memory at a2000000 (32-bit, non-prefetchable) [size=16M]
	Region 1: Memory at c0000000 (64-bit, prefetchable) [size=256M]
	Region 3: Memory at d0000000 (64-bit, prefetchable) [size=32M]
	Region 5: I/O ports at 3000 [size=128]

#block ends

Bluetooth stats:

#block starts
0: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
#block ends

What didn't work?

Frequent disconnecting while accessing eduroam network (every 2~3 minutes) and can't reconnect unless I disable and re-enable wifi. Every other home/work wifi work perfectly.

What did you try?

Tried other versions of the driver and made sure the eduroam network was properly configured.

Error code:

#block starts

#block ends

Additional info

[Put any additional information here or leave it blank]

@Jpfonseca
Copy link

Jpfonseca commented Oct 3, 2017

Hi I have known this issue for a while . Although I don't think this is only related to the open source driver developed by @neurobin .

In most of the Universities where I have been, the chance of this issue to happen is increases if one of these two factors occurs :

  • Bad connectivity to the network due to being to far from the nearest access point. Check it by either using a Wifi Analyser app on your smartphone or running sudo iwlist scan on your terminal.

  • A lot of collisions due to the high amount of networks on the same wifi frequency. This can be either caused by the bad configuration and placement of the Eduroam access points or because everyone is using their smartphone/other devices as a hotspot

Since you seem not be able to connect with eduroam whenever you want, I think you should change the way of how your computer deals with the tcp connection when you are connected to Eduroam.
Generally your computer will use the default congestion control algoritm Cubic. Run : sysctl net.ipv4.tcp_congestion_control , to check if the congestion control algorithm is Cubic.
If it is the case, I suggest you to either change it to Westwood or BBR. As you may know Eduroam is a highly congested network, so this is a easy trick to deal with this problem.You can do it by running :

  • sudo sysctl net.ipv4.tcp_congestion_control= westwood or sudo sysctl net.ipv4.tcp_congestion_control= bbr

@joeraven0
Copy link

Can confirm this issue. My solution was to 'lock' my connection to only one access point instead of jumping between them. Dont remember how i did but that was the only solution working for me. Frustrated and I really hate this Mediatek card. After i while i bought an external usb wifi. Made it possible for me to spend my time on something more relevant than trying to solve this kind of crap problems all the time...

@deeperlearner
Copy link

deeperlearner commented Mar 22, 2018

I have exactly same problem.
I have a hard time linking to campus wifi(eduroam, peap etc...), or frequently disconnecting..
Can someone give me more solutions..
Thanks a lot!

my linux version: 4.4.0-116-generic (ubuntu 16.04)

@Jpfonseca
Copy link

@deeperlearner Everyone is avoiding to use this card .
My solution was to buy a new network card which is fully supported in Linux.

@DuyHung21
Copy link

DuyHung21 commented Aug 7, 2019

My solution was to buy a new network card which is fully supported in Linux.

@Jpfonseca Could you suggest some alternative cards that support Linux.
I am preferring Intel 1760, but I heard that it does not support Linux

@Jpfonseca
Copy link

Jpfonseca commented Aug 7, 2019 via email

@DuyHung21
Copy link

DuyHung21 commented Aug 8, 2019

Look for a Intel 7260, it's Linux compatible and supports 5GHz

@Jpfonseca I did some research about Intel 7260 and I found that this Wifi card has several issues.
Have you experienced any issue with it? (i.e. connection constantly dropped)

@Jpfonseca
Copy link

Jpfonseca commented Aug 8, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants